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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38786 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-05-19 05:54:47 +00:00
parent 56960daa7c
commit 46d1f8a03c

View File

@ -789,7 +789,7 @@ void MenuDefinition::expandSpellingSuggestions(BufferView const * bv)
MenuItem w(MenuItem::Command, toqstr(suggestion),
FuncRequest(LFUN_WORD_REPLACE,
replace2string(suggestion, selection,
true, true, false, false, false)));
true, true, false, true, false)));
if (i < m)
add(w);
else