]> code.delx.au - gnu-emacs-elpa/commitdiff
Add note about comments and strings. Update screenshots.
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sat, 31 Jan 2015 21:24:33 +0000 (13:24 -0800)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sat, 31 Jan 2015 21:24:33 +0000 (13:24 -0800)
README.md
scopifier.png
screenshot.png

index b2e2c57d41db21ef78def9be453c1500bb8ad3f3..a16c26a51011a3a5a4ed32da730867f41cacd13e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -9,20 +9,21 @@ Highlights code according to function context.
 - Code in the global scope is one color. Code in functions within the global
   scope is a different color, and code within such functions is another color,
   and so on.
-- Identifiers retain the color of the scope in which they were declared.
-- Comments are a neutral color.
+- Identifiers retain the color of the scope in which they are declared.
 
 Lexical scope information at-a-glance can assist a programmer in understanding
-the overall structure of a program. It can also help curb nasty bugs like name
-shadowing or unexpected assignment. A rainbow can indicate excessive
-complexity. A spot of contrast followed by an assignment expression could be a
-side-effect. The state of a closure could be undergoing change.
-
-This coloring strategy is probably more useful than conventional *syntax*
-highlighting. Highlighting keywords can help one to detect spelling errors, and
-highlighting the content between quotation marks can alert one to unclosed
-string literals. But a [linter][] could also spot those errors, and if
-integrated via [flycheck][], an extra spot opens up in your editing toolbelt.
+the overall structure of a program. It can help to curb nasty bugs like name
+shadowing. A rainbow can indicate excessive complexity. State change within a
+closure is easily monitored.
+
+By default, Context Coloring still highlights comments and strings
+syntactically. It is still easy to differentiate code from non-code, and strings
+cannot be confused for variables.
+
+This coloring strategy is probably more useful than conventional syntax
+highlighting. Highlighting keywords can help one to detect spelling errors, but
+a [linter][] could also spot those errors, and if integrated with [flycheck][],
+an extra spot opens up in your editing toolbelt.
 
 Give context coloring a try; you may find that it *changes the way you write
 code*.
index 1d690cb5eb98ffe39fe162d169f0dd733bab61ab..1ec5d104269d700ac1020ad42eb63aa53aa67be1 100644 (file)
Binary files a/scopifier.png and b/scopifier.png differ
index fe45d9ba7be1a555cea56a651b80e1b38340d172..89665b77ff45f1330b754682e6c787d22c1a56de 100644 (file)
Binary files a/screenshot.png and b/screenshot.png differ