diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/ScintillaDoc.html | 25 | ||||
| -rw-r--r-- | doc/ScintillaHistory.html | 4 |
2 files changed, 27 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index d6d98b578..ef9e3e81b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1808,7 +1808,7 @@ struct Sci_TextToFind { <b id="SCI_GETSELECTIONNEND">SCI_GETSELECTIONNEND(int selection) → position</b><br /> <b id="SCI_GETSELECTIONNENDVIRTUALSPACE">SCI_GETSELECTIONNENDVIRTUALSPACE(int selection) → position</b><br /> Set or query the start and end position of each already existing selection. - Query the virtual space at start and end of each selection. + Query the virtual space at start and end of each selection. Mostly of use to query each range for its text. The selection parameter is zero-based. </p> <p> @@ -7143,7 +7143,7 @@ optimisation could be to remember where a setting first affects the document and <p><code>Version</code> returns an enumerated value specifying which version of the interface is implemented: <code>lvOriginal</code> for <code>ILexer</code>, <code>lvSubStyles</code> for <code>ILexerWithSubStyles</code>, -and <code>lvMetaData</code> for <code>ILexerWithMetaData</code>.</p> +<code>lvMetaData</code> for <code>ILexerWithMetaData</code>, and <code>lvIdentity</code> for <code>ILexerWithIdentity></code>.</p> <p><code>Release</code> is called to destroy the lexer object.</p> @@ -7205,6 +7205,27 @@ A set of common tags and conventions for combining them is <a class="jump" href <span class="S10">};</span><br /> </div> +<h4 class="provisional">ILexerWithIdentity</h4> + +<div class="highlighted"> +<span><span class="S5">class</span><span class="S0"> </span>ILexerWithIdentity<span class="S0"> </span><span class="S10">:</span><span class="S0"> </span><span class="S5">public</span><span class="S0"> </span>ILexer<span class="S0"> </span><span class="S10">{</span><br /> +<span class="S5">public</span><span class="S10">:</span><br /> +<span class="S0"> </span><span class="S5">virtual</span><span class="S0"> </span><span class="S5">const</span><span class="S0"> </span><span class="S5">char</span><span class="S0"> </span><span class="S10">*</span><span class="S0"> </span>SCI_METHOD<span class="S0"> </span>GetName<span class="S10">()</span><span class="S0"> </span><span class="S10">=</span><span class="S0"> </span><span class="S4">0</span><span class="S10">;</span><br /> +<span class="S0"> </span><span class="S5">virtual</span><span class="S0"> </span><span class="S5">int</span><span class="S0"> </span>SCI_METHOD<span class="S0"> </span>GetIdentifier<span class="S10">()</span><span class="S0"> </span><span class="S10">=</span><span class="S0"> </span><span class="S4">0</span><span class="S10">;</span><br /> +<span class="S0"> </span><span class="S5">virtual</span><span class="S0"> </span><span class="S5">const</span><span class="S0"> </span><span class="S5">char</span><span class="S0"> </span><span class="S10">*</span><span class="S0"> </span>SCI_METHOD<span class="S0"> </span>PropertyGet<span class="S10">(</span><span class="S5">const</span><span class="S0"> </span><span class="S5">char</span><span class="S0"> </span><span class="S10">*</span>key<span class="S10">)</span><span class="S0"> </span><span class="S10">=</span><span class="S0"> </span><span class="S4">0</span><span class="S10">;</span><br /> +<span class="S10">};</span><br /> +<span class="S0"></span></span> +</div> + +<p class="provisional"><code>GetName</code> and <code>GetIdentifier</code> may be called +to discover the identity of a lexer and be used to implement +<a class="message" href="#SCI_GETLEXERLANGUAGE">SCI_GETLEXERLANGUAGE</a> and +<a class="message" href="#SCI_GETLEXER">SCI_GETLEXER</a>.</p> + +<p class="provisional"><code>PropertyGet</code> may be called +to discover the value of a property stored by a lexer and be used to implement +<a class="message" href="#SCI_GETPROPERTY">SCI_GETPROPERTY</a>.</p> + <h4>IDocument</h4> <div class="highlighted"> diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 308c1d40c..fe08f84a4 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -561,6 +561,10 @@ Released 07 December 2019. </li> <li> + ILexerWithIdentity interface defined provisionally to support use of Lexilla. + The details of this interface may change before being stabilised in Scintilla 5.0. + </li> + <li> SCI_LOADLEXERLIBRARY implemented on Cocoa. </li> <li> |
