aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/sciteco.7.template
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-05-10 00:15:52 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-05-10 00:15:52 +0200
commit58a0f8def5742248bf235c7c9cd9d3efcb334751 (patch)
tree1e41bcfa8fe8bb5d4964060623e68ab865507cfb /doc/sciteco.7.template
parent26bcf1e04d5fcadc2fa968d7b5ce0e458d0aaa92 (diff)
support "default colors"master-fmsbw-ci
* The terminal's default foreground and background colors are now used by default (`sciteco --no-profile`), so SciTECO integrates naturally into all terminal color schemes, even dark-on-bright ones. * The default Scintilla colors use only 0x000000 (COLOR_BLACK) and 0xC0C0C0 (COLOR_WHITE) now. * You can use `7EJ` to configure the default colors in color schemes or your profile. All existing color schemes had to disable default colors (`-1,-1,7EJ`) since they wouldn't look well otherwise. * You may add `-1,7EJ` to ~/.teco_ini when using a terminal emulator with a washed-out palettized COLOR_BLACK. We cannot detect the terminal's default colors automatically. * Scinterm updated to v6.0. We require a not-yet-upstreamed patch: https://github.com/orbitalquark/scinterm/pull/40 * In fact, we might decide not to support default colors at all in Scinterm, so this feature should be considered experimental.
Diffstat (limited to 'doc/sciteco.7.template')
-rw-r--r--doc/sciteco.7.template14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template
index cb718e0..87e8574 100644
--- a/doc/sciteco.7.template
+++ b/doc/sciteco.7.template
@@ -910,9 +910,17 @@ The \fBSTYLE_CALLTIP\fP (38) style is also accessed by
\*(ST to style the \fIpopup area\fP and is initialized
to black on white by \*(ST.
.LP
-On curses user interfaces, only a selection of 16 terminal
-colors can be used, although it is possible to request changing
-the default color mapping (see \fBEJ\fP command).
+On curses user interfaces the Scintilla RGB color values
+can refer to the terminal's color palette, initialize new
+colors on-demand or refer to the terminal's default foreground
+and background colors (see \fBEJ\fP command).
+The availability of colors, the size of the terminal's
+palette, the availability of arbitrary RGB colors, the
+number of concurrent colors on screen and the maximum
+number of foreground-background combinations on screen
+is subject to terminal-specific limits.
+\*(ST supports monochrome terminals by mapping non-black
+(non-null Scintilla RGB codes) to reverse video.
.LP
Scintilla styles will usually be set up in the profile
macro or \fBED\fP hook (for syntax highlighting).