eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html

changeset 8049
af58c1d47e5e
parent 7989
a21d673a8f99
child 8152
0c740fcffd34
equal deleted inserted replaced
8048:aa1a01274673 8049:af58c1d47e5e
79 <tr> 79 <tr>
80 <td><a href="#EditorHighlightingStylesPage.__allFontsButtonMenuTriggered">__allFontsButtonMenuTriggered</a></td> 80 <td><a href="#EditorHighlightingStylesPage.__allFontsButtonMenuTriggered">__allFontsButtonMenuTriggered</a></td>
81 <td>Private slot used to change the font of all styles of a selected lexer.</td> 81 <td>Private slot used to change the font of all styles of a selected lexer.</td>
82 </tr> 82 </tr>
83 <tr> 83 <tr>
84 <td><a href="#EditorHighlightingStylesPage.__applyStyles">__applyStyles</a></td>
85 <td>Private method to apply the imported styles to this dialog.</td>
86 </tr>
87 <tr>
84 <td><a href="#EditorHighlightingStylesPage.__changeFont">__changeFont</a></td> 88 <td><a href="#EditorHighlightingStylesPage.__changeFont">__changeFont</a></td>
85 <td>Private slot to change the highlighter font.</td> 89 <td>Private slot to change the highlighter font.</td>
86 </tr> 90 </tr>
87 <tr> 91 <tr>
88 <td><a href="#EditorHighlightingStylesPage.__currentStyles">__currentStyles</a></td> 92 <td><a href="#EditorHighlightingStylesPage.__currentStyles">__currentStyles</a></td>
89 <td>Private method to get the styles of the current item.</td> 93 <td>Private method to get the styles of the current item.</td>
90 </tr> 94 </tr>
91 <tr> 95 <tr>
92 <td><a href="#EditorHighlightingStylesPage.__exportStyles">__exportStyles</a></td> 96 <td><a href="#EditorHighlightingStylesPage.__exportStyles">__exportStyles</a></td>
93 <td>Private method to export the styles of the given lexers.</td> 97 <td>Private method to export the styles of selectable lexers.</td>
94 </tr> 98 </tr>
95 <tr> 99 <tr>
96 <td><a href="#EditorHighlightingStylesPage.__fontButtonMenuTriggered">__fontButtonMenuTriggered</a></td> 100 <td><a href="#EditorHighlightingStylesPage.__fontButtonMenuTriggered">__fontButtonMenuTriggered</a></td>
97 <td>Private slot used to select the font of the selected style and lexer.</td> 101 <td>Private slot used to select the font of the selected style and lexer.</td>
98 </tr> 102 </tr>
99 <tr> 103 <tr>
100 <td><a href="#EditorHighlightingStylesPage.__importStyles">__importStyles</a></td> 104 <td><a href="#EditorHighlightingStylesPage.__importStyles">__importStyles</a></td>
101 <td>Private method to import the styles of the given lexers.</td> 105 <td>Private method to import the styles of lexers to be selected.</td>
102 </tr> 106 </tr>
103 <tr> 107 <tr>
104 <td><a href="#EditorHighlightingStylesPage.__setToDefault">__setToDefault</a></td> 108 <td><a href="#EditorHighlightingStylesPage.__setToDefault">__setToDefault</a></td>
105 <td>Private method to set a specific style to its default values.</td> 109 <td>Private method to set a specific style to its default values.</td>
106 </tr> 110 </tr>
163 <tr> 167 <tr>
164 <td><a href="#EditorHighlightingStylesPage.on_exportAllButton_clicked">on_exportAllButton_clicked</a></td> 168 <td><a href="#EditorHighlightingStylesPage.on_exportAllButton_clicked">on_exportAllButton_clicked</a></td>
165 <td>Private slot to export the styles of all lexers.</td> 169 <td>Private slot to export the styles of all lexers.</td>
166 </tr> 170 </tr>
167 <tr> 171 <tr>
168 <td><a href="#EditorHighlightingStylesPage.on_exportCurrentButton_clicked">on_exportCurrentButton_clicked</a></td> 172 <td><a href="#EditorHighlightingStylesPage.on_exportButton_clicked">on_exportButton_clicked</a></td>
169 <td>Private slot to export the styles of the current lexer.</td> 173 <td>Private slot to export styles to be selected.</td>
170 </tr> 174 </tr>
171 <tr> 175 <tr>
172 <td><a href="#EditorHighlightingStylesPage.on_foregroundButton_clicked">on_foregroundButton_clicked</a></td> 176 <td><a href="#EditorHighlightingStylesPage.on_foregroundButton_clicked">on_foregroundButton_clicked</a></td>
173 <td>Private method used to select the foreground colour of the selected style and lexer.</td> 177 <td>Private method used to select the foreground colour of the selected style and lexer.</td>
174 </tr> 178 </tr>
175 <tr> 179 <tr>
176 <td><a href="#EditorHighlightingStylesPage.on_importAllButton_clicked">on_importAllButton_clicked</a></td> 180 <td><a href="#EditorHighlightingStylesPage.on_importAllButton_clicked">on_importAllButton_clicked</a></td>
177 <td>Private slot to import the styles of all lexers.</td> 181 <td>Private slot to import the styles of all lexers.</td>
178 </tr> 182 </tr>
179 <tr> 183 <tr>
180 <td><a href="#EditorHighlightingStylesPage.on_importCurrentButton_clicked">on_importCurrentButton_clicked</a></td> 184 <td><a href="#EditorHighlightingStylesPage.on_importButton_clicked">on_importButton_clicked</a></td>
181 <td>Private slot to import the styles of the current lexer.</td> 185 <td>Private slot to import styles to be selected.</td>
182 </tr> 186 </tr>
183 <tr> 187 <tr>
184 <td><a href="#EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated">on_lexerLanguageComboBox_activated</a></td> 188 <td><a href="#EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated">on_lexerLanguageComboBox_activated</a></td>
185 <td>Private slot to fill the style combo of the source page.</td> 189 <td>Private slot to fill the style combo of the source page.</td>
186 </tr> 190 </tr>
241 <dt><i>act</i></dt> 245 <dt><i>act</i></dt>
242 <dd> 246 <dd>
243 reference to the triggering action (QAction) 247 reference to the triggering action (QAction)
244 </dd> 248 </dd>
245 </dl> 249 </dl>
250 <a NAME="EditorHighlightingStylesPage.__applyStyles" ID="EditorHighlightingStylesPage.__applyStyles"></a>
251 <h4>EditorHighlightingStylesPage.__applyStyles</h4>
252 <b>__applyStyles</b>(<i>stylesList, importAll=False</i>)
253
254 <p>
255 Private method to apply the imported styles to this dialog.
256 </p>
257 <dl>
258
259 <dt><i>stylesList</i> (list of dict)</dt>
260 <dd>
261 list of imported lexer styles
262 </dd>
263 <dt><i>importAll</i> (bool (optional))</dt>
264 <dd>
265 flag indicating to import all styles without asking
266 (defaults to False)
267 </dd>
268 </dl>
246 <a NAME="EditorHighlightingStylesPage.__changeFont" ID="EditorHighlightingStylesPage.__changeFont"></a> 269 <a NAME="EditorHighlightingStylesPage.__changeFont" ID="EditorHighlightingStylesPage.__changeFont"></a>
247 <h4>EditorHighlightingStylesPage.__changeFont</h4> 270 <h4>EditorHighlightingStylesPage.__changeFont</h4>
248 <b>__changeFont</b>(<i>doAll, familyOnly, sizeOnly</i>) 271 <b>__changeFont</b>(<i>doAll, familyOnly, sizeOnly</i>)
249 272
250 <p> 273 <p>
285 tuple of (int, int) 308 tuple of (int, int)
286 </dd> 309 </dd>
287 </dl> 310 </dl>
288 <a NAME="EditorHighlightingStylesPage.__exportStyles" ID="EditorHighlightingStylesPage.__exportStyles"></a> 311 <a NAME="EditorHighlightingStylesPage.__exportStyles" ID="EditorHighlightingStylesPage.__exportStyles"></a>
289 <h4>EditorHighlightingStylesPage.__exportStyles</h4> 312 <h4>EditorHighlightingStylesPage.__exportStyles</h4>
290 <b>__exportStyles</b>(<i>lexers</i>) 313 <b>__exportStyles</b>(<i>exportAll=False</i>)
291 314
292 <p> 315 <p>
293 Private method to export the styles of the given lexers. 316 Private method to export the styles of selectable lexers.
294 </p> 317 </p>
295 <dl> 318 <dl>
296 319
297 <dt><i>lexers</i></dt> 320 <dt><i>exportAll</i> (bool (optional))</dt>
298 <dd> 321 <dd>
299 list of lexer objects for which to export the styles 322 flag indicating to export all styles without asking
323 (defaults to False)
300 </dd> 324 </dd>
301 </dl> 325 </dl>
302 <a NAME="EditorHighlightingStylesPage.__fontButtonMenuTriggered" ID="EditorHighlightingStylesPage.__fontButtonMenuTriggered"></a> 326 <a NAME="EditorHighlightingStylesPage.__fontButtonMenuTriggered" ID="EditorHighlightingStylesPage.__fontButtonMenuTriggered"></a>
303 <h4>EditorHighlightingStylesPage.__fontButtonMenuTriggered</h4> 327 <h4>EditorHighlightingStylesPage.__fontButtonMenuTriggered</h4>
304 <b>__fontButtonMenuTriggered</b>(<i>act</i>) 328 <b>__fontButtonMenuTriggered</b>(<i>act</i>)
313 reference to the triggering action (QAction) 337 reference to the triggering action (QAction)
314 </dd> 338 </dd>
315 </dl> 339 </dl>
316 <a NAME="EditorHighlightingStylesPage.__importStyles" ID="EditorHighlightingStylesPage.__importStyles"></a> 340 <a NAME="EditorHighlightingStylesPage.__importStyles" ID="EditorHighlightingStylesPage.__importStyles"></a>
317 <h4>EditorHighlightingStylesPage.__importStyles</h4> 341 <h4>EditorHighlightingStylesPage.__importStyles</h4>
318 <b>__importStyles</b>(<i>lexers</i>) 342 <b>__importStyles</b>(<i>importAll=False</i>)
319 343
320 <p> 344 <p>
321 Private method to import the styles of the given lexers. 345 Private method to import the styles of lexers to be selected.
322 </p> 346 </p>
323 <dl> 347 <dl>
324 348
325 <dt><i>lexers</i></dt> 349 <dt><i>importAll</i> (bool (optional))</dt>
326 <dd> 350 <dd>
327 dictionary of lexer objects for which to import the 351 flag indicating to import all styles without asking
328 styles 352 (defaults to False)
329 </dd> 353 </dd>
330 </dl> 354 </dl>
331 <a NAME="EditorHighlightingStylesPage.__setToDefault" ID="EditorHighlightingStylesPage.__setToDefault"></a> 355 <a NAME="EditorHighlightingStylesPage.__setToDefault" ID="EditorHighlightingStylesPage.__setToDefault"></a>
332 <h4>EditorHighlightingStylesPage.__setToDefault</h4> 356 <h4>EditorHighlightingStylesPage.__setToDefault</h4>
333 <b>__setToDefault</b>(<i>style, substyle</i>) 357 <b>__setToDefault</b>(<i>style, substyle</i>)
494 <b>on_exportAllButton_clicked</b>(<i></i>) 518 <b>on_exportAllButton_clicked</b>(<i></i>)
495 519
496 <p> 520 <p>
497 Private slot to export the styles of all lexers. 521 Private slot to export the styles of all lexers.
498 </p> 522 </p>
499 <a NAME="EditorHighlightingStylesPage.on_exportCurrentButton_clicked" ID="EditorHighlightingStylesPage.on_exportCurrentButton_clicked"></a> 523 <a NAME="EditorHighlightingStylesPage.on_exportButton_clicked" ID="EditorHighlightingStylesPage.on_exportButton_clicked"></a>
500 <h4>EditorHighlightingStylesPage.on_exportCurrentButton_clicked</h4> 524 <h4>EditorHighlightingStylesPage.on_exportButton_clicked</h4>
501 <b>on_exportCurrentButton_clicked</b>(<i></i>) 525 <b>on_exportButton_clicked</b>(<i></i>)
502 526
503 <p> 527 <p>
504 Private slot to export the styles of the current lexer. 528 Private slot to export styles to be selected.
505 </p> 529 </p>
506 <a NAME="EditorHighlightingStylesPage.on_foregroundButton_clicked" ID="EditorHighlightingStylesPage.on_foregroundButton_clicked"></a> 530 <a NAME="EditorHighlightingStylesPage.on_foregroundButton_clicked" ID="EditorHighlightingStylesPage.on_foregroundButton_clicked"></a>
507 <h4>EditorHighlightingStylesPage.on_foregroundButton_clicked</h4> 531 <h4>EditorHighlightingStylesPage.on_foregroundButton_clicked</h4>
508 <b>on_foregroundButton_clicked</b>(<i></i>) 532 <b>on_foregroundButton_clicked</b>(<i></i>)
509 533
516 <b>on_importAllButton_clicked</b>(<i></i>) 540 <b>on_importAllButton_clicked</b>(<i></i>)
517 541
518 <p> 542 <p>
519 Private slot to import the styles of all lexers. 543 Private slot to import the styles of all lexers.
520 </p> 544 </p>
521 <a NAME="EditorHighlightingStylesPage.on_importCurrentButton_clicked" ID="EditorHighlightingStylesPage.on_importCurrentButton_clicked"></a> 545 <a NAME="EditorHighlightingStylesPage.on_importButton_clicked" ID="EditorHighlightingStylesPage.on_importButton_clicked"></a>
522 <h4>EditorHighlightingStylesPage.on_importCurrentButton_clicked</h4> 546 <h4>EditorHighlightingStylesPage.on_importButton_clicked</h4>
523 <b>on_importCurrentButton_clicked</b>(<i></i>) 547 <b>on_importButton_clicked</b>(<i></i>)
524 548
525 <p> 549 <p>
526 Private slot to import the styles of the current lexer. 550 Private slot to import styles to be selected.
527 </p> 551 </p>
528 <a NAME="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated" ID="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated"></a> 552 <a NAME="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated" ID="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated"></a>
529 <h4>EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated</h4> 553 <h4>EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated</h4>
530 <b>on_lexerLanguageComboBox_activated</b>(<i>language</i>) 554 <b>on_lexerLanguageComboBox_activated</b>(<i>language</i>)
531 555

eric ide

mercurial