aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-11-11 19:14:30 +1100
committerNeil <nyamatongwe@gmail.com>2015-11-11 19:14:30 +1100
commitfc7f7bed53a60d2d3785cf95093d388d39b2af11 (patch)
tree6b1030593ef0c6e8815c356269b8722d1109017c /include/Scintilla.iface
parent4a52b4ef384436f5474184588ecacf666369afa0 (diff)
downloadscintilla-mirror-fc7f7bed53a60d2d3785cf95093d388d39b2af11.tar.gz
Implemented idle styling. This allows painting without first styling all visible
text then styling in the background using idle-time.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index ad50a2aaf..04fd767cd 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1260,6 +1260,18 @@ fun int WordEndPosition=2267(position pos, bool onlyWordCharacters)
# Is the range start..end considered a word?
fun bool IsRangeWord=2691(position start, position end)
+enu IdleStyling=SC_IDLESTYLING_
+val SC_IDLESTYLING_NONE=0
+val SC_IDLESTYLING_TOVISIBLE=1
+val SC_IDLESTYLING_AFTERVISIBLE=2
+val SC_IDLESTYLING_ALL=3
+
+# Sets limits to idle styling.
+set void SetIdleStyling=2692(int idleStyling,)
+
+# Retrieve the limits to idle styling.
+get int GetIdleStyling=2693(,)
+
enu Wrap=SC_WRAP_
val SC_WRAP_NONE=0
val SC_WRAP_WORD=1