]> git.lyx.org Git - features.git/commit
Do not set cursor to the right of newline with mouse
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 6 Mar 2016 14:29:25 +0000 (15:29 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 12 Mar 2016 11:49:00 +0000 (12:49 +0100)
commit3b6919217b86a4177a0997f4c92cbc59b293f07b
treefcb9e7b0b5c900111cafa66c7c78897f6417e155
parentfdab91be63f2dc4c7e35d3dbd6b4dbcb7cf2ada9
Do not set cursor to the right of newline with mouse

When a row is broken by for example a display math inset, it is
possible to put the cursor at the end of the previous line using the
boundary setting of cursor.

For newline insets and separator insets, we want to force the cursor
to be before this inset. Also, in the other cases, do not force
boundary property (effectively reverts part of f29e7803).
src/TextMetrics.cpp