Author: switt
Date: Thu May 19 07:54:47 2011
New Revision: 38786
URL: http://www.lyx.org/trac/changeset/38786

Log:
#7564 move the text cursor to the end of the word after replace of the 
misspelled with suggested text

Modified:
   lyx-devel/trunk/src/frontends/qt4/Menus.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/Menus.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/Menus.cpp Thu May 19 07:50:55 2011        
(r38785)
+++ lyx-devel/trunk/src/frontends/qt4/Menus.cpp Thu May 19 07:54:47 2011        
(r38786)
@@ -788,8 +788,8 @@
                                        LYXERR(Debug::GUI, suggestion);
                                        MenuItem w(MenuItem::Command, 
toqstr(suggestion),
                                                FuncRequest(LFUN_WORD_REPLACE, 
-                                                       
replace2string(suggestion,selection,
-                                                               true, true, 
false, false, false)));
+                                                       
replace2string(suggestion, selection,
+                                                               true, true, 
false, true, false)));
                                        if (i < m)
                                                add(w);
                                        else

Reply via email to