aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
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.h
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.h')
-rw-r--r--include/Scintilla.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index e3443409b..c985cea77 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -506,6 +506,12 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_WORDSTARTPOSITION 2266
#define SCI_WORDENDPOSITION 2267
#define SCI_ISRANGEWORD 2691
+#define SC_IDLESTYLING_NONE 0
+#define SC_IDLESTYLING_TOVISIBLE 1
+#define SC_IDLESTYLING_AFTERVISIBLE 2
+#define SC_IDLESTYLING_ALL 3
+#define SCI_SETIDLESTYLING 2692
+#define SCI_GETIDLESTYLING 2693
#define SC_WRAP_NONE 0
#define SC_WRAP_WORD 1
#define SC_WRAP_CHAR 2