Opened 20 years ago
Last modified 18 years ago
#606 closed defect
Add support for SilverCity verilog in code.css also add it to mimeviewer.silvercity.py — at Initial Version
Reported by: | tbrkic | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | lowest | Milestone: | 0.8 |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have added support for verilog in SilverCity and want to add the colors for verilog in code.css
The patch is below: Index: htdocs/css/code.css =================================================================== —- htdocs/css/code.css (revision 804) +++ htdocs/css/code.css (working copy) @@ -180,3 +180,17 @@
.yaml_keyword { color: #880088; } .yaml_number { color: #880000; } .yaml_reference { color: #008888; }
+.v_comment { color: gray; font-style: italic; } +.v_commentline { color: red; font-style: italic; } +.v_commentlinebang { color: red; font-style: italic; } +.v_default { } +.v_identifier { color: black; } +.v_number { color: #009999; } +.v_operator{color: black;} +.v_preprocessor{color: #009999;} +.v_string{color: olive;} +.v_stringeol{color: olive;} +.v_user{ color: blue; font-weight: bold; } +.v_word { color: navy; font-weight: bold; } +.v_word2 { color: green; font-weight: bold; } +.v_word3{color: navy;font-weight: bold;} Index: trac/mimeviewers/silvercity.py =================================================================== —- trac/mimeviewers/silvercity.py (revision 804) +++ trac/mimeviewers/silvercity.py (working copy) @@ -44,6 +44,7 @@
(1, 'text/x-python'), (1, 'text/x-ruby'), (1, 'text/x-sql'),
+ (1, 'text/x-verilog'),
(1, 'text/xml'), (1, 'text/xslt'), (1, 'application/x-test'),
@@ -66,6 +67,7 @@
'text/x-python':Python, 'text/x-ruby':Ruby, 'text/x-sql':SQL,
+ 'text/x-verilog':Verilog,
patch