diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-02 23:50:08 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-12 00:39:57 +0100 |
| commit | b64652b857d3a5922c72ccc801ac77aa9cff27c0 (patch) | |
| tree | 7fa77ec1b0f259c0ea36ed2db46289adf1f213a6 /include | |
| parent | a5b8fca36a7a050edfa1c4bb9e91f7722e12f3f6 (diff) | |
| download | scintilla-mirror-sciteco-rel-5-5-8.tar.gz | |
added SCI_SETTABDRAWMODE(SCTD_CONTROLCHAR)sciteco-rel-5-5-8
Allows rendering tabs (ASCII 9) with character representations like any other
control character.
This will not actually change the tab's indentation, so you may need to call
SCI_SETTABWIDTH and SCI_SETTABMINIMUMWIDTH as well.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 1 | ||||
| -rw-r--r-- | include/Scintilla.iface | 2 | ||||
| -rw-r--r-- | include/ScintillaTypes.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 115003c1b..f4c237316 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -78,6 +78,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP #define SCI_SETVIEWWS 2021 #define SCTD_LONGARROW 0 #define SCTD_STRIKEOUT 1 +#define SCTD_CONTROLCHAR 2 #define SCI_GETTABDRAWMODE 2698 #define SCI_SETTABDRAWMODE 2699 #define SCI_POSITIONFROMPOINT 2022 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 3e0bbd147..0c83e3fac 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -196,9 +196,11 @@ set void SetViewWS=2021(WhiteSpace viewWS,) enu TabDrawMode=SCTD_ val SCTD_LONGARROW=0 val SCTD_STRIKEOUT=1 +val SCTD_CONTROLCHAR=2 ali SCTD_LONGARROW=LONG_ARROW ali SCTD_STRIKEOUT=STRIKE_OUT +ali SCTD_CONTROLCHAR=CONTROL_CHAR # Retrieve the current tab draw mode. # Returns one of SCTD_* constants. diff --git a/include/ScintillaTypes.h b/include/ScintillaTypes.h index 411876f97..6e5983aa2 100644 --- a/include/ScintillaTypes.h +++ b/include/ScintillaTypes.h @@ -26,6 +26,7 @@ enum class WhiteSpace { enum class TabDrawMode { LongArrow = 0, StrikeOut = 1, + ControlChar = 2, }; enum class EndOfLine { |
