controlling line feeds in Text view
Oxygen general issues.
-
- Posts: 3
- Joined: Wed Apr 28, 2010 12:35 am
controlling line feeds in Text view
I am using Oxygen 12. Currently, when I add a menucascade element containing several uicontrol elements, the XML when viewed in the Text view looks something like this:
<cmd>From the CMS client, select <menucascade>
<uicontrol>File</uicontrol>
<uicontrol>Import</uicontrol>
</menucascade>.</cmd>
This produces an incorrect space between the last uicontrol and the period.
I need the code to wrap here, without forced line feeds, or at least to keep the period on the same line with the last uicontrol, as this seems to eliminate the incorrect extra space.
Is there a way to control these types of line feeds in the Text view? I don't see anything in the Preferences that seems to be for this purpose.
Thanks,
Leigh
<cmd>From the CMS client, select <menucascade>
<uicontrol>File</uicontrol>
<uicontrol>Import</uicontrol>
</menucascade>.</cmd>
This produces an incorrect space between the last uicontrol and the period.
I need the code to wrap here, without forced line feeds, or at least to keep the period on the same line with the last uicontrol, as this seems to eliminate the incorrect extra space.
Is there a way to control these types of line feeds in the Text view? I don't see anything in the Preferences that seems to be for this purpose.
Thanks,
Leigh
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: controlling line feeds in Text view
Hi Leigh,
For anybody who'se interested in this discussion I'm also adding a link to the DITA Users List where the issue is discussed in greater detail:
http://tech.groups.yahoo.com/group/dita ... sage/24247
If you add the "menucascade" element as a space preserve element in the Editor / Format / XML preferences page then if it is inserted in the Author page no additional line breaks will be added inside it.
Unfortunately this does not yet work in the Text page, we have an improvement request already added for this, to avoid adding line breaks in a space preserve element which was inserted using content completion.
As a workaround in the Oxygen Preferences Editor / Templates / Code Templates page you could create a new code template for inserting something like:
Code templates appear in the Text page when invoking the content completion using the shortcut Ctrl-Space or Ctrl-Shift-Space.
Regards,
Radu
For anybody who'se interested in this discussion I'm also adding a link to the DITA Users List where the issue is discussed in greater detail:
http://tech.groups.yahoo.com/group/dita ... sage/24247
If you add the "menucascade" element as a space preserve element in the Editor / Format / XML preferences page then if it is inserted in the Author page no additional line breaks will be added inside it.
Unfortunately this does not yet work in the Text page, we have an improvement request already added for this, to avoid adding line breaks in a space preserve element which was inserted using content completion.
As a workaround in the Oxygen Preferences Editor / Templates / Code Templates page you could create a new code template for inserting something like:
Code: Select all
<menucascade><uicontrol>File->Open</uicontrol></menucascade
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