diff options
author | nyamatongwe <devnull@localhost> | 2013-01-19 11:40:47 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-01-19 11:40:47 +1100 |
commit | d6ac5bf56d40512ac0634d7a5bee6f7328b7d41f (patch) | |
tree | c8a0a61379695115cde7c7423ce4308f4c195336 /doc | |
parent | 46ff1fe3d148b9d131788be6b4d7da8daa65189c (diff) | |
download | scintilla-mirror-d6ac5bf56d40512ac0634d7a5bee6f7328b7d41f.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')
-rw-r--r-- | doc/ScintillaDoc.html | 14 |
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 & SCI_GETLINEENDTYPESALLOWED</code>.</p> + <h2 id="Styling">Styling</h2> <p>The styling messages allow you to assign styles to text. The standard Scintilla settings |