File: python.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 (104 lines) | stat: -rw-r--r-- 3,345 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
# 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)"