>Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> I did not checked, hence the conditional :-) >> >> Why not create a Cursor::replaceSelection() instead? > >I really think that changing replaceSelection(cur) to >cur.replaceSelection() (one more character, BTW) is not a >useful task.
>Cursor is already much too fat. Indeed, I'm really eager to clean the Cursor, DocIterator and CursorSlice classes as most methods don't have any functionality besides relaying. There must be some really fancy design model. Next, I'd like to ask whether there are taboos ("heilige huisjes") wrt to the following issues: - Pasting text from outside LyX is defaulted to "Paste, Join Lines" (which would not be my first choice), - "Paste, Join Lines" doesn't work when copy-pasting within LyX, - What is "Paste, Plain Text" supposed to do ? Should it dissolve Insets in your selection ? Should it remove any font modifiers ? PS. I didn't look in the code to find the answers. >Jmarc Vincent