Autocomplete close tag puts cursor in wrong position
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Fri Oct 07, 2005 5:20 pm
- Contact:
Autocomplete close tag puts cursor in wrong position
This seems to be a change between 6.1.0 and 6.2.0.
I have the autocomplete on, against a real DTD. Win XP, JDK 1.5, Eclispe 3.1.
Oxygen does the right thing as I type, i.e.
<b CTRL-SPACE yields:
(the pipe marks the cursor position)
In my DTD, <binding> has an optional body and a mix of required
and optional attributes.
So I continue typing:
The cursor is just inside the '>'.
I type the '/' and Oxygen removed the </binding> tag and closes the <binding> tag ... but leaves the cursor in the wrong position.
I want the cursor to be outside the tag, after the '>'.
I'm pretty certain that 6.1.0 did what I wanted.
I have the autocomplete on, against a real DTD. Win XP, JDK 1.5, Eclispe 3.1.
Oxygen does the right thing as I type, i.e.
<b CTRL-SPACE yields:
Code: Select all
<binding name="|"></binding>
In my DTD, <binding> has an optional body and a mix of required
and optional attributes.
So I continue typing:
Code: Select all
<binding name="delegate" value="delegate"|></binding>
I type the '/' and Oxygen removed the </binding> tag and closes the <binding> tag ... but leaves the cursor in the wrong position.
Code: Select all
<binding name="name" value="delegate"/|>
I'm pretty certain that 6.1.0 did what I wanted.
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi again,
I added a feature request with this so that this will behave like:
<x|></x> type / results <x/>|
<x/|> type delete results <x>|</x>
I'm not sure if this should be controlled by an option or the default behavior. The current behavior is:
<x|></x> type / results <x/|>
<x/|> type delete results <x|></x>
which allows moving from one form of representing the empty tag to the other without any caret moves.
Best Regards,
George
I added a feature request with this so that this will behave like:
<x|></x> type / results <x/>|
<x/|> type delete results <x>|</x>
I'm not sure if this should be controlled by an option or the default behavior. The current behavior is:
<x|></x> type / results <x/|>
<x/|> type delete results <x|></x>
which allows moving from one form of representing the empty tag to the other without any caret moves.
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