root/trunk/scilexer/d.properties

Revision 503, 3.6 kB (checked in by SnakE, 4 years ago)

SciLexer? * Added 'immutable' and 'shared' keywords to the properties file

Line 
1 # Define SciTE settings for D
2
3 file.patterns.d=*.d;*.di
4 filter.d=D (d)|$(file.patterns.d)|
5 lexer.$(file.patterns.d)=d
6
7 word.chars.d=_$(chars.alpha)$(chars.numeric)
8 word.characters.$(file.patterns.d)=$(word.chars.d)
9 calltip.d.word.characters=.$(word.chars.d)
10
11
12 #comment.block.at.line.start.d=1
13 comment.block.d=//~
14 comment.stream.start.d=/+
15 comment.stream.end.d=+/
16 comment.box.start.d=/*
17 comment.box.middle.d= *
18 comment.box.end.d= */
19 #lexer.d.fold.at.else=1
20
21 statement.indent.$(file.patterns.d)=2 case catch class debug default do else \
22 finally for foreach foreach_reverse if private protected public scope struct \
23 try union while with
24 statement.end.$(file.patterns.d)=3 ;
25 statement.lookback.$(file.patterns.d)=20
26 block.start.$(file.patterns.d)=3 {
27 block.end.$(file.patterns.d)=3 }
28
29 # D keywords
30 keywords.$(file.patterns.d)= \
31 abstract alias align asm assert auto \
32 body bool break byte \
33 case cast catch cdouble cent cfloat char class const continue creal \
34 dchar debug default delegate delete deprecated do double \
35 else enum export extern \
36 false final finally float for foreach foreach_reverse function \
37 goto \
38 idouble if ifloat immutable import in inout int interface invariant ireal is \
39 lazy long \
40 macro mixin module \
41 new nothrow null \
42 out override \
43 package pragma private protected public pure \
44 real ref return \
45 scope shared short static struct super switch synchronized \
46 template this throw true try typedef typeid typeof \
47 ubyte ucent uint ulong union unittest ushort \
48 version void volatile \
49 wchar while with \
50 __FILE__ \
51 __LINE__ \
52 __traits
53
54 # keywords2 are intended for embedded ASM
55
56 # keywords3 are intended for doxygen
57 keywords3.$(file.patterns.d)=a addindex addtogroup anchor arg attention \
58 author b brief bug c class code date def defgroup deprecated dontinclude \
59 e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception \
60 f$ f[ f] file fn hideinitializer htmlinclude htmlonly \
61 if image include ingroup internal invariant interface latexonly li line link \
62 mainpage name namespace nosubgrouping note overload \
63 p page par param post pre ref relates remarks return retval \
64 sa section see showinitializer since skip skipline struct subsection \
65 test throw todo typedef union until \
66 var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }
67
68 # keywords4 are intended for syntax driven or custom highlighting
69
70
71 # Styles
72
73 #  0 - whitespace
74 #  1 - identifier
75 #  2 - keyword
76 #  3 - operator
77 #  4 - number
78 #  5 - number error
79 #  6 - char
80 #  7 - char error
81 #  8 - string
82 #  9 - string2
83 # 10 - string error
84 # 11 - escape sequence
85 # 12 - escape sequence error
86 # 13 - comment
87 # 14 - ddoc comment
88 # 15 - ddoc section
89 # 16 - ddoc macro
90 # 17 - ddoc macro error
91
92 style.d.0=fore:#C0C0C0
93 style.d.1=
94 style.d.2=$(colour.keyword),bold
95 style.d.3=$(colour.operator),bold
96 style.d.4=$(colour.number)
97 style.d.5=$(colour.error)
98 style.d.6=$(colour.char)
99 style.d.7=$(colour.error)
100 style.d.8=$(colour.string)
101 style.d.9=$(colour.string)
102 style.d.10=$(colour.error)
103 style.d.11=$(colour.string),back:#E0F0FF
104 style.d.12=$(colour.error)
105 style.d.13=$(colour.code.comment.box),$(font.code.comment.box)
106 style.d.14=$(colour.code.comment.doc),$(font.code.comment.doc)
107 style.d.15=$(colour.code.comment.doc),$(font.code.comment.doc),bold
108 style.d.16=$(colour.code.comment.doc),$(font.code.comment.doc),back:#FFFF80
109 style.d.17=$(colour.error)
110 # braces must be operator style to allow matching
111 braces.d.style=3
112
113 command.compile.*.d=dmd -c -w -debug -unittest $(FileNameExt)
114 command.build.*.d=$(make.command)
115 command.go.*.d=$(FileName)
Note: See TracBrowser for help on using the browser.