Like Manuel Collado, I don't find this behavior surprising, and I don't find it annoying because I don't use the single window approach used in XXE's default docbook support. Instead of having collapsing headings in the main view I always display two views of the same document: a small one containing a collapsing tree of headings only, which I use for navigation, and a main one where everything is visible, which I use for editing.
Clicking on a heading in the tree view displays the same heading in the main view. You have a permanently visible overview of the document structure in the tree view and at the same time, don't have any problem with accidentally editing invisible text. The only problem with this approach is that XXE doesn't have any built-in support for managing multiple views of the same document: I have to explicitly open the second window after opening a document, and then resize the windows. If I remember correctly, the last time the "multiple view" issue was brought up, Hussein said either that it wasn't going to get done or that it had very low priority (if I'm wrong, please accept my apologies in advance, Hussein). Anyway, here is a good reason for doing it: you can significantly improve the editing experience for what I believe is XmlMind's primary market - DocBook authors. My "deux centimes" - Best wishes Kevin Flynn Birdstep Technology AS Oslo, Norway -----Original Message----- From: [email protected] [mailto:xmleditor-support-bounces at xmlmind.com]On Behalf Of Manuel Collado Sent: 13. mai 2004 11:49 To: xmleditor-support at xmlmind.com Cc: Poster at Kinetium dot Com Subject: Re: [XXE] 2.6 : Editing keys (e.g. delete) can operate on invisiblecontent e.g. collapsed or css-hidden Hussein Shafie wrote: > Poster at Kinetium dot Com wrote: > >> Great updates, path expressions rock! >> >> Using 2.6, if I collapse an element, select the one after the collapsed >> element, and hold the "backspace" key down, I find I am deleting content >> which is not visible on the screen (collapsed, in this case). >> >> Similarly, if I use a style sheet in which some elements are not visible >> (using css display: none), it is also possible to edit content that is >> not >> visible. >> >> Should this be happening? It was unexpected behavior to me. > > > Yes, it is annoyingly suprising for XXE users. We have not yet found a > way to remove this misfeature (that is, this is not simply a bug which > needs to be fixed). This is not really surprising for me, neither annoying. Perhaps this is a case in which working with both tree and styled views really help. Regards, -- ------------------------------------------------------------------------ Manuel Collado Machuca | Facultad de Informatica UPM Universidad Politecnica de Madrid | Campus de Montegancedo Dep. LSIIS | Boadilla del Monte Tel.+34-91-336.74.57 Fax.+34-91-336.74.12 | 28660 MADRID - SPAIN ------------------------------------------------------------------------ -- XMLmind XML Editor Support List xmleditor-support at xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support

