summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas TEVESZ <ice@extreme.hu>2017-02-11 21:14:00 +0100
committerTamas TEVESZ <ice@extreme.hu>2017-02-11 21:14:00 +0100
commitcbce529e9eb314e3f134576ec57c057ed1d1cd5f (patch)
treeec99715e1c4bb22f3a7eee65673d23b7b79179b4
parent60c7d8714a1837dd78be71174dc62ccaaa242ad3 (diff)
Clarify color and cellcolor arguments
A bit of digging in gram.y reveals that color specification to the color and setcolor commands is actually one argument. Spell this fact out clearly in the documentation.
-rw-r--r--src/doc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/doc b/src/doc
index f4e2906..c1b7fed 100644
--- a/src/doc
+++ b/src/doc
@@ -627,11 +627,22 @@ Commands for handling cell content:
a. the .scimrc file stored in $HOME
b. the current .sc file.
+ Note that the arguments to the color command, when specified
+ in a file, must be fully quoted, i.e.:
+
+ color "type=HEADINGS fg=WHITE bg=CYAN"
+
:cellcolor {key}={arg} ..
Change the color of the current cell or range.
Example: :cellcolor bg=CYAN fg=WHITE
:cellcolor fg=RED bold=1 underline=1
+ Note that the arguments to the cellcolor command, when specified
+ in a file, must be fully quoted and must include a cell or
+ cell range specification, i.e.:
+
+ cellcolor A0 "type=HEADINGS fg=WHITE bg=CYAN"
+
:redefine_color "{color}" {R} {G} {B}
Change the RGB values of the colors defined by ncurses.
RGB values range from 0 to 1000.