1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
5
<title>eric4.QScintilla.Lexers.LexerPython</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.QScintilla.Lexers.LexerPython</h1>
25
Module implementing a Python lexer with some additional methods.
30
<td><a href="#LexerPython">LexerPython</a></td>
31
<td>Subclass to implement some additional lexer dependant methods.</td>
36
<tr><td>None</td></tr>
39
<a NAME="LexerPython" ID="LexerPython"></a>
44
Subclass to implement some additional lexer dependant methods.
47
QsciLexerPython, Lexer
51
<td><a href="#LexerPython.__init__">LexerPython</a></td>
54
<td><a href="#LexerPython.getIndentationDifference">getIndentationDifference</a></td>
55
<td>Private method to determine the difference for the new indentation.</td>
57
<td><a href="#LexerPython.initProperties">initProperties</a></td>
58
<td>Public slot to initialize the properties.</td>
61
<p><a NAME="LexerPython.__init__" ID="LexerPython.__init__"></a>
62
<h4>LexerPython (Constructor)</h4>
63
<b>LexerPython</b>(<i>parent=None</i>)
67
<dt><i>parent</i></dt>
69
parent widget of this lexer
71
</dl><a NAME="LexerPython.getIndentationDifference" ID="LexerPython.getIndentationDifference"></a>
72
<h4>LexerPython.getIndentationDifference</h4>
73
<b>getIndentationDifference</b>(<i>line, editor</i>)
75
Private method to determine the difference for the new indentation.
79
line to perform the calculation for (integer)
80
</dd><dt><i>editor</i></dt>
87
amount of difference in indentation (integer)
89
</dl><a NAME="LexerPython.initProperties" ID="LexerPython.initProperties"></a>
90
<h4>LexerPython.initProperties</h4>
91
<b>initProperties</b>(<i></i>)
93
Public slot to initialize the properties.
95
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'