From 54ff7790908e2b31f976ba74ca353bc4507ea70d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 2 Jun 2007 05:18:13 +0000 Subject: 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. --- include/Scintilla.h | 2 ++ include/Scintilla.iface | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'include') 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(,) -- cgit v1.2.3