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

changeset 8049
af58c1d47e5e
parent 7989
a21d673a8f99
child 8152
0c740fcffd34
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html	Mon Feb 01 16:04:34 2021 +0100
+++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorHighlightingStylesPage.html	Mon Feb 01 16:06:23 2021 +0100
@@ -81,6 +81,10 @@
 <td>Private slot used to change the font of all styles of a selected lexer.</td>
 </tr>
 <tr>
+<td><a href="#EditorHighlightingStylesPage.__applyStyles">__applyStyles</a></td>
+<td>Private method to apply the imported styles to this dialog.</td>
+</tr>
+<tr>
 <td><a href="#EditorHighlightingStylesPage.__changeFont">__changeFont</a></td>
 <td>Private slot to change the highlighter font.</td>
 </tr>
@@ -90,7 +94,7 @@
 </tr>
 <tr>
 <td><a href="#EditorHighlightingStylesPage.__exportStyles">__exportStyles</a></td>
-<td>Private method to export the styles of the given lexers.</td>
+<td>Private method to export the styles of selectable lexers.</td>
 </tr>
 <tr>
 <td><a href="#EditorHighlightingStylesPage.__fontButtonMenuTriggered">__fontButtonMenuTriggered</a></td>
@@ -98,7 +102,7 @@
 </tr>
 <tr>
 <td><a href="#EditorHighlightingStylesPage.__importStyles">__importStyles</a></td>
-<td>Private method to import the styles of the given lexers.</td>
+<td>Private method to import the styles of lexers to be selected.</td>
 </tr>
 <tr>
 <td><a href="#EditorHighlightingStylesPage.__setToDefault">__setToDefault</a></td>
@@ -165,8 +169,8 @@
 <td>Private slot to export the styles of all lexers.</td>
 </tr>
 <tr>
-<td><a href="#EditorHighlightingStylesPage.on_exportCurrentButton_clicked">on_exportCurrentButton_clicked</a></td>
-<td>Private slot to export the styles of the current lexer.</td>
+<td><a href="#EditorHighlightingStylesPage.on_exportButton_clicked">on_exportButton_clicked</a></td>
+<td>Private slot to export styles to be selected.</td>
 </tr>
 <tr>
 <td><a href="#EditorHighlightingStylesPage.on_foregroundButton_clicked">on_foregroundButton_clicked</a></td>
@@ -177,8 +181,8 @@
 <td>Private slot to import the styles of all lexers.</td>
 </tr>
 <tr>
-<td><a href="#EditorHighlightingStylesPage.on_importCurrentButton_clicked">on_importCurrentButton_clicked</a></td>
-<td>Private slot to import the styles of the current lexer.</td>
+<td><a href="#EditorHighlightingStylesPage.on_importButton_clicked">on_importButton_clicked</a></td>
+<td>Private slot to import styles to be selected.</td>
 </tr>
 <tr>
 <td><a href="#EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated">on_lexerLanguageComboBox_activated</a></td>
@@ -243,6 +247,25 @@
 reference to the triggering action (QAction)
 </dd>
 </dl>
+<a NAME="EditorHighlightingStylesPage.__applyStyles" ID="EditorHighlightingStylesPage.__applyStyles"></a>
+<h4>EditorHighlightingStylesPage.__applyStyles</h4>
+<b>__applyStyles</b>(<i>stylesList, importAll=False</i>)
+
+<p>
+        Private method to apply the imported styles to this dialog.
+</p>
+<dl>
+
+<dt><i>stylesList</i> (list of dict)</dt>
+<dd>
+list of imported lexer styles
+</dd>
+<dt><i>importAll</i> (bool (optional))</dt>
+<dd>
+flag indicating to import all styles without asking
+            (defaults to False)
+</dd>
+</dl>
 <a NAME="EditorHighlightingStylesPage.__changeFont" ID="EditorHighlightingStylesPage.__changeFont"></a>
 <h4>EditorHighlightingStylesPage.__changeFont</h4>
 <b>__changeFont</b>(<i>doAll, familyOnly, sizeOnly</i>)
@@ -287,16 +310,17 @@
 </dl>
 <a NAME="EditorHighlightingStylesPage.__exportStyles" ID="EditorHighlightingStylesPage.__exportStyles"></a>
 <h4>EditorHighlightingStylesPage.__exportStyles</h4>
-<b>__exportStyles</b>(<i>lexers</i>)
+<b>__exportStyles</b>(<i>exportAll=False</i>)
 
 <p>
-        Private method to export the styles of the given lexers.
+        Private method to export the styles of selectable lexers.
 </p>
 <dl>
 
-<dt><i>lexers</i></dt>
+<dt><i>exportAll</i> (bool (optional))</dt>
 <dd>
-list of lexer objects for which to export the styles
+flag indicating to export all styles without asking
+            (defaults to False)
 </dd>
 </dl>
 <a NAME="EditorHighlightingStylesPage.__fontButtonMenuTriggered" ID="EditorHighlightingStylesPage.__fontButtonMenuTriggered"></a>
@@ -315,17 +339,17 @@
 </dl>
 <a NAME="EditorHighlightingStylesPage.__importStyles" ID="EditorHighlightingStylesPage.__importStyles"></a>
 <h4>EditorHighlightingStylesPage.__importStyles</h4>
-<b>__importStyles</b>(<i>lexers</i>)
+<b>__importStyles</b>(<i>importAll=False</i>)
 
 <p>
-        Private method to import the styles of the given lexers.
+        Private method to import the styles of lexers to be selected.
 </p>
 <dl>
 
-<dt><i>lexers</i></dt>
+<dt><i>importAll</i> (bool (optional))</dt>
 <dd>
-dictionary of lexer objects for which to import the
-            styles
+flag indicating to import all styles without asking
+            (defaults to False)
 </dd>
 </dl>
 <a NAME="EditorHighlightingStylesPage.__setToDefault" ID="EditorHighlightingStylesPage.__setToDefault"></a>
@@ -496,12 +520,12 @@
 <p>
         Private slot to export the styles of all lexers.
 </p>
-<a NAME="EditorHighlightingStylesPage.on_exportCurrentButton_clicked" ID="EditorHighlightingStylesPage.on_exportCurrentButton_clicked"></a>
-<h4>EditorHighlightingStylesPage.on_exportCurrentButton_clicked</h4>
-<b>on_exportCurrentButton_clicked</b>(<i></i>)
+<a NAME="EditorHighlightingStylesPage.on_exportButton_clicked" ID="EditorHighlightingStylesPage.on_exportButton_clicked"></a>
+<h4>EditorHighlightingStylesPage.on_exportButton_clicked</h4>
+<b>on_exportButton_clicked</b>(<i></i>)
 
 <p>
-        Private slot to export the styles of the current lexer.
+        Private slot to export styles to be selected.
 </p>
 <a NAME="EditorHighlightingStylesPage.on_foregroundButton_clicked" ID="EditorHighlightingStylesPage.on_foregroundButton_clicked"></a>
 <h4>EditorHighlightingStylesPage.on_foregroundButton_clicked</h4>
@@ -518,12 +542,12 @@
 <p>
         Private slot to import the styles of all lexers.
 </p>
-<a NAME="EditorHighlightingStylesPage.on_importCurrentButton_clicked" ID="EditorHighlightingStylesPage.on_importCurrentButton_clicked"></a>
-<h4>EditorHighlightingStylesPage.on_importCurrentButton_clicked</h4>
-<b>on_importCurrentButton_clicked</b>(<i></i>)
+<a NAME="EditorHighlightingStylesPage.on_importButton_clicked" ID="EditorHighlightingStylesPage.on_importButton_clicked"></a>
+<h4>EditorHighlightingStylesPage.on_importButton_clicked</h4>
+<b>on_importButton_clicked</b>(<i></i>)
 
 <p>
-        Private slot to import the styles of the current lexer.
+        Private slot to import styles to be selected.
 </p>
 <a NAME="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated" ID="EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated"></a>
 <h4>EditorHighlightingStylesPage.on_lexerLanguageComboBox_activated</h4>

eric ide

mercurial