aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2006-10-17 00:32:34 +0000
committernyamatongwe <devnull@localhost>2006-10-17 00:32:34 +0000
commit74fa155b951cf1affd9f941460e6f4bca456abbf (patch)
tree8df7c305d4f7536b2fe3bb1756449ceb11a4efe4 /include/Scintilla.h
parentf218144a4c193e1408b2901055a134d42a29ad1b (diff)
downloadscintilla-mirror-74fa155b951cf1affd9f941460e6f4bca456abbf.tar.gz
Armel Asselin contributed a feature that adds the flag SC_STARTACTION to
modification notifications where the modification is the first step of an undo transaction. This is used to synchronize with the container's undo stack.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 07469b47a..21bcbf490 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -647,7 +647,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SC_MOD_BEFOREINSERT 0x400
#define SC_MOD_BEFOREDELETE 0x800
#define SC_MULTILINEUNDOREDO 0x1000
-#define SC_MODEVENTMASKALL 0x1FFF
+#define SC_STARTACTION 0x2000
+#define SC_MODEVENTMASKALL 0x2FFF
#define SCEN_CHANGE 768
#define SCEN_SETFOCUS 512
#define SCEN_KILLFOCUS 256