mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
fix #1384
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7890 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
839576adbc
commit
c8829b0feb
@ -1536,7 +1536,7 @@ void LyXText::cursorLeftOneWord()
|
|||||||
void LyXText::selectWord(word_location loc)
|
void LyXText::selectWord(word_location loc)
|
||||||
{
|
{
|
||||||
LyXCursor from = cursor;
|
LyXCursor from = cursor;
|
||||||
LyXCursor to;
|
LyXCursor to = cursor;
|
||||||
::getWord(*this, from, to, loc, ownerParagraphs());
|
::getWord(*this, from, to, loc, ownerParagraphs());
|
||||||
if (cursor != from)
|
if (cursor != from)
|
||||||
setCursor(from.par(), from.pos());
|
setCursor(from.par(), from.pos());
|
||||||
|
Loading…
Reference in New Issue
Block a user