aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-01-19 11:40:47 +1100
committernyamatongwe <unknown>2013-01-19 11:40:47 +1100
commitf46c96ecb682ad736453f78f6709fca6c6911886 (patch)
tree30a15c456b96f3a1e7c988536d41350288ff4ef4 /doc/ScintillaDoc.html
parentf0cd733f9f71a76b641546a2401636d7f8f3c1ed (diff)
downloadscintilla-mirror-f46c96ecb682ad736453f78f6709fca6c6911886.tar.gz
Support the three Unicode line ends NEL, LS, and PS in CellBuffer, Document,
Editor and the message interface. Will only be turned on for lexers that support Unicode line ends.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 436a931f2..ec26db627 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -2199,6 +2199,9 @@ struct Sci_TextToFind {
<a class="message" href="#SCI_GETVIEWEOL">SCI_GETVIEWEOL</a><br />
<a class="message" href="#SCI_GETLINEENDTYPESSUPPORTED">SCI_GETLINEENDTYPESSUPPORTED</a><br />
+ <a class="message" href="#SCI_SETLINEENDTYPESALLOWED">SCI_SETLINEENDTYPESALLOWED(int lineEndBitSet)</a><br />
+ <a class="message" href="#SCI_GETLINEENDTYPESALLOWED">SCI_GETLINEENDTYPESALLOWED</a><br />
+ <a class="message" href="#SCI_GETLINEENDTYPESACTIVE">SCI_GETLINEENDTYPESACTIVE</a><br />
</code>
<p><b id="SCI_SETEOLMODE">SCI_SETEOLMODE(int eolMode)</b><br />
@@ -2227,6 +2230,17 @@ struct Sci_TextToFind {
with either <code>SC_LINE_END_TYPE_DEFAULT</code> (0) or <code>SC_LINE_END_TYPE_UNICODE</code> (1).
These values are also used by the other messages concerned with Unicode line ends.</p>
+ <p><b id="SCI_SETLINEENDTYPESALLOWED">SCI_SETLINEENDTYPESALLOWED(int lineEndBitSet)</b><br />
+ <b id="SCI_GETLINEENDTYPESALLOWED">SCI_GETLINEENDTYPESALLOWED</b><br />
+ By default, only the ASCII line ends are interpreted. Unicode line ends may be requested with
+ <code>SCI_SETLINEENDTYPESALLOWED(SC_LINE_END_TYPE_UNICODE)</code>
+ but this will be ineffective unless the lexer also allows you Unicode line ends.
+ <code>SCI_GETLINEENDTYPESALLOWED</code> returns the current state.</p>
+
+ <p><b id="SCI_GETLINEENDTYPESACTIVE">SCI_GETLINEENDTYPESACTIVE</b><br />
+ <code>SCI_GETLINEENDTYPESACTIVE</code> reports the set of line ends currently interpreted
+ by Scintilla. It is <code>SCI_GETLINEENDTYPESSUPPORTED &amp; SCI_GETLINEENDTYPESALLOWED</code>.</p>
+
<h2 id="Styling">Styling</h2>
<p>The styling messages allow you to assign styles to text. The standard Scintilla settings