Edgewall Software
Modify

Ticket #606 (closed defect: fixed)

Opened 8 years ago

Last modified 5 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:
Release Notes:
API Changes:

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 8 years ago.
patch

Download all attachments as: .zip

Change History

Changed 8 years ago by anonymous

patch

comment:1 Changed 8 years ago by daniel

  • Description modified (diff)
  • Milestone set to 0.8
  • Priority changed from normal to lowest

comment:2 Changed 8 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

comment:3 Changed 8 years ago by jonas

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [847].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.