@@ -2,7 +2,7 @@ API Reference
22======================
33
44The API reference documentation is auto extracted from the source code and only
5- cover the public API exposed by the **pyqode.core ** package.
5+ cover the public API exposed by the **pyqode.python ** package.
66
77.. contents :: :local:
88
@@ -25,7 +25,96 @@ QPythonCodeEdit
2525
2626Modes
2727-----------
28+ CalltipsMode
29+ ++++++++++++++++
30+ .. autoclass :: pyqode.python.CalltipsMode
31+ :members:
32+
33+ JediCompletionProvider
34+ +++++++++++++++++++++++++
35+ .. autoclass :: pyqode.python.JediCompletionProvider
36+ :members:
37+
38+ PEP8CheckerMode
39+ ++++++++++++++++++
40+
41+ .. autoclass :: pyqode.python.PEP8CheckerMode
42+ :members:
43+
44+ PyAutoIndentMode
45+ +++++++++++++++++
46+
47+ .. autoclass :: pyqode.python.PyAutoIndentMode
48+ :members:
49+
50+ PyFlakesCheckerMode
51+ +++++++++++++++++++++
52+
53+ .. autoclass :: pyqode.python.PyFlakesCheckerMode
54+ :members:
55+
56+ PyHighlighterMode
57+ ++++++++++++++++++++++
58+
59+ .. autoclass :: pyqode.python.PyHighlighterMode
60+ :members:
61+
62+ .. autoattribute :: pyqode.python.DEFAULT_LIGHT_STYLES
2863
64+ Default (white) color scheme for :class: `pyqode.python.PyHighlighterMode `
65+ Those values are added to :attr: `pyqode.core.QCodeEdit.style ` properties in
66+ the *Python * section:
67+
68+ .. code-block :: python
69+
70+ {' keyword' : TextStyle(' #808000 nbold nitalic nunderlined' ),
71+ ' builtins' : TextStyle(' #808000 nbold nitalic nunderlined' ),
72+ ' operator' : TextStyle(' darkGray nbold nitalic nunderlined' ),
73+ ' punctuation' : TextStyle(' darkGray nbold nitalic nunderlined' ),
74+ ' decorator' : TextStyle(' #808000 nbold nitalic nunderlined' ),
75+ ' brace' : TextStyle(' #404040 nbold nitalic nunderlined' ),
76+ ' class' : TextStyle(' #800080 nbold nitalic nunderlined' ),
77+ ' function' : TextStyle(' #800080 nbold nitalic nunderlined' ),
78+ ' string' : TextStyle(' #008000 nbold nitalic nunderlined' ),
79+ ' docstring' : TextStyle(' #0000AA nbold nitalic nunderlined' ),
80+ ' comment' : TextStyle(' #008000 nbold italic nunderlined' ),
81+ ' self' : TextStyle(' #8F2828 nbold italic nunderlined' ),
82+ ' numbers' : TextStyle(' #000080 nbold nitalic nunderlined' ),
83+ ' predefined' : TextStyle(' #B200B2 nbold nitalic nunderlined' ),
84+ ' docstringTag' : TextStyle(' #0000FF nbold nitalic underlined' ),}
85+
86+
87+ .. autoattribute :: pyqode.python.DEFAULT_DARK_STYLES
88+
89+
90+ Alternative dark color scheme for :class: `pyqode.python.PyHighlighterMode `
91+ Those values are added to :attr: `pyqode.core.QCodeEdit.style ` properties in
92+ the *Python * section:
93+
94+ .. code-block :: python
95+
96+ {' keyword' : TextStyle(' #CC7832 bold nitalic nunderlined' ),
97+ ' builtins' : TextStyle(' #CC7832 nbold nitalic nunderlined' ),
98+ ' operator' : TextStyle(' #A9B7C6 nbold nitalic nunderlined' ),
99+ ' punctuation' : TextStyle(' #A9B7C6 nbold nitalic nunderlined' ),
100+ ' decorator' : TextStyle(' #BBB529 nbold nitalic nunderlined' ),
101+ ' brace' : TextStyle(' #AAAAAA nbold nitalic nunderlined' ),
102+ ' class' : TextStyle(' #A9B7C6 bold nitalic nunderlined' ),
103+ ' function' : TextStyle(' #A9B7C6 bold nitalic nunderlined' ),
104+ ' string' : TextStyle(' #A5C261 nbold nitalic nunderlined' ),
105+ ' docstring' : TextStyle(' #629755 nbold nitalic nunderlined' ),
106+ ' comment' : TextStyle(' #808080 nbold italic nunderlined' ),
107+ ' self' : TextStyle(' #94558D nbold italic nunderlined' ),
108+ ' numbers' : TextStyle(' #6897B3 nbold nitalic nunderlined' ),
109+ ' predefined' : TextStyle(' #B200B2 nbold nitalic nunderlined' ),
110+ ' docstringTag' : TextStyle(' #427735 bold nitalic underlined' ),}
111+
112+
113+ PyIndenterMode
114+ ++++++++++++++++++++++
115+
116+ .. autoclass :: pyqode.python.PyIndenterMode
117+ :members:
29118
30119Panels
31120--------------
@@ -34,3 +123,10 @@ PreLoadPanel
34123+++++++++++++
35124.. autoclass :: pyqode.python.PreLoadPanel
36125 :members:
126+
127+
128+ Utilities
129+ --------------
130+
131+ .. autofunction :: pyqode.python.setDarkColorScheme
132+ .. autofunction :: pyqode.python.setLightColorScheme
0 commit comments