wrapping problem
Having trouble installing Oxygen? Got a bug to report? Post it all here.
wrapping problem
Post by Guest »
I am having a problem when I select text wrapping: Oxygen inserts a hard return and tab characters into the file when I turn text wrapping on. Is there no way to do soft wrapping, where the line gets wrapped and indented, but no extra characters are inserted? This seems like an obvious requirement for an editor, and is the only reason that I am still using XML Spy as my XML editor.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
If you turn the soft wrapping to on in oXygen then the lines will be shown wrapped. The editor will not insert new lines or tabs when you edit a file unless you type them. When you turn wrapping off then you will see the full lines and you will have to sroll to get to the end of long lines.
But maybe you are refering to pretty print operation which does a hard wrapping on the text lines. You can control the maximum line length from the Options dialog. In the next release there will be available a indent selection option that will do a light indenting just putting the tags in the right place and leave the text as it was.
Best Regards,
George
If you turn the soft wrapping to on in oXygen then the lines will be shown wrapped. The editor will not insert new lines or tabs when you edit a file unless you type them. When you turn wrapping off then you will see the full lines and you will have to sroll to get to the end of long lines.
But maybe you are refering to pretty print operation which does a hard wrapping on the text lines. You can control the maximum line length from the Options dialog. In the next release there will be available a indent selection option that will do a light indenting just putting the tags in the right place and leave the text as it was.
Best Regards,
George
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
thanks
Thanks very much for the help. I did indeed mean 'pretty-printing', and your solution works fine (as long as I don't have an element more than 1000 characters). It sounds like the light indenting will do exactly what I want without the 1000-character limit. Thanks...george wrote:Hi,
If you turn the soft wrapping to on in oXygen then the lines will be shown wrapped. The editor will not insert new lines or tabs when you edit a file unless you type them. When you turn wrapping off then you will see the full lines and you will have to sroll to get to the end of long lines.
But maybe you are refering to pretty print operation which does a hard wrapping on the text lines. You can control the maximum line length from the Options dialog. In the next release there will be available a indent selection option that will do a light indenting just putting the tags in the right place and leave the text as it was.
Best Regards,
George
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
line wrapping in eclipse plugin??
The solution proposed above seems not to work in the eclipse plugin, because it doesn't have an option for doing 'line wrapping.'
Am i missing something, or is this really not possible from within eclipse?
Am i missing something, or is this really not possible from within eclipse?
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
It is not possible to have soft line wrapping for the Eclipse version.
As far as I know there is not line wrapping support in the Eclipse TextEditor and implementing it is not a simple task. More, this is not a feature at XML support level but rather at framework level. The framework from the oXygen standalone version supports it so we have this feature there, when the Eclipse framework will support it we will do whatever changes are necessary in our code to support it.
Best Regards,
George
It is not possible to have soft line wrapping for the Eclipse version.
As far as I know there is not line wrapping support in the Eclipse TextEditor and implementing it is not a simple task. More, this is not a feature at XML support level but rather at framework level. The framework from the oXygen standalone version supports it so we have this feature there, when the Eclipse framework will support it we will do whatever changes are necessary in our code to support it.
Best Regards,
George
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
Update: there is support for line wrapping in Eclipse. We added support in oxygen to use it and the next release will feature soft wrapping.
There are some problems when soft wrapping is used together with line numbers as the line numbers will count a wrapped line as a new line.
Best Regards,
George
Update: there is support for line wrapping in Eclipse. We added support in oxygen to use it and the next release will feature soft wrapping.
There are some problems when soft wrapping is used together with line numbers as the line numbers will count a wrapped line as a new line.
Best Regards,
George
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