mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
Backport r30399 in order to fix #6013 (I am not sure how to be more cryptic yet still useful)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30413 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
488b22bdf4
commit
c88dd9924e
@ -430,6 +430,8 @@ void GuiSpellchecker::replace(docstring const & replacement)
|
||||
LYXERR(Debug::GUI, "GuiSpellchecker::replace("
|
||||
<< to_utf8(replacement) << ")");
|
||||
BufferView * bv = const_cast<BufferView *>(bufferview());
|
||||
if (!bv->cursor().inTexted())
|
||||
return;
|
||||
cap::replaceSelectionWithString(bv->cursor(), replacement, true);
|
||||
bv->buffer().markDirty();
|
||||
// If we used an LFUN, we would not need that
|
||||
|
@ -129,8 +129,11 @@ What's new
|
||||
- Fix assertion when pressing down arrow in the command buffer while
|
||||
the history is empty (bug 6001).
|
||||
|
||||
- Fix assertion when selecting with Shift-button in math editor (bug
|
||||
6026).
|
||||
- Fix assertion when selecting with Shift-button in math editor (bugs
|
||||
5046 and 6026).
|
||||
|
||||
- Fix assertion when starting spellchecker in math mode and clicking
|
||||
"replace" (bug 6013)
|
||||
|
||||
- Make Tools>Statistics ignore Note insets and inactive branches
|
||||
(bug 2566).
|
||||
|
Loading…
Reference in New Issue
Block a user