diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-09-09 20:50:07 +0300 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-05-09 23:00:17 +0200 |
| commit | a534721011f35a1a56c2a815f8b2fa31e0a8ebbd (patch) | |
| tree | 097b6b1f87310aa6bbe53b8021719d99d2605412 /include | |
| parent | 01a9fb54ba284e440cbf4799fc3b8840584471be (diff) | |
| download | scintilla-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 'include')
| -rw-r--r-- | include/Scintilla.h | 1 | ||||
| -rw-r--r-- | include/Scintilla.iface | 1 | ||||
| -rw-r--r-- | include/ScintillaTypes.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 7f12703d3..c9180780b 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -1146,6 +1146,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SCI_SETCARETLINEVISIBLEALWAYS 2655 #define SC_LINE_END_TYPE_DEFAULT 0 #define SC_LINE_END_TYPE_UNICODE 1 +#define SC_LINE_END_TYPE_NONE 2 #define SCI_SETLINEENDTYPESALLOWED 2656 #define SCI_GETLINEENDTYPESALLOWED 2657 #define SCI_GETLINEENDTYPESACTIVE 2658 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index ddb025c50..4232a880c 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -3148,6 +3148,7 @@ set void SetCaretLineVisibleAlways=2655(bool alwaysVisible,) enu LineEndType=SC_LINE_END_TYPE_ val SC_LINE_END_TYPE_DEFAULT=0 val SC_LINE_END_TYPE_UNICODE=1 +val SC_LINE_END_TYPE_NONE=2 # Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding. set void SetLineEndTypesAllowed=2656(LineEndType lineEndBitSet,) diff --git a/include/ScintillaTypes.h b/include/ScintillaTypes.h index cc5f03815..c2facae2e 100644 --- a/include/ScintillaTypes.h +++ b/include/ScintillaTypes.h @@ -524,6 +524,7 @@ enum class Technology { enum class LineEndType { Default = 0, Unicode = 1, + None = 2, }; enum class RepresentationAppearance { |
