Autocompletion "eats" the following character
Posted: Mon Aug 08, 2011 12:22 pm
Dear oXygen XML editor support,
I wonder if the following behaviour is one that is really expected by you.
Suppose I have a text node "This was year 2006." and I want to surround the text "2006" with tag "<date>".
"This was year <date>2006</.,: " → "This was year <date>2006</date> "
That is a bit annoying, as I destroys the original text while making XML annotations.
Also I suppose that oXygen should close the tag without asking, as characters ".,:" are not likely to start the XML tag
Additional info:
oXygen XML Editor and XSLT Debugger v12.1.0.v2011031114
Eclipse Helios SR2 v3.6.2.r362_v20110210
I wonder if the following behaviour is one that is really expected by you.
Suppose I have a text node "This was year 2006." and I want to surround the text "2006" with tag "<date>".
- I type: "This was year <date>2006." [OK] and place the caret before "."
- I type "</" (so it is "This was year <date>2006</.") and now oXygen suggests me to close the tag [OK]
- I confirm closing the tag. The tag is closed, but dot "." is removed (not it is "This was year <date>2006</date>") [WRONG]
"This was year <date>2006</.,: " → "This was year <date>2006</date> "
That is a bit annoying, as I destroys the original text while making XML annotations.
Also I suppose that oXygen should close the tag without asking, as characters ".,:" are not likely to start the XML tag

Additional info:
oXygen XML Editor and XSLT Debugger v12.1.0.v2011031114
Eclipse Helios SR2 v3.6.2.r362_v20110210