Line wrap for comments and processing instructions
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 22
- Joined: Mon Jul 09, 2012 5:30 pm
Line wrap for comments and processing instructions
When viewing content in Author view in oXygen, comments and processing instructions that are long lines of text don't line wrap. Is there a way to have them wrapped so you don't have to scroll to the right?
I have Preferences, Editor, Edit Modes, Text, Line wrap checked off but it doesn't appear to work for comments and processing instructions.
Thanks,
Belinda Mayer
I have Preferences, Editor, Edit Modes, Text, Line wrap checked off but it doesn't appear to work for comments and processing instructions.
Thanks,
Belinda Mayer
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Line wrap for comments and processing instructions
Hi Belinda,
Well, actually Oxygen 14.0 which was release a month or so ago changed displayed comments and processing instructions to be line-wrapped by default.
But this can be done via the CSS, what type of XML documents are you editing?
Maybe I can propose you some modifications if you cannot update to 14.0.
Regards,
Radu
Well, actually Oxygen 14.0 which was release a month or so ago changed displayed comments and processing instructions to be line-wrapped by default.
But this can be done via the CSS, what type of XML documents are you editing?
Maybe I can propose you some modifications if you cannot update to 14.0.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 22
- Joined: Mon Jul 09, 2012 5:30 pm
Re: Line wrap for comments and processing instructions
Thanks Radu for the quick reply.
We're editing DITA XML documents. We use the Eclipse Author plug-in version, although since I'm in support I have a standalone version of Editor. I confirmed the issue happens in both.
If you can pass along the CSS that would be great. I'd have to look into our plans to upgrade to 14.
Belinda
We're editing DITA XML documents. We use the Eclipse Author plug-in version, although since I'm in support I have a standalone version of Editor. I confirmed the issue happens in both.
If you can pass along the CSS that would be great. I'd have to look into our plans to upgrade to 14.
Belinda
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Line wrap for comments and processing instructions
Hi Belinda,
Just open the CSS:
OXYGEN_INSTALL_DIR/frameworks/dita/css_classed/dita.css
and after the last import:
add the lines:
Regards,
Radu
Just open the CSS:
OXYGEN_INSTALL_DIR/frameworks/dita/css_classed/dita.css
and after the last import:
Code: Select all
@import "conrefs.css";
Code: Select all
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
oxy|processing-instruction,
oxy|comment,
oxy|cdata{
white-space:pre-wrap !important;
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 22
- Joined: Mon Jul 09, 2012 5:30 pm
Re: Line wrap for comments and processing instructions
Thanks Radu, that CSS fix worked.
On a related note, if you do a print of an XML DITA document and select Adobe PDF as the printer the text is now wrapped for the standalone version of oXygen Editor but not for the Eclipse version of oXygen. Is there another change to implement to get that working of is that an Eclipse issue?
Belinda
On a related note, if you do a print of an XML DITA document and select Adobe PDF as the printer the text is now wrapped for the standalone version of oXygen Editor but not for the Eclipse version of oXygen. Is there another change to implement to get that working of is that an Eclipse issue?
Belinda
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Line wrap for comments and processing instructions
Hi Belinda,
Yes, we've had this limitation from the very beginning, but you are the first user to report it.
On Eclipse the content is printed without wrapping the text according to the page width settings.
I added an improvement request to try to remove this limitation on Eclipse and I'll update this thread when this gets implemented.
Regards,
Radu
Yes, we've had this limitation from the very beginning, but you are the first user to report it.
On Eclipse the content is printed without wrapping the text according to the page width settings.
I added an improvement request to try to remove this limitation on Eclipse and I'll update this thread when this gets implemented.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9449
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Line wrap for comments and processing instructions
Hi,
In Oxygen 16.1 which was just released, the Oxygen Eclipse Plugin should have better support for printing content in the Author visual editing mode.
Regards,
Radu
In Oxygen 16.1 which was just released, the Oxygen Eclipse Plugin should have better support for printing content in the Author visual editing mode.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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