#7778 backport of fix in trunk

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40026 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-10-27 09:05:55 +00:00
parent 7439464374
commit 7de601b63e
2 changed files with 3 additions and 1 deletions

View File

@ -1893,7 +1893,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
break;
selectWordWhenUnderCursor(cur, WHOLE_WORD_STRICT);
Font font(ignore_font, lang);
toggleAndShow(cur, this, font);
toggleAndShow(cur, this, font, false);
break;
}

View File

@ -203,6 +203,8 @@ What's new
- Fix display of thickness of horizontal lines (bug 7851).
- Fix change of language of selected text with context menu (bug 7778).
* ADVANCED FIND AND REPLACE