Friday, July 7, 2006, 11:06:34 AM, Hussein Shafie wrote:
> Cay Horstmann wrote: >> I am using XXE for editing XHTML 1.0 Strict documents. >> >> When I insert an element such a pre or ul, the entire element is >> selected. I find that quite inconvenient. When I then paste material >> into the element, the paste command is deactivated, and I have to >> remember to hit Ctrl+Down. >> >> I would much prefer if after the insertion, the #text was selected. > > We strongly disagree with you. We'll not implement that. > > All commands are designed to show you what they have done. In the case > of the Insert command, it shows you the newly created pre or ul. But the problem is not that the element is selected... see below. > Note that > * the caret is positioned at the right place: inside the newly created > pre or ul; > * the fact that the pre or ul is selected does not prevent you from > typing text right away. > (Typing text inside a newly created element is by far what users most > commonly do.) I think that the root of the problem is that in XXE pasting #text from the clip-board (not elements or something, just simple #text) doesn't behave the same as typing the same text on the keyboard. They behave the same in (almost?) all applications, except XXE. So it *will* confuse users. You may should think about this, because this is not good. If pasting #text would behave the same, that would accidentally also solve the inconvenience Cay Horstmann complains about. -- Best regards, Daniel Dekany

