Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.Preferences.ConfigurationPages.EditorKeywordsPage</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Preferences.ConfigurationPages.EditorKeywordsPage</h1> <p> Module implementing the editor highlighter keywords configuration page. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#EditorKeywordsPage">EditorKeywordsPage</a></td> <td>Class implementing the editor highlighter keywords configuration page.</td> </tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#create">create</a></td> <td>Module function to create the configuration page.</td> </tr> </table> <hr /> <hr /> <a NAME="EditorKeywordsPage" ID="EditorKeywordsPage"></a> <h2>EditorKeywordsPage</h2> <p> Class implementing the editor highlighter keywords configuration page. </p> <h3>Derived from</h3> ConfigurationPageBase, Ui_EditorKeywordsPage <h3>Class Attributes</h3> <table> <tr><td>MaxKeywordSets</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#EditorKeywordsPage.__init__">EditorKeywordsPage</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#EditorKeywordsPage.__populateLanguages">__populateLanguages</a></td> <td>Private method to populate the language selection box.</td> </tr> <tr> <td><a href="#EditorKeywordsPage.on_allDefaultButton_clicked">on_allDefaultButton_clicked</a></td> <td>Private slot to set all keyword sets of the current language to default values.</td> </tr> <tr> <td><a href="#EditorKeywordsPage.on_defaultButton_clicked">on_defaultButton_clicked</a></td> <td>Private slot to set the current keyword set to default values.</td> </tr> <tr> <td><a href="#EditorKeywordsPage.on_languageCombo_activated">on_languageCombo_activated</a></td> <td>Private slot to fill the keywords edit.</td> </tr> <tr> <td><a href="#EditorKeywordsPage.on_setSpinBox_valueChanged">on_setSpinBox_valueChanged</a></td> <td>Private slot to fill the keywords edit.</td> </tr> <tr> <td><a href="#EditorKeywordsPage.save">save</a></td> <td>Public slot to save the editor highlighter keywords configuration.</td> </tr> <tr> <td><a href="#EditorKeywordsPage.setMode">setMode</a></td> <td>Public method to perform mode dependent setups.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="EditorKeywordsPage.__init__" ID="EditorKeywordsPage.__init__"></a> <h4>EditorKeywordsPage (Constructor)</h4> <b>EditorKeywordsPage</b>(<i></i>) <p> Constructor </p> <a NAME="EditorKeywordsPage.__populateLanguages" ID="EditorKeywordsPage.__populateLanguages"></a> <h4>EditorKeywordsPage.__populateLanguages</h4> <b>__populateLanguages</b>(<i>languages</i>) <p> Private method to populate the language selection box. </p> <dl> <dt><i>languages</i> (list of str)</dt> <dd> list of languages to include in the language selector </dd> </dl> <a NAME="EditorKeywordsPage.on_allDefaultButton_clicked" ID="EditorKeywordsPage.on_allDefaultButton_clicked"></a> <h4>EditorKeywordsPage.on_allDefaultButton_clicked</h4> <b>on_allDefaultButton_clicked</b>(<i></i>) <p> Private slot to set all keyword sets of the current language to default values. </p> <a NAME="EditorKeywordsPage.on_defaultButton_clicked" ID="EditorKeywordsPage.on_defaultButton_clicked"></a> <h4>EditorKeywordsPage.on_defaultButton_clicked</h4> <b>on_defaultButton_clicked</b>(<i></i>) <p> Private slot to set the current keyword set to default values. </p> <a NAME="EditorKeywordsPage.on_languageCombo_activated" ID="EditorKeywordsPage.on_languageCombo_activated"></a> <h4>EditorKeywordsPage.on_languageCombo_activated</h4> <b>on_languageCombo_activated</b>(<i>index</i>) <p> Private slot to fill the keywords edit. </p> <dl> <dt><i>index</i> (int)</dt> <dd> index of the selected entry </dd> </dl> <a NAME="EditorKeywordsPage.on_setSpinBox_valueChanged" ID="EditorKeywordsPage.on_setSpinBox_valueChanged"></a> <h4>EditorKeywordsPage.on_setSpinBox_valueChanged</h4> <b>on_setSpinBox_valueChanged</b>(<i>kwSet</i>) <p> Private slot to fill the keywords edit. </p> <dl> <dt><i>kwSet</i> (int)</dt> <dd> number of the selected keyword set </dd> </dl> <a NAME="EditorKeywordsPage.save" ID="EditorKeywordsPage.save"></a> <h4>EditorKeywordsPage.save</h4> <b>save</b>(<i></i>) <p> Public slot to save the editor highlighter keywords configuration. </p> <a NAME="EditorKeywordsPage.setMode" ID="EditorKeywordsPage.setMode"></a> <h4>EditorKeywordsPage.setMode</h4> <b>setMode</b>(<i>displayMode</i>) <p> Public method to perform mode dependent setups. </p> <dl> <dt><i>displayMode</i> (ConfigurationMode)</dt> <dd> mode of the configuration dialog </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="create" ID="create"></a> <h2>create</h2> <b>create</b>(<i>_dlg</i>) <p> Module function to create the configuration page. </p> <dl> <dt><i>_dlg</i> (ConfigurationWidget)</dt> <dd> reference to the configuration dialog (unused) </dd> </dl> <dl> <dt>Return:</dt> <dd> reference to the instantiated page </dd> </dl> <dl> <dt>Return Type:</dt> <dd> ConfigurationPageBase </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>