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

branch
eric7
changeset 8877
548d45c3f571
parent 8596
d64760b2da50
diff -r 2001accf55b3 -r 548d45c3f571 eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html
--- a/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html	Wed Dec 29 16:53:04 2021 +0100
+++ b/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html	Wed Dec 29 16:54:36 2021 +0100
@@ -103,6 +103,10 @@
 <td>Private method to style one item of the style element list.</td>
 </tr>
 <tr>
+<td><a href="#EditorHighlightingStylesPage.__styleSample">__styleSample</a></td>
+<td>Private method to style the sample text.</td>
+</tr>
+<tr>
 <td><a href="#EditorHighlightingStylesPage.__stylesForItem">__stylesForItem</a></td>
 <td>Private method to get the style and sub-style number of the given item.</td>
 </tr>
@@ -385,6 +389,28 @@
 sub-style number
 </dd>
 </dl>
+<a NAME="EditorHighlightingStylesPage.__styleSample" ID="EditorHighlightingStylesPage.__styleSample"></a>
+<h4>EditorHighlightingStylesPage.__styleSample</h4>
+<b>__styleSample</b>(<i>color, paper, font=None</i>)
+
+<p>
+        Private method to style the sample text.
+</p>
+<dl>
+
+<dt><i>color</i> (QColor)</dt>
+<dd>
+foreground color for the sample
+</dd>
+<dt><i>paper</i> (QColor)</dt>
+<dd>
+background color for the sample
+</dd>
+<dt><i>font</i> (QFont (optional))</dt>
+<dd>
+font for the sample (defaults to None)
+</dd>
+</dl>
 <a NAME="EditorHighlightingStylesPage.__stylesForItem" ID="EditorHighlightingStylesPage.__stylesForItem"></a>
 <h4>EditorHighlightingStylesPage.__stylesForItem</h4>
 <b>__stylesForItem</b>(<i>itm</i>)

eric ide

mercurial