On 11/13/2013 11:48 AM, Camille Bégnis wrote:

there is a long standing behavior that is disturbing: when you double
click a text node to replace it, in some contexts the entered text goes
to the previous text node.
See use case below.

Goal :
Before  After
<?xml version="1.0"?>
<db:glossentry>
   <db:glossterm>V</db:glossterm>
   <db:glossdef>
      <db:para xml:lang="en">Verify</db:para>
      <db:para xml:lang="fr">Vérification</db:para>
   </db:glossdef>
</db:glossentry>
        <?xml version="1.0"?>
<db:glossentry>
   <db:glossterm>V</db:glossterm>
   <db:glossdef>
      <db:para xml:lang="en">*Notification*</db:para>
      <db:para xml:lang="fr">Vérification</db:para>
   </db:glossdef>
</db:glossentry>

I double click on "Verifiy" :
I start typing ""Notification" :
<para> is empty and closed… and it's difficult to go backward without undo.
Configuration : Chrome Version 30.0.1599.101 mand Java *Version 7 Update 45*


What you describe is not only an annoying behavior, but also a bug. You should never, ever, get a completely empty (i.e. not text node), collapsed <para>.

However we didn't manage to reproduce this bug with the styled view[*]. See attached screenshots.

We'll try to fix this bug or at least, make it less annoying. However, I cannot give my word that we'll succeed.



---
[*] XMLmind XML Editor has not been designed to be nice to use with the tree view. I really wonder why you are using the tree view. If you just need a XML editor with a good editable tree view, I would recommend Microsoft XML Notepad (free to use; http://www.microsoft.com/en-us/download/details.aspx?id=7973 ).








<<attachment: before_typing.png>>

<<attachment: after_typing.png>>

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to