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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Preferences.ConfigurationPages.EditorKeywordsPage</h1> 23 <h1>eric6.Preferences.ConfigurationPages.EditorKeywordsPage</h1>
24
23 <p> 25 <p>
24 Module implementing the editor highlighter keywords configuration page. 26 Module implementing the editor highlighter keywords configuration page.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#EditorKeywordsPage">EditorKeywordsPage</a></td> 38 <td><a href="#EditorKeywordsPage">EditorKeywordsPage</a></td>
34 <td>Class implementing the editor highlighter keywords configuration page.</td> 39 <td>Class implementing the editor highlighter keywords configuration page.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
45
39 <tr> 46 <tr>
40 <td><a href="#create">create</a></td> 47 <td><a href="#create">create</a></td>
41 <td>Module function to create the configuration page.</td> 48 <td>Module function to create the configuration page.</td>
42 </tr> 49 </tr>
43 </table> 50 </table>
44 <hr /><hr /> 51 <hr />
52 <hr />
45 <a NAME="EditorKeywordsPage" ID="EditorKeywordsPage"></a> 53 <a NAME="EditorKeywordsPage" ID="EditorKeywordsPage"></a>
46 <h2>EditorKeywordsPage</h2> 54 <h2>EditorKeywordsPage</h2>
55
47 <p> 56 <p>
48 Class implementing the editor highlighter keywords configuration page. 57 Class implementing the editor highlighter keywords configuration page.
49 </p> 58 </p>
50 <h3>Derived from</h3> 59 <h3>Derived from</h3>
51 ConfigurationPageBase, Ui_EditorKeywordsPage 60 ConfigurationPageBase, Ui_EditorKeywordsPage
52 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
62
53 <table> 63 <table>
54 <tr><td>MaxKeywordSets</td></tr> 64 <tr><td>MaxKeywordSets</td></tr>
55 </table> 65 </table>
56 <h3>Class Methods</h3> 66 <h3>Class Methods</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Methods</h3> 71 <h3>Methods</h3>
72
61 <table> 73 <table>
74
62 <tr> 75 <tr>
63 <td><a href="#EditorKeywordsPage.__init__">EditorKeywordsPage</a></td> 76 <td><a href="#EditorKeywordsPage.__init__">EditorKeywordsPage</a></td>
64 <td>Constructor</td> 77 <td>Constructor</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#EditorKeywordsPage.on_allDefaultButton_clicked">on_allDefaultButton_clicked</a></td> 80 <td><a href="#EditorKeywordsPage.on_allDefaultButton_clicked">on_allDefaultButton_clicked</a></td>
67 <td>Private slot to set all keyword sets of the current language to default values.</td> 81 <td>Private slot to set all keyword sets of the current language to default values.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#EditorKeywordsPage.on_defaultButton_clicked">on_defaultButton_clicked</a></td> 84 <td><a href="#EditorKeywordsPage.on_defaultButton_clicked">on_defaultButton_clicked</a></td>
70 <td>Private slot to set the current keyword set to default values.</td> 85 <td>Private slot to set the current keyword set to default values.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#EditorKeywordsPage.on_languageCombo_activated">on_languageCombo_activated</a></td> 88 <td><a href="#EditorKeywordsPage.on_languageCombo_activated">on_languageCombo_activated</a></td>
73 <td>Private slot to fill the keywords edit.</td> 89 <td>Private slot to fill the keywords edit.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#EditorKeywordsPage.on_setSpinBox_valueChanged">on_setSpinBox_valueChanged</a></td> 92 <td><a href="#EditorKeywordsPage.on_setSpinBox_valueChanged">on_setSpinBox_valueChanged</a></td>
76 <td>Private slot to fill the keywords edit.</td> 93 <td>Private slot to fill the keywords edit.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#EditorKeywordsPage.save">save</a></td> 96 <td><a href="#EditorKeywordsPage.save">save</a></td>
79 <td>Public slot to save the editor highlighter keywords configuration.</td> 97 <td>Public slot to save the editor highlighter keywords configuration.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
101
83 <table> 102 <table>
84 <tr><td>None</td></tr> 103 <tr><td>None</td></tr>
85 </table> 104 </table>
105
86 <a NAME="EditorKeywordsPage.__init__" ID="EditorKeywordsPage.__init__"></a> 106 <a NAME="EditorKeywordsPage.__init__" ID="EditorKeywordsPage.__init__"></a>
87 <h4>EditorKeywordsPage (Constructor)</h4> 107 <h4>EditorKeywordsPage (Constructor)</h4>
88 <b>EditorKeywordsPage</b>(<i></i>) 108 <b>EditorKeywordsPage</b>(<i></i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><a NAME="EditorKeywordsPage.on_allDefaultButton_clicked" ID="EditorKeywordsPage.on_allDefaultButton_clicked"></a> 112 </p>
113 <a NAME="EditorKeywordsPage.on_allDefaultButton_clicked" ID="EditorKeywordsPage.on_allDefaultButton_clicked"></a>
92 <h4>EditorKeywordsPage.on_allDefaultButton_clicked</h4> 114 <h4>EditorKeywordsPage.on_allDefaultButton_clicked</h4>
93 <b>on_allDefaultButton_clicked</b>(<i></i>) 115 <b>on_allDefaultButton_clicked</b>(<i></i>)
116
94 <p> 117 <p>
95 Private slot to set all keyword sets of the current language to default 118 Private slot to set all keyword sets of the current language to default
96 values. 119 values.
97 </p><a NAME="EditorKeywordsPage.on_defaultButton_clicked" ID="EditorKeywordsPage.on_defaultButton_clicked"></a> 120 </p>
121 <a NAME="EditorKeywordsPage.on_defaultButton_clicked" ID="EditorKeywordsPage.on_defaultButton_clicked"></a>
98 <h4>EditorKeywordsPage.on_defaultButton_clicked</h4> 122 <h4>EditorKeywordsPage.on_defaultButton_clicked</h4>
99 <b>on_defaultButton_clicked</b>(<i></i>) 123 <b>on_defaultButton_clicked</b>(<i></i>)
124
100 <p> 125 <p>
101 Private slot to set the current keyword set to default values. 126 Private slot to set the current keyword set to default values.
102 </p><a NAME="EditorKeywordsPage.on_languageCombo_activated" ID="EditorKeywordsPage.on_languageCombo_activated"></a> 127 </p>
128 <a NAME="EditorKeywordsPage.on_languageCombo_activated" ID="EditorKeywordsPage.on_languageCombo_activated"></a>
103 <h4>EditorKeywordsPage.on_languageCombo_activated</h4> 129 <h4>EditorKeywordsPage.on_languageCombo_activated</h4>
104 <b>on_languageCombo_activated</b>(<i>language</i>) 130 <b>on_languageCombo_activated</b>(<i>language</i>)
131
105 <p> 132 <p>
106 Private slot to fill the keywords edit. 133 Private slot to fill the keywords edit.
107 </p><dl> 134 </p>
135 <dl>
136
108 <dt><i>language</i> (str)</dt> 137 <dt><i>language</i> (str)</dt>
109 <dd> 138 <dd>
110 selected language 139 selected language
111 </dd> 140 </dd>
112 </dl><a NAME="EditorKeywordsPage.on_setSpinBox_valueChanged" ID="EditorKeywordsPage.on_setSpinBox_valueChanged"></a> 141 </dl>
142 <a NAME="EditorKeywordsPage.on_setSpinBox_valueChanged" ID="EditorKeywordsPage.on_setSpinBox_valueChanged"></a>
113 <h4>EditorKeywordsPage.on_setSpinBox_valueChanged</h4> 143 <h4>EditorKeywordsPage.on_setSpinBox_valueChanged</h4>
114 <b>on_setSpinBox_valueChanged</b>(<i>kwSet</i>) 144 <b>on_setSpinBox_valueChanged</b>(<i>kwSet</i>)
145
115 <p> 146 <p>
116 Private slot to fill the keywords edit. 147 Private slot to fill the keywords edit.
117 </p><dl> 148 </p>
149 <dl>
150
118 <dt><i>kwSet</i> (int)</dt> 151 <dt><i>kwSet</i> (int)</dt>
119 <dd> 152 <dd>
120 number of the selected keyword set 153 number of the selected keyword set
121 </dd> 154 </dd>
122 </dl><a NAME="EditorKeywordsPage.save" ID="EditorKeywordsPage.save"></a> 155 </dl>
156 <a NAME="EditorKeywordsPage.save" ID="EditorKeywordsPage.save"></a>
123 <h4>EditorKeywordsPage.save</h4> 157 <h4>EditorKeywordsPage.save</h4>
124 <b>save</b>(<i></i>) 158 <b>save</b>(<i></i>)
159
125 <p> 160 <p>
126 Public slot to save the editor highlighter keywords configuration. 161 Public slot to save the editor highlighter keywords configuration.
127 </p> 162 </p>
128 <div align="right"><a href="#top">Up</a></div> 163 <div align="right"><a href="#top">Up</a></div>
129 <hr /><hr /> 164 <hr />
165 <hr />
130 <a NAME="create" ID="create"></a> 166 <a NAME="create" ID="create"></a>
131 <h2>create</h2> 167 <h2>create</h2>
132 <b>create</b>(<i>dlg</i>) 168 <b>create</b>(<i>dlg</i>)
169
133 <p> 170 <p>
134 Module function to create the configuration page. 171 Module function to create the configuration page.
135 </p><dl> 172 </p>
173 <dl>
174
136 <dt><i>dlg</i> (ConfigurationWidget)</dt> 175 <dt><i>dlg</i> (ConfigurationWidget)</dt>
137 <dd> 176 <dd>
138 reference to the configuration dialog 177 reference to the configuration dialog
139 </dd> 178 </dd>
140 </dl><dl> 179 </dl>
180 <dl>
141 <dt>Returns:</dt> 181 <dt>Returns:</dt>
142 <dd> 182 <dd>
143 reference to the instantiated page 183 reference to the instantiated page
144 </dd> 184 </dd>
145 </dl><dl> 185 </dl>
186 <dl>
146 <dt>Return Type:</dt> 187 <dt>Return Type:</dt>
147 <dd> 188 <dd>
148 ConfigurationPageBase 189 ConfigurationPageBase
149 </dd> 190 </dd>
150 </dl> 191 </dl>

eric ide

mercurial