~ubuntu-branches/debian/experimental/geany/experimental

« back to all changes in this revision

Viewing changes to data/filetypes.python

  • Committer: Bazaar Package Importer
  • Author(s): Damián Viano
  • Date: 2008-05-02 11:37:45 UTC
  • mfrom: (1.2.1 upstream) (3.1.6 hardy)
  • Revision ID: james.westby@ubuntu.com-20080502113745-xzp4g6dmovrpoj17
Tags: 0.14-1
New upstream release (Closes: #478126)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
identifier=0x000000;0xffffff;false;false
16
16
commentblock=0x808080;0xffffff;false;false
17
17
stringeol=0x000000;0xe0c0e0;false;false
 
18
word2=0xdd00a6;0xffffff;true;false
 
19
decorator=0x808000;0xffffff;false;false
18
20
 
19
21
[keywords]
20
22
# all items must be in one line
21
 
primary=and assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while yield
 
23
primary=and as assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with yield False None True
 
24
# additional keywords, will be highlighted with style "word2"
 
25
identifiers=
22
26
 
23
27
 
24
28
[settings]
 
29
# default extension used when saving files
 
30
#extension=py
 
31
 
25
32
# the following characters are these which a "word" can contains, see documentation
26
 
wordchars=_#&abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
 
33
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
27
34
 
28
35
# if only single comment char is supported like # in this file, leave comment_close blank
29
36
comment_open=#
30
37
comment_close=
31
38
 
32
39
# set to false if a comment character/string should start at column 0 of a line, true uses any
33
 
# indention of the line, e.g. setting to true causes the following on pressing CTRL+d
 
40
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
34
41
        #command_example();
35
42
# setting to false would generate this
36
43
#       command_example();
37
44
# This setting works only for single line comments
38
45
comment_use_indent=true
39
46
 
 
47
# context action command (please see Geany's main documentation for details)
 
48
context_action_cmd=
 
49
 
40
50
[build_settings]
41
51
# %f will be replaced by the complete filename
42
52
# %e will be replaced by the filename without extension
43
53
# (use only one of it at one time)
44
 
compiler=python "%f"
 
54
compiler=python -c "import py_compile; py_compile.compile('%f')"
45
55
run_cmd=python "%f"