# 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.

##################################################
# Filters to be used in file open/close/save etc #
##################################################
filter.python=Python (.py;.pyw)|*.py;*.pyw|

############################################
# File patterns defined for all file types #
############################################
file.patterns.py=*.py;*.pyw

####################################################
# Lexer to be used for corresponding file patterns #
####################################################
lexer.$(file.patterns.py)=python

################################################
# File type corresponding to the file patterns #
################################################
filetype.$(file.patterns.py)=python

#######################
# Keywords for Python #
#######################

keywordclass.python=and assert break class continue def del elif else except \
exec finally for from global if import in is lambda None not or pass print \
raise return try while yield
keywords.*.py=$(keywordclass.python)

statement.indent.*.py=
statement.end.*.py=
statement.lookback.*.py=1
block.start.*.py=10 :
block.end.*.py=
tab.timmy.whinge.level=1

fold.comment.python=1
#fold.quotes.python=1

comment.block.python=#~

file.interpreted.$(file.patterns.py)=1

#################
# Python styles #
#################

# Whitespaces
style.python.0=$(style.default.whitespace)
# Comment
style.python.1=$(style.default.comment)
# Number
style.python.2=$(style.default.number)
# String
style.python.3=$(style.default.doublequote)
# Single quoted string
style.python.4=$(style.default.singlequote)
# Keyword
style.python.5=$(style.default.keyword)
# Triple quotes
style.python.6=$(style.default.doublequote)
# Triple double quotes
style.python.7=$(style.default.doublequote)
# Classname definition
style.python.8=$(style.default.definition)
# Function or method name definition
style.python.9=$(style.default.function)
# Operators
style.python.10=$(style.default.operator)
# Identifiers
style.python.11=$(style.default.identifier)
# Comment-blocks
style.python.12=$(style.default.comment)
# End of line where string is not closed
style.python.13=$(style.default.unclosedstring)
# Matched Operators
style.python.34=fore:#0000FF,$(style.default.operator)
style.python.35=fore:#FF0000,$(style.default.opetator)
# Braces are only matched in operator style
braces.python.style=10

######################################################
# Default Commands for handling different file types #
######################################################

command.compile.file.$(file.patterns.py)=
command.build.file.$(file.patterns.py)=
command.execute.file.$(file.patterns.py)=python -u "$(current.full.filename.ext)"

