aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-05-07 10:50:38 +0000
committernyamatongwe <unknown>2005-05-07 10:50:38 +0000
commita5947254aab31b2e51f37144206133a8b0e4ac6e (patch)
tree4bf911b047a0c992d2dfb9e74b63c66ebe0e1e4f /include/Scintilla.h
parent4d4ebd95f2f25e4c814dcd441a98d388e659455a (diff)
downloadscintilla-mirror-a5947254aab31b2e51f37144206133a8b0e4ac6e.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.h')
-rw-r--r--include/Scintilla.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 22b47d65f..5a5a3f0fc 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -618,11 +618,13 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SC_PERFORMED_USER 0x10
#define SC_PERFORMED_UNDO 0x20
#define SC_PERFORMED_REDO 0x40
+#define SC_MULTISTEPUNDOREDO 0x80
#define SC_LASTSTEPINUNDOREDO 0x100
#define SC_MOD_CHANGEMARKER 0x200
#define SC_MOD_BEFOREINSERT 0x400
#define SC_MOD_BEFOREDELETE 0x800
-#define SC_MODEVENTMASKALL 0xF7F
+#define SC_MULTILINEUNDOREDO 0x1000
+#define SC_MODEVENTMASKALL 0x1FFF
#define SCEN_CHANGE 768
#define SCEN_SETFOCUS 512
#define SCEN_KILLFOCUS 256