From f5ebfce42ded9c146487c02f01f1e335e789084e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 12 Nov 2025 00:43:01 +0100 Subject: updated Scintilla: tabs in command lines and SciTECO buffers are now rendered as "TAB" without any indentation --- contrib/scintilla | 2 +- lib/lexers/sciteco.tes | Bin 802 -> 774 bytes src/cmdline.c | 5 +---- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/contrib/scintilla b/contrib/scintilla index b783632..b64652b 160000 --- a/contrib/scintilla +++ b/contrib/scintilla @@ -1 +1 @@ -Subproject commit b7836324caa9153f61c850ed61628c03713795db +Subproject commit b64652b857d3a5922c72ccc801ac77aa9cff27c0 diff --git a/lib/lexers/sciteco.tes b/lib/lexers/sciteco.tes index 7573978..ae9b281 100644 Binary files a/lib/lexers/sciteco.tes and b/lib/lexers/sciteco.tes differ 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. -- cgit v1.2.3