From eed707bb9ad6da944af207a51e4a8d460d6c6846 Mon Sep 17 00:00:00 2001
From: Neil Lexilla follows the external lexer protocol
so can be loaded by applications that support this.
As the protocol only supports object lexers, an additional function CreateLexer(const char *name)
- is exposed which will create a lexer object (ILexer4 *) for any object lexer or function lexer.
+ is exposed which will create a lexer object (ILexer5 *) for any object lexer or function lexer.
Contents
@@ -7123,6 +7123,8 @@ sptr_t CallScintilla(unsigned int iMessage, uptr_t wParam, sptr_t lParam){
can be used during lexing. For example a C++ lexer may store a set of preprocessor definitions
or variable declarations and style these depending on their role.
ILexer4 is extended with the provisional ILexer5 interface to support use of Lexilla.
+A set of helper classes allows older lexers defined by functions to be used in Scintilla.
The types Sci_Position and Sci_PositionU are used for positions and line numbers in the document.
With Scintilla 4, 64-bit builds define these as 64-bit types to allow future implementation of documents larger than 2 GB.
@@ -7204,6 +7218,15 @@ A set of common tags and conventions for combining them is DescriptionOfStyle is an English description of the style like "Function or method name definition".
GetName and GetIdentifier may be called
+to discover the identity of a lexer and be used to implement
+ and
+.
PropertyGet may be called
+to discover the value of a property stored by a lexer and be used to implement
+.