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

branch
eric7
changeset 8877
548d45c3f571
parent 8596
d64760b2da50
equal deleted inserted replaced
8876:2001accf55b3 8877:548d45c3f571
101 <tr> 101 <tr>
102 <td><a href="#EditorHighlightingStylesPage.__styleOneItem">__styleOneItem</a></td> 102 <td><a href="#EditorHighlightingStylesPage.__styleOneItem">__styleOneItem</a></td>
103 <td>Private method to style one item of the style element list.</td> 103 <td>Private method to style one item of the style element list.</td>
104 </tr> 104 </tr>
105 <tr> 105 <tr>
106 <td><a href="#EditorHighlightingStylesPage.__styleSample">__styleSample</a></td>
107 <td>Private method to style the sample text.</td>
108 </tr>
109 <tr>
106 <td><a href="#EditorHighlightingStylesPage.__stylesForItem">__stylesForItem</a></td> 110 <td><a href="#EditorHighlightingStylesPage.__stylesForItem">__stylesForItem</a></td>
107 <td>Private method to get the style and sub-style number of the given item.</td> 111 <td>Private method to get the style and sub-style number of the given item.</td>
108 </tr> 112 </tr>
109 <tr> 113 <tr>
110 <td><a href="#EditorHighlightingStylesPage.on_addSubstyleButton_clicked">on_addSubstyleButton_clicked</a></td> 114 <td><a href="#EditorHighlightingStylesPage.on_addSubstyleButton_clicked">on_addSubstyleButton_clicked</a></td>
381 base style number 385 base style number
382 </dd> 386 </dd>
383 <dt><i>substyle</i> (int)</dt> 387 <dt><i>substyle</i> (int)</dt>
384 <dd> 388 <dd>
385 sub-style number 389 sub-style number
390 </dd>
391 </dl>
392 <a NAME="EditorHighlightingStylesPage.__styleSample" ID="EditorHighlightingStylesPage.__styleSample"></a>
393 <h4>EditorHighlightingStylesPage.__styleSample</h4>
394 <b>__styleSample</b>(<i>color, paper, font=None</i>)
395
396 <p>
397 Private method to style the sample text.
398 </p>
399 <dl>
400
401 <dt><i>color</i> (QColor)</dt>
402 <dd>
403 foreground color for the sample
404 </dd>
405 <dt><i>paper</i> (QColor)</dt>
406 <dd>
407 background color for the sample
408 </dd>
409 <dt><i>font</i> (QFont (optional))</dt>
410 <dd>
411 font for the sample (defaults to None)
386 </dd> 412 </dd>
387 </dl> 413 </dl>
388 <a NAME="EditorHighlightingStylesPage.__stylesForItem" ID="EditorHighlightingStylesPage.__stylesForItem"></a> 414 <a NAME="EditorHighlightingStylesPage.__stylesForItem" ID="EditorHighlightingStylesPage.__stylesForItem"></a>
389 <h4>EditorHighlightingStylesPage.__stylesForItem</h4> 415 <h4>EditorHighlightingStylesPage.__stylesForItem</h4>
390 <b>__stylesForItem</b>(<i>itm</i>) 416 <b>__stylesForItem</b>(<i>itm</i>)

eric ide

mercurial