mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
#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:
parent
56960daa7c
commit
46d1f8a03c
@ -788,8 +788,8 @@ void MenuDefinition::expandSpellingSuggestions(BufferView const * bv)
|
|||||||
LYXERR(Debug::GUI, suggestion);
|
LYXERR(Debug::GUI, suggestion);
|
||||||
MenuItem w(MenuItem::Command, toqstr(suggestion),
|
MenuItem w(MenuItem::Command, toqstr(suggestion),
|
||||||
FuncRequest(LFUN_WORD_REPLACE,
|
FuncRequest(LFUN_WORD_REPLACE,
|
||||||
replace2string(suggestion,selection,
|
replace2string(suggestion, selection,
|
||||||
true, true, false, false, false)));
|
true, true, false, true, false)));
|
||||||
if (i < m)
|
if (i < m)
|
||||||
add(w);
|
add(w);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user