aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2006-10-17 00:32:34 +0000
committernyamatongwe <unknown>2006-10-17 00:32:34 +0000
commit672b30f73d556b09af3dc4d3afdc5ad24b841a44 (patch)
tree8df7c305d4f7536b2fe3bb1756449ceb11a4efe4 /include
parent924270507fe35db90f99a88eb13242e1c5799bbc (diff)
downloadscintilla-mirror-672b30f73d556b09af3dc4d3afdc5ad24b841a44.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')
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface3
2 files changed, 4 insertions, 2 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
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 78e62b8ce..b9ff854e0 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1728,7 +1728,8 @@ val SC_MOD_CHANGEMARKER=0x200
val SC_MOD_BEFOREINSERT=0x400
val SC_MOD_BEFOREDELETE=0x800
val SC_MULTILINEUNDOREDO=0x1000
-val SC_MODEVENTMASKALL=0x1FFF
+val SC_STARTACTION=0x2000
+val SC_MODEVENTMASKALL=0x2FFF
# For compatibility, these go through the COMMAND notification rather than NOTIFY
# and should have had exactly the same values as the EN_* constants.