commit ae537a5d997c9bb8040109128e5d8dcb95554223
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 4eb68af..8331686 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -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;
diff --git a/status.21x b/status.21x
index 14163e4..f808377 100644
--- a/status.21x
+++ b/status.21x
@@ -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).