compass-inline-gradient 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.rdoc +60 -0
- data/Rakefile +1 -0
- data/compass-inline-gradient.gemspec +27 -0
- data/example/config.rb +5 -0
- data/example/example.html +165 -0
- data/example/sass/example.scss +78 -0
- data/example/sass/theme.scss +102 -0
- data/example/stylesheets/example.css +194 -0
- data/example/stylesheets/theme.css +119 -0
- data/example/vendor/jquery.js +9597 -0
- data/example/vendor/jquery.snippet.css +116 -0
- data/example/vendor/jquery.snippet.js +814 -0
- data/lib/inline-gradient.rb +193 -0
- data/lib/inline-gradient/version.rb +3 -0
- metadata +131 -0
@@ -0,0 +1,116 @@
|
|
1
|
+
.sh_acid{background:none; padding:0; margin:0; border:0 none;}.sh_acid .sh_sourceCode{background-color:#eee;color:#000;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_keyword{color:#bb7977;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_type{color:#8080c0;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_string{color:#a68500;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_regexp{color:#a68500;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_specialchar{color:#f0f;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_comment{color:#ff8000;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_number{color:#800080;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_preproc{color:#0080c0;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_symbol{color:#ff0080;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_function{color:#046;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_cbracket{color:#ff0080;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_url{color:#a68500;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_date{color:#bb7977;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_time{color:#bb7977;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_file{color:#bb7977;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_ip{color:#a68500;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_name{color:#a68500;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_variable{color:#0080c0;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_oldfile{color:#f0f;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_newfile{color:#a68500;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_difflines{color:#bb7977;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_selector{color:#0080c0;font-weight:normal;font-style:normal;}.sh_acid .sh_sourceCode .sh_property{color:#bb7977;font-weight:bold;font-style:normal;}.sh_acid .sh_sourceCode .sh_value{color:#a68500;font-weight:normal;font-style:normal;}
|
2
|
+
|
3
|
+
.sh_berries-dark{background:none; padding:0; margin:0; border:0 none;}.sh_berries-dark .sh_sourceCode{background-color:#80bfff;color:#400080;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_keyword{color:#3f2bf0;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_type{color:#3f2bf0;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_string{color:#c40000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_regexp{color:#c40000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_specialchar{color:#77379a;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_comment{color:#df0959;font-weight:normal;font-style:italic;}.sh_berries-dark .sh_sourceCode .sh_number{color:#20755a;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_preproc{color:#0628cb;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_symbol{color:#000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_function{color:#901164;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_cbracket{color:#000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_url{color:#c40000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_date{color:#3f2bf0;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_time{color:#3f2bf0;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_file{color:#3f2bf0;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_ip{color:#c40000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_name{color:#c40000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_variable{color:#a91ea7;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_oldfile{color:#77379a;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_newfile{color:#c40000;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_difflines{color:#3f2bf0;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_selector{color:#a91ea7;font-weight:normal;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_property{color:#3f2bf0;font-weight:bold;font-style:normal;}.sh_berries-dark .sh_sourceCode .sh_value{color:#c40000;font-weight:normal;font-style:normal;}
|
4
|
+
|
5
|
+
.sh_berries-light{background:none; padding:0; margin:0; border:0 none;}.sh_berries-light .sh_sourceCode{background-color:#d7ffff;color:#47406d;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_keyword{color:#2cae1e;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_type{color:#8b51c0;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_string{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_regexp{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_specialchar{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_comment{color:#9c3caf;font-weight:normal;font-style:italic;}.sh_berries-light .sh_sourceCode .sh_number{color:#20755a;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_preproc{color:#0628cb;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_symbol{color:#d2073b;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_function{color:#901164;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_cbracket{color:#d2073b;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_url{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_date{color:#2cae1e;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_time{color:#2cae1e;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_file{color:#2cae1e;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_ip{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_name{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_variable{color:#0628cb;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_oldfile{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_newfile{color:#5f81b3;font-weight:normal;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_difflines{color:#2cae1e;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_selector{color:#0628cb;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_property{color:#2cae1e;font-weight:bold;font-style:normal;}.sh_berries-light .sh_sourceCode .sh_value{color:#5f81b3;font-weight:normal;font-style:normal;}
|
6
|
+
|
7
|
+
.sh_bipolar{background:none; padding:0; margin:0; border:0 none;}.sh_bipolar .sh_sourceCode{background-color:#000;color:#d149a6;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_keyword{color:#ee85e2;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_type{color:#aadd8b;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_string{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_regexp{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_specialchar{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_comment{color:#35d6e5;font-weight:normal;font-style:italic;}.sh_bipolar .sh_sourceCode .sh_number{color:#fff;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_preproc{color:#07f6bf;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_symbol{color:#348fef;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_function{color:#d51993;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_cbracket{color:#348fef;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_url{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_date{color:#ee85e2;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_time{color:#ee85e2;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_file{color:#ee85e2;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_ip{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_name{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_variable{color:#72d42c;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_oldfile{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_newfile{color:#9ef457;font-weight:normal;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_difflines{color:#ee85e2;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_selector{color:#72d42c;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_property{color:#ee85e2;font-weight:bold;font-style:normal;}.sh_bipolar .sh_sourceCode .sh_value{color:#9ef457;font-weight:normal;font-style:normal;}
|
8
|
+
|
9
|
+
.sh_blacknblue{background:none; padding:0; margin:0; border:0 none;}.sh_blacknblue .sh_sourceCode{background-color:#000;color:#2346d5;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_keyword{color:#1ededc;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_type{color:#c06cf8;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_string{color:#cfc631;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_regexp{color:#cfc631;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_specialchar{color:#ccc6c6;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_comment{color:#6fb2c4;font-weight:normal;font-style:italic;}.sh_blacknblue .sh_sourceCode .sh_number{color:#c4ac60;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_preproc{color:#8080ff;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_symbol{color:#ccc6c6;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_function{color:#1c96ed;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_cbracket{color:#ccc6c6;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_url{color:#cfc631;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_date{color:#1ededc;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_time{color:#1ededc;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_file{color:#1ededc;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_ip{color:#cfc631;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_name{color:#cfc631;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_variable{color:#ecea26;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_oldfile{color:#ccc6c6;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_newfile{color:#cfc631;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_difflines{color:#1ededc;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_selector{color:#ecea26;font-weight:normal;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_property{color:#1ededc;font-weight:bold;font-style:normal;}.sh_blacknblue .sh_sourceCode .sh_value{color:#cfc631;font-weight:normal;font-style:normal;}
|
10
|
+
|
11
|
+
.sh_bright{background:none; padding:0; margin:0; border:0 none;}.sh_bright .sh_sourceCode{background-color:#fff;color:#401e7a;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_keyword{color:#ff3030;font-weight:bold;font-style:normal;}.sh_bright .sh_sourceCode .sh_type{color:#f7b92c;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_string{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_regexp{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_specialchar{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_comment{color:#38ad24;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_number{color:#32ba06;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_preproc{color:#5374b0;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_symbol{color:#3030ee;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_function{color:#d11ced;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_cbracket{color:#3030ee;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_url{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_date{color:#ff3030;font-weight:bold;font-style:normal;}.sh_bright .sh_sourceCode .sh_time{color:#ff3030;font-weight:bold;font-style:normal;}.sh_bright .sh_sourceCode .sh_file{color:#ff3030;font-weight:bold;font-style:normal;}.sh_bright .sh_sourceCode .sh_ip{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_name{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_variable{color:#00f;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_oldfile{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_newfile{color:#1861a7;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_difflines{color:#ff3030;font-weight:bold;font-style:normal;}.sh_bright .sh_sourceCode .sh_selector{color:#00f;font-weight:normal;font-style:normal;}.sh_bright .sh_sourceCode .sh_property{color:#ff3030;font-weight:bold;font-style:normal;}.sh_bright .sh_sourceCode .sh_value{color:#1861a7;font-weight:normal;font-style:normal;}
|
12
|
+
|
13
|
+
.sh_contrast{background:none; padding:0; margin:0; border:0 none;}.sh_contrast .sh_sourceCode{background-color:#ed6104;color:#00f;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_keyword{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_type{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_string{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_regexp{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_specialchar{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_comment{color:#000;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_number{color:#971ad8;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_preproc{color:#7b44e0;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_symbol{color:#dedede;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_function{color:#fff700;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_cbracket{color:#dedede;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_url{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_date{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_time{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_file{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_ip{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_name{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_variable{color:#11f80c;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_oldfile{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_newfile{color:#11f80c;font-weight:normal;font-style:normal;}.sh_contrast .sh_sourceCode .sh_difflines{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_selector{color:#11f80c;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_property{color:#fff;font-weight:bold;font-style:normal;}.sh_contrast .sh_sourceCode .sh_value{color:#11f80c;font-weight:normal;font-style:normal;}
|
14
|
+
|
15
|
+
.sh_darkblue{background:none; padding:0; margin:0; border:0 none;}.sh_darkblue .sh_sourceCode{background-color:#000040;color:#C7C7C7;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_keyword{color:#ffff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_type{color:#60ff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_string{color:#ffa0a0;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_regexp{color:#ffa0a0;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_specialchar{color:#ffa500;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_comment{color:#80a0ff;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_number{color:#42cad9;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_preproc{color:#ff80ff;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_symbol{color:#d8e91b;font-weight:bold;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_function{color:#fff;font-weight:bold;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_cbracket{color:#d8e91b;font-weight:bold;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_url{color:#ffa0a0;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_date{color:#ffff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_time{color:#ffff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_file{color:#ffff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_ip{color:#ffa0a0;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_name{color:#ffa0a0;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_variable{color:#26e0e7;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_oldfile{color:#ffa500;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_newfile{color:#ffa0a0;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_difflines{color:#ffff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_selector{color:#26e0e7;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_property{color:#ffff60;font-weight:normal;font-style:normal;}.sh_darkblue .sh_sourceCode .sh_value{color:#ffa0a0;font-weight:normal;font-style:normal;}
|
16
|
+
|
17
|
+
.sh_darkness{background:none; padding:0; margin:0; border:0 none;}.sh_darkness .sh_sourceCode{background-color:#000;color:#fff;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_keyword{color:#ff0;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_type{color:#0f0;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_string{color:#abab00;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_regexp{color:#abab00;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_specialchar{color:#bfbfbf;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_comment{color:#888;font-weight:normal;font-style:italic;}.sh_darkness .sh_sourceCode .sh_number{color:#619de7;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_preproc{color:#1da3cf;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_symbol{color:#f0f;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_function{color:#f34627;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_cbracket{color:#f0f;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_url{color:#abab00;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_date{color:#ff0;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_time{color:#ff0;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_file{color:#ff0;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_ip{color:#abab00;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_name{color:#abab00;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_variable{color:#26e0e7;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_oldfile{color:#bfbfbf;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_newfile{color:#abab00;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_difflines{color:#ff0;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_selector{color:#26e0e7;font-weight:normal;font-style:normal;}.sh_darkness .sh_sourceCode .sh_property{color:#ff0;font-weight:bold;font-style:normal;}.sh_darkness .sh_sourceCode .sh_value{color:#abab00;font-weight:bold;font-style:normal;}
|
18
|
+
|
19
|
+
.sh_desert{background:none; padding:0; margin:0; border:0 none;}.sh_desert .sh_sourceCode{background-color:#af947e;color:#fffdec;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_keyword{color:#fef8bc;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_type{color:#fef8bc;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_string{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_regexp{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_specialchar{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_comment{color:#a00000;font-weight:normal;font-style:italic;}.sh_desert .sh_sourceCode .sh_number{color:#3e3f25;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_preproc{color:#833914;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_symbol{color:#66574f;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_function{color:#f3d266;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_cbracket{color:#66574f;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_url{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_date{color:#fef8bc;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_time{color:#fef8bc;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_file{color:#fef8bc;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_ip{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_name{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_variable{color:#000;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_oldfile{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_newfile{color:#f6f647;font-weight:normal;font-style:normal;}.sh_desert .sh_sourceCode .sh_difflines{color:#fef8bc;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_selector{color:#000;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_property{color:#fef8bc;font-weight:bold;font-style:normal;}.sh_desert .sh_sourceCode .sh_value{color:#f6f647;font-weight:normal;font-style:normal;}
|
20
|
+
|
21
|
+
.sh_dull{background:none; padding:0; margin:0; border:0 none;}.sh_dull .sh_sourceCode{background-color:#bfbfbf;color:#656565;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_keyword{color:#353535;font-weight:bold;font-style:normal;}.sh_dull .sh_sourceCode .sh_type{color:#3241c6;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_string{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_regexp{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_specialchar{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_comment{color:#d11d20;font-weight:normal;font-style:italic;}.sh_dull .sh_sourceCode .sh_number{color:#16930d;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_preproc{color:#003;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_symbol{color:#222;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_function{color:#38255c;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_cbracket{color:#222;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_url{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_date{color:#353535;font-weight:bold;font-style:normal;}.sh_dull .sh_sourceCode .sh_time{color:#353535;font-weight:bold;font-style:normal;}.sh_dull .sh_sourceCode .sh_file{color:#353535;font-weight:bold;font-style:normal;}.sh_dull .sh_sourceCode .sh_ip{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_name{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_variable{color:#ae5a16;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_oldfile{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_newfile{color:#059;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_difflines{color:#353535;font-weight:bold;font-style:normal;}.sh_dull .sh_sourceCode .sh_selector{color:#ae5a16;font-weight:normal;font-style:normal;}.sh_dull .sh_sourceCode .sh_property{color:#353535;font-weight:bold;font-style:normal;}.sh_dull .sh_sourceCode .sh_value{color:#059;font-weight:normal;font-style:normal;}
|
22
|
+
|
23
|
+
.sh_easter{background:none; padding:0; margin:0; border:0 none;}.sh_easter .sh_sourceCode{background-color:#ffff80;color:#2C7B34;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_keyword{color:#1d45d6;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_type{color:#ed0f55;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_string{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_regexp{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_specialchar{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_comment{color:#24c815;font-weight:normal;font-style:italic;}.sh_easter .sh_sourceCode .sh_number{color:#e11a70;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_preproc{color:#1583b1;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_symbol{color:#fa4700;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_function{color:#1d45d6;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_cbracket{color:#fa4700;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_url{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_date{color:#1d45d6;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_time{color:#1d45d6;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_file{color:#1d45d6;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_ip{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_name{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_variable{color:#26aae7;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_oldfile{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_newfile{color:#ca4be3;font-weight:normal;font-style:normal;}.sh_easter .sh_sourceCode .sh_difflines{color:#1d45d6;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_selector{color:#26aae7;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_property{color:#1d45d6;font-weight:bold;font-style:normal;}.sh_easter .sh_sourceCode .sh_value{color:#ca4be3;font-weight:normal;font-style:normal;}
|
24
|
+
|
25
|
+
.sh_emacs{background:none; padding:0; margin:0; border:0 none;}.sh_emacs .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_keyword{color:#9c20ee;font-weight:bold;font-style:normal;}.sh_emacs .sh_sourceCode .sh_type{color:#208920;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_string{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_regexp{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_specialchar{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_comment{color:#ac2020;font-weight:normal;font-style:italic;}.sh_emacs .sh_sourceCode .sh_number{color:#000;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_preproc{color:#000;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_url{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_date{color:#9c20ee;font-weight:bold;font-style:normal;}.sh_emacs .sh_sourceCode .sh_time{color:#9c20ee;font-weight:bold;font-style:normal;}.sh_emacs .sh_sourceCode .sh_file{color:#9c20ee;font-weight:bold;font-style:normal;}.sh_emacs .sh_sourceCode .sh_ip{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_name{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_variable{color:#00f;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_oldfile{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_newfile{color:#bd8d8b;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_difflines{color:#9c20ee;font-weight:bold;font-style:normal;}.sh_emacs .sh_sourceCode .sh_selector{color:#00f;font-weight:normal;font-style:normal;}.sh_emacs .sh_sourceCode .sh_property{color:#9c20ee;font-weight:bold;font-style:normal;}.sh_emacs .sh_sourceCode .sh_value{color:#bd8d8b;font-weight:normal;font-style:normal;}
|
26
|
+
|
27
|
+
.sh_golden{background:none; padding:0; margin:0; border:0 none;}.sh_golden .sh_sourceCode{background-color:#000;color:#db0;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_keyword{color:#ffed8a;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_type{color:#ffed8a;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_specialchar{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_comment{color:#978345;font-weight:normal;font-style:italic;}.sh_golden .sh_sourceCode .sh_number{color:#fff;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_preproc{color:#fda;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_symbol{color:#ababab;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_function{color:#db0;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_cbracket{color:#ababab;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_date{color:#ffed8a;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_time{color:#ffed8a;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_file{color:#ffed8a;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_variable{color:#dedede;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_oldfile{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_golden .sh_sourceCode .sh_difflines{color:#ffed8a;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_selector{color:#dedede;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_property{color:#ffed8a;font-weight:bold;font-style:normal;}.sh_golden .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
28
|
+
|
29
|
+
.sh_greenlcd{background:none; padding:0; margin:0; border:0 none;}.sh_greenlcd .sh_sourceCode{background-color:#003400;color:#0b0;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_keyword{color:#00ed00;font-weight:bold;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_type{color:#00ed00;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_string{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_regexp{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_specialchar{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_comment{color:#888;font-weight:normal;font-style:italic;}.sh_greenlcd .sh_sourceCode .sh_number{color:#fff;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_preproc{color:#bfbfbf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_symbol{color:#2fe7a9;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_function{color:#c0ff73;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_cbracket{color:#2fe7a9;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_url{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_date{color:#00ed00;font-weight:bold;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_time{color:#00ed00;font-weight:bold;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_file{color:#00ed00;font-weight:bold;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_ip{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_name{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_variable{color:#beef13;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_oldfile{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_newfile{color:#dfdfdf;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_difflines{color:#00ed00;font-weight:bold;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_selector{color:#beef13;font-weight:normal;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_property{color:#00ed00;font-weight:bold;font-style:normal;}.sh_greenlcd .sh_sourceCode .sh_value{color:#dfdfdf;font-weight:normal;font-style:normal;}
|
30
|
+
|
31
|
+
.sh_ide-anjuta{background:none; padding:0; margin:0; border:0 none;}.sh_ide-anjuta .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_keyword{color:#000080;font-weight:bold;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_type{color:#000080;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_string{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_regexp{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_specialchar{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_comment{color:#f00;font-weight:normal;font-style:italic;}.sh_ide-anjuta .sh_sourceCode .sh_number{color:#080;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_preproc{color:#678000;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_url{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_date{color:#000080;font-weight:bold;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_time{color:#000080;font-weight:bold;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_file{color:#000080;font-weight:bold;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_ip{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_name{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_variable{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_oldfile{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_newfile{color:#db0;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_difflines{color:#000080;font-weight:bold;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_selector{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_property{color:#000080;font-weight:bold;font-style:normal;}.sh_ide-anjuta .sh_sourceCode .sh_value{color:#db0;font-weight:normal;font-style:normal;}
|
32
|
+
|
33
|
+
.sh_ide-codewarrior{background:none; padding:0; margin:0; border:0 none;}.sh_ide-codewarrior .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_keyword{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_type{color:#4c73a6;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_string{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_regexp{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_specialchar{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_comment{color:#b30000;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_number{color:#000;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_preproc{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_url{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_date{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_time{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_file{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_ip{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_name{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_variable{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_oldfile{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_newfile{color:#666;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_difflines{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_selector{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_property{color:#0000b3;font-weight:normal;font-style:normal;}.sh_ide-codewarrior .sh_sourceCode .sh_value{color:#666;font-weight:normal;font-style:normal;}
|
34
|
+
|
35
|
+
.sh_ide-devcpp{background:none; padding:0; margin:0; border:0 none;}.sh_ide-devcpp .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_keyword{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_type{color:#000;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_specialchar{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_comment{color:#000080;font-weight:normal;font-style:italic;}.sh_ide-devcpp .sh_sourceCode .sh_number{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_preproc{color:#008000;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_date{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_time{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_file{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_variable{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_oldfile{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_difflines{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_selector{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_property{color:#000;font-weight:bold;font-style:normal;}.sh_ide-devcpp .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
36
|
+
|
37
|
+
.sh_ide-eclipse{background:none; padding:0; margin:0; border:0 none;}.sh_ide-eclipse .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_keyword{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_type{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_string{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_regexp{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_specialchar{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_comment{color:#717ab3;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_number{color:#000;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_preproc{color:#3f5fbf;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_url{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_date{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_time{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_file{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_ip{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_name{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_variable{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_oldfile{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_newfile{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_difflines{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_selector{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_property{color:#7f0055;font-weight:bold;font-style:normal;}.sh_ide-eclipse .sh_sourceCode .sh_value{color:#00f;font-weight:normal;font-style:normal;}
|
38
|
+
|
39
|
+
.sh_ide-kdev{background:none; padding:0; margin:0; border:0 none;}.sh_ide-kdev .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_keyword{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_type{color:#600000;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_specialchar{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_comment{color:#bfbfbf;font-weight:normal;font-style:italic;}.sh_ide-kdev .sh_sourceCode .sh_number{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_preproc{color:#008000;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_date{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_time{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_file{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_variable{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_oldfile{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_difflines{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_selector{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_property{color:#600000;font-weight:bold;font-style:normal;}.sh_ide-kdev .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
40
|
+
|
41
|
+
.sh_ide-msvcpp{background:none; padding:0; margin:0; border:0 none;}.sh_ide-msvcpp .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_keyword{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_type{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_string{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_regexp{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_specialchar{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_comment{color:#008000;font-weight:normal;font-style:italic;}.sh_ide-msvcpp .sh_sourceCode .sh_number{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_preproc{color:#00f;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_url{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_date{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_time{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_file{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_ip{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_name{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_variable{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_oldfile{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_newfile{color:#000;font-weight:normal;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_difflines{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_selector{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_property{color:#00f;font-weight:bold;font-style:normal;}.sh_ide-msvcpp .sh_sourceCode .sh_value{color:#000;font-weight:normal;font-style:normal;}
|
42
|
+
|
43
|
+
.sh_kwrite{background:none; padding:0; margin:0; border:0 none;}.sh_kwrite .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_keyword{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_type{color:#830000;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_specialchar{color:#f0f;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_comment{color:#838183;font-weight:normal;font-style:italic;}.sh_kwrite .sh_sourceCode .sh_number{color:#2928ff;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_preproc{color:#008200;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_function{color:#010181;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_date{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_time{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_file{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_variable{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_oldfile{color:#f0f;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_difflines{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_selector{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_property{color:#000;font-weight:bold;font-style:normal;}.sh_kwrite .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
44
|
+
|
45
|
+
.sh_matlab{background:none; padding:0; margin:0; border:0 none;}.sh_matlab .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_keyword{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_type{color:#000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_string{color:#800000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_regexp{color:#800000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_specialchar{color:#000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_number{color:#000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_url{color:#800000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_date{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_time{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_file{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_ip{color:#800000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_name{color:#800000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_variable{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_oldfile{color:#000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_newfile{color:#800000;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_difflines{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_selector{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_property{color:#00f;font-weight:normal;font-style:normal;}.sh_matlab .sh_sourceCode .sh_value{color:#800000;font-weight:normal;font-style:normal;}
|
46
|
+
|
47
|
+
.sh_navy{background:none; padding:0; margin:0; border:0 none;}.sh_navy .sh_sourceCode{background-color:#000035;color:#008bff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_keyword{color:#f8c50b;font-weight:bold;font-style:normal;}.sh_navy .sh_sourceCode .sh_type{color:#e1e72f;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_string{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_regexp{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_specialchar{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_comment{color:#fb0;font-weight:normal;font-style:italic;}.sh_navy .sh_sourceCode .sh_number{color:#f87ff4;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_preproc{color:#b0f;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_symbol{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_function{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_cbracket{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_url{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_date{color:#f8c50b;font-weight:bold;font-style:normal;}.sh_navy .sh_sourceCode .sh_time{color:#f8c50b;font-weight:bold;font-style:normal;}.sh_navy .sh_sourceCode .sh_file{color:#f8c50b;font-weight:bold;font-style:normal;}.sh_navy .sh_sourceCode .sh_ip{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_name{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_variable{color:#13d8ef;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_oldfile{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_newfile{color:#fff;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_difflines{color:#f8c50b;font-weight:bold;font-style:normal;}.sh_navy .sh_sourceCode .sh_selector{color:#13d8ef;font-weight:normal;font-style:normal;}.sh_navy .sh_sourceCode .sh_property{color:#f8c50b;font-weight:bold;font-style:normal;}.sh_navy .sh_sourceCode .sh_value{color:#fff;font-weight:normal;font-style:normal;}
|
48
|
+
|
49
|
+
.sh_nedit{background:none; padding:0; margin:0; border:0 none;}.sh_nedit .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_keyword{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_type{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_string{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_regexp{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_specialchar{color:#2e8b57;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_comment{color:#000;font-weight:normal;font-style:italic;}.sh_nedit .sh_sourceCode .sh_number{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_preproc{color:#27408b;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_symbol{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_cbracket{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_url{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_date{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_time{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_file{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_ip{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_name{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_variable{color:#dda0dd;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_oldfile{color:#2e8b57;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_newfile{color:#006400;font-weight:normal;font-style:normal;}.sh_nedit .sh_sourceCode .sh_difflines{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_selector{color:#dda0dd;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_property{color:#000;font-weight:bold;font-style:normal;}.sh_nedit .sh_sourceCode .sh_value{color:#006400;font-weight:normal;font-style:normal;}
|
50
|
+
|
51
|
+
.sh_neon{background:none; padding:0; margin:0; border:0 none;}.sh_neon .sh_sourceCode{background-color:#000;color:#fff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_keyword{color:#0ff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_type{color:#ff0;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_string{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_regexp{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_specialchar{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_comment{color:#0f0;font-weight:normal;font-style:italic;}.sh_neon .sh_sourceCode .sh_number{color:#f0f;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_preproc{color:#fb0;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_symbol{color:#ee5896;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_function{color:#fff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_cbracket{color:#ee5896;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_url{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_date{color:#0ff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_time{color:#0ff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_file{color:#0ff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_ip{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_name{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_variable{color:#ef1347;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_oldfile{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_newfile{color:#cd00ff;font-weight:normal;font-style:normal;}.sh_neon .sh_sourceCode .sh_difflines{color:#0ff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_selector{color:#ef1347;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_property{color:#0ff;font-weight:bold;font-style:normal;}.sh_neon .sh_sourceCode .sh_value{color:#cd00ff;font-weight:normal;font-style:normal;}
|
52
|
+
|
53
|
+
.sh_night{background:none; padding:0; margin:0; border:0 none;}.sh_night .sh_sourceCode{background-color:#004;color:#d0f;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_keyword{color:#fff;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_type{color:#f1157c;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_string{color:#fff;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_regexp{color:#fff;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_specialchar{color:#82d66d;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_comment{color:#bfbfbf;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_number{color:#8ee119;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_preproc{color:#0b0;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_symbol{color:#e7ee5c;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_function{color:#ff06cd;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_cbracket{color:#e7ee5c;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_url{color:#fff;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_date{color:#fff;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_time{color:#fff;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_file{color:#fff;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_ip{color:#fff;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_name{color:#fff;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_variable{color:#7aec27;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_oldfile{color:#82d66d;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_newfile{color:#fff;font-weight:normal;font-style:normal;}.sh_night .sh_sourceCode .sh_difflines{color:#fff;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_selector{color:#7aec27;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_property{color:#fff;font-weight:bold;font-style:normal;}.sh_night .sh_sourceCode .sh_value{color:#fff;font-weight:normal;font-style:normal;}
|
54
|
+
|
55
|
+
.sh_pablo{background:none; padding:0; margin:0; border:0 none;}.sh_pablo .sh_sourceCode{background-color:#000;color:#fff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_keyword{color:#c0c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_type{color:#00c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_string{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_regexp{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_specialchar{color:#00f;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_comment{color:#808080;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_number{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_preproc{color:#0f0;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_symbol{color:#f00;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_function{color:#ff22b9;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_cbracket{color:#f00;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_url{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_date{color:#c0c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_time{color:#c0c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_file{color:#c0c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_ip{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_name{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_variable{color:#0000c0;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_oldfile{color:#00f;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_newfile{color:#0ff;font-weight:normal;font-style:normal;}.sh_pablo .sh_sourceCode .sh_difflines{color:#c0c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_selector{color:#0000c0;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_property{color:#c0c000;font-weight:bold;font-style:normal;}.sh_pablo .sh_sourceCode .sh_value{color:#0ff;font-weight:normal;font-style:normal;}
|
56
|
+
|
57
|
+
.sh_peachpuff{background:none; padding:0; margin:0; border:0 none;}.sh_peachpuff .sh_sourceCode{background-color:#ffdab9;color:#000;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_keyword{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_type{color:#2e8b57;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_string{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_regexp{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_specialchar{color:#6a5acd;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_comment{color:#406090;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_number{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_preproc{color:#cd00cd;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_function{color:#521cc7;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_url{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_date{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_time{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_file{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_ip{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_name{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_variable{color:#275fec;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_oldfile{color:#6a5acd;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_newfile{color:#c00058;font-weight:normal;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_difflines{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_selector{color:#275fec;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_property{color:#a52a2a;font-weight:bold;font-style:normal;}.sh_peachpuff .sh_sourceCode .sh_value{color:#c00058;font-weight:normal;font-style:normal;}
|
58
|
+
|
59
|
+
.sh_print{background:none; padding:0; margin:0; border:0 none;}.sh_print .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_keyword{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_type{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_string{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_regexp{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_specialchar{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_comment{color:#666;font-weight:normal;font-style:italic;}.sh_print .sh_sourceCode .sh_number{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_preproc{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_symbol{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_cbracket{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_url{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_date{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_time{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_file{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_ip{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_name{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_variable{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_oldfile{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_newfile{color:#000;font-weight:normal;font-style:normal;}.sh_print .sh_sourceCode .sh_difflines{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_selector{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_property{color:#000;font-weight:bold;font-style:normal;}.sh_print .sh_sourceCode .sh_value{color:#000;font-weight:normal;font-style:normal;}
|
60
|
+
|
61
|
+
.sh_rand01{background:none; padding:0; margin:0; border:0 none;}.sh_rand01 .sh_sourceCode{background-color:#fff;color:#121b28;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_keyword{color:#0a7f6d;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_type{color:#c42638;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_string{color:#2b83ba;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_regexp{color:#2b83ba;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_specialchar{color:#a764cb;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_comment{color:#ababab;font-weight:normal;font-style:italic;}.sh_rand01 .sh_sourceCode .sh_number{color:#0da344;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_preproc{color:#620ac6;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_symbol{color:#0000de;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_function{color:#000;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_cbracket{color:#0000de;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_url{color:#2b83ba;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_date{color:#0a7f6d;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_time{color:#0a7f6d;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_file{color:#0a7f6d;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_ip{color:#2b83ba;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_name{color:#2b83ba;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_variable{color:#e12f76;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_oldfile{color:#a764cb;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_newfile{color:#2b83ba;font-weight:normal;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_difflines{color:#0a7f6d;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_selector{color:#e12f76;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_property{color:#0a7f6d;font-weight:bold;font-style:normal;}.sh_rand01 .sh_sourceCode .sh_value{color:#2b83ba;font-weight:normal;font-style:normal;}
|
62
|
+
|
63
|
+
.sh_the{background:none; padding:0; margin:0; border:0 none;}.sh_the .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_keyword{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_type{color:#808;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_string{color:#008;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_regexp{color:#008;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_specialchar{color:#000;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_comment{color:#0f0;font-weight:normal;font-style:italic;}.sh_the .sh_sourceCode .sh_number{color:#f00;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_preproc{color:#f00;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_url{color:#008;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_date{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_time{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_file{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_ip{color:#008;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_name{color:#008;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_variable{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_oldfile{color:#000;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_newfile{color:#008;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_difflines{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_selector{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_property{color:#00f;font-weight:normal;font-style:normal;}.sh_the .sh_sourceCode .sh_value{color:#008;font-weight:normal;font-style:normal;}
|
64
|
+
|
65
|
+
.sh_typical{background:none; padding:0; margin:0; border:0 none;}.sh_typical .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_keyword{color:#00f;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_type{color:#00f;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_specialchar{color:#C42DA8;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_comment{color:#666;font-weight:normal;font-style:italic;}.sh_typical .sh_sourceCode .sh_number{color:#a900a9;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_preproc{color:#00b800;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_symbol{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_function{color:#000;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_cbracket{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_date{color:#00f;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_time{color:#00f;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_file{color:#00f;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_variable{color:#ec7f15;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_oldfile{color:#C42DA8;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_difflines{color:#00f;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_selector{color:#ec7f15;font-weight:normal;font-style:normal;}.sh_typical .sh_sourceCode .sh_property{color:#00f;font-weight:bold;font-style:normal;}.sh_typical .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
66
|
+
|
67
|
+
.sh_vampire{background:none; padding:0; margin:0; border:0 none;}.sh_vampire .sh_sourceCode{background-color:#000;color:#f00;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_keyword{color:#fff;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_type{color:#F35E1E;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_string{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_regexp{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_specialchar{color:#fff;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_comment{color:#ababab;font-weight:normal;font-style:italic;}.sh_vampire .sh_sourceCode .sh_number{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_preproc{color:#ababab;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_symbol{color:#F3E651;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_function{color:#7bc710;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_cbracket{color:#F3E651;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_url{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_date{color:#fff;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_time{color:#fff;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_file{color:#fff;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_ip{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_name{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_variable{color:#fff;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_oldfile{color:#fff;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_newfile{color:#b0f;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_difflines{color:#fff;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_selector{color:#fff;font-weight:normal;font-style:normal;}.sh_vampire .sh_sourceCode .sh_property{color:#fff;font-weight:bold;font-style:normal;}.sh_vampire .sh_sourceCode .sh_value{color:#b0f;font-weight:normal;font-style:normal;}
|
68
|
+
|
69
|
+
.sh_vim-dark{background:none; padding:0; margin:0; border:0 none;}.sh_vim-dark .sh_sourceCode{background-color:#000;color:#fff;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_keyword{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_type{color:#0f0;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_specialchar{color:#f2f;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_comment{color:#00f;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_number{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_preproc{color:#f2f;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_function{color:#fff;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_date{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_time{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_file{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_variable{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_oldfile{color:#f2f;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_difflines{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_selector{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_property{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim-dark .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
70
|
+
|
71
|
+
.sh_vim{background:none; padding:0; margin:0; border:0 none;}.sh_vim .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_keyword{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_type{color:#0f0;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_string{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_regexp{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_specialchar{color:#f2f;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_comment{color:#00f;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_number{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_preproc{color:#f2f;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_url{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_date{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_time{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_file{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_ip{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_name{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_variable{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_oldfile{color:#f2f;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_newfile{color:#f00;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_difflines{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_selector{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_property{color:#B26818;font-weight:normal;font-style:normal;}.sh_vim .sh_sourceCode .sh_value{color:#f00;font-weight:normal;font-style:normal;}
|
72
|
+
|
73
|
+
.sh_whatis{background:none; padding:0; margin:0; border:0 none;}.sh_whatis .sh_sourceCode{background-color:#000;color:#0f0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_keyword{color:#fa5a03;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_type{color:#fff;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_string{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_regexp{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_specialchar{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_comment{color:#f00;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_number{color:#ff0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_preproc{color:#bfbfbf;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_symbol{color:#0ff;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_function{color:#e721d3;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_cbracket{color:#0ff;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_url{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_date{color:#fa5a03;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_time{color:#fa5a03;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_file{color:#fa5a03;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_ip{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_name{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_variable{color:#efe219;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_oldfile{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_newfile{color:#fb0;font-weight:normal;font-style:normal;}.sh_whatis .sh_sourceCode .sh_difflines{color:#fa5a03;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_selector{color:#efe219;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_property{color:#fa5a03;font-weight:bold;font-style:normal;}.sh_whatis .sh_sourceCode .sh_value{color:#fb0;font-weight:normal;font-style:normal;}
|
74
|
+
|
75
|
+
.sh_whitengrey{background:none; padding:0; margin:0; border:0 none;}.sh_whitengrey .sh_sourceCode{background-color:#fff;color:#696969;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_keyword{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_type{color:#696969;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_string{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_regexp{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_specialchar{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_comment{color:#1326a2;font-weight:normal;font-style:italic;}.sh_whitengrey .sh_sourceCode .sh_number{color:#b0f;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_preproc{color:#470000;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_function{color:#000;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_url{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_date{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_time{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_file{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_ip{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_name{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_variable{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_oldfile{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_newfile{color:#080;font-weight:normal;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_difflines{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_selector{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_property{color:#696969;font-weight:bold;font-style:normal;}.sh_whitengrey .sh_sourceCode .sh_value{color:#080;font-weight:normal;font-style:normal;}
|
76
|
+
|
77
|
+
.sh_zellner{background:none; padding:0; margin:0; border:0 none;}.sh_zellner .sh_sourceCode{background-color:#fff;color:#000;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_keyword{color:#a52a2a;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_type{color:#00f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_string{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_regexp{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_specialchar{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_comment{color:#f00;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_number{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_preproc{color:#a020f0;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_function{color:#000;font-weight:bold;font-style:normal;}.sh_zellner .sh_sourceCode .sh_url{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_date{color:#a52a2a;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_time{color:#a52a2a;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_file{color:#a52a2a;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_ip{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_name{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_variable{color:#225f2d;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_oldfile{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_newfile{color:#f0f;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_difflines{color:#a52a2a;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_selector{color:#225f2d;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_property{color:#a52a2a;font-weight:normal;font-style:normal;}.sh_zellner .sh_sourceCode .sh_value{color:#f0f;font-weight:normal;font-style:normal;}
|
78
|
+
|
79
|
+
.snippet-wrap {position:relative;}
|
80
|
+
*:first-child+html .snippet-wrap {display:inline-block;}
|
81
|
+
* html .snippet-wrap {display:inline-block;}
|
82
|
+
.snippet-reveal{text-decoration:underline;}
|
83
|
+
.snippet-wrap .snippet-menu, .snippet-wrap .snippet-hide {position:absolute; top:10px; right:15px; font-size:.9em;z-index:1;background-color:transparent;}
|
84
|
+
.snippet-wrap .snippet-hide {top:auto; bottom:10px;}
|
85
|
+
*:first-child+html .snippet-wrap .snippet-hide {bottom:25px;}
|
86
|
+
* html .snippet-wrap .snippet-hide {bottom:25px;}
|
87
|
+
.snippet-wrap .snippet-menu pre, .snippet-wrap .snippet-hide pre {background-color:transparent; margin:0; padding:0;}
|
88
|
+
.snippet-wrap .snippet-menu a, .snippet-wrap .snippet-hide a {padding:0 5px; text-decoration:underline;}
|
89
|
+
.snippet-wrap pre.sh_sourceCode{padding:1em;line-height:1.8em;overflow:auto;position:relative;
|
90
|
+
-moz-border-radius:15px;
|
91
|
+
-webkit-border-radius:15px;
|
92
|
+
border-radius:15px;
|
93
|
+
box-shadow: 2px 2px 5px #000;
|
94
|
+
-moz-box-shadow: 2px 2px 5px #000;
|
95
|
+
-webkit-box-shadow: 2px 2px 5px #000;}
|
96
|
+
.snippet-wrap pre.snippet-textonly {padding:2em;}
|
97
|
+
*:first-child+html .snippet-wrap pre.snippet-formatted {padding:2em 1em;}
|
98
|
+
* html .snippet-wrap pre.snippet-formatted {padding:2em 1em;}
|
99
|
+
.snippet-reveal pre.sh_sourceCode {padding:.5em 1em; text-align:right;}
|
100
|
+
.snippet-wrap .snippet-num li{padding-left:1.5em;}
|
101
|
+
.snippet-wrap .snippet-no-num{list-style:none; padding:.6em 1em; margin:0;}
|
102
|
+
.snippet-wrap .snippet-no-num li {list-style:none; padding-left:0;}
|
103
|
+
.snippet-wrap .snippet-num {margin:1em 0 1em 1em; padding-left:3em;}
|
104
|
+
.snippet-wrap .snippet-num li {list-style:decimal-leading-zero outside none;}
|
105
|
+
.snippet-wrap .snippet-no-num li.box {padding:0 6px; margin-left:-6px;}
|
106
|
+
.snippet-wrap .snippet-num li.box {border:1px solid; list-style-position:inside; margin-left:-3em; padding-left:6px;}
|
107
|
+
*:first-child+html .snippet-wrap .snippet-num li.box {margin-left:-2.4em;}
|
108
|
+
* html .snippet-wrap .snippet-num li.box {margin-left:-2.4em;}
|
109
|
+
.snippet-wrap li.box-top {border-width:1px 1px 0 !important;}
|
110
|
+
.snippet-wrap li.box-bot {border-width:0 1px 1px !important;}
|
111
|
+
.snippet-wrap li.box-mid {border-width:0 1px !important;}
|
112
|
+
.snippet-wrap .snippet-num li .box-sp {width:18px; display:inline-block;}
|
113
|
+
*:first-child+html .snippet-wrap .snippet-num li .box-sp {width:27px;}
|
114
|
+
* html .snippet-wrap .snippet-num li .box-sp {width:27px;}
|
115
|
+
.snippet-wrap .snippet-no-num li.box {border:1px solid;}
|
116
|
+
.snippet-wrap .snippet-no-num li .box-sp {display:none;}
|
@@ -0,0 +1,814 @@
|
|
1
|
+
/*
|
2
|
+
* Snippet :: jQuery Syntax Highlighter v2.0.0
|
3
|
+
* http://steamdev.com/snippet
|
4
|
+
*
|
5
|
+
* Copyright 2011, SteamDev
|
6
|
+
* Released under the MIT license.
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
*
|
9
|
+
* Date: Wed Jan 19, 2011
|
10
|
+
*/
|
11
|
+
|
12
|
+
(function($) {
|
13
|
+
|
14
|
+
//enables console.log() in all browsers for error messages
|
15
|
+
window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){console.log(Array.prototype.slice.call(arguments))}};
|
16
|
+
|
17
|
+
$.fn.snippet = function(language,settings) {
|
18
|
+
|
19
|
+
if(typeof language == "object"){settings = language;}
|
20
|
+
|
21
|
+
if(typeof language == "string"){
|
22
|
+
language = language.toLowerCase();
|
23
|
+
}
|
24
|
+
|
25
|
+
var defaults = {
|
26
|
+
style:"random",
|
27
|
+
showNum:true,
|
28
|
+
transparent:false,
|
29
|
+
collapse:false,
|
30
|
+
menu:true,
|
31
|
+
showMsg:"Expand Code",
|
32
|
+
hideMsg:"Collapse Code",
|
33
|
+
clipboard:"",
|
34
|
+
startCollapsed:true,
|
35
|
+
startText:false,
|
36
|
+
box:"",
|
37
|
+
boxColor:"",
|
38
|
+
boxFill:""
|
39
|
+
};
|
40
|
+
|
41
|
+
// array containing all style names
|
42
|
+
var styleArr = ["acid","berries-dark","berries-light","bipolar","blacknblue","bright","contrast","darkblue","darkness","desert","dull","easter","emacs","golden","greenlcd","ide-anjuta","ide-codewarrior","ide-devcpp","ide-eclipse","ide-kdev","ide-msvcpp","kwrite","matlab","navy","nedit","neon","night","pablo","peachpuff","print","rand01","the","typical","vampire","vim","vim-dark","whatis","whitengrey","zellner"];
|
43
|
+
|
44
|
+
if(settings){$.extend(defaults,settings)}
|
45
|
+
|
46
|
+
return this.each(function() {
|
47
|
+
|
48
|
+
// variable containing the style to be used
|
49
|
+
var useStyle = defaults.style.toLowerCase();
|
50
|
+
if(defaults.style == "random"){
|
51
|
+
var randomnumber=Math.floor(Math.random()*(styleArr.length));
|
52
|
+
useStyle = styleArr[randomnumber];
|
53
|
+
}
|
54
|
+
|
55
|
+
// variable containing the selected node
|
56
|
+
var o = $(this);
|
57
|
+
|
58
|
+
// the name of the selected node
|
59
|
+
var node = this.nodeName.toLowerCase();
|
60
|
+
|
61
|
+
// if the node is indeed a <pre> element...
|
62
|
+
if(node == "pre"){
|
63
|
+
|
64
|
+
// saves the original html as a data on the node
|
65
|
+
if(o.data('orgHtml')==undefined || o.data('orgHtml')==null){
|
66
|
+
var orgHtml = o.html();
|
67
|
+
o.data('orgHtml',orgHtml);
|
68
|
+
}
|
69
|
+
|
70
|
+
// if node IS NOT an existing Snippet...
|
71
|
+
if(!o.parent().hasClass("snippet-wrap")){
|
72
|
+
|
73
|
+
// if language is NOT a string...
|
74
|
+
if(typeof language != "string"){
|
75
|
+
if(o.attr('class').length>0){var errclass=" class=\""+o.attr('class')+"\""}else{var errclass="";}
|
76
|
+
if(o.attr('id').length>0){var errid=" id=\""+o.attr('id')+"\""}else{var errid="";}
|
77
|
+
var error = "Snippet Error: You must specify a language on inital usage of Snippet. Reference <pre"+errclass+errid+">";
|
78
|
+
console.log(error);
|
79
|
+
return false;
|
80
|
+
}
|
81
|
+
|
82
|
+
o.addClass("sh_"+language).addClass("snippet-formatted").wrap("<div class='snippet-container' style='"+o.attr('style')+";'><div class='sh_"+useStyle+" snippet-wrap'></div></div>");
|
83
|
+
o.removeAttr('style');
|
84
|
+
sh_highlightDocument();
|
85
|
+
|
86
|
+
// build an ordered list if showNum is true
|
87
|
+
if(defaults.showNum){
|
88
|
+
var newhtml = o.html();
|
89
|
+
newhtml=newhtml.replace(/\n/g, "</li><li>");
|
90
|
+
newhtml="<ol class='snippet-num'><li>"+newhtml+"</li></ol>";
|
91
|
+
while(newhtml.indexOf("<li></li></ol>") != -1){
|
92
|
+
newhtml=newhtml.replace("<li></li></ol>","</ol>");
|
93
|
+
}
|
94
|
+
}
|
95
|
+
// build an unordered list if showNum is false
|
96
|
+
else {
|
97
|
+
var newhtml = o.html();
|
98
|
+
newhtml=newhtml.replace(/\n/g, "</li><li>");
|
99
|
+
newhtml="<ul class='snippet-no-num'><li>"+newhtml+"</li></ul>";
|
100
|
+
while(newhtml.indexOf("<li></li></ul>") != -1){
|
101
|
+
newhtml=newhtml.replace("<li></li></ul>","</ul>");
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
// normalizes tab space by replacing them with 4 non-breaking spaces
|
106
|
+
newhtml=newhtml.replace(/\t/g, " ");
|
107
|
+
|
108
|
+
|
109
|
+
// insert highlighted code into <pre> element
|
110
|
+
o.html(newhtml);
|
111
|
+
|
112
|
+
// cleans up the highlighted html
|
113
|
+
while(o.find("li").eq(0).html() == ""){
|
114
|
+
o.find("li").eq(0).remove();
|
115
|
+
}
|
116
|
+
o.find("li").each(function(){
|
117
|
+
if($(this).html().length<2){
|
118
|
+
var rep = ($(this).html()).replace(/\s/g,"");
|
119
|
+
if(rep==""){
|
120
|
+
if($.browser.opera){
|
121
|
+
$(this).html(" ");
|
122
|
+
} else {
|
123
|
+
$(this).html("<span style='display:none;'> </span>");
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
});
|
128
|
+
|
129
|
+
// builds text-only view and hover menu
|
130
|
+
var txtOnly = "<pre class='snippet-textonly sh_sourceCode' style='display:none;'>"+o.data('orgHtml')+"</pre>";
|
131
|
+
var controls = "<div class='snippet-menu sh_sourceCode' style='display:none;'><pre>"
|
132
|
+
+"<a class='snippet-copy' href='#'>copy</a>"
|
133
|
+
+"<a class='snippet-text' href='#'>text</a>"
|
134
|
+
+"<a class='snippet-window' href='#'>pop-up</a>"
|
135
|
+
+"</pre></div>";
|
136
|
+
|
137
|
+
o.parent().append(txtOnly);
|
138
|
+
o.parent().prepend(controls);
|
139
|
+
o.parent().hover(function(){$(this).find('.snippet-menu').fadeIn("fast");},function(){$(this).find('.snippet-menu').fadeOut("fast");});
|
140
|
+
|
141
|
+
// builds clipboard
|
142
|
+
if(defaults.clipboard!="" && defaults.clipboard!=false){
|
143
|
+
var cpy = o.parent().find('a.snippet-copy');
|
144
|
+
cpy.show();
|
145
|
+
cpy.parents('.snippet-menu').show();
|
146
|
+
var txt = o.parents('.snippet-wrap').find('.snippet-textonly').text();
|
147
|
+
ZeroClipboard.setMoviePath(defaults.clipboard);
|
148
|
+
var clip = new ZeroClipboard.Client();
|
149
|
+
clip.setText(txt);
|
150
|
+
clip.glue(cpy[0], cpy.parents('.snippet-menu')[0]);
|
151
|
+
clip.addEventListener( 'complete', function(client, text) {
|
152
|
+
if(text.length > 500){
|
153
|
+
text = text.substr(0,500)+"...\n\n("+(text.length-500)+" characters not shown)";
|
154
|
+
}
|
155
|
+
alert("Copied text to clipboard:\n\n " + text );
|
156
|
+
});
|
157
|
+
|
158
|
+
cpy.parents('.snippet-menu').hide();
|
159
|
+
|
160
|
+
} else {
|
161
|
+
o.parent().find('a.snippet-copy').hide();
|
162
|
+
}
|
163
|
+
|
164
|
+
// click event for text-only view
|
165
|
+
o.parent().find("a.snippet-text").click(function(){
|
166
|
+
var org = $(this).parents('.snippet-wrap').find('.snippet-formatted');
|
167
|
+
var txt = $(this).parents('.snippet-wrap').find('.snippet-textonly');
|
168
|
+
org.toggle();
|
169
|
+
txt.toggle();
|
170
|
+
|
171
|
+
if(txt.is(':visible')){
|
172
|
+
$(this).html("html");
|
173
|
+
} else {
|
174
|
+
$(this).html("text");
|
175
|
+
}
|
176
|
+
$(this).blur();
|
177
|
+
return false;
|
178
|
+
});
|
179
|
+
|
180
|
+
// click event for popup view
|
181
|
+
o.parent().find("a.snippet-window").click(function(){
|
182
|
+
var txt = $(this).parents('.snippet-wrap').find('.snippet-textonly').html();
|
183
|
+
snippetPopup(txt);
|
184
|
+
$(this).blur();
|
185
|
+
return false;
|
186
|
+
});
|
187
|
+
|
188
|
+
// disables menu
|
189
|
+
if(!defaults.menu){
|
190
|
+
o.prev('.snippet-menu').find('pre,.snippet-clipboard').hide();
|
191
|
+
}
|
192
|
+
|
193
|
+
// collapse functionality
|
194
|
+
if(defaults.collapse){
|
195
|
+
var styleClass = o.parent().attr('class');
|
196
|
+
var collapseShow = "<div class='snippet-reveal "+styleClass+"'><pre class='sh_sourceCode'><a href='#' class='snippet-toggle'>"+defaults.showMsg+"</a></pre></div>";
|
197
|
+
var collapseHide = "<div class='sh_sourceCode snippet-hide'><pre><a href='#' class='snippet-revealed snippet-toggle'>"+defaults.hideMsg+"</a></pre></div>";
|
198
|
+
|
199
|
+
o.parents('.snippet-container').append(collapseShow);
|
200
|
+
o.parent().append(collapseHide);
|
201
|
+
|
202
|
+
var root = o.parents('.snippet-container');
|
203
|
+
if(defaults.startCollapsed){
|
204
|
+
root.find('.snippet-reveal').show();
|
205
|
+
root.find('.snippet-wrap').eq(0).hide();
|
206
|
+
} else {
|
207
|
+
root.find('.snippet-reveal').hide();
|
208
|
+
root.find('.snippet-wrap').eq(0).show();
|
209
|
+
}
|
210
|
+
|
211
|
+
root.find('a.snippet-toggle').click(function(){
|
212
|
+
root.find('.snippet-wrap').toggle();
|
213
|
+
return false;
|
214
|
+
});
|
215
|
+
|
216
|
+
}
|
217
|
+
|
218
|
+
// makes snippet background transparent
|
219
|
+
if(defaults.transparent){
|
220
|
+
var styleObj = {"background-color":"transparent","box-shadow":"none","-moz-box-shadow":"none","-webkit-box-shadow":"none"}
|
221
|
+
o.css(styleObj);
|
222
|
+
o.next(".snippet-textonly").css(styleObj);
|
223
|
+
o.parents('.snippet-container').find('.snippet-reveal pre').css(styleObj);
|
224
|
+
}
|
225
|
+
|
226
|
+
// starts snippet on text-only view
|
227
|
+
if(defaults.startText){
|
228
|
+
o.hide();
|
229
|
+
o.next(".snippet-textonly").show();
|
230
|
+
o.parent().find(".snippet-text").html("html");
|
231
|
+
|
232
|
+
}
|
233
|
+
|
234
|
+
// boxes in specified lines of code
|
235
|
+
if(defaults.box!=""){
|
236
|
+
var spacer = "<span class='box-sp'> </span>";
|
237
|
+
var boxNums = defaults.box.split(',');
|
238
|
+
for(var i=0;i<boxNums.length;i++){
|
239
|
+
var boxNum = boxNums[i];
|
240
|
+
if(boxNum.indexOf('-')==-1){
|
241
|
+
boxNum = parseFloat(boxNum)-1;
|
242
|
+
o.find("li").eq(boxNum).addClass('box').prepend(spacer);
|
243
|
+
} else {
|
244
|
+
var numStart = parseFloat(boxNum.split('-')[0])-1;
|
245
|
+
var numEnd = parseFloat(boxNum.split('-')[1])-1;
|
246
|
+
if(numStart<numEnd){
|
247
|
+
o.find("li").eq(numStart).addClass('box box-top').prepend(spacer);
|
248
|
+
o.find("li").eq(numEnd).addClass('box box-bot').prepend(spacer);
|
249
|
+
for(var x=numStart+1; x<numEnd; x++){
|
250
|
+
o.find("li").eq(x).addClass('box box-mid').prepend(spacer);
|
251
|
+
}
|
252
|
+
} else if (numStart==numEnd){
|
253
|
+
o.find("li").eq(numStart).addClass('box').prepend(spacer);
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
}
|
258
|
+
|
259
|
+
// sets the color of the box
|
260
|
+
if(defaults.boxColor!=""){
|
261
|
+
o.find("li.box").css('border-color',defaults.boxColor);
|
262
|
+
}
|
263
|
+
|
264
|
+
// sets the fill (background color) of the box
|
265
|
+
if(defaults.boxFill!=""){
|
266
|
+
o.find("li.box, li.box-top, li.box-mid, li.box-bot").addClass('box-bg').css('background-color',defaults.boxFill);
|
267
|
+
}
|
268
|
+
|
269
|
+
if($.browser.webkit){
|
270
|
+
o.find(".snippet-num li.box").css('margin-left','-3.3em');
|
271
|
+
o.find(".snippet-num li .box-sp").css('width','21px');
|
272
|
+
}
|
273
|
+
|
274
|
+
}
|
275
|
+
|
276
|
+
// adds a css class to all links in the snippet so they are themed properly
|
277
|
+
o.parents('.snippet-container').find("a").addClass("sh_url");
|
278
|
+
|
279
|
+
}
|
280
|
+
// if node IS an existing Snippet...
|
281
|
+
else {
|
282
|
+
|
283
|
+
// set new style classes, remove boxes
|
284
|
+
o.parent().attr("class","sh_"+useStyle+" snippet-wrap");
|
285
|
+
o.parents('.snippet-container').find('.snippet-reveal').attr("class","sh_"+useStyle+" snippet-wrap snippet-reveal");
|
286
|
+
o.find("li.box, li.box-top, li.box-mid, li.box-bot").removeAttr('style').removeAttr('class');
|
287
|
+
o.find("li .box-sp").remove();
|
288
|
+
|
289
|
+
// set background to transparent
|
290
|
+
if(defaults.transparent){
|
291
|
+
var styleObj = {"background-color":"transparent","box-shadow":"none","-moz-box-shadow":"none","-webkit-box-shadow":"none"}
|
292
|
+
o.css(styleObj);
|
293
|
+
o.next(".snippet-textonly").css(styleObj);
|
294
|
+
o.parents('.snippet-container').find('.snippet-hide pre').css(styleObj);
|
295
|
+
}
|
296
|
+
// remove transparency
|
297
|
+
else {
|
298
|
+
var styleObj = {"background-color":"","box-shadow":"","-moz-box-shadow":"","-webkit-box-shadow":""}
|
299
|
+
o.css(styleObj);
|
300
|
+
o.next(".snippet-textonly").css(styleObj);
|
301
|
+
o.parents('.snippet-container').find('.snippet-reveal pre').css(styleObj);
|
302
|
+
}
|
303
|
+
|
304
|
+
// show numbers by switching <ul> to <ol>
|
305
|
+
if(defaults.showNum){
|
306
|
+
|
307
|
+
var list = o.find("li").eq(0).parent();
|
308
|
+
if(list.hasClass("snippet-no-num")){
|
309
|
+
list.wrap("<ol class='snippet-num'></ol>");
|
310
|
+
var li = o.find("li").eq(0);
|
311
|
+
li.unwrap();
|
312
|
+
}
|
313
|
+
}
|
314
|
+
// hide numbers by switching <ol> to <ul>
|
315
|
+
else {
|
316
|
+
var list = o.find("li").eq(0).parent();
|
317
|
+
if(list.hasClass("snippet-num")){
|
318
|
+
list.wrap("<ul class='snippet-no-num'></ul>");
|
319
|
+
var li = o.find("li").eq(0);
|
320
|
+
li.unwrap();
|
321
|
+
}
|
322
|
+
}
|
323
|
+
|
324
|
+
// box in specified lines
|
325
|
+
if(defaults.box!=""){
|
326
|
+
var spacer = "<span class='box-sp'> </span>";
|
327
|
+
var boxNums = defaults.box.split(',');
|
328
|
+
for(var i=0;i<boxNums.length;i++){
|
329
|
+
var boxNum = boxNums[i];
|
330
|
+
if(boxNum.indexOf('-')==-1){
|
331
|
+
boxNum = parseFloat(boxNum)-1;
|
332
|
+
o.find("li").eq(boxNum).addClass('box').prepend(spacer);
|
333
|
+
} else {
|
334
|
+
var numStart = parseFloat(boxNum.split('-')[0])-1;
|
335
|
+
var numEnd = parseFloat(boxNum.split('-')[1])-1;
|
336
|
+
if(numStart<numEnd){
|
337
|
+
o.find("li").eq(numStart).addClass('box box-top').prepend(spacer);
|
338
|
+
o.find("li").eq(numEnd).addClass('box box-bot').prepend(spacer);
|
339
|
+
for(var x=numStart+1; x<numEnd; x++){
|
340
|
+
o.find("li").eq(x).addClass('box box-mid').prepend(spacer);
|
341
|
+
}
|
342
|
+
} else if (numStart==numEnd){
|
343
|
+
o.find("li").eq(numStart).addClass('box').prepend(spacer);
|
344
|
+
}
|
345
|
+
}
|
346
|
+
|
347
|
+
}
|
348
|
+
|
349
|
+
if(defaults.boxColor!=""){
|
350
|
+
o.find("li.box").css('border-color',defaults.boxColor);
|
351
|
+
}
|
352
|
+
|
353
|
+
if(defaults.boxFill!=""){
|
354
|
+
o.find("li.box").addClass('box-bg').css('background-color',defaults.boxFill);
|
355
|
+
}
|
356
|
+
|
357
|
+
if($.browser.webkit){
|
358
|
+
o.find(".snippet-num li.box").css('margin-left','-3.3em');
|
359
|
+
o.find(".snippet-num li .box-sp").css('width','21px');
|
360
|
+
}
|
361
|
+
|
362
|
+
}
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
sh_highlightDocument();
|
367
|
+
|
368
|
+
// show/hide hover menu
|
369
|
+
if(!defaults.menu){
|
370
|
+
o.prev('.snippet-menu').find('pre,.snippet-clipboard').hide();
|
371
|
+
} else {
|
372
|
+
o.prev('.snippet-menu').find('pre,.snippet-clipboard').show();
|
373
|
+
}
|
374
|
+
|
375
|
+
}
|
376
|
+
|
377
|
+
} else {
|
378
|
+
var error = "Snippet Error: Sorry, Snippet only formats '<pre>' elements. '<"+node+">' elements are currently unsupported.";
|
379
|
+
console.log(error);
|
380
|
+
return false;
|
381
|
+
}
|
382
|
+
|
383
|
+
});
|
384
|
+
|
385
|
+
};
|
386
|
+
|
387
|
+
})(jQuery);
|
388
|
+
|
389
|
+
|
390
|
+
// snippet new window popup function
|
391
|
+
function snippetPopup(content) {
|
392
|
+
top.consoleRef=window.open('','myconsole',
|
393
|
+
'width=600,height=300'
|
394
|
+
+',left=50,top=50'
|
395
|
+
+',menubar=0'
|
396
|
+
+',toolbar=0'
|
397
|
+
+',location=0'
|
398
|
+
+',status=0'
|
399
|
+
+',scrollbars=1'
|
400
|
+
+',resizable=1');
|
401
|
+
top.consoleRef.document.writeln(
|
402
|
+
'<html><head><title>Snippet :: Code View :: '+location.href+'</title></head>'
|
403
|
+
+'<body bgcolor=white onLoad="self.focus()">'
|
404
|
+
+'<pre>'+content+'</pre>'
|
405
|
+
+'</body></html>'
|
406
|
+
);
|
407
|
+
top.consoleRef.document.close();
|
408
|
+
}
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
// ZeroClipboard
|
415
|
+
// Simple Set Clipboard System
|
416
|
+
// Author: Joseph Huckaby
|
417
|
+
|
418
|
+
var ZeroClipboard = {
|
419
|
+
|
420
|
+
version: "1.0.7",
|
421
|
+
clients: {}, // registered upload clients on page, indexed by id
|
422
|
+
moviePath: 'ZeroClipboard.swf', // URL to movie
|
423
|
+
nextId: 1, // ID of next movie
|
424
|
+
|
425
|
+
$: function(thingy) {
|
426
|
+
// simple DOM lookup utility function
|
427
|
+
if (typeof(thingy) == 'string') thingy = document.getElementById(thingy);
|
428
|
+
if (!thingy.addClass) {
|
429
|
+
// extend element with a few useful methods
|
430
|
+
thingy.hide = function() { this.style.display = 'none'; };
|
431
|
+
thingy.show = function() { this.style.display = ''; };
|
432
|
+
thingy.addClass = function(name) { this.removeClass(name); this.className += ' ' + name; };
|
433
|
+
thingy.removeClass = function(name) {
|
434
|
+
var classes = this.className.split(/\s+/);
|
435
|
+
var idx = -1;
|
436
|
+
for (var k = 0; k < classes.length; k++) {
|
437
|
+
if (classes[k] == name) { idx = k; k = classes.length; }
|
438
|
+
}
|
439
|
+
if (idx > -1) {
|
440
|
+
classes.splice( idx, 1 );
|
441
|
+
this.className = classes.join(' ');
|
442
|
+
}
|
443
|
+
return this;
|
444
|
+
};
|
445
|
+
thingy.hasClass = function(name) {
|
446
|
+
return !!this.className.match( new RegExp("\\s*" + name + "\\s*") );
|
447
|
+
};
|
448
|
+
}
|
449
|
+
return thingy;
|
450
|
+
},
|
451
|
+
|
452
|
+
setMoviePath: function(path) {
|
453
|
+
// set path to ZeroClipboard.swf
|
454
|
+
this.moviePath = path;
|
455
|
+
},
|
456
|
+
|
457
|
+
dispatch: function(id, eventName, args) {
|
458
|
+
// receive event from flash movie, send to client
|
459
|
+
var client = this.clients[id];
|
460
|
+
if (client) {
|
461
|
+
client.receiveEvent(eventName, args);
|
462
|
+
}
|
463
|
+
},
|
464
|
+
|
465
|
+
register: function(id, client) {
|
466
|
+
// register new client to receive events
|
467
|
+
this.clients[id] = client;
|
468
|
+
},
|
469
|
+
|
470
|
+
getDOMObjectPosition: function(obj, stopObj) {
|
471
|
+
// get absolute coordinates for dom element
|
472
|
+
var info = {
|
473
|
+
left: 0,
|
474
|
+
top: 0,
|
475
|
+
width: obj.width ? obj.width : obj.offsetWidth,
|
476
|
+
height: obj.height ? obj.height : obj.offsetHeight
|
477
|
+
};
|
478
|
+
|
479
|
+
while (obj && (obj != stopObj)) {
|
480
|
+
info.left += obj.offsetLeft;
|
481
|
+
info.top += obj.offsetTop;
|
482
|
+
obj = obj.offsetParent;
|
483
|
+
}
|
484
|
+
|
485
|
+
return info;
|
486
|
+
},
|
487
|
+
|
488
|
+
Client: function(elem) {
|
489
|
+
// constructor for new simple upload client
|
490
|
+
this.handlers = {};
|
491
|
+
|
492
|
+
// unique ID
|
493
|
+
this.id = ZeroClipboard.nextId++;
|
494
|
+
this.movieId = 'ZeroClipboardMovie_' + this.id;
|
495
|
+
|
496
|
+
// register client with singleton to receive flash events
|
497
|
+
ZeroClipboard.register(this.id, this);
|
498
|
+
|
499
|
+
// create movie
|
500
|
+
if (elem) this.glue(elem);
|
501
|
+
}
|
502
|
+
};
|
503
|
+
|
504
|
+
ZeroClipboard.Client.prototype = {
|
505
|
+
|
506
|
+
id: 0, // unique ID for us
|
507
|
+
ready: false, // whether movie is ready to receive events or not
|
508
|
+
movie: null, // reference to movie object
|
509
|
+
clipText: '', // text to copy to clipboard
|
510
|
+
handCursorEnabled: true, // whether to show hand cursor, or default pointer cursor
|
511
|
+
cssEffects: true, // enable CSS mouse effects on dom container
|
512
|
+
handlers: null, // user event handlers
|
513
|
+
|
514
|
+
glue: function(elem, appendElem, stylesToAdd) {
|
515
|
+
// glue to DOM element
|
516
|
+
// elem can be ID or actual DOM element object
|
517
|
+
this.domElement = ZeroClipboard.$(elem);
|
518
|
+
|
519
|
+
// float just above object, or zIndex 99 if dom element isn't set
|
520
|
+
var zIndex = 99;
|
521
|
+
if (this.domElement.style.zIndex) {
|
522
|
+
zIndex = parseInt(this.domElement.style.zIndex, 10) + 1;
|
523
|
+
}
|
524
|
+
|
525
|
+
if (typeof(appendElem) == 'string') {
|
526
|
+
appendElem = ZeroClipboard.$(appendElem);
|
527
|
+
}
|
528
|
+
else if (typeof(appendElem) == 'undefined') {
|
529
|
+
appendElem = document.getElementsByTagName('body')[0];
|
530
|
+
}
|
531
|
+
|
532
|
+
// find X/Y position of domElement
|
533
|
+
var box = ZeroClipboard.getDOMObjectPosition(this.domElement, appendElem);
|
534
|
+
|
535
|
+
// create floating DIV above element
|
536
|
+
this.div = document.createElement('div');
|
537
|
+
this.div.className = "snippet-clipboard";
|
538
|
+
var style = this.div.style;
|
539
|
+
style.position = 'absolute';
|
540
|
+
style.left = '' + box.left + 'px';
|
541
|
+
style.top = '' + box.top + 'px';
|
542
|
+
style.width = '' + box.width + 'px';
|
543
|
+
style.height = '' + box.height + 'px';
|
544
|
+
style.zIndex = zIndex;
|
545
|
+
|
546
|
+
if (typeof(stylesToAdd) == 'object') {
|
547
|
+
for (addedStyle in stylesToAdd) {
|
548
|
+
style[addedStyle] = stylesToAdd[addedStyle];
|
549
|
+
}
|
550
|
+
}
|
551
|
+
|
552
|
+
// style.backgroundColor = '#f00'; // debug
|
553
|
+
|
554
|
+
appendElem.appendChild(this.div);
|
555
|
+
|
556
|
+
this.div.innerHTML = this.getHTML( box.width, box.height );
|
557
|
+
},
|
558
|
+
|
559
|
+
getHTML: function(width, height) {
|
560
|
+
// return HTML for movie
|
561
|
+
var html = '';
|
562
|
+
var flashvars = 'id=' + this.id +
|
563
|
+
'&width=' + width +
|
564
|
+
'&height=' + height;
|
565
|
+
|
566
|
+
if (navigator.userAgent.match(/MSIE/)) {
|
567
|
+
// IE gets an OBJECT tag
|
568
|
+
var protocol = location.href.match(/^https/i) ? 'https://' : 'http://';
|
569
|
+
html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+protocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+width+'" height="'+height+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+flashvars+'"/><param name="wmode" value="transparent"/></object>';
|
570
|
+
}
|
571
|
+
else {
|
572
|
+
// all other browsers get an EMBED tag
|
573
|
+
html += '<embed id="'+this.movieId+'" src="'+ZeroClipboard.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+width+'" height="'+height+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+flashvars+'" wmode="transparent" />';
|
574
|
+
}
|
575
|
+
return html;
|
576
|
+
},
|
577
|
+
|
578
|
+
hide: function() {
|
579
|
+
// temporarily hide floater offscreen
|
580
|
+
if (this.div) {
|
581
|
+
this.div.style.left = '-2000px';
|
582
|
+
}
|
583
|
+
},
|
584
|
+
|
585
|
+
show: function() {
|
586
|
+
// show ourselves after a call to hide()
|
587
|
+
this.reposition();
|
588
|
+
},
|
589
|
+
|
590
|
+
destroy: function() {
|
591
|
+
// destroy control and floater
|
592
|
+
if (this.domElement && this.div) {
|
593
|
+
this.hide();
|
594
|
+
this.div.innerHTML = '';
|
595
|
+
|
596
|
+
var body = document.getElementsByTagName('body')[0];
|
597
|
+
try { body.removeChild( this.div ); } catch(e) {;}
|
598
|
+
|
599
|
+
this.domElement = null;
|
600
|
+
this.div = null;
|
601
|
+
}
|
602
|
+
},
|
603
|
+
|
604
|
+
reposition: function(elem) {
|
605
|
+
// reposition our floating div, optionally to new container
|
606
|
+
// warning: container CANNOT change size, only position
|
607
|
+
if (elem) {
|
608
|
+
this.domElement = ZeroClipboard.$(elem);
|
609
|
+
if (!this.domElement) this.hide();
|
610
|
+
}
|
611
|
+
|
612
|
+
if (this.domElement && this.div) {
|
613
|
+
var box = ZeroClipboard.getDOMObjectPosition(this.domElement);
|
614
|
+
var style = this.div.style;
|
615
|
+
style.left = '' + box.left + 'px';
|
616
|
+
style.top = '' + box.top + 'px';
|
617
|
+
}
|
618
|
+
},
|
619
|
+
|
620
|
+
setText: function(newText) {
|
621
|
+
// set text to be copied to clipboard
|
622
|
+
this.clipText = newText;
|
623
|
+
if (this.ready){ this.movie.setText(newText);}
|
624
|
+
},
|
625
|
+
|
626
|
+
addEventListener: function(eventName, func) {
|
627
|
+
// add user event listener for event
|
628
|
+
// event types: load, queueStart, fileStart, fileComplete, queueComplete, progress, error, cancel
|
629
|
+
eventName = eventName.toString().toLowerCase().replace(/^on/, '');
|
630
|
+
if (!this.handlers[eventName]){ this.handlers[eventName] = [];}
|
631
|
+
this.handlers[eventName].push(func);
|
632
|
+
},
|
633
|
+
|
634
|
+
setHandCursor: function(enabled) {
|
635
|
+
// enable hand cursor (true), or default arrow cursor (false)
|
636
|
+
this.handCursorEnabled = enabled;
|
637
|
+
if (this.ready){ this.movie.setHandCursor(enabled);}
|
638
|
+
},
|
639
|
+
|
640
|
+
setCSSEffects: function(enabled) {
|
641
|
+
// enable or disable CSS effects on DOM container
|
642
|
+
this.cssEffects = !!enabled;
|
643
|
+
},
|
644
|
+
|
645
|
+
receiveEvent: function(eventName, args) {
|
646
|
+
// receive event from flash
|
647
|
+
eventName = eventName.toString().toLowerCase().replace(/^on/, '');
|
648
|
+
|
649
|
+
// special behavior for certain events
|
650
|
+
switch (eventName) {
|
651
|
+
case 'load':
|
652
|
+
// movie claims it is ready, but in IE this isn't always the case...
|
653
|
+
// bug fix: Cannot extend EMBED DOM elements in Firefox, must use traditional function
|
654
|
+
this.movie = document.getElementById(this.movieId);
|
655
|
+
if (!this.movie) {
|
656
|
+
var self = this;
|
657
|
+
setTimeout( function() { self.receiveEvent('load', null); }, 1 );
|
658
|
+
return;
|
659
|
+
}
|
660
|
+
|
661
|
+
// firefox on pc needs a "kick" in order to set these in certain cases
|
662
|
+
if (!this.ready && navigator.userAgent.match(/Firefox/) && navigator.userAgent.match(/Windows/)) {
|
663
|
+
var self = this;
|
664
|
+
setTimeout( function() { self.receiveEvent('load', null); }, 100 );
|
665
|
+
this.ready = true;
|
666
|
+
return;
|
667
|
+
}
|
668
|
+
|
669
|
+
this.ready = true;
|
670
|
+
try{
|
671
|
+
this.movie.setText( this.clipText );
|
672
|
+
}catch(e){}
|
673
|
+
try{
|
674
|
+
this.movie.setHandCursor( this.handCursorEnabled );
|
675
|
+
}catch(e){}
|
676
|
+
break;
|
677
|
+
|
678
|
+
case 'mouseover':
|
679
|
+
if (this.domElement && this.cssEffects) {
|
680
|
+
this.domElement.addClass('hover');
|
681
|
+
if (this.recoverActive){ this.domElement.addClass('active');}
|
682
|
+
}
|
683
|
+
break;
|
684
|
+
|
685
|
+
case 'mouseout':
|
686
|
+
if (this.domElement && this.cssEffects) {
|
687
|
+
this.recoverActive = false;
|
688
|
+
if (this.domElement.hasClass('active')) {
|
689
|
+
this.domElement.removeClass('active');
|
690
|
+
this.recoverActive = true;
|
691
|
+
}
|
692
|
+
this.domElement.removeClass('hover');
|
693
|
+
}
|
694
|
+
break;
|
695
|
+
|
696
|
+
case 'mousedown':
|
697
|
+
if (this.domElement && this.cssEffects) {
|
698
|
+
this.domElement.addClass('active');
|
699
|
+
}
|
700
|
+
break;
|
701
|
+
|
702
|
+
case 'mouseup':
|
703
|
+
if (this.domElement && this.cssEffects) {
|
704
|
+
this.domElement.removeClass('active');
|
705
|
+
this.recoverActive = false;
|
706
|
+
}
|
707
|
+
break;
|
708
|
+
} // switch eventName
|
709
|
+
|
710
|
+
if (this.handlers[eventName]) {
|
711
|
+
for (var idx = 0, len = this.handlers[eventName].length; idx < len; idx++) {
|
712
|
+
var func = this.handlers[eventName][idx];
|
713
|
+
|
714
|
+
if (typeof(func) == 'function') {
|
715
|
+
// actual function reference
|
716
|
+
func(this, args);
|
717
|
+
}
|
718
|
+
else if ((typeof(func) == 'object') && (func.length == 2)) {
|
719
|
+
// PHP style object + method, i.e. [myObject, 'myMethod']
|
720
|
+
func[0][ func[1] ](this, args);
|
721
|
+
}
|
722
|
+
else if (typeof(func) == 'string') {
|
723
|
+
// name of function
|
724
|
+
window[func](this, args);
|
725
|
+
}
|
726
|
+
} // foreach event handler defined
|
727
|
+
} // user defined handler for event
|
728
|
+
}
|
729
|
+
|
730
|
+
};
|
731
|
+
|
732
|
+
|
733
|
+
/* SHJS */
|
734
|
+
/* Copyright (C) 2007, 2008 gnombat@users.sourceforge.net */
|
735
|
+
/* License: http://shjs.sourceforge.net/doc/gplv3.html */
|
736
|
+
|
737
|
+
if(!this.sh_languages){this.sh_languages={}}var sh_requests={};function sh_isEmailAddress(a){if(/^mailto:/.test(a)){return false}return a.indexOf("@")!==-1}function sh_setHref(b,c,d){var a=d.substring(b[c-2].pos,b[c-1].pos);if(a.length>=2&&a.charAt(0)==="<"&&a.charAt(a.length-1)===">"){a=a.substr(1,a.length-2)}if(sh_isEmailAddress(a)){a="mailto:"+a}b[c-2].node.href=a}function sh_konquerorExec(b){var a=[""];a.index=b.length;a.input=b;return a}function sh_highlightString(B,o){if(/Konqueror/.test(navigator.userAgent)){if(!o.konquered){for(var F=0;F<o.length;F++){for(var H=0;H<o[F].length;H++){var G=o[F][H][0];if(G.source==="$"){G.exec=sh_konquerorExec}}}o.konquered=true}}var N=document.createElement("a");var q=document.createElement("span");var A=[];var j=0;var n=[];var C=0;var k=null;var x=function(i,a){var p=i.length;if(p===0){return}if(!a){var Q=n.length;if(Q!==0){var r=n[Q-1];if(!r[3]){a=r[1]}}}if(k!==a){if(k){A[j++]={pos:C};if(k==="sh_url"){sh_setHref(A,j,B)}}if(a){var P;if(a==="sh_url"){P=N.cloneNode(false)}else{P=q.cloneNode(false)}P.className=a;A[j++]={node:P,pos:C}}}C+=p;k=a};var t=/\r\n|\r|\n/g;t.lastIndex=0;var d=B.length;while(C<d){var v=C;var l;var w;var h=t.exec(B);if(h===null){l=d;w=d}else{l=h.index;w=t.lastIndex}var g=B.substring(v,l);var M=[];for(;;){var I=C-v;var D;var y=n.length;if(y===0){D=0}else{D=n[y-1][2]}var O=o[D];var z=O.length;var m=M[D];if(!m){m=M[D]=[]}var E=null;var u=-1;for(var K=0;K<z;K++){var f;if(K<m.length&&(m[K]===null||I<=m[K].index)){f=m[K]}else{var c=O[K][0];c.lastIndex=I;f=c.exec(g);m[K]=f}if(f!==null&&(E===null||f.index<E.index)){E=f;u=K;if(f.index===I){break}}}if(E===null){x(g.substring(I),null);break}else{if(E.index>I){x(g.substring(I,E.index),null)}var e=O[u];var J=e[1];var b;if(J instanceof Array){for(var L=0;L<J.length;L++){b=E[L+1];x(b,J[L])}}else{b=E[0];x(b,J)}switch(e[2]){case -1:break;case -2:n.pop();break;case -3:n.length=0;break;default:n.push(e);break}}}if(k){A[j++]={pos:C};if(k==="sh_url"){sh_setHref(A,j,B)}k=null}C=w}return A}function sh_getClasses(d){var a=[];var b=d.className;if(b&&b.length>0){var e=b.split(" ");for(var c=0;c<e.length;c++){if(e[c].length>0){a.push(e[c])}}}return a}function sh_addClass(c,a){var d=sh_getClasses(c);for(var b=0;b<d.length;b++){if(a.toLowerCase()===d[b].toLowerCase()){return}}d.push(a);c.className=d.join(" ")}function sh_extractTagsFromNodeList(c,a){var f=c.length;for(var d=0;d<f;d++){var e=c.item(d);switch(e.nodeType){case 1:if(e.nodeName.toLowerCase()==="br"){var b;if(/MSIE/.test(navigator.userAgent)){b="\r"}else{b="\n"}a.text.push(b);a.pos++}else{a.tags.push({node:e.cloneNode(false),pos:a.pos});sh_extractTagsFromNodeList(e.childNodes,a);a.tags.push({pos:a.pos})}break;case 3:case 4:a.text.push(e.data);a.pos+=e.length;break}}}function sh_extractTags(c,b){var a={};a.text=[];a.tags=b;a.pos=0;sh_extractTagsFromNodeList(c.childNodes,a);return a.text.join("")}function sh_mergeTags(d,f){var a=d.length;if(a===0){return f}var c=f.length;if(c===0){return d}var i=[];var e=0;var b=0;while(e<a&&b<c){var h=d[e];var g=f[b];if(h.pos<=g.pos){i.push(h);e++}else{i.push(g);if(f[b+1].pos<=h.pos){b++;i.push(f[b]);b++}else{i.push({pos:h.pos});f[b]={node:g.node.cloneNode(false),pos:h.pos}}}}while(e<a){i.push(d[e]);e++}while(b<c){i.push(f[b]);b++}return i}function sh_insertTags(k,h){var g=document;var l=document.createDocumentFragment();var e=0;var d=k.length;var b=0;var j=h.length;var c=l;while(b<j||e<d){var i;var a;if(e<d){i=k[e];a=i.pos}else{a=j}if(a<=b){if(i.node){var f=i.node;c.appendChild(f);c=f}else{c=c.parentNode}e++}else{c.appendChild(g.createTextNode(h.substring(b,a)));b=a}}return l}function sh_highlightElement(d,g){sh_addClass(d,"sh_sourceCode");var c=[];var e=sh_extractTags(d,c);var f=sh_highlightString(e,g);var b=sh_mergeTags(c,f);var a=sh_insertTags(b,e);while(d.hasChildNodes()){d.removeChild(d.firstChild)}d.appendChild(a)}function sh_getXMLHttpRequest(){if(window.ActiveXObject){return new ActiveXObject("Msxml2.XMLHTTP")}else{if(window.XMLHttpRequest){return new XMLHttpRequest()}}throw"No XMLHttpRequest implementation available"}function sh_load(language,element,prefix,suffix){if(language in sh_requests){sh_requests[language].push(element);return}sh_requests[language]=[element];var request=sh_getXMLHttpRequest();var url=prefix+"sh_"+language+suffix;request.open("GET",url,true);request.onreadystatechange=function(){if(request.readyState===4){try{if(!request.status||request.status===200){eval(request.responseText);var elements=sh_requests[language];for(var i=0;i<elements.length;i++){sh_highlightElement(elements[i],sh_languages[language])}}else{throw"HTTP error: status "+request.status}}finally{request=null}}};request.send(null)}
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
function sh_highlightDocument(prefix, suffix) {
|
743
|
+
var nodeList = document.getElementsByTagName('pre');
|
744
|
+
for (var i = 0; i < nodeList.length; i++) {
|
745
|
+
var element = nodeList.item(i);
|
746
|
+
var htmlClasses = element.className.toLowerCase();
|
747
|
+
var htmlClass = htmlClasses.replace(/sh_sourcecode/g,'');
|
748
|
+
if(htmlClass.indexOf("sh_")!=-1){htmlClass=htmlClass.match(/(\bsh_)\w+\b/g)[0];}
|
749
|
+
if (htmlClasses.indexOf('sh_sourcecode') != -1) {continue;}
|
750
|
+
if (htmlClass.substr(0, 3) === 'sh_') {
|
751
|
+
var language = htmlClass.substring(3);
|
752
|
+
if (language in sh_languages) {
|
753
|
+
sh_highlightElement(element, sh_languages[language]);
|
754
|
+
} else if (typeof(prefix) === 'string' && typeof(suffix) === 'string') {
|
755
|
+
sh_load(language, element, prefix, suffix);
|
756
|
+
} else {
|
757
|
+
console.log('Found <pre> element with class="' + htmlClass + '", but no such language exists');
|
758
|
+
continue;
|
759
|
+
}
|
760
|
+
break;
|
761
|
+
}
|
762
|
+
}
|
763
|
+
}
|
764
|
+
|
765
|
+
|
766
|
+
|
767
|
+
/* C language (http://shjs.sourceforge.net/lang/sh_c.min.js) */
|
768
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.c=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
|
769
|
+
|
770
|
+
/* C++ (cpp) language (http://shjs.sourceforge.net/lang/sh_cpp.min.js) */
|
771
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.cpp=[[[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
|
772
|
+
|
773
|
+
/* C Sharp language (http://shjs.sourceforge.net/lang/sh_csharp.min.js) */
|
774
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.csharp=[[[/\b(?:using)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))(?:[FfDdMmUulL]+)?\b/g,"sh_number",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|event|new|struct|as|explicit|null|switch|base|extern|this|false|operator|throw|break|finally|out|true|fixed|override|try|case|params|typeof|catch|for|private|foreach|protected|checked|goto|public|unchecked|class|if|readonly|unsafe|const|implicit|ref|continue|in|return|virtual|default|interface|sealed|volatile|delegate|internal|do|is|sizeof|while|lock|stackalloc|else|static|enum|namespace|get|partial|set|value|where|yield)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|object|short|ushort|string|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
|
775
|
+
|
776
|
+
/* CSS language (http://shjs.sourceforge.net/lang/sh_css.min.js) */
|
777
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.css=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(?:\.|#)[A-Za-z0-9_]+/g,"sh_selector",-1],[/\{/g,"sh_cbracket",10,1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\}/g,"sh_cbracket",-2],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/[A-Za-z0-9_-]+[ \t]*:/g,"sh_property",-1],[/[.%A-Za-z0-9_-]+/g,"sh_value",-1],[/#(?:[A-Za-z0-9_]+)/g,"sh_string",-1]]];
|
778
|
+
|
779
|
+
/* Flex language (http://shjs.sourceforge.net/lang/sh_flex.min.js) */
|
780
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.flex=[[[/^%\{/g,"sh_preproc",1,1],[/^%[sx]/g,"sh_preproc",16,1],[/^%option/g,"sh_preproc",17,1],[/^%(?:array|pointer|[aceknopr])/g,"sh_preproc",-1],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_preproc",19,1],[/^%%/g,"sh_preproc",20,1]],[[/^%\}/g,"sh_preproc",-2],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",3,1],[/<!DOCTYPE/g,"sh_preproc",5,1],[/<!--/g,"sh_comment",6],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",7,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",7,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",6]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",3,1],[/<!DOCTYPE/g,"sh_preproc",5,1],[/<!--/g,"sh_comment",6],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",7,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",7,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",12],[/"/g,"sh_string",13],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_function",-1]],[[/$/g,null,-2],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_keyword",-1],[/"/g,"sh_string",18],[/=/g,"sh_symbol",-1]],[[/$/g,null,-2],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\{[A-Za-z_][A-Za-z0-9_-]*\}/g,"sh_type",-1],[/"/g,"sh_string",13],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/^%%/g,"sh_preproc",21,1],[/<[A-Za-z_][A-Za-z0-9_-]*>/g,"sh_function",-1],[/"/g,"sh_string",13],[/\\./g,"sh_preproc",-1],[/\{[A-Za-z_][A-Za-z0-9_-]*\}/g,"sh_type",-1],[/\/\*/g,"sh_comment",22],[/\{/g,"sh_cbracket",23,1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/\*\//g,"sh_comment",-2],[/\/\*/g,"sh_comment",22]],[[/\}/g,"sh_cbracket",-2],[/\{/g,"sh_cbracket",23,1],[/\$./g,"sh_variable",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]]];
|
781
|
+
|
782
|
+
/* HTML language (http://shjs.sourceforge.net/lang/sh_html.min.js) */
|
783
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.html=[[[/<\?xml/g,"sh_preproc",1,1],[/<!DOCTYPE/g,"sh_preproc",3,1],[/<!--/g,"sh_comment",4],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",5,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",5,1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",4]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]]];
|
784
|
+
|
785
|
+
/* Java language (http://shjs.sourceforge.net/lang/sh_java.min.js) */
|
786
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.java=[[[/\b(?:import|package)\b/g,"sh_preproc",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/(\b(?:class|interface))([ \t]+)([$A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|assert|break|case|catch|class|const|continue|default|do|else|extends|false|final|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|static|strictfp|super|switch|synchronized|throw|throws|true|this|transient|try|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:int|byte|boolean|char|long|float|double|short|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
|
787
|
+
|
788
|
+
/* Javascript language (http://shjs.sourceforge.net/lang/sh_javascript.min.js) */
|
789
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.javascript=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,"sh_keyword",-1],[/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,["sh_symbol","sh_normal","sh_symbol"],-1],[/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,["sh_number","sh_normal","sh_symbol"],-1],[/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,["sh_normal","sh_symbol"],-1],[/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,"sh_regexp",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,"sh_predef_var",-1],[/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,"sh_predef_func",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
|
790
|
+
|
791
|
+
/* Javascript DOM language (http://shjs.sourceforge.net/lang/sh_javascript_dom.min.js) */
|
792
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.javascript_dom=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,"sh_keyword",-1],[/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,["sh_symbol","sh_normal","sh_symbol"],-1],[/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,["sh_number","sh_normal","sh_symbol"],-1],[/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,["sh_normal","sh_symbol"],-1],[/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,"sh_regexp",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,"sh_predef_var",-1],[/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,"sh_predef_func",-1],[/\b(?:applicationCache|closed|Components|content|controllers|crypto|defaultStatus|dialogArguments|directories|document|frameElement|frames|fullScreen|globalStorage|history|innerHeight|innerWidth|length|location|locationbar|menubar|name|navigator|opener|outerHeight|outerWidth|pageXOffset|pageYOffset|parent|personalbar|pkcs11|returnValue|screen|availTop|availLeft|availHeight|availWidth|colorDepth|height|left|pixelDepth|top|width|screenX|screenY|scrollbars|scrollMaxX|scrollMaxY|scrollX|scrollY|self|sessionStorage|sidebar|status|statusbar|toolbar|top|window)\b/g,"sh_predef_var",-1],[/\b(?:alert|addEventListener|atob|back|blur|btoa|captureEvents|clearInterval|clearTimeout|close|confirm|dump|escape|find|focus|forward|getAttention|getComputedStyle|getSelection|home|moveBy|moveTo|open|openDialog|postMessage|print|prompt|releaseEvents|removeEventListener|resizeBy|resizeTo|scroll|scrollBy|scrollByLines|scrollByPages|scrollTo|setInterval|setTimeout|showModalDialog|sizeToContent|stop|unescape|updateCommands|onabort|onbeforeunload|onblur|onchange|onclick|onclose|oncontextmenu|ondragdrop|onerror|onfocus|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onpaint|onreset|onresize|onscroll|onselect|onsubmit|onunload)\b/g,"sh_predef_func",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];
|
793
|
+
|
794
|
+
/* perl language (http://shjs.sourceforge.net/lang/sh_perl.min.js) */
|
795
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.perl=[[[/\b(?:import)\b/g,"sh_preproc",-1],[/(s)(\{(?:\\\}|[^}])*\}\{(?:\\\}|[^}])*\})([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(\((?:\\\)|[^)])*\)\((?:\\\)|[^)])*\))([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(\[(?:\\\]|[^\]])*\]\[(?:\\\]|[^\]])*\])([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(<.*><.*>)([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(q(?:q?))(\{(?:\\\}|[^}])*\})/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(\((?:\\\)|[^)])*\))/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(\[(?:\\\]|[^\]])*\])/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(<.*>)/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))([^A-Za-z0-9 \t])(.*\2)/g,["sh_keyword","sh_string","sh_string"],-1],[/(s)([^A-Za-z0-9 \t])(.*\2.*\2)([ixsmogce]*(?=[ \t]*(?:\)|;)))/g,["sh_keyword","sh_regexp","sh_regexp","sh_keyword"],-1],[/(s)([^A-Za-z0-9 \t])(.*\2[ \t]*)([^A-Za-z0-9 \t])(.*\4)([ixsmogce]*(?=[ \t]*(?:\)|;)))/g,["sh_keyword","sh_regexp","sh_regexp","sh_regexp","sh_regexp","sh_keyword"],-1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/(?:m|qr)(?=\{)/g,"sh_keyword",2],[/(?:m|qr)(?=#)/g,"sh_keyword",4],[/(?:m|qr)(?=\|)/g,"sh_keyword",6],[/(?:m|qr)(?=@)/g,"sh_keyword",8],[/(?:m|qr)(?=<)/g,"sh_keyword",10],[/(?:m|qr)(?=\[)/g,"sh_keyword",12],[/(?:m|qr)(?=\\)/g,"sh_keyword",14],[/(?:m|qr)(?=\/)/g,"sh_keyword",16],[/"/g,"sh_string",18],[/'/g,"sh_string",19],[/</g,"sh_string",20],[/\/[^\n]*\//g,"sh_string",-1],[/\b(?:chomp|chop|chr|crypt|hex|i|index|lc|lcfirst|length|oct|ord|pack|q|qq|reverse|rindex|sprintf|substr|tr|uc|ucfirst|m|s|g|qw|abs|atan2|cos|exp|hex|int|log|oct|rand|sin|sqrt|srand|my|local|our|delete|each|exists|keys|values|pack|read|syscall|sysread|syswrite|unpack|vec|undef|unless|return|length|grep|sort|caller|continue|dump|eval|exit|goto|last|next|redo|sub|wantarray|pop|push|shift|splice|unshift|split|switch|join|defined|foreach|last|chop|chomp|bless|dbmclose|dbmopen|ref|tie|tied|untie|while|next|map|eq|die|cmp|lc|uc|and|do|if|else|elsif|for|use|require|package|import|chdir|chmod|chown|chroot|fcntl|glob|ioctl|link|lstat|mkdir|open|opendir|readlink|rename|rmdir|stat|symlink|umask|unlink|utime|binmode|close|closedir|dbmclose|dbmopen|die|eof|fileno|flock|format|getc|print|printf|read|readdir|rewinddir|seek|seekdir|select|syscall|sysread|sysseek|syswrite|tell|telldir|truncate|warn|write|alarm|exec|fork|getpgrp|getppid|getpriority|kill|pipe|qx|setpgrp|setpriority|sleep|system|times|x|wait|waitpid)\b/g,"sh_keyword",-1],[/^\=(?:head1|head2|item)/g,"sh_comment",21],[/(?:\$[#]?|@|%)[\/A-Za-z0-9_]+/g,"sh_variable",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/\{/g,"sh_regexp",3]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\{|\\\}|\}/g,"sh_regexp",-3]],[[/#/g,"sh_regexp",5]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\#|#/g,"sh_regexp",-3]],[[/\|/g,"sh_regexp",7]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\||\|/g,"sh_regexp",-3]],[[/@/g,"sh_regexp",9]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\@|@/g,"sh_regexp",-3]],[[/</g,"sh_regexp",11]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\<|\\>|>/g,"sh_regexp",-3]],[[/\[/g,"sh_regexp",13]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\]|\]/g,"sh_regexp",-3]],[[/\\/g,"sh_regexp",15]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\\|\\/g,"sh_regexp",-3]],[[/\//g,"sh_regexp",17]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\/|\//g,"sh_regexp",-3]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/\=cut/g,"sh_comment",-2]]];
|
796
|
+
|
797
|
+
/* PHP language (http://shjs.sourceforge.net/lang/sh_php.min.js) */
|
798
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.php=[[[/\b(?:include|include_once|require|require_once)\b/g,"sh_preproc",-1],[/\/\//g,"sh_comment",1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",2],[/'/g,"sh_string",3],[/\b(?:and|or|xor|__FILE__|exception|php_user_filter|__LINE__|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|each|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|for|foreach|function|global|if|isset|list|new|old_function|print|return|static|switch|unset|use|var|while|__FUNCTION__|__CLASS__|__METHOD__)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",4],[/\/\//g,"sh_comment",1],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(?:\$[#]?|@|%)[A-Za-z0-9_]+/g,"sh_variable",-1],[/<\?php|~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",5,1],[/<!DOCTYPE/g,"sh_preproc",6,1],[/<!--/g,"sh_comment",7],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",8,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",8,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",7]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",5,1],[/<!DOCTYPE/g,"sh_preproc",6,1],[/<!--/g,"sh_comment",7],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",8,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",8,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]]];
|
799
|
+
|
800
|
+
/* python language (http://shjs.sourceforge.net/lang/sh_python.min.js) */
|
801
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.python=[[[/\b(?:import|from)\b/g,"sh_preproc",-1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/\b(?:and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|global|if|in|is|lambda|not|or|pass|print|raise|return|try|while)\b/g,"sh_keyword",-1],[/^(?:[\s]*'{3})/g,"sh_comment",2],[/^(?:[\s]*\"{3})/g,"sh_comment",3],[/^(?:[\s]*'(?:[^\\']|\\.)*'[\s]*|[\s]*\"(?:[^\\\"]|\\.)*\"[\s]*)$/g,"sh_comment",-1],[/(?:[\s]*'{3})/g,"sh_string",4],[/(?:[\s]*\"{3})/g,"sh_string",5],[/"/g,"sh_string",6],[/'/g,"sh_string",7],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\||\{|\}/g,"sh_symbol",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/(?:'{3})/g,"sh_comment",-2]],[[/(?:\"{3})/g,"sh_comment",-2]],[[/(?:'{3})/g,"sh_string",-2]],[[/(?:\"{3})/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]]];
|
802
|
+
|
803
|
+
/* ruby language (http://shjs.sourceforge.net/lang/sh_ruby.min.js) */
|
804
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.ruby=[[[/\b(?:require)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/</g,"sh_string",3],[/\/[^\n]*\//g,"sh_regexp",-1],[/(%r)(\{(?:\\\}|#\{[A-Za-z0-9]+\}|[^}])*\})/g,["sh_symbol","sh_regexp"],-1],[/\b(?:alias|begin|BEGIN|break|case|defined|do|else|elsif|end|END|ensure|for|if|in|include|loop|next|raise|redo|rescue|retry|return|super|then|undef|unless|until|when|while|yield|false|nil|self|true|__FILE__|__LINE__|and|not|or|def|class|module|catch|fail|load|throw)\b/g,"sh_keyword",-1],[/(?:^\=begin)/g,"sh_comment",4],[/(?:\$[#]?|@@|@)(?:[A-Za-z0-9_]+|'|\"|\/)/g,"sh_type",-1],[/[A-Za-z0-9]+(?:\?|!)/g,"sh_normal",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/(#)(\{)/g,["sh_symbol","sh_cbracket"],-1],[/#/g,"sh_comment",5],[/\{|\}/g,"sh_cbracket",-1]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/^(?:\=end)/g,"sh_comment",-2]],[[/$/g,null,-2]]];
|
805
|
+
|
806
|
+
/* sql language (http://shjs.sourceforge.net/lang/sh_sql.min.js) */
|
807
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.sql=[[[/\b(?:VARCHAR|TINYINT|TEXT|DATE|SMALLINT|MEDIUMINT|INT|BIGINT|FLOAT|DOUBLE|DECIMAL|DATETIME|TIMESTAMP|TIME|YEAR|UNSIGNED|CHAR|TINYBLOB|TINYTEXT|BLOB|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|ENUM|BOOL|BINARY|VARBINARY)\b/gi,"sh_type",-1],[/\b(?:ALL|ASC|AS|ALTER|AND|ADD|AUTO_INCREMENT|BETWEEN|BINARY|BOTH|BY|BOOLEAN|CHANGE|CHECK|COLUMNS|COLUMN|CROSS|CREATE|DATABASES|DATABASE|DATA|DELAYED|DESCRIBE|DESC|DISTINCT|DELETE|DROP|DEFAULT|ENCLOSED|ESCAPED|EXISTS|EXPLAIN|FIELDS|FIELD|FLUSH|FOR|FOREIGN|FUNCTION|FROM|GROUP|GRANT|HAVING|IGNORE|INDEX|INFILE|INSERT|INNER|INTO|IDENTIFIED|IN|IS|IF|JOIN|KEYS|KILL|KEY|LEADING|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCK|LOW_PRIORITY|LEFT|LANGUAGE|MODIFY|NATURAL|NOT|NULL|NEXTVAL|OPTIMIZE|OPTION|OPTIONALLY|ORDER|OUTFILE|OR|OUTER|ON|PROCEDURE|PROCEDURAL|PRIMARY|READ|REFERENCES|REGEXP|RENAME|REPLACE|RETURN|REVOKE|RLIKE|RIGHT|SHOW|SONAME|STATUS|STRAIGHT_JOIN|SELECT|SETVAL|SET|TABLES|TERMINATED|TO|TRAILING|TRUNCATE|TABLE|TEMPORARY|TRIGGER|TRUSTED|UNIQUE|UNLOCK|USE|USING|UPDATE|VALUES|VARIABLES|VIEW|WITH|WRITE|WHERE|ZEROFILL|TYPE|XOR)\b/gi,"sh_keyword",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/`/g,"sh_string",3],[/#/g,"sh_comment",4],[/\/\/\//g,"sh_comment",5],[/\/\//g,"sh_comment",4],[/\/\*\*/g,"sh_comment",11],[/\/\*/g,"sh_comment",12],[/--/g,"sh_comment",4],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/`/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",6,1],[/<!DOCTYPE/g,"sh_preproc",8,1],[/<!--/g,"sh_comment",9],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",10,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",10,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",9]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",6,1],[/<!DOCTYPE/g,"sh_preproc",8,1],[/<!--/g,"sh_comment",9],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",10,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",10,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]]];
|
808
|
+
|
809
|
+
/* URL language (http://shjs.sourceforge.net/lang/sh_url.min.js) */
|
810
|
+
if(!this.sh_languages){this.sh_languages={};}
|
811
|
+
sh_languages['url']=[[{'regex':/(?:<?)[A-Za-z0-9_\.\/\-_]+@[A-Za-z0-9_\.\/\-_]+(?:>?)/g,'style':'sh_url'},{'regex':/(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_]+(?:>?)/g,'style':'sh_url'}]];
|
812
|
+
|
813
|
+
/* XML language (http://shjs.sourceforge.net/lang/sh_xml.min.js) */
|
814
|
+
if(!this.sh_languages){this.sh_languages={}}sh_languages.xml=[[[/<\?xml/g,"sh_preproc",1,1],[/<!DOCTYPE/g,"sh_preproc",3,1],[/<!--/g,"sh_comment",4],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",5,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",4]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]]];
|