On Fri, May 25, 2007 at 02:25:39PM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes: > > Dov> The cause is what Elazar explained: the piece of code which he > Dov> patched is the one moving the cursor to the end of inset, by > Dov> subtracting the inset's width. This subtraction *should* take > Dov> place inside the inset, because inside it we want the cursor > Dov> position to be calculated relative to *left* edge of the inset; > > Actually, I do not understand the original code from Martin. I do not > understand why the fact that the character at cursor is an inset > changes anything. What goes wrong when the code itself is removed? I > really do not understand the cursorX code flow.
If this is my code it likely contains conceptual errors. I remember looking at it and wanting to clean it up... don't trust that it is right. - Martin