aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index b0a092720..90520856f 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3792,6 +3792,7 @@ int Editor::KeyCommand(unsigned int iMessage) {
inOverstrike = !inOverstrike;
ContainerNeedsUpdate(SC_UPDATE_SELECTION);
ShowCaretAtCurrentPosition();
+ SetIdle(true);
break;
case SCI_CANCEL: // Cancel any modes - handled in subclass
// Also unselect text
@@ -4947,6 +4948,8 @@ void Editor::ButtonUpWithModifiers(Point pt, unsigned int curTime, int modifiers
}
bool Editor::Idle() {
+ NotifyUpdateUI();
+
bool needWrap = Wrapping() && wrapPending.NeedsWrap();
if (needWrap) {
@@ -7735,6 +7738,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
inOverstrike = wParam != 0;
ContainerNeedsUpdate(SC_UPDATE_SELECTION);
ShowCaretAtCurrentPosition();
+ SetIdle(true);
}
break;