diff options
| author | nyamatongwe <devnull@localhost> | 2012-07-04 16:10:56 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2012-07-04 16:10:56 +1000 |
| commit | c340a32cb4a08100ded483cade744151713ba5fc (patch) | |
| tree | 1200c4894de3d0384b85b2c0939e29d4c36994df | |
| parent | 48f4167633cbe802c88e5ada0a97f747af82670a (diff) | |
| download | scintilla-mirror-c340a32cb4a08100ded483cade744151713ba5fc.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.iface | 2 |
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 |
