From d87440ab26eaae23dd95314137bb30f0f0a53eee Mon Sep 17 00:00:00 2001 From: Tamas TEVESZ Date: Sun, 12 Feb 2017 14:54:08 +0100 Subject: Fix up doc after PR/132 --- src/doc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/doc b/src/doc index 351ce3f..04f978a 100644 --- a/src/doc +++ b/src/doc @@ -603,7 +603,7 @@ Commands for handling cell content: Apply a left padding {spaces} characters in width to a column. If a range selected, pad the columns inside that range. - :color {key}={arg} .. + :color "{key}={arg} .." Change a color definition. {key} is one of the following: @@ -621,29 +621,20 @@ Commands for handling cell content: The value of other parameters are booleans, 1 or 0. - Example: :color type=HEADINGS bold=0 fg=BLACK bg=YELLOW + Example: :color "type=HEADINGS bold=0 fg=BLACK bg=YELLOW" Colors can be set at runtime or specified in: 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} .. + :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" :cellcolor A2:A6 "fg=CYAN bold=1 underline=1" - Note that the arguments to the cellcolor command, when specified - in a file, must include a cell or cell range specification, and - the color specification must be fully quoted, i.e.: - - cellcolor A0 "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. -- cgit v1.2.3