]> git.lyx.org Git - features.git/commit
Fix bug #8238: correct the forward argument of replace2string() in on_replacePB_click...
authorStephan Witt <switt@lyx.org>
Thu, 26 Jul 2012 22:34:17 +0000 (00:34 +0200)
committerStephan Witt <switt@lyx.org>
Wed, 22 Aug 2012 16:07:58 +0000 (18:07 +0200)
commit7cc30cdf29c28fd780b1faa58832e9c72353be7a
treeafa2ae4400743010dda973c113bd9baa4fbae6b2
parenta4db6d6c141292bff1fdf27fe85f178a315f509c
Fix bug #8238: correct the forward argument of replace2string() in on_replacePB_clicked().
(cherry picked from commit 44b327800666f30d2713c6c9e26f275aadfa4b9c)
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.
(cherry picked from commit 430cf3ee5ef125b8bc610300afca58437b734306)
src/frontends/qt4/GuiSpellchecker.cpp
src/frontends/qt4/Menus.cpp
src/lyxfind.cpp
status.20x