However, you could have a variable inside code, thus you're color coding would give incorrect results. For example
code:
$rc=setoption('novarsinstrings','on')
$var='true'
; $var is just text
? 'this is not $var'
$rc=setoption('novarsinstrings','off')
; $var is now a variable
? 'this is not $var'
; $var is just text
? 'this is not $$var'

_________________________
There are two types of vessels, submarines and targets.