aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-07-04 16:10:56 +1000
committernyamatongwe <unknown>2012-07-04 16:10:56 +1000
commita82e8e6454b02c78a1a954509e362ae229b056d9 (patch)
tree938383c8b504900bdfb813dd08a113e48c49305d
parenta9d512e2ad0b8450786451865aac3eca6c04aa33 (diff)
downloadscintilla-mirror-a82e8e6454b02c78a1a954509e362ae229b056d9.tar.gz
Fix ModificationFlags enum prefixes
SC_LAST prefix is error-prone because of a risk of adding an unrelated value. Using value names as prefixes is safer. From Denis Shelomovskij.
-rw-r--r--include/Scintilla.iface2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 90aa747e9..9c79f63f4 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2325,7 +2325,7 @@ fun int DescribeKeyWordSets=4017(, stringresult descriptions)
# Type of modification and the action which caused the modification.
# These are defined as a bit mask to make it easy to specify which notifications are wanted.
# One bit is set from each of SC_MOD_* and SC_PERFORMED_*.
-enu ModificationFlags=SC_MOD_ SC_PERFORMED_ SC_LAST
+enu ModificationFlags=SC_MOD_ SC_PERFORMED_ SC_MULTISTEPUNDOREDO SC_LASTSTEPINUNDOREDO SC_MULTILINEUNDOREDO SC_STARTACTION SC_MODEVENTMASKALL
val SC_MOD_INSERTTEXT=0x1
val SC_MOD_DELETETEXT=0x2
val SC_MOD_CHANGESTYLE=0x4