16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.QScintilla.Lexers.LexerMatlab</h1> |
23 <h1>eric6.QScintilla.Lexers.LexerMatlab</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a Matlab lexer with some additional methods. |
26 Module implementing a Matlab lexer with some additional methods. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#LexerMatlab">LexerMatlab</a></td> |
38 <td><a href="#LexerMatlab">LexerMatlab</a></td> |
34 <td>Subclass to implement some additional lexer dependent methods.</td> |
39 <td>Subclass to implement some additional lexer dependent methods.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="LexerMatlab" ID="LexerMatlab"></a> |
49 <a NAME="LexerMatlab" ID="LexerMatlab"></a> |
43 <h2>LexerMatlab</h2> |
50 <h2>LexerMatlab</h2> |
|
51 |
44 <p> |
52 <p> |
45 Subclass to implement some additional lexer dependent methods. |
53 Subclass to implement some additional lexer dependent methods. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 Lexer, QsciLexerMatlab |
56 Lexer, QsciLexerMatlab |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#LexerMatlab.__init__">LexerMatlab</a></td> |
72 <td><a href="#LexerMatlab.__init__">LexerMatlab</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#LexerMatlab.defaultKeywords">defaultKeywords</a></td> |
76 <td><a href="#LexerMatlab.defaultKeywords">defaultKeywords</a></td> |
64 <td>Public method to get the default keywords.</td> |
77 <td>Public method to get the default keywords.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#LexerMatlab.isCommentStyle">isCommentStyle</a></td> |
80 <td><a href="#LexerMatlab.isCommentStyle">isCommentStyle</a></td> |
67 <td>Public method to check, if a style is a comment style.</td> |
81 <td>Public method to check, if a style is a comment style.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#LexerMatlab.isStringStyle">isStringStyle</a></td> |
84 <td><a href="#LexerMatlab.isStringStyle">isStringStyle</a></td> |
70 <td>Public method to check, if a style is a string style.</td> |
85 <td>Public method to check, if a style is a string style.</td> |
71 </tr> |
86 </tr> |
72 </table> |
87 </table> |
73 <h3>Static Methods</h3> |
88 <h3>Static Methods</h3> |
|
89 |
74 <table> |
90 <table> |
75 <tr><td>None</td></tr> |
91 <tr><td>None</td></tr> |
76 </table> |
92 </table> |
|
93 |
77 <a NAME="LexerMatlab.__init__" ID="LexerMatlab.__init__"></a> |
94 <a NAME="LexerMatlab.__init__" ID="LexerMatlab.__init__"></a> |
78 <h4>LexerMatlab (Constructor)</h4> |
95 <h4>LexerMatlab (Constructor)</h4> |
79 <b>LexerMatlab</b>(<i>parent=None</i>) |
96 <b>LexerMatlab</b>(<i>parent=None</i>) |
|
97 |
80 <p> |
98 <p> |
81 Constructor |
99 Constructor |
82 </p><dl> |
100 </p> |
|
101 <dl> |
|
102 |
83 <dt><i>parent</i></dt> |
103 <dt><i>parent</i></dt> |
84 <dd> |
104 <dd> |
85 parent widget of this lexer |
105 parent widget of this lexer |
86 </dd> |
106 </dd> |
87 </dl><a NAME="LexerMatlab.defaultKeywords" ID="LexerMatlab.defaultKeywords"></a> |
107 </dl> |
|
108 <a NAME="LexerMatlab.defaultKeywords" ID="LexerMatlab.defaultKeywords"></a> |
88 <h4>LexerMatlab.defaultKeywords</h4> |
109 <h4>LexerMatlab.defaultKeywords</h4> |
89 <b>defaultKeywords</b>(<i>kwSet</i>) |
110 <b>defaultKeywords</b>(<i>kwSet</i>) |
|
111 |
90 <p> |
112 <p> |
91 Public method to get the default keywords. |
113 Public method to get the default keywords. |
92 </p><dl> |
114 </p> |
|
115 <dl> |
|
116 |
93 <dt><i>kwSet</i></dt> |
117 <dt><i>kwSet</i></dt> |
94 <dd> |
118 <dd> |
95 number of the keyword set (integer) |
119 number of the keyword set (integer) |
96 </dd> |
120 </dd> |
97 </dl><dl> |
121 </dl> |
|
122 <dl> |
98 <dt>Returns:</dt> |
123 <dt>Returns:</dt> |
99 <dd> |
124 <dd> |
100 string giving the keywords (string) or None |
125 string giving the keywords (string) or None |
101 </dd> |
126 </dd> |
102 </dl><a NAME="LexerMatlab.isCommentStyle" ID="LexerMatlab.isCommentStyle"></a> |
127 </dl> |
|
128 <a NAME="LexerMatlab.isCommentStyle" ID="LexerMatlab.isCommentStyle"></a> |
103 <h4>LexerMatlab.isCommentStyle</h4> |
129 <h4>LexerMatlab.isCommentStyle</h4> |
104 <b>isCommentStyle</b>(<i>style</i>) |
130 <b>isCommentStyle</b>(<i>style</i>) |
|
131 |
105 <p> |
132 <p> |
106 Public method to check, if a style is a comment style. |
133 Public method to check, if a style is a comment style. |
107 </p><dl> |
134 </p> |
|
135 <dl> |
|
136 |
108 <dt><i>style</i></dt> |
137 <dt><i>style</i></dt> |
109 <dd> |
138 <dd> |
110 style to check (integer) |
139 style to check (integer) |
111 </dd> |
140 </dd> |
112 </dl><dl> |
141 </dl> |
|
142 <dl> |
113 <dt>Returns:</dt> |
143 <dt>Returns:</dt> |
114 <dd> |
144 <dd> |
115 flag indicating a comment style (boolean) |
145 flag indicating a comment style (boolean) |
116 </dd> |
146 </dd> |
117 </dl><a NAME="LexerMatlab.isStringStyle" ID="LexerMatlab.isStringStyle"></a> |
147 </dl> |
|
148 <a NAME="LexerMatlab.isStringStyle" ID="LexerMatlab.isStringStyle"></a> |
118 <h4>LexerMatlab.isStringStyle</h4> |
149 <h4>LexerMatlab.isStringStyle</h4> |
119 <b>isStringStyle</b>(<i>style</i>) |
150 <b>isStringStyle</b>(<i>style</i>) |
|
151 |
120 <p> |
152 <p> |
121 Public method to check, if a style is a string style. |
153 Public method to check, if a style is a string style. |
122 </p><dl> |
154 </p> |
|
155 <dl> |
|
156 |
123 <dt><i>style</i></dt> |
157 <dt><i>style</i></dt> |
124 <dd> |
158 <dd> |
125 style to check (integer) |
159 style to check (integer) |
126 </dd> |
160 </dd> |
127 </dl><dl> |
161 </dl> |
|
162 <dl> |
128 <dt>Returns:</dt> |
163 <dt>Returns:</dt> |
129 <dd> |
164 <dd> |
130 flag indicating a string style (boolean) |
165 flag indicating a string style (boolean) |
131 </dd> |
166 </dd> |
132 </dl> |
167 </dl> |