From 5ca7dd65bb30f05ad8aa6bfd269d812e766930da Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 12 Sep 2016 09:15:49 +1000 Subject: Fixed some enums in Scintilla.iface which may change bindings. --- doc/ScintillaHistory.html | 7 +++++++ include/Scintilla.iface | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index d0345ea3f..5a0641749 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -519,6 +519,13 @@ Released 4 September 2016.
  • + Two enums changed in Scintilla.iface which may lead to changed bindings. + There were 2 FontQuality enums and the first is now PhasesDraw. + The prefix for FoldAction was SC_FOLDACTION and is now SC_FOLDACTION_ + which is similar to other enums. + These changes do not affect the standard C/C++ binding. +
  • +
  • The WordList class in lexlib used by lexers adds an InListAbridged method for matching keywords that have particular prefixes and/or suffixes.
  • diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 140cb70f4..0ecae3a28 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1185,7 +1185,7 @@ get bool GetFoldExpanded=2230(int line,) # Switch a header line between expanded and contracted. fun void ToggleFold=2231(int line,) -enu FoldAction=SC_FOLDACTION +enu FoldAction=SC_FOLDACTION_ val SC_FOLDACTION_CONTRACT=0 val SC_FOLDACTION_EXPAND=1 val SC_FOLDACTION_TOGGLE=2 @@ -1381,7 +1381,7 @@ get bool GetTwoPhaseDraw=2283(,) # and then the foreground. This avoids chopping off characters that overlap the next run. set void SetTwoPhaseDraw=2284(bool twoPhase,) -enu FontQuality=SC_PHASES_ +enu PhasesDraw=SC_PHASES_ val SC_PHASES_ONE=0 val SC_PHASES_TWO=1 val SC_PHASES_MULTIPLE=2 -- cgit v1.2.3