|
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'> |
|
4 <html><head> |
|
5 <title>eric4.QScintilla.Lexers.LexerDiff</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.QScintilla.Lexers.LexerDiff</h1> |
|
24 <p> |
|
25 Module implementing a Diff lexer with some additional methods. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#LexerDiff">LexerDiff</a></td> |
|
35 <td>Subclass to implement some additional lexer dependant methods.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="LexerDiff" ID="LexerDiff"></a> |
|
44 <h2>LexerDiff</h2> |
|
45 <p> |
|
46 |
|
47 </p><p> |
|
48 Subclass to implement some additional lexer dependant methods. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 QsciLexerDiff, Lexer |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Methods</h3> |
|
57 <table> |
|
58 <tr> |
|
59 <td><a href="#LexerDiff.__init__">LexerDiff</a></td> |
|
60 <td>Constructor</td> |
|
61 </tr><tr> |
|
62 <td><a href="#LexerDiff.isCommentStyle">isCommentStyle</a></td> |
|
63 <td>Public method to check, if a style is a comment style.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#LexerDiff.isStringStyle">isStringStyle</a></td> |
|
66 <td>Public method to check, if a style is a string style.</td> |
|
67 </tr> |
|
68 </table> |
|
69 <a NAME="LexerDiff.__init__" ID="LexerDiff.__init__"></a> |
|
70 <h4>LexerDiff (Constructor)</h4> |
|
71 <b>LexerDiff</b>(<i>parent=None</i>) |
|
72 <p> |
|
73 Constructor |
|
74 </p><dl> |
|
75 <dt><i>parent</i></dt> |
|
76 <dd> |
|
77 parent widget of this lexer |
|
78 </dd> |
|
79 </dl><a NAME="LexerDiff.isCommentStyle" ID="LexerDiff.isCommentStyle"></a> |
|
80 <h4>LexerDiff.isCommentStyle</h4> |
|
81 <b>isCommentStyle</b>(<i>style</i>) |
|
82 <p> |
|
83 Public method to check, if a style is a comment style. |
|
84 </p><dl> |
|
85 <dt>Returns:</dt> |
|
86 <dd> |
|
87 flag indicating a comment style (boolean) |
|
88 </dd> |
|
89 </dl><a NAME="LexerDiff.isStringStyle" ID="LexerDiff.isStringStyle"></a> |
|
90 <h4>LexerDiff.isStringStyle</h4> |
|
91 <b>isStringStyle</b>(<i>style</i>) |
|
92 <p> |
|
93 Public method to check, if a style is a string style. |
|
94 </p><dl> |
|
95 <dt>Returns:</dt> |
|
96 <dd> |
|
97 flag indicating a string style (boolean) |
|
98 </dd> |
|
99 </dl> |
|
100 <div align="right"><a href="#top">Up</a></div> |
|
101 <hr /> |
|
102 </body></html> |