zzyengineer / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Dollar variables highlight #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Style $dollarVariables (as PR_TYPE which seems to give best look).

Original issue reported on code.google.com by mwisnicki@gmail.com on 10 Jan 2010 at 3:27

Attachments:

GoogleCodeExporter commented 9 years ago
For which languages is this useful?

If you want all non-keyword terms in a language like Perl, PHP, or Ruby to be 
colored, you can add a style rule like
    .pln { color: orange }

Original comment by mikesamuel@gmail.com on 19 Jul 2010 at 8:03

GoogleCodeExporter commented 9 years ago
> For which languages is this useful?
Mostly for shells (sh, csh) as can be seen in the patch.

> If you want all non-keyword terms in to be colored
No, I want only $variables. Unrelated things like function names, arguments, 
etc. must remain uncolored. Just like in any text editor with highlighting.

Original comment by mwisnicki@gmail.com on 19 Jul 2010 at 8:29