commit 1f81cd7b6563f00837755fe17d8c6e8b07951e9b
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Mon Nov 2 14:35:50 2015 +0100

    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.

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 7287ad8..762fe78 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;
 

Reply via email to