diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-12 00:43:01 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-12 01:05:52 +0100 |
| commit | f5ebfce42ded9c146487c02f01f1e335e789084e (patch) | |
| tree | de992e1c190af65acedbd8ae0e24a9c5d935c52b /src | |
| parent | e31e8b2af84a6021d0c673bd6b4fdb7a5bb458dc (diff) | |
updated Scintilla: tabs in command lines and SciTECO buffers are now rendered as "TAB" without any indentation
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmdline.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmdline.c b/src/cmdline.c index 3483c8c..fc2a531 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -95,11 +95,8 @@ teco_cmdline_init(void) /* single line mode - EOL characters won't break the line */ teco_cmdline_ssm(SCI_SETLINEENDTYPESALLOWED, SC_LINE_END_TYPE_NONE, 0); - /* render tabs as "TAB" */ + /* render tabs as "TAB" without indentation */ teco_cmdline_ssm(SCI_SETTABDRAWMODE, SCTD_CONTROLCHAR, 0); - teco_cmdline_ssm(SCI_SETTABWIDTH, 1, 0); - teco_cmdline_ssm(SCI_SETTABMINIMUMWIDTH, - teco_cmdline_ssm(SCI_TEXTWIDTH, STYLE_DEFAULT, (sptr_t)"TAB"), 0); /* * FIXME: Something resets the margin text, so we have to set it last. |
