/[general]/random/nedit/Spider-5.1.pats
ViewVC logotype

Contents of /random/nedit/Spider-5.1.pats

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 29 19:07:47 2007 UTC (16 years, 11 months ago) by nieder
Branch: MAIN
CVS Tags: HEAD
new pattern files

1 ! Syntax Highlighting Patterns for SPIDER
2 ! Contributed by Hanspeter Niederstrasser
3 !
4 ! This pattern pretty colors batch files for the electron microscopy
5 ! SPIDER suite.
6 !
7 ! In NEdit Version 5.1x+ load this pattern by starting nedit with:
8 !
9 ! nedit -import <name of this file>
10 !
11 ! Then, check that the patterns were loaded correctly, and choose Save Defaults
12 ! from the Preferences menu. The new patterns will now be incorporated into
13 ! your own .nedit file, so the next time you start NEdit, you will no longer
14 ! need to use -import.
15 !
16 ! In version 5.1, without -import, you must edit your .nedit file by hand and
17 ! add the contents of each resource below to the corresponding list in your
18 ! .nedit file. Be sure to separate new entries with \n, and continue resource
19 ! strings by escaping all newlines within a resource value with \ (backslash),
20 ! leaving only the last line of the resource value not ending in \.
21 ! Syntax highlighting patterns for SPIDER
22 !
23 nedit.fileVersion: 5.1
24 nedit.highlightPatterns: Spider:1:0{\n\
25 Comment:";":"$"::Comment::\n\
26 Command:"^( )*(?i(AC (MS|MSS|N|NS|S)|AD|AD (F|R|S)|AP (CA|I|MD|MQ|MQ R|MS|NQ|RA|RD|RN|RNS|RQ|RQN|SA|SR)|AR|AR IF|AF SCA|AS|AS (AD|F|R)|AT (IT|PK|SA|WN)|BC|BL|BP (32F|3D|3F|CG|MEM2|R2|RP|S2|W2)|CA (S|SI|SM|SME|SR|SRD|SRI|SRP|VIS)|CC|CC (C|H|MS|N|P)|CE (AD|FIT|FREI|G|GNC|HARALICK|HI|HURST|LAH|LAP|MAX|MED|MIN|OD|OR|PREWITT|RAN|RIDGE|SOBEL|ST|TOP|VAR)|CG|CG 3|CG PH|CI|CL (CLA|HC|HD|HE|KM)|CN|CN N|CO|CP( (FIX|FROM (ASCII|C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|SO C|SP|SQ|SQRT|SR|ST|SU|SZ|TF|TF s(C|C3|CRF|CT|CT3|CTS|D|DDF|DEV|DNS|EA|ED|L|SNR)|TH|TH (C|F|M)|TM|TP|TT|TT COPY|UD|UD (E|IC|ICE|N|S)|VA|VM|VO (EA|MD|MQ|RA|RAS)|WI|WI B|WT|WT TV|WU|WV|WV P|WV S))( )*(;|$)":::Keyword::D\n\
27 File Range Pattern:"\\*+":"[x|X][0-9]+"::Identifier1::D\n\
28 Register:"(x|X)([0-9]+)":::Storage Type::\n\
29 Register Delimiter:"\\{":"\\}"::Flag::\n\
30 Register Substitution:"\\*+":"[x|X][0-9]+"::Identifier:Register Delimiter:\n\
31 Stack:"@":::Text Arg1::\n\
32 Loop:"^( )*(?i(DO LB[0-9]+|LB[0-9]+))":::Subroutine::\n\
33 End:"^( )*(?i(EN D|EN))( )*(;|$)":::String2::D\n\
34 }
35 nedit.languageModes: Spider:.spi::::::

  ViewVC Help
Powered by ViewVC 1.1.17