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 --- src/cmdline.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/cmdline.c') 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