2012-11-17 20:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* website/js/shBrushHarbour.js
+ added preprocessor rule from C/C++ script
* website/css/shThemeDefault.css
* swapped colors of comments and PP
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-11-17 20:10 UTC+0100 Viktor Szakats (harbour syenar.net)
|
||||
* website/js/shBrushHarbour.js
|
||||
+ added preprocessor rule from C/C++ script
|
||||
|
||||
* website/css/shThemeDefault.css
|
||||
* swapped colors of comments and PP
|
||||
|
||||
2012-11-17 19:55 UTC+0100 Viktor Szakats (harbour syenar.net)
|
||||
* src/rtl/hbjson.c
|
||||
! applied patch supplied by Oscar Hernandez Suarez
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
color: black !important;
|
||||
}
|
||||
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
||||
color: #008200 !important;
|
||||
color: gray !important;
|
||||
}
|
||||
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
||||
color: blue !important;
|
||||
@@ -67,7 +67,7 @@
|
||||
color: #006699 !important;
|
||||
}
|
||||
.syntaxhighlighter .preprocessor {
|
||||
color: gray !important;
|
||||
color: #008200 !important;
|
||||
}
|
||||
.syntaxhighlighter .variable {
|
||||
color: #aa7700 !important;
|
||||
|
||||
1
harbour/website/js/shBrushHarbour.js
vendored
1
harbour/website/js/shBrushHarbour.js
vendored
@@ -22,6 +22,7 @@
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
||||
{ regex: /^ *#.*/gm, css: 'preprocessor' },
|
||||
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
|
||||
{ regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
|
||||
|
||||
Reference in New Issue
Block a user