diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ILexer.h | 8 | ||||
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/include/ILexer.h b/include/ILexer.h index b119ff649..e08b8701c 100644 --- a/include/ILexer.h +++ b/include/ILexer.h @@ -62,6 +62,14 @@ public: virtual void * SCI_METHOD PrivateCall(int operation, void *pointer) = 0; }; +class ILoader { +public: + virtual int SCI_METHOD Release() = 0; + // Returns a status code from SC_STATUS_* + virtual int SCI_METHOD AddData(char *data, int length) = 0; + virtual void * SCI_METHOD ConvertToDocument() = 0; +}; + #ifdef SCI_NAMESPACE } #endif diff --git a/include/Scintilla.h b/include/Scintilla.h index 1cccd7872..11f9bbd9e 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -831,6 +831,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SC_TECHNOLOGY_DIRECTWRITE 1 #define SCI_SETTECHNOLOGY 2630 #define SCI_GETTECHNOLOGY 2631 +#define SCI_CREATELOADER 2632 #define SCI_STARTRECORD 3001 #define SCI_STOPRECORD 3002 #define SCI_SETLEXER 4001 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index e0462a3fd..30aa8caea 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -2202,6 +2202,9 @@ set void SetTechnology=2630(int technology,) # Get the tech. get int GetTechnology=2631(,) +# Create an ILoader*. +fun int CreateLoader=2632(int bytes,) + # Start notifying the container of all key presses and commands. fun void StartRecord=3001(,) |