File: html.properties

package info (click to toggle)
anjuta 1.2.2-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 24,732 kB
  • ctags: 12,398
  • sloc: ansic: 82,587; cpp: 35,104; sh: 8,591; xml: 7,210; makefile: 981; python: 157
file content (451 lines) | stat: -rw-r--r-- 18,900 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# Anjuta internal configuration file

#----------------- WARNING ------------------------------------#
# Any modification in this file without knowing proper internal
# working of Anjuta may lead to instabilites.
#----------------- WARNING ------------------------------------#

# Anjuta uses this file for internal operations,
# therefore this file should never be modified.
# Only Anjuta developers will be tampering with this file. 

# Any modification if needed should be approved by the Anjuta
# developers, so that the source code is also changed (if needed)
# and the changes incorporated in the next release of Anjuta.

## PHP properties are given in seperate file due to it's size.

##################################################
# Filters to be used in file open/close/save etc #
##################################################
file.patterns.web=*.html;*.htm;*.asp;*.shtml;*.htd
file.patterns.html=$(file.patterns.web);$(file.patterns.php);*.htt;*.cfm;*.tpl;*.dtd;*.hta
file.patterns.vxml=*.vxml
file.patterns.docbook=*.docbook


############################################
# File patterns defined for all file types #
############################################
filter.web=Web (html htm asp shtml css xml docbook)|$(file.patterns.web);*.css;*.xml;*.docbook|
filter.html=HTML (.html;.htm;.asp;.shtml;*.tpt;*.spt)|*.html;*.htm;*.asp;*.shtml;*.tpt;*.spt|

#########################################
# File icons defined for all file types #
#########################################
icon.$(file.patterns.web)=file_html.png
icon.$(file.patterns.html)=file_html.png
icon.$(file.patterns.vxml)=file_html.png
icon.$(file.patterns.docbook)=file_html.png

####################################################
# Lexer to be used for corresponding file patterns #
####################################################
lexer.$(file.patterns.html)=hypertext
lexer.$(file.patterns.web)=hypertext
lexer.$(file.patterns.vxml)=hypertext
lexer.$(file.patterns.docbook)=hypertext

################################################
# File type corresponding to the file patterns #
################################################
filetype.$(file.patterns.html)=hypertext
filetype.$(file.patterns.vxml)=hypertext
filetype.$(file.patterns.docbook)=hypertext

fold.html=1

#######################################################################
# All hypertext elements and attributes (must be listed in lower case)#
#######################################################################
hypertext.elements=\
a abbr acronym address applet area b base basefont \
bdo big blockquote body br button caption center \
cite code col colgroup dd del dfn dir div dl dt em \
fieldset font form frame frameset h1 h2 h3 h4 h5 h6 \
head hr html i iframe img input ins isindex kbd label \
legend li link map menu meta noframes noscript \
object ol optgroup option p param pre q s samp \
script select small span strike strong style sub sup \
table tbody td textarea tfoot th thead title tr tt u ul \
var xml xmlns

hypertext.attributes=\
abbr accept-charset accept accesskey action align alink \
alt archive axis background bgcolor border \
cellpadding cellspacing char charoff charset checked cite \
class classid clear codebase codetype color cols colspan \
compact content coords \
data datafld dataformatas datapagesize datasrc datetime \
declare defer dir disabled enctype event \
face for frame frameborder \
headers height href hreflang hspace http-equiv \
id ismap label lang language leftmargin link longdesc \
marginwidth marginheight maxlength media method multiple \
name nohref noresize noshade nowrap \
object onblur onchange onclick ondblclick onfocus \
onkeydown onkeypress onkeyup onload onmousedown \
onmousemove onmouseover onmouseout onmouseup \
onreset onselect onsubmit onunload \
profile prompt readonly rel rev rows rowspan rules \
scheme scope selected shape size span src standby start style \
summary tabindex target text title topmargin type usemap \
valign value valuetype version vlink vspace width \
text password checkbox radio submit reset \
file hidden image

keywordclass.hypertext=\
$(hypertext.elements) $(hypertext.attributes) public !doctype

vxml.elements=\
assign audio block break catch choice clear disconnect else elseif \
emphasis enumerate error exit field filled form goto grammar help \
if initial link log menu meta noinput nomatch object option p paragraph \
param phoneme prompt property prosody record reprompt return s say-as \
script sentence subdialog submit throw transfer value var voice vxml

vxml.attributes=\
accept age alphabet anchor application base beep bridge category charset \
classid cond connecttimeout content contour count dest destexpr dtmf dtmfterm \
duration enctype event eventexpr expr expritem fetchtimeout finalsilence \
gender http-equiv id level maxage maxstale maxtime message messageexpr \
method mime modal mode name namelist next nextitem ph pitch range rate \
scope size sizeexpr skiplist slot src srcexpr sub time timeexpr timeout \
transferaudio type value variant version volume xml:lang

keywordclass.vxml=\
$(vxml.elements) $(vxml.attributes) public !doctype

##########################################################
# All hypertext also contains other programming languages#
##########################################################
keywords.$(file.patterns.html)=$(keywordclass.hypertext)
# JavaScript keywords are possible inside embedded Javascript
keywords2.$(file.patterns.html)=$(keywordclass.javascript)
# VBScript keywords are possible inside embedded VBScript
keywords3.$(file.patterns.html)=$(keywordclass.vb)
# Python keywords are possible inside embedded Python
keywords4.$(file.patterns.html)=$(keywordclass.python)
# PHP keywords are possible inside embedded PHP
keywords5.$(file.patterns.html)=$(keywordclass.php)
# SGML / DTD keywords
keywords6.$(file.patterns.html)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION

################################
# Character definition for HTML#
################################
word.characters.$(file.patterns.html)=$(chars.alpha)$(chars.numeric)_-
file.has.folds.$(file.patterns.html)=1

# START DocBook
docbook.elements42=\
abbrev abstract accel ackno acronym action address affiliation alt anchor \
answer appendix appendixinfo application area areaset areaspec arg article \
articleinfo artpagenums attribution audiodata audioobject author authorblurb \
authorgroup authorinitials beginpage bibliocoverage bibliodiv biblioentry \
bibliography bibliographyinfo biblioid bibliomisc bibliomixed bibliomset \
bibliorelation biblioset bibliosource blockinfo blockquote book bookinfo \
bridgehead callout calloutlist caption caution chapter chapterinfo citation \
citebiblioid citerefentry citetitle city classname classsynopsis classsynopsisinfo \
cmdsynopsis co collab collabname colophon colspec command computeroutput \
confdates confgroup confnum confsponsor conftitle constant constraint \
constraintdef constructorsynopsis contractnum contractsponsor contrib \
copyright coref corpauthor corpname country database date dedication \
destructorsynopsis edition editor email emphasis entry entrytbl envar \
epigraph equation errorcode errorname errortext errortype example \
exceptionname fax fieldsynopsis figure filename firstname firstterm \
footnote footnoteref foreignphrase formalpara funcdef funcparams \
funcprototype funcsynopsis funcsynopsisinfo function glossary glossaryinfo \
glossdef glossdiv glossentry glosslist glosssee glossseealso glossterm \
graphic graphicco group guibutton guiicon guilabel guimenu guimenuitem \
guisubmenu hardware highlights holder honorific htm imagedata imageobject \
imageobjectco important index indexdiv indexentry indexinfo indexterm \
informalequation informalexample informalfigure informaltable initializer \
inlineequation inlinegraphic inlinemediaobject interface interfacename \
invpartnumber isbn issn issuenum itemizedlist itermset jobtitle keycap \
keycode keycombo keysym keyword keywordset label legalnotice lhs lineage \
lineannotation link listitem iteral literallayout lot lotentry manvolnum \
markup medialabel mediaobject mediaobjectco member menuchoice methodname \
methodparam methodsynopsis mm modespec modifier ousebutton msg msgaud \
msgentry msgexplan msginfo msglevel msgmain msgorig msgrel msgset msgsub \
msgtext nonterminal note objectinfo olink ooclass ooexception oointerface \
option optional orderedlist orgdiv orgname otheraddr othercredit othername \
pagenums para paramdef parameter part partinfo partintro personblurb \
personname phone phrase pob postcode preface prefaceinfo primary primaryie \
printhistory procedure production productionrecap productionset productname \
productnumber programlisting programlistingco prompt property pubdate publisher \
publishername pubsnumber qandadiv qandaentry qandaset question quote refclass \
refdescriptor refentry refentryinfo refentrytitle reference referenceinfo \
refmeta refmiscinfo refname refnamediv refpurpose refsect1 refsect1info refsect2 \
refsect2info refsect3 refsect3info refsection refsectioninfo refsynopsisdiv \
refsynopsisdivinfo releaseinfo remark replaceable returnvalue revdescription \
revhistory revision revnumber revremark rhs row sbr screen screenco screeninfo \
screenshot secondary secondaryie sect1 sect1info sect2 sect2info sect3 sect3info \
sect4 sect4info sect5 sect5info section sectioninfo see seealso seealsoie \
seeie seg seglistitem segmentedlist segtitle seriesvolnums set setindex \
setindexinfo setinfo sgmltag shortaffil shortcut sidebar sidebarinfo simpara \
simplelist simplemsgentry simplesect spanspec state step street structfield \
structname subject subjectset subjectterm subscript substeps subtitle \
superscript surname sv symbol synopfragment synopfragmentref synopsis \
systemitem table tbody term tertiary tertiaryie textdata textobject tfoot \
tgroup thead tip title titleabbrev toc tocback tocchap tocentry tocfront \
toclevel1 toclevel2 toclevel3 toclevel4 toclevel5 tocpart token trademark \
type ulink userinput varargs variablelist varlistentry varname videodata \
videoobject void volumenum warning wordasword xref year

docbook.attributes=\
arch condition conformance id lang os remap role revision revisionflag security \
userlevel vendor xreflabel \
status label endterm linkend space width

keywordclass.docbook=\
$(docbook.elements42) $(docbook.attributes)

keywords.$(file.patterns.docbook)=$(keywordclass.docbook)
keywords6.$(file.patterns.docbook)=ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
# END DocBook

word.characters.$(file.patterns.html)=$(chars.alpha)$(chars.numeric)_-
comment.stream.start.hypertext=<!--
comment.stream.end.hypertext=-->

#########
## VXML #
#########
keywords.$(file.patterns.vxml)=$(keywordclass.vxml)
keywords2.$(file.patterns.vxml)=$(keywordclass.javascript)

word.characters.$(file.patterns.vxml)=$(chars.alpha)$(chars.numeric)_-

########
## CSS #
########
keywords.*.css=\
background background-attachment background-color background-image background-position background-repeat \
border-color border-bottom border-bottom-width border-left border-left-width \
border border-right-width border-right border-style border-top border-top-width border-width \
clear clip color cursor display float \
font font-family font-size font-style font-variant font-weight \
height left letter-spacing line-height \
list-style list-style-image list-style-position list-style-type \
margin margin-bottom margin-left margin-right margin-top overflow \
padding padding-bottom padding-left padding-right padding-top position \
text-align text-decoration text-indent text-transform top \
vertical-align visibility width white-space word-spacing z-index

word.characters.*.css=$(chars.alpha)$(chars.numeric)_-

################################################################
# HTML and XML share lexing code so use the same style numbers #
# Hypertext Markup Language                            #
################################################################

# Text
style.hypertext.0=
# Tags
style.hypertext.1=fore:#000080
# Unknown Tags
style.hypertext.2=fore:#FF0000
# Attributes
style.hypertext.3=fore:#008080
# Unknown Attributes
style.hypertext.4=fore:#FF0000
# Numbers
style.hypertext.5=$(style.default.number)
# Double quoted strings
style.hypertext.6=$(style.default.doublequote)
# Single quoted strings
style.hypertext.7=$(style.default.singlequote)
# Other inside tag
style.hypertext.8=fore:#800080
# Comment
style.hypertext.9=$(style.default.comment)
# Entities
style.hypertext.10=fore:#800080
# XML style tag ends '/>'
style.hypertext.11=fore:#000080
# XML identifier start '<?'
style.hypertext.12=fore:#0000FF
# XML identifier end '?>'
style.hypertext.13=fore:#0000FF
#  SCRIPT
style.hypertext.14=fore:#000080
# ASP <% ... %>
style.hypertext.15=back:#FFFF00
# ASP <% ... %>
style.hypertext.16=back:#FFDF00
# CDATA
style.hypertext.17=back:#FFDF00
# PHP
style.hypertext.18=fore:#0000FF,back:#FFEFBF
# Unquoted values
style.hypertext.19=fore:#FF00FF,back:#FFEFFF
# SGML tags <! ... >
style.hypertext.21=fore:#000080,back:#EFEFFF
# SGML command
style.hypertext.22=fore:#000080,back:#EFEFFF,bold
# SGML 1st param
style.hypertext.23=fore:#006600,back:#EFEFFF
# SGML double string
style.hypertext.24=fore:#800000,back:#EFEFFF
# SGML single string
style.hypertext.25=fore:#993300,back:#EFEFFF
# SGML error
style.hypertext.26=fore:#800000,back:#FF6666
# SGML special (#xxxx type)
style.hypertext.27=fore:#3366FF,back:#EFEFFF
# SGML entity
style.hypertext.28=fore:#333333,back:#EFEFFF
# SGML comment
style.hypertext.29=fore:#808000,back:#EFEFFF
# SGML block
style.hypertext.31=fore:#000066,back:#CCCCE0
# Some reasonable background colours
# Off White #FFFBF0    Light green #C0DCC0    Light Blue #A6CAF0
# Matched Operators
style.hypertext.34=fore:#0000FF,notbold
style.hypertext.35=fore:#FF0000,notbold

# Embedded Javascript
# JS Start - allows eol filled background to not start on same line as SCRIPT tag
style.hypertext.40=fore:#7F7F00
# JS Default
style.hypertext.41=back:#FFFBF0,eolfilled
# JS Comment
style.hypertext.42=$(style.default.comment),back:#FFFBF0,eolfilled
# JS Line Comment
style.hypertext.43=$(style.default.comment),back:#FFFBF0
# JS Doc comment
style.hypertext.44=$(style.default.comment),back:#FFFBF0,eolfilled
# JS Number
style.hypertext.45=$(style.default.number),back:#FFFBF0
# JS Word
style.hypertext.46=back:#FFFBF0
# JS Keyword
style.hypertext.47=$(style.default.keyword),back:#FFFBF0
# JS Double quoted string
style.hypertext.48=$(style.default.doublequote),back:#FFFBF0
# JS Single quoted string
style.hypertext.49=$(style.default.singlequote),back:#FFFBF0
# JS Symbols 
style.hypertext.50=back:#FFFBF0
# JavaScript EOL
style.hypertext.51=back:#BFBBB0,eolfilled
# JavaScript RegEx
style.hypertext.52=back:#FFBBB0

# ASP Javascript
# JS Start - allows eol filled background to not start on same line as SCRIPT tag
style.hypertext.55=fore:#7F7F00
# JS Default
style.hypertext.56=back:#DFDF7F,eolfilled
# JS Comment
style.hypertext.57=$(style.default.comment),back:#DFDF7F,eolfilled
# JS Line Comment
style.hypertext.58=$(style.default.comment),back:#DFDF7F
# JS Doc comment
style.hypertext.59=$(style.default.comment),back:#DFDF7F,eolfilled
# JS Number
style.hypertext.60=$(style.default.number),back:#DFDF7F
# JS Word
style.hypertext.61=back:#DFDF7F
# JS Keyword
style.hypertext.62=$(style.default.keyword),back:#DFDF7F
# JS Double quoted string
style.hypertext.63=$(style.default.doublequote),back:#DFDF7F
# JS Single quoted string
style.hypertext.64=$(style.default.singlequote),back:#DFDF7F
# JS Symbols 
style.hypertext.65=back:#DFDF7F
# JavaScript EOL
style.hypertext.66=back:#BFBBB0,eolfilled
# JavaScript RegEx
style.hypertext.67=back:#FFBBB0

# Embedded VBS
# Start
style.hypertext.70=
# Default
style.hypertext.71=back:#EFEFFF,eolfilled
# Comment
style.hypertext.72=$(style.default.comment),back:#EFEFFF,eolfilled
# Number
style.hypertext.73=$(style.default.number),back:#EFEFFF,eolfilled
# KeyWord
style.hypertext.74=back:#EFEFFF,bold,eolfilled
# String
style.hypertext.75=$(style.default.doublequote),back:#EFEFFF,eolfilled
# Identifier
style.hypertext.76=back:#EFEFFF,fore:#000080,eolfilled
# Unterminated string
style.hypertext.77=back:#7F7FFF,fore:#000080,eolfilled

# ASP VBS
# Start
style.hypertext.80=
# Default
style.hypertext.81=back:#CFCFEF,eolfilled
# Comment
style.hypertext.82=$(style.default.comment),back:#CFCFEF,eolfilled
# Number
style.hypertext.83=$(style.default.number),back:#CFCFEF,eolfilled
# KeyWord
style.hypertext.84=back:#CFCFEF,fore:#000080,bold,eolfilled
# String
style.hypertext.85=$(style.default.doublequote),back:#CFCFEF,eolfilled
# Identifier
style.hypertext.86=back:#CFCFEF,fore:#000080,eolfilled
# Unterminated string
style.hypertext.87=back:#7F7FBF,fore:#000080,eolfilled

# Embedded Python
style.hypertext.90=fore:#808080
style.hypertext.91=fore:#808080,back:#EFFFEF,eolfilled
# Comment
style.hypertext.92=$(style.default.comment),back:#EFFFEF,eolfilled
# Number
style.hypertext.93=$(style.default.number),back:#EFFFEF,eolfilled
# String
style.hypertext.94=$(style.default.doublequote),back:#EFFFEF,eolfilled
# Single quoted string
style.hypertext.95=$(style.default.singlequote),back:#EFFFEF,eolfilled
# Keyword
style.hypertext.96=$(style.default.keyword),back:#EFFFEF,eolfilled
# Triple quotes
style.hypertext.97=$(style.default.doublequote),back:#EFFFEF,eolfilled
# Triple double quotes
style.hypertext.98=$(style.default.doublequote),back:#EFFFEF,eolfilled
# Class name definition
style.hypertext.99=$(style.default.definition),back:#EFFFEF,eolfilled
# Function or method name definition
style.hypertext.100=$(style.default.function),back:#EFFFEF,eolfilled
# Operators
style.hypertext.101=$(style.default.operator),back:#EFFFEF,eolfilled
# Identifiers
style.hypertext.102=$(style.default.identifier),back:#EFFFEF,eolfilled

# ASP Python
style.hypertext.105=fore:#808080
style.hypertext.106=fore:#808080,back:#CFEFCF,eolfilled
# Comment
style.hypertext.107=$(style.default.comment),back:#CFEFCF,eolfilled
# Number
style.hypertext.108=$(style.default.number),back:#CFEFCF,eolfilled
# String
style.hypertext.109=$(style.default.doublequote),back:#CFEFCF,eolfilled
# Single quoted string
style.hypertext.110=$(style.default.singlequote),back:#CFEFCF,eolfilled
# Keyword
style.hypertext.111=$(style.default.keyword),back:#CFEFCF,eolfilled
# Triple quotes
style.hypertext.112=$(style.default.doublequote),back:#CFEFCF,eolfilled
# Triple double quotes
style.hypertext.113=$(style.default.doublequote),back:#CFEFCF,eolfilled
# Class name definition
style.hypertext.114=$(style.default.definition),back:#CFEFCF,eolfilled
# Function or method name definition
style.hypertext.115=$(style.default.function),back:#CFEFCF,eolfilled
# Operators
style.hypertext.116=$(style.default.operator),back:#CFEFCF,eolfilled
# Identifiers
style.hypertext.117=$(style.default.identifier),back:#CFEFCF,eolfilled