# 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
