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 /include | |
| 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 '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 f7afa4f50..115003c1b 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -1144,6 +1144,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 9ba834aed..3e0bbd147 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -3145,6 +3145,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 0991a1480..411876f97 100644 --- a/include/ScintillaTypes.h +++ b/include/ScintillaTypes.h @@ -522,6 +522,7 @@ enum class Technology { enum class LineEndType { Default = 0, Unicode = 1, + None = 2, }; enum class RepresentationAppearance { |
