Jean-Marc Lasgouttes wrote:
Instead of fixing cursor position if it looks wrong, shouldn't we set cursor to the start of selection instead? This is guaranteed to work, it seems.I propose the following patch.
Note that the same crash also happens when changing text style, see my patches.
Joost