aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-09 20:50:07 +0300
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-05-09 23:00:17 +0200
commita534721011f35a1a56c2a815f8b2fa31e0a8ebbd (patch)
tree097b6b1f87310aa6bbe53b8021719d99d2605412 /doc/ScintillaDoc.html
parent01a9fb54ba284e440cbf4799fc3b8840584471be (diff)
downloadscintilla-mirror-sciteco-rel-5-6-2.tar.gz
added SC_LINE_END_TYPE_NONE: allows ignoring all line endssciteco-rel-5-6-2
This can help when using Scintilla views as command line widgets. It can also help when using Scintilla to edit binary files as you don't want to attach special meaning to CR and LF. This patch will not be merged for the time being, so we strive to reduce the number of touched lines. See https://groups.google.com/g/scintilla-interest/c/iE6E4n9zWT4
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index c21bd2e29..3c5a4ab7f 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -3041,15 +3041,17 @@ struct Sci_TextToFindFull {
<p><b id="SCI_GETLINEENDTYPESSUPPORTED">SCI_GETLINEENDTYPESSUPPORTED &rarr; int</b><br />
<code>SCI_GETLINEENDTYPESSUPPORTED</code> reports the different types of line ends supported
- by the current lexer. This is a bit set although there is currently only a single choice
- with either <code>SC_LINE_END_TYPE_DEFAULT</code> (0) or <code>SC_LINE_END_TYPE_UNICODE</code> (1).
+ by the current lexer. This is a choice between <code>SC_LINE_END_TYPE_DEFAULT</code> (0),
+ <code>SC_LINE_END_TYPE_UNICODE</code> (1) and <code>SC_LINE_END_TYPE_NONE</code> (2).
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 />
+ <p><b id="SCI_SETLINEENDTYPESALLOWED">SCI_SETLINEENDTYPESALLOWED(int lineEndType)</b><br />
<b id="SCI_GETLINEENDTYPESALLOWED">SCI_GETLINEENDTYPESALLOWED &rarr; int</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>SC_LINE_END_TYPE_NONE</code> disables interpretation of all line ends which effectively
+ creates a one-line view.
<code>SCI_GETLINEENDTYPESALLOWED</code> returns the current state.</p>
<p><b id="SCI_GETLINEENDTYPESACTIVE">SCI_GETLINEENDTYPESACTIVE &rarr; int</b><br />