]> git.lyx.org Git - features.git/commit
Do not sanitize the anchor of cursor when selection is not set
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 10 Mar 2015 14:53:25 +0000 (15:53 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 10 Mar 2015 15:17:29 +0000 (16:17 +0100)
commit97c6e6d1bae4e823a3e251ea3faea37ce39df056
treedf6e0bb41e9ceea8d84bcb4189f74b37ec4e7dd3
parent17e435c47e36effd36d25cec900369e04f6acb4e
Do not sanitize the anchor of cursor when selection is not set

Additionally, move the code to write to a stream from Cursor to CursorData (so that debugging undo is easier). We loose x_target, but I am not sure it is important.

This is the second part of bug #9432.
src/Cursor.cpp
src/Cursor.h