Format and Indent in Oxygen 7.2 Eclipse Plugin - Line Seps
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Tue Jun 19, 2007 5:27 pm
- Location: Brighton
Format and Indent in Oxygen 7.2 Eclipse Plugin - Line Seps
Post by Steve Mallen »
Hi,
I'm having problems with Eclipse 3.2.2 and the Oxygen 7.2 plugin.
All my XSL files have the 'System Default' (Windows) Line Endings. When using 'Format and Indent' from the Standalone application, the line endings are preserved.
However, when using the Oxygen plugin in Eclipse, 'Format and Indent' causes XSL files to contain a mixture of Unix-like and Windows-like line separators. This in turn causes SVN to complain about 'inconsisent line endings'.
There does not appear to be any options for the plugin to control line ending behaviour. It also seems to be a problem only with the 'Format and Indent' function.
Has anyone else experienced this, and does anyone have a solution?
Many thanks,
-Steve/
I'm having problems with Eclipse 3.2.2 and the Oxygen 7.2 plugin.
All my XSL files have the 'System Default' (Windows) Line Endings. When using 'Format and Indent' from the Standalone application, the line endings are preserved.
However, when using the Oxygen plugin in Eclipse, 'Format and Indent' causes XSL files to contain a mixture of Unix-like and Windows-like line separators. This in turn causes SVN to complain about 'inconsisent line endings'.
There does not appear to be any options for the plugin to control line ending behaviour. It also seems to be a problem only with the 'Format and Indent' function.
Has anyone else experienced this, and does anyone have a solution?
Many thanks,
-Steve/
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Before version 8.2 the oXygen plugin inserted the default end of line character of the platform where it runs as end of line character. Starting with version 8.2 the oXygen plugin does the same as the Eclipse text editor: detects the end of line character of the first line of the file and uses it as end of line for all lines inserted in the file. This allows for example to insert Windows end of line characters on a Unix machine if the file was created on Windows so the first line ends with #13 #10.
If you install the 8.2 version of the plugin the inserted end of line characters should not be mixed any more.
Regards,
Sorin
Before version 8.2 the oXygen plugin inserted the default end of line character of the platform where it runs as end of line character. Starting with version 8.2 the oXygen plugin does the same as the Eclipse text editor: detects the end of line character of the first line of the file and uses it as end of line for all lines inserted in the file. This allows for example to insert Windows end of line characters on a Unix machine if the file was created on Windows so the first line ends with #13 #10.
If you install the 8.2 version of the plugin the inserted end of line characters should not be mixed any more.
Regards,
Sorin
-
- Posts: 4
- Joined: Tue Jun 19, 2007 5:27 pm
- Location: Brighton
Post by Steve Mallen »
Hi Sorin,
Many thanks for your reply. I will try out the 8.2 version today.
-Steve/
Many thanks for your reply. I will try out the 8.2 version today.
-Steve/
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service