From 1f81cd7b6563f00837755fe17d8c6e8b07951e9b Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 2 Nov 2015 14:35:50 +0100 Subject: [PATCH] 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. --- src/BufferView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 7287ad8ca7..762fe78ec9 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -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;