|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Preferences.ConfigurationPages.EditorStylesPage</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Preferences.ConfigurationPages.EditorStylesPage</h1> |
|
12 <p> |
|
13 Module implementing the Editor Styles configuration page. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#EditorStylesPage">EditorStylesPage</a></td> |
|
23 <td>Class implementing the Editor Styles configuration page.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr> |
|
29 <td><a href="#create">create</a></td> |
|
30 <td>Module function to create the configuration page.</td> |
|
31 </tr> |
|
32 </table> |
|
33 <hr /><hr /> |
|
34 <a NAME="EditorStylesPage" ID="EditorStylesPage"></a> |
|
35 <h2>EditorStylesPage</h2> |
|
36 <p> |
|
37 Class implementing the Editor Styles configuration page. |
|
38 </p> |
|
39 <h3>Derived from</h3> |
|
40 ConfigurationPageBase, Ui_EditorStylesPage |
|
41 <h3>Class Attributes</h3> |
|
42 <table> |
|
43 <tr><td>None</td></tr> |
|
44 </table> |
|
45 <h3>Methods</h3> |
|
46 <table> |
|
47 <tr> |
|
48 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td> |
|
49 <td>Constructor</td> |
|
50 </tr><tr> |
|
51 <td><a href="#EditorStylesPage.on_caretForegroundButton_clicked">on_caretForegroundButton_clicked</a></td> |
|
52 <td>Private slot to set the foreground colour of the caret.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#EditorStylesPage.on_caretlineBackgroundButton_clicked">on_caretlineBackgroundButton_clicked</a></td> |
|
55 <td>Private slot to set the background colour of the caretline.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#EditorStylesPage.on_currentLineMarkerButton_clicked">on_currentLineMarkerButton_clicked</a></td> |
|
58 <td>Private slot to set the colour for the highlight of the current line.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#EditorStylesPage.on_defaultFontButton_clicked">on_defaultFontButton_clicked</a></td> |
|
61 <td>Private method used to select the default font for the editor.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#EditorStylesPage.on_edgeBackgroundColorButton_clicked">on_edgeBackgroundColorButton_clicked</a></td> |
|
64 <td>Private slot to set the colour for the edge background or line.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#EditorStylesPage.on_errorMarkerButton_clicked">on_errorMarkerButton_clicked</a></td> |
|
67 <td>Private slot to set the colour for the highlight of the error line.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#EditorStylesPage.on_foldmarginBackgroundButton_clicked">on_foldmarginBackgroundButton_clicked</a></td> |
|
70 <td>Private slot to set the background colour for the foldmargin.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#EditorStylesPage.on_linenumbersFontButton_clicked">on_linenumbersFontButton_clicked</a></td> |
|
73 <td>Private method used to select the font for the editor margins.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#EditorStylesPage.on_marginsBackgroundButton_clicked">on_marginsBackgroundButton_clicked</a></td> |
|
76 <td>Private slot to set the background colour for the margins.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#EditorStylesPage.on_marginsForegroundButton_clicked">on_marginsForegroundButton_clicked</a></td> |
|
79 <td>Private slot to set the foreground colour for the margins.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#EditorStylesPage.on_matchingBracesBackButton_clicked">on_matchingBracesBackButton_clicked</a></td> |
|
82 <td>Private slot to set the background colour for highlighting matching braces.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#EditorStylesPage.on_matchingBracesButton_clicked">on_matchingBracesButton_clicked</a></td> |
|
85 <td>Private slot to set the colour for highlighting matching braces.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#EditorStylesPage.on_monospacedFontButton_clicked">on_monospacedFontButton_clicked</a></td> |
|
88 <td>Private method used to select the font to be used as the monospaced font.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#EditorStylesPage.on_nonmatchingBracesBackButton_clicked">on_nonmatchingBracesBackButton_clicked</a></td> |
|
91 <td>Private slot to set the background colour for highlighting nonmatching braces.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#EditorStylesPage.on_nonmatchingBracesButton_clicked">on_nonmatchingBracesButton_clicked</a></td> |
|
94 <td>Private slot to set the colour for highlighting nonmatching braces.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#EditorStylesPage.on_selectionBackgroundButton_clicked">on_selectionBackgroundButton_clicked</a></td> |
|
97 <td>Private slot to set the background colour of the selection.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#EditorStylesPage.on_selectionForegroundButton_clicked">on_selectionForegroundButton_clicked</a></td> |
|
100 <td>Private slot to set the foreground colour of the selection.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#EditorStylesPage.polishPage">polishPage</a></td> |
|
103 <td>Public slot to perform some polishing actions.</td> |
|
104 </tr><tr> |
|
105 <td><a href="#EditorStylesPage.save">save</a></td> |
|
106 <td>Public slot to save the Editor Styles configuration.</td> |
|
107 </tr> |
|
108 </table> |
|
109 <a NAME="EditorStylesPage.__init__" ID="EditorStylesPage.__init__"></a> |
|
110 <h4>EditorStylesPage (Constructor)</h4> |
|
111 <b>EditorStylesPage</b>(<i></i>) |
|
112 <p> |
|
113 Constructor |
|
114 </p><a NAME="EditorStylesPage.on_caretForegroundButton_clicked" ID="EditorStylesPage.on_caretForegroundButton_clicked"></a> |
|
115 <h4>EditorStylesPage.on_caretForegroundButton_clicked</h4> |
|
116 <b>on_caretForegroundButton_clicked</b>(<i></i>) |
|
117 <p> |
|
118 Private slot to set the foreground colour of the caret. |
|
119 </p><a NAME="EditorStylesPage.on_caretlineBackgroundButton_clicked" ID="EditorStylesPage.on_caretlineBackgroundButton_clicked"></a> |
|
120 <h4>EditorStylesPage.on_caretlineBackgroundButton_clicked</h4> |
|
121 <b>on_caretlineBackgroundButton_clicked</b>(<i></i>) |
|
122 <p> |
|
123 Private slot to set the background colour of the caretline. |
|
124 </p><a NAME="EditorStylesPage.on_currentLineMarkerButton_clicked" ID="EditorStylesPage.on_currentLineMarkerButton_clicked"></a> |
|
125 <h4>EditorStylesPage.on_currentLineMarkerButton_clicked</h4> |
|
126 <b>on_currentLineMarkerButton_clicked</b>(<i></i>) |
|
127 <p> |
|
128 Private slot to set the colour for the highlight of the current line. |
|
129 </p><a NAME="EditorStylesPage.on_defaultFontButton_clicked" ID="EditorStylesPage.on_defaultFontButton_clicked"></a> |
|
130 <h4>EditorStylesPage.on_defaultFontButton_clicked</h4> |
|
131 <b>on_defaultFontButton_clicked</b>(<i></i>) |
|
132 <p> |
|
133 Private method used to select the default font for the editor. |
|
134 </p><a NAME="EditorStylesPage.on_edgeBackgroundColorButton_clicked" ID="EditorStylesPage.on_edgeBackgroundColorButton_clicked"></a> |
|
135 <h4>EditorStylesPage.on_edgeBackgroundColorButton_clicked</h4> |
|
136 <b>on_edgeBackgroundColorButton_clicked</b>(<i></i>) |
|
137 <p> |
|
138 Private slot to set the colour for the edge background or line. |
|
139 </p><a NAME="EditorStylesPage.on_errorMarkerButton_clicked" ID="EditorStylesPage.on_errorMarkerButton_clicked"></a> |
|
140 <h4>EditorStylesPage.on_errorMarkerButton_clicked</h4> |
|
141 <b>on_errorMarkerButton_clicked</b>(<i></i>) |
|
142 <p> |
|
143 Private slot to set the colour for the highlight of the error line. |
|
144 </p><a NAME="EditorStylesPage.on_foldmarginBackgroundButton_clicked" ID="EditorStylesPage.on_foldmarginBackgroundButton_clicked"></a> |
|
145 <h4>EditorStylesPage.on_foldmarginBackgroundButton_clicked</h4> |
|
146 <b>on_foldmarginBackgroundButton_clicked</b>(<i></i>) |
|
147 <p> |
|
148 Private slot to set the background colour for the foldmargin. |
|
149 </p><a NAME="EditorStylesPage.on_linenumbersFontButton_clicked" ID="EditorStylesPage.on_linenumbersFontButton_clicked"></a> |
|
150 <h4>EditorStylesPage.on_linenumbersFontButton_clicked</h4> |
|
151 <b>on_linenumbersFontButton_clicked</b>(<i></i>) |
|
152 <p> |
|
153 Private method used to select the font for the editor margins. |
|
154 </p><a NAME="EditorStylesPage.on_marginsBackgroundButton_clicked" ID="EditorStylesPage.on_marginsBackgroundButton_clicked"></a> |
|
155 <h4>EditorStylesPage.on_marginsBackgroundButton_clicked</h4> |
|
156 <b>on_marginsBackgroundButton_clicked</b>(<i></i>) |
|
157 <p> |
|
158 Private slot to set the background colour for the margins. |
|
159 </p><a NAME="EditorStylesPage.on_marginsForegroundButton_clicked" ID="EditorStylesPage.on_marginsForegroundButton_clicked"></a> |
|
160 <h4>EditorStylesPage.on_marginsForegroundButton_clicked</h4> |
|
161 <b>on_marginsForegroundButton_clicked</b>(<i></i>) |
|
162 <p> |
|
163 Private slot to set the foreground colour for the margins. |
|
164 </p><a NAME="EditorStylesPage.on_matchingBracesBackButton_clicked" ID="EditorStylesPage.on_matchingBracesBackButton_clicked"></a> |
|
165 <h4>EditorStylesPage.on_matchingBracesBackButton_clicked</h4> |
|
166 <b>on_matchingBracesBackButton_clicked</b>(<i></i>) |
|
167 <p> |
|
168 Private slot to set the background colour for highlighting matching braces. |
|
169 </p><a NAME="EditorStylesPage.on_matchingBracesButton_clicked" ID="EditorStylesPage.on_matchingBracesButton_clicked"></a> |
|
170 <h4>EditorStylesPage.on_matchingBracesButton_clicked</h4> |
|
171 <b>on_matchingBracesButton_clicked</b>(<i></i>) |
|
172 <p> |
|
173 Private slot to set the colour for highlighting matching braces. |
|
174 </p><a NAME="EditorStylesPage.on_monospacedFontButton_clicked" ID="EditorStylesPage.on_monospacedFontButton_clicked"></a> |
|
175 <h4>EditorStylesPage.on_monospacedFontButton_clicked</h4> |
|
176 <b>on_monospacedFontButton_clicked</b>(<i></i>) |
|
177 <p> |
|
178 Private method used to select the font to be used as the monospaced font. |
|
179 </p><a NAME="EditorStylesPage.on_nonmatchingBracesBackButton_clicked" ID="EditorStylesPage.on_nonmatchingBracesBackButton_clicked"></a> |
|
180 <h4>EditorStylesPage.on_nonmatchingBracesBackButton_clicked</h4> |
|
181 <b>on_nonmatchingBracesBackButton_clicked</b>(<i></i>) |
|
182 <p> |
|
183 Private slot to set the background colour for highlighting nonmatching braces. |
|
184 </p><a NAME="EditorStylesPage.on_nonmatchingBracesButton_clicked" ID="EditorStylesPage.on_nonmatchingBracesButton_clicked"></a> |
|
185 <h4>EditorStylesPage.on_nonmatchingBracesButton_clicked</h4> |
|
186 <b>on_nonmatchingBracesButton_clicked</b>(<i></i>) |
|
187 <p> |
|
188 Private slot to set the colour for highlighting nonmatching braces. |
|
189 </p><a NAME="EditorStylesPage.on_selectionBackgroundButton_clicked" ID="EditorStylesPage.on_selectionBackgroundButton_clicked"></a> |
|
190 <h4>EditorStylesPage.on_selectionBackgroundButton_clicked</h4> |
|
191 <b>on_selectionBackgroundButton_clicked</b>(<i></i>) |
|
192 <p> |
|
193 Private slot to set the background colour of the selection. |
|
194 </p><a NAME="EditorStylesPage.on_selectionForegroundButton_clicked" ID="EditorStylesPage.on_selectionForegroundButton_clicked"></a> |
|
195 <h4>EditorStylesPage.on_selectionForegroundButton_clicked</h4> |
|
196 <b>on_selectionForegroundButton_clicked</b>(<i></i>) |
|
197 <p> |
|
198 Private slot to set the foreground colour of the selection. |
|
199 </p><a NAME="EditorStylesPage.polishPage" ID="EditorStylesPage.polishPage"></a> |
|
200 <h4>EditorStylesPage.polishPage</h4> |
|
201 <b>polishPage</b>(<i></i>) |
|
202 <p> |
|
203 Public slot to perform some polishing actions. |
|
204 </p><a NAME="EditorStylesPage.save" ID="EditorStylesPage.save"></a> |
|
205 <h4>EditorStylesPage.save</h4> |
|
206 <b>save</b>(<i></i>) |
|
207 <p> |
|
208 Public slot to save the Editor Styles configuration. |
|
209 </p> |
|
210 <div align="right"><a href="#top">Up</a></div> |
|
211 <hr /><hr /> |
|
212 <a NAME="create" ID="create"></a> |
|
213 <h2>create</h2> |
|
214 <b>create</b>(<i>dlg</i>) |
|
215 <p> |
|
216 Module function to create the configuration page. |
|
217 </p><dl> |
|
218 <dt><i>dlg</i></dt> |
|
219 <dd> |
|
220 reference to the configuration dialog |
|
221 </dd> |
|
222 </dl> |
|
223 <div align="right"><a href="#top">Up</a></div> |
|
224 <hr /> |
|
225 </body></html> |