|
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.LexerCPP</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.LexerCPP</h1> |
|
24 <p> |
|
25 Module implementing a CPP 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="#LexerCPP">LexerCPP</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="LexerCPP" ID="LexerCPP"></a> |
|
44 <h2>LexerCPP</h2> |
|
45 <p> |
|
46 |
|
47 </p><p> |
|
48 Subclass to implement some additional lexer dependant methods. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 QsciLexerCPP, 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="#LexerCPP.__init__">LexerCPP</a></td> |
|
60 <td>Constructor</td> |
|
61 </tr><tr> |
|
62 <td><a href="#LexerCPP.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td> |
|
63 <td>Public method to return the list of separators for autocompletion.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#LexerCPP.initProperties">initProperties</a></td> |
|
66 <td>Public slot to initialize the properties.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#LexerCPP.isCommentStyle">isCommentStyle</a></td> |
|
69 <td>Public method to check, if a style is a comment style.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#LexerCPP.isStringStyle">isStringStyle</a></td> |
|
72 <td>Public method to check, if a style is a string style.</td> |
|
73 </tr> |
|
74 </table> |
|
75 <a NAME="LexerCPP.__init__" ID="LexerCPP.__init__"></a> |
|
76 <h4>LexerCPP (Constructor)</h4> |
|
77 <b>LexerCPP</b>(<i>parent=None, caseInsensitiveKeywords = False</i>) |
|
78 <p> |
|
79 Constructor |
|
80 </p><dl> |
|
81 <dt><i>parent</i></dt> |
|
82 <dd> |
|
83 parent widget of this lexer |
|
84 </dd> |
|
85 </dl><a NAME="LexerCPP.autoCompletionWordSeparators" ID="LexerCPP.autoCompletionWordSeparators"></a> |
|
86 <h4>LexerCPP.autoCompletionWordSeparators</h4> |
|
87 <b>autoCompletionWordSeparators</b>(<i></i>) |
|
88 <p> |
|
89 Public method to return the list of separators for autocompletion. |
|
90 </p><dl> |
|
91 <dt>Returns:</dt> |
|
92 <dd> |
|
93 list of separators (list of strings) |
|
94 </dd> |
|
95 </dl><a NAME="LexerCPP.initProperties" ID="LexerCPP.initProperties"></a> |
|
96 <h4>LexerCPP.initProperties</h4> |
|
97 <b>initProperties</b>(<i></i>) |
|
98 <p> |
|
99 Public slot to initialize the properties. |
|
100 </p><a NAME="LexerCPP.isCommentStyle" ID="LexerCPP.isCommentStyle"></a> |
|
101 <h4>LexerCPP.isCommentStyle</h4> |
|
102 <b>isCommentStyle</b>(<i>style</i>) |
|
103 <p> |
|
104 Public method to check, if a style is a comment style. |
|
105 </p><dl> |
|
106 <dt>Returns:</dt> |
|
107 <dd> |
|
108 flag indicating a comment style (boolean) |
|
109 </dd> |
|
110 </dl><a NAME="LexerCPP.isStringStyle" ID="LexerCPP.isStringStyle"></a> |
|
111 <h4>LexerCPP.isStringStyle</h4> |
|
112 <b>isStringStyle</b>(<i>style</i>) |
|
113 <p> |
|
114 Public method to check, if a style is a string style. |
|
115 </p><dl> |
|
116 <dt>Returns:</dt> |
|
117 <dd> |
|
118 flag indicating a string style (boolean) |
|
119 </dd> |
|
120 </dl> |
|
121 <div align="right"><a href="#top">Up</a></div> |
|
122 <hr /> |
|
123 </body></html> |