feat: Add hard-coded invisible color 254 (#94)

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #94
This commit is contained in:
Glen Whitney 2023-07-26 05:23:10 +00:00
parent 00859ecbd2
commit 13f9457e98
4 changed files with 64 additions and 38 deletions

View file

@ -4018,6 +4018,18 @@ teapot
fteapot
\family default
set up a default palette appropriate for their respective capabilities.
Currently, the color number 254 is treated specially: when the foreground
is set to this color, the contents of the cell are not drawn into the cell
at all.
So color 254 is a hard-coded
\begin_inset Quotes eld
\end_inset
invisible
\begin_inset Quotes erd
\end_inset
or zero-alpha color.
Hopefully, a future enhancement will allow one to display, edit, save,
and restore the palette.
\end_layout
@ -10467,7 +10479,15 @@ noprefix "false"
\end_inset
) or making its foreground and background the same color, etc.
) or using the hard-coded
\begin_inset Quotes eld
\end_inset
invisible
\begin_inset Quotes erd
\end_inset
color number 254, etc.
\end_layout
\begin_layout Subsection