aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-06-02 05:18:13 +0000
committernyamatongwe <unknown>2007-06-02 05:18:13 +0000
commit284a7cde23d26ccc5c5b75aaa9c1e69e659a4adc (patch)
tree22d32a8aeccfda9902240bfca1ffad692136f45c /include
parentb78f4e0f1eeb340c23b3c9df896da7405c2e0217 (diff)
downloadscintilla-mirror-284a7cde23d26ccc5c5b75aaa9c1e69e659a4adc.tar.gz
Addition of PositionCache module which adds cacing of string
to position information and segments long pieces of text so they can be handled more efficiently.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface6
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 81a7b814d..c50528b72 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -657,6 +657,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_INDICATORVALUEAT 2507
#define SCI_INDICATORSTART 2508
#define SCI_INDICATOREND 2509
+#define SCI_SETPOSITIONCACHE 2514
+#define SCI_GETPOSITIONCACHE 2515
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 7d21f41b3..b932a33f6 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1775,6 +1775,12 @@ fun int IndicatorStart=2508(int indicator, int position)
# Where does a particular indicator end?
fun int IndicatorEnd=2509(int indicator, int position)
+# Set number of entries in position cache
+set void SetPositionCache=2514(int size,)
+
+# How many entries are allocated to the position cache?
+get int GetPositionCache=2515(,)
+
# Start notifying the container of all key presses and commands.
fun void StartRecord=3001(,)