eric6/Documentation/Source/eric6.QScintilla.Lexers.LexerQSS.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.QScintilla.Lexers.LexerQSS</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.QScintilla.Lexers.LexerQSS</h1>
23 <p>
24 Module implementing a QSS lexer with some additional methods.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#LexerQSS">LexerQSS</a></td>
34 <td>Subclass to implement some additional lexer dependent methods.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="LexerQSS" ID="LexerQSS"></a>
43 <h2>LexerQSS</h2>
44 <p>
45 Subclass to implement some additional lexer dependent methods.
46 </p>
47 <h3>Derived from</h3>
48 Lexer, QsciLexerCSS
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#LexerQSS.__init__">LexerQSS</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#LexerQSS.defaultKeywords">defaultKeywords</a></td>
64 <td>Public method to get the default keywords.</td>
65 </tr><tr>
66 <td><a href="#LexerQSS.initProperties">initProperties</a></td>
67 <td>Public slot to initialize the properties.</td>
68 </tr><tr>
69 <td><a href="#LexerQSS.isCommentStyle">isCommentStyle</a></td>
70 <td>Public method to check, if a style is a comment style.</td>
71 </tr><tr>
72 <td><a href="#LexerQSS.isStringStyle">isStringStyle</a></td>
73 <td>Public method to check, if a style is a string style.</td>
74 </tr><tr>
75 <td><a href="#LexerQSS.language">language</a></td>
76 <td>Public method to return the lexer language.</td>
77 </tr><tr>
78 <td><a href="#LexerQSS.lexerName">lexerName</a></td>
79 <td>Public method to return the lexer name.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="LexerQSS.__init__" ID="LexerQSS.__init__"></a>
87 <h4>LexerQSS (Constructor)</h4>
88 <b>LexerQSS</b>(<i>parent=None</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>parent</i></dt>
93 <dd>
94 parent widget of this lexer
95 </dd>
96 </dl><a NAME="LexerQSS.defaultKeywords" ID="LexerQSS.defaultKeywords"></a>
97 <h4>LexerQSS.defaultKeywords</h4>
98 <b>defaultKeywords</b>(<i>kwSet</i>)
99 <p>
100 Public method to get the default keywords.
101 </p><dl>
102 <dt><i>kwSet</i></dt>
103 <dd>
104 number of the keyword set (integer)
105 </dd>
106 </dl><dl>
107 <dt>Returns:</dt>
108 <dd>
109 string giving the keywords (string) or None
110 </dd>
111 </dl><a NAME="LexerQSS.initProperties" ID="LexerQSS.initProperties"></a>
112 <h4>LexerQSS.initProperties</h4>
113 <b>initProperties</b>(<i></i>)
114 <p>
115 Public slot to initialize the properties.
116 </p><a NAME="LexerQSS.isCommentStyle" ID="LexerQSS.isCommentStyle"></a>
117 <h4>LexerQSS.isCommentStyle</h4>
118 <b>isCommentStyle</b>(<i>style</i>)
119 <p>
120 Public method to check, if a style is a comment style.
121 </p><dl>
122 <dt><i>style</i></dt>
123 <dd>
124 style to check (integer)
125 </dd>
126 </dl><dl>
127 <dt>Returns:</dt>
128 <dd>
129 flag indicating a comment style (boolean)
130 </dd>
131 </dl><a NAME="LexerQSS.isStringStyle" ID="LexerQSS.isStringStyle"></a>
132 <h4>LexerQSS.isStringStyle</h4>
133 <b>isStringStyle</b>(<i>style</i>)
134 <p>
135 Public method to check, if a style is a string style.
136 </p><dl>
137 <dt><i>style</i></dt>
138 <dd>
139 style to check (integer)
140 </dd>
141 </dl><dl>
142 <dt>Returns:</dt>
143 <dd>
144 flag indicating a string style (boolean)
145 </dd>
146 </dl><a NAME="LexerQSS.language" ID="LexerQSS.language"></a>
147 <h4>LexerQSS.language</h4>
148 <b>language</b>(<i></i>)
149 <p>
150 Public method to return the lexer language.
151 </p><dl>
152 <dt>Returns:</dt>
153 <dd>
154 lexer language (string)
155 </dd>
156 </dl><a NAME="LexerQSS.lexerName" ID="LexerQSS.lexerName"></a>
157 <h4>LexerQSS.lexerName</h4>
158 <b>lexerName</b>(<i></i>)
159 <p>
160 Public method to return the lexer name.
161 </p><dl>
162 <dt>Returns:</dt>
163 <dd>
164 lexer name (string)
165 </dd>
166 </dl>
167 <div align="right"><a href="#top">Up</a></div>
168 <hr />
169 </body></html>

eric ide

mercurial