View Single Post
Old 12-17-2014, 05:02 PM   #15
EditorOne
Jus' Learnin'
EditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toys
 
Posts: 50
Karma: 5618
Join Date: Apr 2012
Location: Tucson, AZ
Device: none
Smile

Quote:
Originally Posted by theducks View Post
It is common in programming type editors to color code various parts
Keywords
arguments
comments
literals (text)
brackets

in the CSS, some arguments are keywords: page-break-before: always rather than just a mix of values and units (a keyword): font-size: 2em;

Incomplete entries may assume the WRONG color .foo { stuff (no closing }, a missing semicolon ...)
The validator is the true test.
Thanks. That makes sense, but in my transition from Sigil to Calibre editor, I was used to everything in black.
EditorOne is offline   Reply With Quote