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 1f0d210ab5
commit 1f81cd7b65

View File

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