|
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.EditorHighlightersPage</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.EditorHighlightersPage</h1> |
|
12 <p> |
|
13 Module implementing the Editor Highlighter Associations 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="#EditorHighlightersPage">EditorHighlightersPage</a></td> |
|
23 <td>Class implementing the Editor Highlighter Associations 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="EditorHighlightersPage" ID="EditorHighlightersPage"></a> |
|
35 <h2>EditorHighlightersPage</h2> |
|
36 <p> |
|
37 Class implementing the Editor Highlighter Associations configuration page. |
|
38 </p> |
|
39 <h3>Derived from</h3> |
|
40 ConfigurationPageBase, Ui_EditorHighlightersPage |
|
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="#EditorHighlightersPage.__init__">EditorHighlightersPage</a></td> |
|
49 <td>Constructor</td> |
|
50 </tr><tr> |
|
51 <td><a href="#EditorHighlightersPage.on_addLexerButton_clicked">on_addLexerButton_clicked</a></td> |
|
52 <td>Private slot to add the lexer association displayed to the list.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#EditorHighlightersPage.on_deleteLexerButton_clicked">on_deleteLexerButton_clicked</a></td> |
|
55 <td>Private slot to delete the currently selected lexer association of the list.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged">on_editorLexerCombo_currentIndexChanged</a></td> |
|
58 <td>Private slot to handle the selection of a lexer.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#EditorHighlightersPage.on_editorLexerList_itemActivated">on_editorLexerList_itemActivated</a></td> |
|
61 <td>Private slot to handle the activated signal of the lexer association list.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#EditorHighlightersPage.on_editorLexerList_itemClicked">on_editorLexerList_itemClicked</a></td> |
|
64 <td>Private slot to handle the clicked signal of the lexer association list.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#EditorHighlightersPage.save">save</a></td> |
|
67 <td>Public slot to save the Editor Highlighter Associations configuration.</td> |
|
68 </tr> |
|
69 </table> |
|
70 <a NAME="EditorHighlightersPage.__init__" ID="EditorHighlightersPage.__init__"></a> |
|
71 <h4>EditorHighlightersPage (Constructor)</h4> |
|
72 <b>EditorHighlightersPage</b>(<i>lexers</i>) |
|
73 <p> |
|
74 Constructor |
|
75 </p><dl> |
|
76 <dt><i>lexers</i></dt> |
|
77 <dd> |
|
78 reference to the lexers dictionary |
|
79 </dd> |
|
80 </dl><a NAME="EditorHighlightersPage.on_addLexerButton_clicked" ID="EditorHighlightersPage.on_addLexerButton_clicked"></a> |
|
81 <h4>EditorHighlightersPage.on_addLexerButton_clicked</h4> |
|
82 <b>on_addLexerButton_clicked</b>(<i></i>) |
|
83 <p> |
|
84 Private slot to add the lexer association displayed to the list. |
|
85 </p><a NAME="EditorHighlightersPage.on_deleteLexerButton_clicked" ID="EditorHighlightersPage.on_deleteLexerButton_clicked"></a> |
|
86 <h4>EditorHighlightersPage.on_deleteLexerButton_clicked</h4> |
|
87 <b>on_deleteLexerButton_clicked</b>(<i></i>) |
|
88 <p> |
|
89 Private slot to delete the currently selected lexer association of the list. |
|
90 </p><a NAME="EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged" ID="EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged"></a> |
|
91 <h4>EditorHighlightersPage.on_editorLexerCombo_currentIndexChanged</h4> |
|
92 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>) |
|
93 <p> |
|
94 Private slot to handle the selection of a lexer. |
|
95 </p><a NAME="EditorHighlightersPage.on_editorLexerList_itemActivated" ID="EditorHighlightersPage.on_editorLexerList_itemActivated"></a> |
|
96 <h4>EditorHighlightersPage.on_editorLexerList_itemActivated</h4> |
|
97 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>) |
|
98 <p> |
|
99 Private slot to handle the activated signal of the lexer association list. |
|
100 </p><dl> |
|
101 <dt><i>itm</i></dt> |
|
102 <dd> |
|
103 reference to the selecte item (QTreeWidgetItem) |
|
104 </dd><dt><i>column</i></dt> |
|
105 <dd> |
|
106 column the item was clicked or activated (integer) (ignored) |
|
107 </dd> |
|
108 </dl><a NAME="EditorHighlightersPage.on_editorLexerList_itemClicked" ID="EditorHighlightersPage.on_editorLexerList_itemClicked"></a> |
|
109 <h4>EditorHighlightersPage.on_editorLexerList_itemClicked</h4> |
|
110 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>) |
|
111 <p> |
|
112 Private slot to handle the clicked signal of the lexer association list. |
|
113 </p><dl> |
|
114 <dt><i>itm</i></dt> |
|
115 <dd> |
|
116 reference to the selecte item (QTreeWidgetItem) |
|
117 </dd><dt><i>column</i></dt> |
|
118 <dd> |
|
119 column the item was clicked or activated (integer) (ignored) |
|
120 </dd> |
|
121 </dl><a NAME="EditorHighlightersPage.save" ID="EditorHighlightersPage.save"></a> |
|
122 <h4>EditorHighlightersPage.save</h4> |
|
123 <b>save</b>(<i></i>) |
|
124 <p> |
|
125 Public slot to save the Editor Highlighter Associations configuration. |
|
126 </p> |
|
127 <div align="right"><a href="#top">Up</a></div> |
|
128 <hr /><hr /> |
|
129 <a NAME="create" ID="create"></a> |
|
130 <h2>create</h2> |
|
131 <b>create</b>(<i>dlg</i>) |
|
132 <p> |
|
133 Module function to create the configuration page. |
|
134 </p><dl> |
|
135 <dt><i>dlg</i></dt> |
|
136 <dd> |
|
137 reference to the configuration dialog |
|
138 </dd> |
|
139 </dl> |
|
140 <div align="right"><a href="#top">Up</a></div> |
|
141 <hr /> |
|
142 </body></html> |