Edgewall Software

Ticket #606 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

[merge]:Add support for SilverCity verilog in code.css also add it to mimeviewer.silvercity.py

Reported by: tbrkic Owned by: jonas
Priority: lowest Milestone: 0.8
Component: general Version: devel
Severity: normal Keywords:
Cc:

Description (last modified by daniel) (diff)

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'],
               'text/xml':['XML'],
               'text/xslt':['XSLT'],
               'image/svg+xml':['XML'],

Attachments

patch.txt (1.5 kB) - added by anonymous 4 years ago.
patch

Change History

Changed 4 years ago by anonymous

patch

Changed 4 years ago by daniel

  • priority changed from normal to lowest
  • description modified (diff)
  • milestone set to 0.8

Changed 4 years ago by tonib

  • summary changed from Add support for SilverCity verilog in code.css also add it to mimeviewer.silvercity.py to [merge]:Add support for SilverCity verilog in code.css also add it to mimeviewer.silvercity.py

Changed 4 years ago by jonas

  • status changed from new to closed
  • resolution set to fixed

Fixed in [847].

Add/Change #606 ([merge]:Add support for SilverCity verilog in code.css also add it to mimeviewer.silvercity.py)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.