Add new function document_show_message()
[geany-mirror.git] / data / filetypes.python
blob18b69a3aa400d0b6911e9f02bb42a52326d97119
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # Edit these in the colorscheme .conf file instead
4 default=default
5 commentline=comment_line
6 number=number_1
7 string=string_1
8 character=character
9 word=keyword_1
10 triple=string_2
11 tripledouble=string_2
12 classname=type
13 defname=function
14 operator=operator
15 identifier=identifier_1
16 commentblock=comment
17 stringeol=string_eol
18 word2=keyword_2
19 decorator=decorator
21 [keywords]
22 # all items must be in one line
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 # these are the builtins for Python 2.7 created with ' '.join(dir(__builtins__))
26 identifiers=ArithmeticError AssertionError AttributeError BaseException BufferError BytesWarning DeprecationWarning EOFError Ellipsis EnvironmentError Exception FloatingPointError FutureWarning GeneratorExit IOError ImportError ImportWarning IndentationError IndexError KeyError KeyboardInterrupt LookupError MemoryError NameError NotImplemented NotImplementedError OSError OverflowError PendingDeprecationWarning ReferenceError RuntimeError RuntimeWarning StandardError StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError Warning ZeroDivisionError __debug__ __doc__ __import__ __name__ __package__ abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir divmod enumerate eval execfile exit file filter float format frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len license list locals long map max memoryview min next object oct open ord pow print property quit range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip
28 [lexer_properties]
29 fold.comment.python=1
30 fold.quotes.python=1
32 [settings]
33 # default extension used when saving files
34 extension=py
36 # MIME type
37 mime_type=text/x-python
39 # the following characters are these which a "word" can contains, see documentation
40 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
42 # single comment char, like # in this file
43 comment_single=#
44 # multiline comments
45 #comment_open="""
46 #comment_close="""
48 # set to false if a comment character/string should start at column 0 of a line, true uses any
49 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
50 #command_example();
51 # setting to false would generate this
52 # command_example();
53 # This setting works only for single line comments
54 comment_use_indent=true
56 # context action command (please see Geany's main documentation for details)
57 context_action_cmd=
59 [indentation]
60 #width=4
61 # 0 is spaces, 1 is tabs, 2 is tab & spaces
62 #type=0
64 [build_settings]
65 # %f will be replaced by the complete filename
66 # %e will be replaced by the filename without extension
67 # (use only one of it at one time)
68 compiler=python -m py_compile "%f"
69 run_cmd=python "%f"