Re: syntax highlighting for Calibre SVRF
Francois Barriere <[email protected]> Tue, 9 Mar 2010 08:44:56 +0100
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Organization | ATMEL |
| Message-ID | <[email protected]> |
On Mon, 8 Mar 2010 08:53:03 -0800 (PST) Steve LoBasso <slobasso-/[email protected]> wrote: > Thanks, can you send it directly to me? It looks like our mail server is stripping the enclosure. Here it is (with a copy attached): ---------------------------------------------------------------- nedit.highlightPatterns: \ CALIBRE:1:0{\n\ calibre comment:"//":"$"::String1::\n\ double quote strings:"""":""""::String::\n\ single quote strings:"'":"'"::String::\n\ rule header:"[a-zA-Z0-9_]+[ ]+[{]":::Flag::\n\ re matching:"<((m|q|qq)?/)(\\\\/|[^/])*(/[gimsox]?)>":::String::\n\ re match coloring:"\\1\\4":""::String2:re matching:C\n\ re substitution:"<((s|y|tr)/)(\\\\/|[^/])*(/)[^/]*(/[gimsox]?)":::String::\n\ re subs coloring:"\\1\\4\\5":""::String2:re substitution:C\n\ storage keywords:"^\\s*(?i(variable|device|drc check map|drc unselect check|drc select check|layout path|layout primary|drc results database|drc summary report))":::Storage Type1::D\n\ storage keywords 1:"^\\s*(?i(drc|lvs|layout|source|virtual|include)\\s+)":"$":"(""|')":Storage Type1::D\n\ keyword:"<(?i(internal|external|enclosure|not|inside|cell|grow|outside|enclose|and|coincident|edge|expand|extend|extent|size|cut|by|touch|or|xor|rectangle|area|density|copy|connect|sconnect|interact|donut|holes|with\\s+width|perimeter|shift|rotate|property\\s+[a-z,]+))>":::Preprocessor1::D\n\ secondary keyword:"(?i(abut|singular|corner to corner|underover|overunder|opposite|parallel|region))":"$":"//|/\\*":Preprocessor1::\n\ parasitic extraction:"^(?i(resistance sheet|resistance connection|capacitance intrinsic|capacitance crossover|capacitance))":::Subroutine::\n\ parasitic extraction 1:"(?i(order|fringe|plate))":::Subroutine::\n\ CALIBRE conditions:"([ ]+([=][=]|[|][|]|[&][&]|[>]|[<]|[>][=]|[<][=]|[!][=]|[!][>]|[!][<])+[ ]+)":::Ada Attributes::\n\ mentor commands:"[$](\\{[^}]*}|[^a-zA-Z0-9_ /\\t\\n\\.,\\\\[\\\\{\\\\(]|[0-9]+|[a-zA-Z_][a-zA-Z0-9_]*)?":::Identifier1::\n\ RVE comment:"@":"$"::Text Comment::\n\ braces and parens:"[\\[\\]\\{}\\(\\)]":::Keyword::D\n\ calibre variable:"VAR_[0-9a-zA-Z_]*":::Storage Type1::\n\ layer:"^(?i(layer))":::Label::\n\ macro:"(?i(dmacro|cmacro))":::Subroutine::\n\ } nedit.languageModes: CALIBRE:.rul .cal:"LAYOUT SYSTEM GDSII":::::: ---------------------------------------------------------------- Francois. -- Francois BARRIERE ATMEL Zone Industrielle Tel: (33) 0 442 53 61 98 13106 ROUSSET E-Mail: [email protected] FRANCE --------------------------------- Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? (Brian Kernighan) --------------------------------- -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss