From c340a32cb4a08100ded483cade744151713ba5fc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 4 Jul 2012 16:10:56 +1000 Subject: 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. --- include/Scintilla.iface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3