Jean-Marc Lasgouttes wrote:
> I committed the cutSelection part (see cutsel.diff). The remaining
> part is attached. Note that I changed the font-changing stuff to use a
> temporary cursor so that there is no need to restore the original
> selection. Does that seem reasonable?

IMO yes. How does it behave on undo?

> Concerning the ascii paste part, the cursor should have been updated
> to point to the end of the inserted string. insertAsciiString really
> needs a cleanup. In what cases do you get a crash?

- Copy some cells mith multiple lines to the clipboard
- Add a line to the last cell
- Select several cells again. Make sure that the end of selection is in the 
last (added) line.
- Insert via Middle Mouse button

The trick is that the inserted content has less paragraphs than the previous 
one, so that the pit of the selection end is invalid (> lastpit).

I hope the description is clear.

Jürgen

> Update patch attached.

Reply via email to