|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Preferences.ConfigurationPages.EditorKeywordsPage</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Preferences.ConfigurationPages.EditorKeywordsPage</h1> |
|
23 <p> |
|
24 Module implementing the editor highlighter keywords configuration page. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#EditorKeywordsPage">EditorKeywordsPage</a></td> |
|
34 <td>Class implementing the editor highlighter keywords configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr> |
|
40 <td><a href="#create">create</a></td> |
|
41 <td>Module function to create the configuration page.</td> |
|
42 </tr> |
|
43 </table> |
|
44 <hr /><hr /> |
|
45 <a NAME="EditorKeywordsPage" ID="EditorKeywordsPage"></a> |
|
46 <h2>EditorKeywordsPage</h2> |
|
47 <p> |
|
48 Class implementing the editor highlighter keywords configuration page. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 ConfigurationPageBase, Ui_EditorKeywordsPage |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>MaxKeywordSets</td></tr> |
|
55 </table> |
|
56 <h3>Class Methods</h3> |
|
57 <table> |
|
58 <tr><td>None</td></tr> |
|
59 </table> |
|
60 <h3>Methods</h3> |
|
61 <table> |
|
62 <tr> |
|
63 <td><a href="#EditorKeywordsPage.__init__">EditorKeywordsPage</a></td> |
|
64 <td>Constructor</td> |
|
65 </tr><tr> |
|
66 <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> |
|
68 </tr><tr> |
|
69 <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> |
|
71 </tr><tr> |
|
72 <td><a href="#EditorKeywordsPage.on_languageCombo_activated">on_languageCombo_activated</a></td> |
|
73 <td>Private slot to fill the keywords edit.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#EditorKeywordsPage.on_setSpinBox_valueChanged">on_setSpinBox_valueChanged</a></td> |
|
76 <td>Private slot to fill the keywords edit.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#EditorKeywordsPage.save">save</a></td> |
|
79 <td>Public slot to save the editor highlighter keywords configuration.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="EditorKeywordsPage.__init__" ID="EditorKeywordsPage.__init__"></a> |
|
87 <h4>EditorKeywordsPage (Constructor)</h4> |
|
88 <b>EditorKeywordsPage</b>(<i></i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><a NAME="EditorKeywordsPage.on_allDefaultButton_clicked" ID="EditorKeywordsPage.on_allDefaultButton_clicked"></a> |
|
92 <h4>EditorKeywordsPage.on_allDefaultButton_clicked</h4> |
|
93 <b>on_allDefaultButton_clicked</b>(<i></i>) |
|
94 <p> |
|
95 Private slot to set all keyword sets of the current language to default |
|
96 values. |
|
97 </p><a NAME="EditorKeywordsPage.on_defaultButton_clicked" ID="EditorKeywordsPage.on_defaultButton_clicked"></a> |
|
98 <h4>EditorKeywordsPage.on_defaultButton_clicked</h4> |
|
99 <b>on_defaultButton_clicked</b>(<i></i>) |
|
100 <p> |
|
101 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> |
|
103 <h4>EditorKeywordsPage.on_languageCombo_activated</h4> |
|
104 <b>on_languageCombo_activated</b>(<i>language</i>) |
|
105 <p> |
|
106 Private slot to fill the keywords edit. |
|
107 </p><dl> |
|
108 <dt><i>language</i> (str)</dt> |
|
109 <dd> |
|
110 selected language |
|
111 </dd> |
|
112 </dl><a NAME="EditorKeywordsPage.on_setSpinBox_valueChanged" ID="EditorKeywordsPage.on_setSpinBox_valueChanged"></a> |
|
113 <h4>EditorKeywordsPage.on_setSpinBox_valueChanged</h4> |
|
114 <b>on_setSpinBox_valueChanged</b>(<i>kwSet</i>) |
|
115 <p> |
|
116 Private slot to fill the keywords edit. |
|
117 </p><dl> |
|
118 <dt><i>kwSet</i> (int)</dt> |
|
119 <dd> |
|
120 number of the selected keyword set |
|
121 </dd> |
|
122 </dl><a NAME="EditorKeywordsPage.save" ID="EditorKeywordsPage.save"></a> |
|
123 <h4>EditorKeywordsPage.save</h4> |
|
124 <b>save</b>(<i></i>) |
|
125 <p> |
|
126 Public slot to save the editor highlighter keywords configuration. |
|
127 </p> |
|
128 <div align="right"><a href="#top">Up</a></div> |
|
129 <hr /><hr /> |
|
130 <a NAME="create" ID="create"></a> |
|
131 <h2>create</h2> |
|
132 <b>create</b>(<i>dlg</i>) |
|
133 <p> |
|
134 Module function to create the configuration page. |
|
135 </p><dl> |
|
136 <dt><i>dlg</i> (ConfigurationWidget)</dt> |
|
137 <dd> |
|
138 reference to the configuration dialog |
|
139 </dd> |
|
140 </dl><dl> |
|
141 <dt>Returns:</dt> |
|
142 <dd> |
|
143 reference to the instantiated page |
|
144 </dd> |
|
145 </dl><dl> |
|
146 <dt>Return Type:</dt> |
|
147 <dd> |
|
148 ConfigurationPageBase |
|
149 </dd> |
|
150 </dl> |
|
151 <div align="right"><a href="#top">Up</a></div> |
|
152 <hr /> |
|
153 </body></html> |