summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés M <andmarti1424@users.noreply.github.com>2017-02-12 10:43:38 -0300
committerGitHub <noreply@github.com>2017-02-12 10:43:38 -0300
commit9b36f918e7ec9f2752dfb320e6524adaab3be154 (patch)
treefb83fe642f5ef2af051f9fd5f04e3584a6986aa5
parenta70973cbe218a2b09cfc58106646b85cbc634547 (diff)
parent53f55a1b91addea60e3f2f0d28bd01312e886ad5 (diff)
Merge pull request #132 from melak/doc/clarify_color_cmds
Clarify color and cellcolor arguments
-rw-r--r--src/doc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/doc b/src/doc
index 944f63f..351ce3f 100644
--- a/src/doc
+++ b/src/doc
@@ -627,12 +627,23 @@ 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"
: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.