]> git.lyx.org Git - features.git/commit
Fix the wrong cursor move when forward flag is false:
authorStephan Witt <switt@lyx.org>
Mon, 30 Jul 2012 12:32:29 +0000 (14:32 +0200)
committerStephan Witt <switt@lyx.org>
Mon, 30 Jul 2012 12:32:29 +0000 (14:32 +0200)
commit430cf3ee5ef125b8bc610300afca58437b734306
treec13afd984074b4e4d6ca9903d5870c12d42bc210
parent159108786d00693c949a7690c2d6d0c8aa3147c2
Fix the wrong cursor move when forward flag is false:
The forward flag is used to place the cursor behind the replaced text if it's true.
But it's not correct to move the cursor if it's false. The cursor is in front of the
replacement already after the replaceSelectionWithString() was done.
src/lyxfind.cpp