aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-05-07 10:50:38 +0000
committernyamatongwe <devnull@localhost>2005-05-07 10:50:38 +0000
commit4a66b9e90218517ee62ce77ac1733e30976065ea (patch)
tree4bf911b047a0c992d2dfb9e74b63c66ebe0e1e4f /include/Scintilla.iface
parent989fa6eab0a21fbe09caa337dcce1348e5bd4aec (diff)
downloadscintilla-mirror-4a66b9e90218517ee62ce77ac1733e30976065ea.tar.gz
Patch from Robert that avoids slow performance for multiple step undo
or redo by only modifying the scroll bars at the end. When document is read only, undo and redo send a SCN_MODIFYATTEMPTRO notification.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 5706177c9..1a980486a 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1669,11 +1669,13 @@ val SC_MOD_CHANGEFOLD=0x8
val SC_PERFORMED_USER=0x10
val SC_PERFORMED_UNDO=0x20
val SC_PERFORMED_REDO=0x40
+val SC_MULTISTEPUNDOREDO=0x80
val SC_LASTSTEPINUNDOREDO=0x100
val SC_MOD_CHANGEMARKER=0x200
val SC_MOD_BEFOREINSERT=0x400
val SC_MOD_BEFOREDELETE=0x800
-val SC_MODEVENTMASKALL=0xF7F
+val SC_MULTILINEUNDOREDO=0x1000
+val SC_MODEVENTMASKALL=0x1FFF
# For compatibility, these go through the COMMAND notification rather than NOTIFY
# and should have had exactly the same values as the EN_* constants.