diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-09 13:05:34 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-09 13:05:34 +0100 |
| commit | 6e9e09b7d23fcc300dc469c1f410e53d0a111bfa (patch) | |
| tree | 8c02524cb967fabb103897f39ef01dce42fc65d0 /src/help.c | |
| parent | c80a29ba487e7767af0a4ee00d8e42c3c737283b (diff) | |
the SciTECO lexer now tries to avoid unnecessary restylings by styling from the current line as well
* This optimization is unnecessary for regular TECO scripts unless you write stupendously long lines.
On the command line macro however, we were always restyling the entire command line with every insertion
or rubout since the command line view uses single line mode by default.
Even if you enable a multi-line command line with regular line breaks, it's unlikely that you would insert
many line breaks except when inserting text into the buffer.
* We will now during insertion into the command line view style from the beginning of the last regular
command.
* During rub out from the command line, we still won't have enough information about where the previous
valid start state was, so we will frequently have to restyle the entire command line.
This might be worked around by adding a cmdline-view-specific hack if it turns out to be relevant
on very long command lines and slow computers.
Diffstat (limited to 'src/help.c')
0 files changed, 0 insertions, 0 deletions
