Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#606 closed defect (fixed)

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

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 (last modified by daniel)

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 (1)

patch.txt (1.5 KB ) - added by anonymous 20 years ago.
patch

Download all attachments as: .zip

Change History (4)

by anonymous, 20 years ago

Attachment: patch.txt added

patch

comment:1 by daniel, 20 years ago

Description: modified (diff)
Milestone: 0.8
Priority: normallowest

comment:2 by tonib, 20 years ago

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

comment:3 by Jonas Borgström, 20 years ago

Resolution: fixed
Status: newclosed

Fixed in [847].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.