aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-01-02 18:17:06 +1100
committernyamatongwe <unknown>2011-01-02 18:17:06 +1100
commit3a176613160f8740460131866cb2ec9f4c4ef2e5 (patch)
treef2e7f374d2d1e5c7fd34f67a18aaf62e98dc0be2 /src
parentc11b33236bcd09928bce17eaef11951a77a84abe (diff)
downloadscintilla-mirror-3a176613160f8740460131866cb2ec9f4c4ef2e5.tar.gz
Ensure a SCN_UPDATEUI notification occurs when overstrike mode changed.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 89c67b433..fb66c8a86 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5134,6 +5134,7 @@ int Editor::KeyCommand(unsigned int iMessage) {
inOverstrike = !inOverstrike;
DropCaret();
ShowCaretAtCurrentPosition();
+ ContainerNeedsUpdate(SC_UPDATE_CONTENT);
NotifyUpdateUI();
break;
case SCI_CANCEL: // Cancel any modes - handled in subclass