Dear Mr Shafie, Thank you for your explanations!
Kindest Regards Thomas Dumm > -----Urspr?ngliche Nachricht----- > Von: Hussein Shafie [mailto:hussein at xmlmind.com] > Gesendet: Dienstag, 22. September 2009 18:46 > An: Thomas Dumm > Cc: xmleditor-support at xmlmind.com > Betreff: Re: [XXE] delete a comment > > Thomas Dumm wrote: > > > > If I "delete" (CTRL+K) a comment, more than just the > comment is deleted. > > Can you reproduce this behaviour? > > Yes. > > > > > Is this behaviour intended? > > Yes. > > > > > What is selected by the delete command? > > > > Ctrl-K is bound to "delete [implicitElement]" and the > ``implicit element'' is defined as follows: > > --- > The implicitly selected element is simply the element > containing the caret (also called the insertion cursor). > > Being implicitly selected, this element is not drawn with a > red border around it but you know it because it is the > element which is displayed in the Node Path bar. > --- > > If you want to delete just the comment node, please select it > explicitly before pressing Ctrl-K or Delete or Backspace. > > I agree that the current behavior of XXE is not very > intuitive and that comments and PI should be treated as if > they were pseudo-elements. > > >

