aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.teco_ini
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-26 17:46:28 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 02:55:06 +0300
commite3498abfd8d95dbd083ccfd1d386f9ad37044a43 (patch)
tree16c0aee01d9eb728ad13ef529da92e0110d41498 /fallback.teco_ini
parentcd4437c0de7382899dab7de465c7a899cabe12ed (diff)
downloadsciteco-e3498abfd8d95dbd083ccfd1d386f9ad37044a43.tar.gz
support folding via F1 and clicks in the folding margin
* Set up the folding margin in the currently empty margin column after the line number. On Gtk, this meant resetting all the marker symbols and their foreground/background colors as well as the margin's colors themselves. This looks like a bug. It's not necessary on Scinterm, which apparently uses the default/linenumber styles by default. Perhaps we should try upgrading Scintilla? * The folding state is considered not to be directly controlled by the language (just like the scroll position and zoom level). That's why we can directly control it by clicking on the margin column. * F1 can be used to toggle all folds globally. * The only support within the C core necessary for folding is to make sure that the current line is unfolded after every keypress. * We might add custom folding commands to the language later on (e.g. F+, F-). In this case, the key macros will have to be changed of course.
Diffstat (limited to 'fallback.teco_ini')
-rw-r--r--fallback.teco_inibin2118 -> 2148 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/fallback.teco_ini b/fallback.teco_ini
index edd8b7f..954b070 100644
--- a/fallback.teco_ini
+++ b/fallback.teco_ini
Binary files differ