diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-09-09 20:50:07 +0300 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-09 22:10:35 +0100 |
| commit | a5b8fca36a7a050edfa1c4bb9e91f7722e12f3f6 (patch) | |
| tree | db20f53a3007245a64bf268ea67202dbdc08345f /doc/ScintillaDoc.html | |
| parent | d4fa2014808092ddfaa0c97c1755af87a182be6b (diff) | |
| download | scintilla-mirror-a5b8fca36a7a050edfa1c4bb9e91f7722e12f3f6.tar.gz | |
added SC_LINE_END_TYPE_NONE: allows ignoring all line ends
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.
Diffstat (limited to 'doc/ScintillaDoc.html')
| -rw-r--r-- | doc/ScintillaDoc.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 0dfe986f4..deae30251 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3015,15 +3015,17 @@ struct Sci_TextToFindFull { <p><b id="SCI_GETLINEENDTYPESSUPPORTED">SCI_GETLINEENDTYPESSUPPORTED → 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 → 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 → int</b><br /> |
