diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-18 12:15:42 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-18 12:15:42 +1000 |
commit | a69ac941a56d1eedd1eeff543da40acc075d9be3 (patch) | |
tree | 8f62c4c232ab93244e5f9b6951bfeaab645f632b | |
parent | 698886c092d784f0eb2426056056631508db55bf (diff) | |
download | scintilla-mirror-a69ac941a56d1eedd1eeff543da40acc075d9be3.tar.gz |
Backport: Feature [feature-requests:#1297] 4: Add enu for IndicValue and UndoFlags to
gather their values into a type.
Add _NONE values for 3 enumerations to make using them simpler.
Backport of changeset 7586:d1d3da2c2d91.
-rw-r--r-- | include/Scintilla.iface | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d0d3c2e70..68b1d6706 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -690,6 +690,7 @@ set void IndicSetHoverFore=2682(int indicator, colour fore) # Retrieve the foreground hover colour of an indicator. get colour IndicGetHoverFore=2683(int indicator,) +enu IndicValue=SC_INDICVALUE val SC_INDICVALUEBIT=0x1000000 val SC_INDICVALUEMASK=0xFFFFFF @@ -957,6 +958,7 @@ set void SetPrintColourMode=2148(int mode,) get int GetPrintColourMode=2149(,) enu FindOption=SCFIND_ +val SCFIND_NONE=0x0 val SCFIND_WHOLEWORD=0x2 val SCFIND_MATCHCASE=0x4 val SCFIND_WORDSTART=0x00100000 @@ -2371,6 +2373,8 @@ fun void ReleaseAllExtendedStyles=2552(,) # Allocate some extended (>255) style numbers and return the start of the range fun int AllocateExtendedStyles=2553(int numberStyles,) +enu UndoFlags=UNDO_ +val UNDO_NONE=0 val UNDO_MAY_COALESCE=1 # Add a container action to the undo stack @@ -2771,6 +2775,7 @@ fun int DescriptionOfStyle=4032(int style, stringresult description) # 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_MULTISTEPUNDOREDO SC_LASTSTEPINUNDOREDO SC_MULTILINEUNDOREDO SC_STARTACTION SC_MODEVENTMASKALL +val SC_MOD_NONE=0x0 val SC_MOD_INSERTTEXT=0x1 val SC_MOD_DELETETEXT=0x2 val SC_MOD_CHANGESTYLE=0x4 |