55 </table> |
55 </table> |
56 <h3>Methods</h3> |
56 <h3>Methods</h3> |
57 <table> |
57 <table> |
58 <tr> |
58 <tr> |
59 <td><a href="#LexerPython.__init__">LexerPython</a></td> |
59 <td><a href="#LexerPython.__init__">LexerPython</a></td> |
60 <td>Constructor</td> |
60 <td>Constructor</td> |
61 </tr><tr> |
61 </tr><tr> |
62 <td><a href="#LexerPython.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> |
62 <td><a href="#LexerPython.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> |
63 <td>Public method to return the list of separators for autocompletion.</td> |
63 <td>Public method to return the list of separators for autocompletion.</td> |
64 </tr><tr> |
64 </tr><tr> |
65 <td><a href="#LexerPython.getIndentationDifference">getIndentationDifference</a></td> |
65 <td><a href="#LexerPython.getIndentationDifference">getIndentationDifference</a></td> |
66 <td>Private method to determine the difference for the new indentation.</td> |
66 <td>Private method to determine the difference for the new indentation.</td> |
67 </tr><tr> |
67 </tr><tr> |
68 <td><a href="#LexerPython.initProperties">initProperties</a></td> |
68 <td><a href="#LexerPython.initProperties">initProperties</a></td> |
69 <td>Public slot to initialize the properties.</td> |
69 <td>Public slot to initialize the properties.</td> |
70 </tr><tr> |
70 </tr><tr> |
71 <td><a href="#LexerPython.isCommentStyle">isCommentStyle</a></td> |
71 <td><a href="#LexerPython.isCommentStyle">isCommentStyle</a></td> |
72 <td>Public method to check, if a style is a comment style.</td> |
72 <td>Public method to check, if a style is a comment style.</td> |
73 </tr><tr> |
73 </tr><tr> |
74 <td><a href="#LexerPython.isStringStyle">isStringStyle</a></td> |
74 <td><a href="#LexerPython.isStringStyle">isStringStyle</a></td> |
75 <td>Public method to check, if a style is a string style.</td> |
75 <td>Public method to check, if a style is a string style.</td> |
76 </tr> |
76 </tr> |
77 </table> |
77 </table> |
78 <a NAME="LexerPython.__init__" ID="LexerPython.__init__"></a> |
78 <a NAME="LexerPython.__init__" ID="LexerPython.__init__"></a> |
79 <h4>LexerPython (Constructor)</h4> |
79 <h4>LexerPython (Constructor)</h4> |
80 <b>LexerPython</b>(<i>parent=None</i>) |
80 <b>LexerPython</b>(<i>parent=None</i>) |
81 <p> |
81 <p> |
82 Constructor |
82 Constructor |
83 </p><dl> |
83 </p><dl> |
84 <dt><i>parent</i></dt> |
84 <dt><i>parent</i></dt> |
85 <dd> |
85 <dd> |
86 parent widget of this lexer |
86 parent widget of this lexer |
87 </dd> |
87 </dd> |
88 </dl><a NAME="LexerPython.autoCompletionWordSeparators" ID="LexerPython.autoCompletionWordSeparators"></a> |
88 </dl><a NAME="LexerPython.autoCompletionWordSeparators" ID="LexerPython.autoCompletionWordSeparators"></a> |
89 <h4>LexerPython.autoCompletionWordSeparators</h4> |
89 <h4>LexerPython.autoCompletionWordSeparators</h4> |
90 <b>autoCompletionWordSeparators</b>(<i></i>) |
90 <b>autoCompletionWordSeparators</b>(<i></i>) |
91 <p> |
91 <p> |
92 Public method to return the list of separators for autocompletion. |
92 Public method to return the list of separators for autocompletion. |
93 </p><dl> |
93 </p><dl> |
94 <dt>Returns:</dt> |
94 <dt>Returns:</dt> |
95 <dd> |
95 <dd> |
96 list of separators (list of strings) |
96 list of separators (list of strings) |
97 </dd> |
97 </dd> |
98 </dl><a NAME="LexerPython.getIndentationDifference" ID="LexerPython.getIndentationDifference"></a> |
98 </dl><a NAME="LexerPython.getIndentationDifference" ID="LexerPython.getIndentationDifference"></a> |
99 <h4>LexerPython.getIndentationDifference</h4> |
99 <h4>LexerPython.getIndentationDifference</h4> |
100 <b>getIndentationDifference</b>(<i>line, editor</i>) |
100 <b>getIndentationDifference</b>(<i>line, editor</i>) |
101 <p> |
101 <p> |
102 Private method to determine the difference for the new indentation. |
102 Private method to determine the difference for the new indentation. |
103 </p><dl> |
103 </p><dl> |
104 <dt><i>line</i></dt> |
104 <dt><i>line</i></dt> |
105 <dd> |
105 <dd> |
106 line to perform the calculation for (integer) |
106 line to perform the calculation for (integer) |
107 </dd><dt><i>editor</i></dt> |
107 </dd><dt><i>editor</i></dt> |
108 <dd> |
108 <dd> |
109 QScintilla editor |
109 QScintilla editor |
110 </dd> |
110 </dd> |
111 </dl><dl> |
111 </dl><dl> |
112 <dt>Returns:</dt> |
112 <dt>Returns:</dt> |
113 <dd> |
113 <dd> |
114 amount of difference in indentation (integer) |
114 amount of difference in indentation (integer) |
115 </dd> |
115 </dd> |
116 </dl><a NAME="LexerPython.initProperties" ID="LexerPython.initProperties"></a> |
116 </dl><a NAME="LexerPython.initProperties" ID="LexerPython.initProperties"></a> |
117 <h4>LexerPython.initProperties</h4> |
117 <h4>LexerPython.initProperties</h4> |
118 <b>initProperties</b>(<i></i>) |
118 <b>initProperties</b>(<i></i>) |
119 <p> |
119 <p> |
120 Public slot to initialize the properties. |
120 Public slot to initialize the properties. |
121 </p><a NAME="LexerPython.isCommentStyle" ID="LexerPython.isCommentStyle"></a> |
121 </p><a NAME="LexerPython.isCommentStyle" ID="LexerPython.isCommentStyle"></a> |
122 <h4>LexerPython.isCommentStyle</h4> |
122 <h4>LexerPython.isCommentStyle</h4> |
123 <b>isCommentStyle</b>(<i>style</i>) |
123 <b>isCommentStyle</b>(<i>style</i>) |
124 <p> |
124 <p> |
125 Public method to check, if a style is a comment style. |
125 Public method to check, if a style is a comment style. |
126 </p><dl> |
126 </p><dl> |
127 <dt>Returns:</dt> |
127 <dt>Returns:</dt> |
128 <dd> |
128 <dd> |
129 flag indicating a comment style (boolean) |
129 flag indicating a comment style (boolean) |
130 </dd> |
130 </dd> |
131 </dl><a NAME="LexerPython.isStringStyle" ID="LexerPython.isStringStyle"></a> |
131 </dl><a NAME="LexerPython.isStringStyle" ID="LexerPython.isStringStyle"></a> |
132 <h4>LexerPython.isStringStyle</h4> |
132 <h4>LexerPython.isStringStyle</h4> |
133 <b>isStringStyle</b>(<i>style</i>) |
133 <b>isStringStyle</b>(<i>style</i>) |
134 <p> |
134 <p> |
135 Public method to check, if a style is a string style. |
135 Public method to check, if a style is a string style. |
136 </p><dl> |
136 </p><dl> |
137 <dt>Returns:</dt> |
137 <dt>Returns:</dt> |
138 <dd> |
138 <dd> |
139 flag indicating a string style (boolean) |
139 flag indicating a string style (boolean) |
140 </dd> |
140 </dd> |
141 </dl> |
141 </dl> |
142 <div align="right"><a href="#top">Up</a></div> |
142 <div align="right"><a href="#top">Up</a></div> |
143 <hr /> |
143 <hr /> |
144 </body></html> |
144 </body></html> |