Cursor positioning in text tab
Oxygen general issues.
-
- Posts: 44
- Joined: Wed Aug 08, 2007 5:56 am
Cursor positioning in text tab
If I append an element from the outline that has content, it positions the cursor indented on the next line, e.g.:
<doc>
<!-- cursor -->
</doc>
Then if I append an element from the outline, it inserts 2 more linebreaks:
<doc>
<sec>
<!-- cursor -->
</sec>
</doc>
Is there a way to change the behavior, so the sequence would be:
<doc><!-- cursor --></doc>
<doc>
<sec><!-- cursor --></sec>
</doc>
Also, if I insert a '/' to convert start and end tags to one empty element tag, it leaves 3 line breaks after the tag, e.g. :
<sec>
<mark>
</mark>
</sec>
becomes:
<sec>
<mark/>
</sec>
So, I end up spending a lot of time removing extra line breaks.
Can the cursor positioning scheme be changed, so the sequence would be:
<sec><!-- cursor --></sec>
<sec>
<mark><!-- cursor --></mark>
</sec>
And if I used content completion instead of the outline, the sequence would be:
<sec><!-- cursor --></sec>
press enter:
<sec>
<!-- cursor -->
</sec>
<sec>
<mark/>
</sec>
<doc>
<!-- cursor -->
</doc>
Then if I append an element from the outline, it inserts 2 more linebreaks:
<doc>
<sec>
<!-- cursor -->
</sec>
</doc>
Is there a way to change the behavior, so the sequence would be:
<doc><!-- cursor --></doc>
<doc>
<sec><!-- cursor --></sec>
</doc>
Also, if I insert a '/' to convert start and end tags to one empty element tag, it leaves 3 line breaks after the tag, e.g. :
<sec>
<mark>
</mark>
</sec>
becomes:
<sec>
<mark/>
</sec>
So, I end up spending a lot of time removing extra line breaks.
Can the cursor positioning scheme be changed, so the sequence would be:
<sec><!-- cursor --></sec>
<sec>
<mark><!-- cursor --></mark>
</sec>
And if I used content completion instead of the outline, the sequence would be:
<sec><!-- cursor --></sec>
press enter:
<sec>
<!-- cursor -->
</sec>
<sec>
<mark/>
</sec>
-
- Posts: 44
- Joined: Wed Aug 08, 2007 5:56 am
Re: Cursor positioning in text tab
Oops. I swapped some lines around by accident, about the empty tags, I meant:
queshaw wrote:Also, if I insert a '/' to convert start and end tags to one empty element tag, it leaves 3 line breaks after the tag, e.g. :
<sec>
<mark>
</mark>
</sec>
becomes:
<sec>
<mark/>
</sec>
So, I end up spending a lot of time removing extra line breaks.
Can the cursor positioning scheme be changed, so the sequence would be:
<sec><!-- cursor --></sec>
<sec>
<mark><!-- cursor --></mark>
</sec>
<sec>
<mark/>
</sec>
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