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