Set current font correctly after inset-select-all

Since we modify directly the cursor, it is wise to make sure that the current font is updated.

Fixes bug #9719.
This commit is contained in:
Jean-Marc Lasgouttes 2015-11-02 14:35:50 +01:00
parent fc6b7ede9c
commit ae537a5d99
2 changed files with 5 additions and 1 deletions

View File

@ -1833,6 +1833,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
cur.pit() = cur.lastpit();
cur.pos() = cur.lastpos();
}
cur.setCurrentFont();
dr.screenUpdate(Update::Force);
break;

View File

@ -84,7 +84,10 @@ What's new
- Reset cursor font when leaving an inset to the left (bug 6032).
- Reset cursor font when navigating with find or spellcheck (bug 9500).
- Reset cursor font when navigating with find or spellcheck (bug
9500).
- Reset cursor font after inset-select-all (bug 9719).
- Correctly update previews when cursor leaves inset (bug 6173).