62 </table> |
62 </table> |
63 <h3>Methods</h3> |
63 <h3>Methods</h3> |
64 <table> |
64 <table> |
65 <tr> |
65 <tr> |
66 <td><a href="#MiniEditor.__init__">MiniEditor</a></td> |
66 <td><a href="#MiniEditor.__init__">MiniEditor</a></td> |
67 <td>Constructor</td> |
67 <td>Constructor</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#MiniEditor.__about">__about</a></td> |
69 <td><a href="#MiniEditor.__about">__about</a></td> |
70 <td>Private slot to show a little About message.</td> |
70 <td>Private slot to show a little About message.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#MiniEditor.__aboutQt">__aboutQt</a></td> |
72 <td><a href="#MiniEditor.__aboutQt">__aboutQt</a></td> |
73 <td>Private slot to handle the About Qt dialog.</td> |
73 <td>Private slot to handle the About Qt dialog.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#MiniEditor.__bindLexer">__bindLexer</a></td> |
75 <td><a href="#MiniEditor.__bindLexer">__bindLexer</a></td> |
76 <td>Private slot to set the correct lexer depending on language.</td> |
76 <td>Private slot to set the correct lexer depending on language.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#MiniEditor.__bindName">__bindName</a></td> |
78 <td><a href="#MiniEditor.__bindName">__bindName</a></td> |
79 <td>Private method to generate a dummy filename for binding a lexer.</td> |
79 <td>Private method to generate a dummy filename for binding a lexer.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#MiniEditor.__checkActions">__checkActions</a></td> |
81 <td><a href="#MiniEditor.__checkActions">__checkActions</a></td> |
82 <td>Private slot to check some actions for their enable/disable status and set the statusbar info.</td> |
82 <td>Private slot to check some actions for their enable/disable status and set the statusbar info.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#MiniEditor.__checkLanguage">__checkLanguage</a></td> |
84 <td><a href="#MiniEditor.__checkLanguage">__checkLanguage</a></td> |
85 <td>Private method to check the selected language of the language submenu.</td> |
85 <td>Private method to check the selected language of the language submenu.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#MiniEditor.__contextMenuRequested">__contextMenuRequested</a></td> |
87 <td><a href="#MiniEditor.__contextMenuRequested">__contextMenuRequested</a></td> |
88 <td>Private slot to show the context menu.</td> |
88 <td>Private slot to show the context menu.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#MiniEditor.__createActions">__createActions</a></td> |
90 <td><a href="#MiniEditor.__createActions">__createActions</a></td> |
91 <td>Private method to create the actions.</td> |
91 <td>Private method to create the actions.</td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#MiniEditor.__createEditActions">__createEditActions</a></td> |
93 <td><a href="#MiniEditor.__createEditActions">__createEditActions</a></td> |
94 <td>Private method to create the Edit actions.</td> |
94 <td>Private method to create the Edit actions.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#MiniEditor.__createFileActions">__createFileActions</a></td> |
96 <td><a href="#MiniEditor.__createFileActions">__createFileActions</a></td> |
97 <td>Private method to create the File actions.</td> |
97 <td>Private method to create the File actions.</td> |
98 </tr><tr> |
98 </tr><tr> |
99 <td><a href="#MiniEditor.__createHelpActions">__createHelpActions</a></td> |
99 <td><a href="#MiniEditor.__createHelpActions">__createHelpActions</a></td> |
100 <td>Private method to create the Help actions.</td> |
100 <td>Private method to create the Help actions.</td> |
101 </tr><tr> |
101 </tr><tr> |
102 <td><a href="#MiniEditor.__createMenus">__createMenus</a></td> |
102 <td><a href="#MiniEditor.__createMenus">__createMenus</a></td> |
103 <td>Private method to create the menus of the menu bar.</td> |
103 <td>Private method to create the menus of the menu bar.</td> |
104 </tr><tr> |
104 </tr><tr> |
105 <td><a href="#MiniEditor.__createSearchActions">__createSearchActions</a></td> |
105 <td><a href="#MiniEditor.__createSearchActions">__createSearchActions</a></td> |
106 <td>Private method defining the user interface actions for the search commands.</td> |
106 <td>Private method defining the user interface actions for the search commands.</td> |
107 </tr><tr> |
107 </tr><tr> |
108 <td><a href="#MiniEditor.__createStatusBar">__createStatusBar</a></td> |
108 <td><a href="#MiniEditor.__createStatusBar">__createStatusBar</a></td> |
109 <td>Private method to initialize the status bar.</td> |
109 <td>Private method to initialize the status bar.</td> |
110 </tr><tr> |
110 </tr><tr> |
111 <td><a href="#MiniEditor.__createToolBars">__createToolBars</a></td> |
111 <td><a href="#MiniEditor.__createToolBars">__createToolBars</a></td> |
112 <td>Private method to create the various toolbars.</td> |
112 <td>Private method to create the various toolbars.</td> |
113 </tr><tr> |
113 </tr><tr> |
114 <td><a href="#MiniEditor.__cursorPositionChanged">__cursorPositionChanged</a></td> |
114 <td><a href="#MiniEditor.__cursorPositionChanged">__cursorPositionChanged</a></td> |
115 <td>Private slot to handle the cursorPositionChanged signal.</td> |
115 <td>Private slot to handle the cursorPositionChanged signal.</td> |
116 </tr><tr> |
116 </tr><tr> |
117 <td><a href="#MiniEditor.__deselectAll">__deselectAll</a></td> |
117 <td><a href="#MiniEditor.__deselectAll">__deselectAll</a></td> |
118 <td>Private slot handling the deselect all context menu action.</td> |
118 <td>Private slot handling the deselect all context menu action.</td> |
119 </tr><tr> |
119 </tr><tr> |
120 <td><a href="#MiniEditor.__documentWasModified">__documentWasModified</a></td> |
120 <td><a href="#MiniEditor.__documentWasModified">__documentWasModified</a></td> |
121 <td>Private slot to handle a change in the documents modification status.</td> |
121 <td>Private slot to handle a change in the documents modification status.</td> |
122 </tr><tr> |
122 </tr><tr> |
123 <td><a href="#MiniEditor.__getCurrentWord">__getCurrentWord</a></td> |
123 <td><a href="#MiniEditor.__getCurrentWord">__getCurrentWord</a></td> |
124 <td>Private method to get the word at the current position.</td> |
124 <td>Private method to get the word at the current position.</td> |
125 </tr><tr> |
125 </tr><tr> |
126 <td><a href="#MiniEditor.__getWord">__getWord</a></td> |
126 <td><a href="#MiniEditor.__getWord">__getWord</a></td> |
127 <td>Private method to get the word at a position.</td> |
127 <td>Private method to get the word at a position.</td> |
128 </tr><tr> |
128 </tr><tr> |
129 <td><a href="#MiniEditor.__initContextMenu">__initContextMenu</a></td> |
129 <td><a href="#MiniEditor.__initContextMenu">__initContextMenu</a></td> |
130 <td>Private method used to setup the context menu</td> |
130 <td>Private method used to setup the context menu</td> |
131 </tr><tr> |
131 </tr><tr> |
132 <td><a href="#MiniEditor.__initContextMenuLanguages">__initContextMenuLanguages</a></td> |
132 <td><a href="#MiniEditor.__initContextMenuLanguages">__initContextMenuLanguages</a></td> |
133 <td>Private method used to setup the Languages context sub menu.</td> |
133 <td>Private method used to setup the Languages context sub menu.</td> |
134 </tr><tr> |
134 </tr><tr> |
135 <td><a href="#MiniEditor.__languageMenuTriggered">__languageMenuTriggered</a></td> |
135 <td><a href="#MiniEditor.__languageMenuTriggered">__languageMenuTriggered</a></td> |
136 <td>Private method to handle the selection of a lexer language.</td> |
136 <td>Private method to handle the selection of a lexer language.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#MiniEditor.__loadFile">__loadFile</a></td> |
138 <td><a href="#MiniEditor.__loadFile">__loadFile</a></td> |
139 <td>Private method to load the given file.</td> |
139 <td>Private method to load the given file.</td> |
140 </tr><tr> |
140 </tr><tr> |
141 <td><a href="#MiniEditor.__markOccurrences">__markOccurrences</a></td> |
141 <td><a href="#MiniEditor.__markOccurrences">__markOccurrences</a></td> |
142 <td>Private method to mark all occurrences of the current word.</td> |
142 <td>Private method to mark all occurrences of the current word.</td> |
143 </tr><tr> |
143 </tr><tr> |
144 <td><a href="#MiniEditor.__maybeSave">__maybeSave</a></td> |
144 <td><a href="#MiniEditor.__maybeSave">__maybeSave</a></td> |
145 <td>Private method to ask the user to save the file, if it was modified.</td> |
145 <td>Private method to ask the user to save the file, if it was modified.</td> |
146 </tr><tr> |
146 </tr><tr> |
147 <td><a href="#MiniEditor.__modificationChanged">__modificationChanged</a></td> |
147 <td><a href="#MiniEditor.__modificationChanged">__modificationChanged</a></td> |
148 <td>Private slot to handle the modificationChanged signal.</td> |
148 <td>Private slot to handle the modificationChanged signal.</td> |
149 </tr><tr> |
149 </tr><tr> |
150 <td><a href="#MiniEditor.__newFile">__newFile</a></td> |
150 <td><a href="#MiniEditor.__newFile">__newFile</a></td> |
151 <td>Private slot to create a new file.</td> |
151 <td>Private slot to create a new file.</td> |
152 </tr><tr> |
152 </tr><tr> |
153 <td><a href="#MiniEditor.__open">__open</a></td> |
153 <td><a href="#MiniEditor.__open">__open</a></td> |
154 <td>Private slot to open a file.</td> |
154 <td>Private slot to open a file.</td> |
155 </tr><tr> |
155 </tr><tr> |
156 <td><a href="#MiniEditor.__printFile">__printFile</a></td> |
156 <td><a href="#MiniEditor.__printFile">__printFile</a></td> |
157 <td>Private slot to print the text.</td> |
157 <td>Private slot to print the text.</td> |
158 </tr><tr> |
158 </tr><tr> |
159 <td><a href="#MiniEditor.__printPreview">__printPreview</a></td> |
159 <td><a href="#MiniEditor.__printPreview">__printPreview</a></td> |
160 <td>Private slot to generate a print preview.</td> |
160 <td>Private slot to generate a print preview.</td> |
161 </tr><tr> |
161 </tr><tr> |
162 <td><a href="#MiniEditor.__printPreviewFile">__printPreviewFile</a></td> |
162 <td><a href="#MiniEditor.__printPreviewFile">__printPreviewFile</a></td> |
163 <td>Private slot to show a print preview of the text.</td> |
163 <td>Private slot to show a print preview of the text.</td> |
164 </tr><tr> |
164 </tr><tr> |
165 <td><a href="#MiniEditor.__readSettings">__readSettings</a></td> |
165 <td><a href="#MiniEditor.__readSettings">__readSettings</a></td> |
166 <td>Private method to read the settings remembered last time.</td> |
166 <td>Private method to read the settings remembered last time.</td> |
167 </tr><tr> |
167 </tr><tr> |
168 <td><a href="#MiniEditor.__readShortcut">__readShortcut</a></td> |
168 <td><a href="#MiniEditor.__readShortcut">__readShortcut</a></td> |
169 <td>Private function to read a single keyboard shortcut from the settings.</td> |
169 <td>Private function to read a single keyboard shortcut from the settings.</td> |
170 </tr><tr> |
170 </tr><tr> |
171 <td><a href="#MiniEditor.__redo">__redo</a></td> |
171 <td><a href="#MiniEditor.__redo">__redo</a></td> |
172 <td>Public method to redo the last recorded change.</td> |
172 <td>Public method to redo the last recorded change.</td> |
173 </tr><tr> |
173 </tr><tr> |
174 <td><a href="#MiniEditor.__replace">__replace</a></td> |
174 <td><a href="#MiniEditor.__replace">__replace</a></td> |
175 <td>Private method to handle the replace action.</td> |
175 <td>Private method to handle the replace action.</td> |
176 </tr><tr> |
176 </tr><tr> |
177 <td><a href="#MiniEditor.__resetLanguage">__resetLanguage</a></td> |
177 <td><a href="#MiniEditor.__resetLanguage">__resetLanguage</a></td> |
178 <td>Private method used to reset the language selection.</td> |
178 <td>Private method used to reset the language selection.</td> |
179 </tr><tr> |
179 </tr><tr> |
180 <td><a href="#MiniEditor.__save">__save</a></td> |
180 <td><a href="#MiniEditor.__save">__save</a></td> |
181 <td>Private slot to save a file.</td> |
181 <td>Private slot to save a file.</td> |
182 </tr><tr> |
182 </tr><tr> |
183 <td><a href="#MiniEditor.__saveAs">__saveAs</a></td> |
183 <td><a href="#MiniEditor.__saveAs">__saveAs</a></td> |
184 <td>Private slot to save a file with a new name.</td> |
184 <td>Private slot to save a file with a new name.</td> |
185 </tr><tr> |
185 </tr><tr> |
186 <td><a href="#MiniEditor.__saveFile">__saveFile</a></td> |
186 <td><a href="#MiniEditor.__saveFile">__saveFile</a></td> |
187 <td>Private method to save to the given file.</td> |
187 <td>Private method to save to the given file.</td> |
188 </tr><tr> |
188 </tr><tr> |
189 <td><a href="#MiniEditor.__search">__search</a></td> |
189 <td><a href="#MiniEditor.__search">__search</a></td> |
190 <td>Private method to handle the search action.</td> |
190 <td>Private method to handle the search action.</td> |
191 </tr><tr> |
191 </tr><tr> |
192 <td><a href="#MiniEditor.__searchClearMarkers">__searchClearMarkers</a></td> |
192 <td><a href="#MiniEditor.__searchClearMarkers">__searchClearMarkers</a></td> |
193 <td>Private method to clear the search markers of the active window.</td> |
193 <td>Private method to clear the search markers of the active window.</td> |
194 </tr><tr> |
194 </tr><tr> |
195 <td><a href="#MiniEditor.__selectAll">__selectAll</a></td> |
195 <td><a href="#MiniEditor.__selectAll">__selectAll</a></td> |
196 <td>Private slot handling the select all context menu action.</td> |
196 <td>Private slot handling the select all context menu action.</td> |
197 </tr><tr> |
197 </tr><tr> |
198 <td><a href="#MiniEditor.__selectPygmentsLexer">__selectPygmentsLexer</a></td> |
198 <td><a href="#MiniEditor.__selectPygmentsLexer">__selectPygmentsLexer</a></td> |
199 <td>Private method to select a specific pygments lexer.</td> |
199 <td>Private method to select a specific pygments lexer.</td> |
200 </tr><tr> |
200 </tr><tr> |
201 <td><a href="#MiniEditor.__setCurrentFile">__setCurrentFile</a></td> |
201 <td><a href="#MiniEditor.__setCurrentFile">__setCurrentFile</a></td> |
202 <td>Private method to register the file name of the current file.</td> |
202 <td>Private method to register the file name of the current file.</td> |
203 </tr><tr> |
203 </tr><tr> |
204 <td><a href="#MiniEditor.__setEolMode">__setEolMode</a></td> |
204 <td><a href="#MiniEditor.__setEolMode">__setEolMode</a></td> |
205 <td>Private method to configure the eol mode of the editor.</td> |
205 <td>Private method to configure the eol mode of the editor.</td> |
206 </tr><tr> |
206 </tr><tr> |
207 <td><a href="#MiniEditor.__setMargins">__setMargins</a></td> |
207 <td><a href="#MiniEditor.__setMargins">__setMargins</a></td> |
208 <td>Private method to configure the margins.</td> |
208 <td>Private method to configure the margins.</td> |
209 </tr><tr> |
209 </tr><tr> |
210 <td><a href="#MiniEditor.__setMonospaced">__setMonospaced</a></td> |
210 <td><a href="#MiniEditor.__setMonospaced">__setMonospaced</a></td> |
211 <td>Private method to set/reset a monospaced font.</td> |
211 <td>Private method to set/reset a monospaced font.</td> |
212 </tr><tr> |
212 </tr><tr> |
213 <td><a href="#MiniEditor.__setSbFile">__setSbFile</a></td> |
213 <td><a href="#MiniEditor.__setSbFile">__setSbFile</a></td> |
214 <td>Private method to set the file info in the status bar.</td> |
214 <td>Private method to set the file info in the status bar.</td> |
215 </tr><tr> |
215 </tr><tr> |
216 <td><a href="#MiniEditor.__setTextDisplay">__setTextDisplay</a></td> |
216 <td><a href="#MiniEditor.__setTextDisplay">__setTextDisplay</a></td> |
217 <td>Private method to configure the text display.</td> |
217 <td>Private method to configure the text display.</td> |
218 </tr><tr> |
218 </tr><tr> |
219 <td><a href="#MiniEditor.__showContextMenuLanguages">__showContextMenuLanguages</a></td> |
219 <td><a href="#MiniEditor.__showContextMenuLanguages">__showContextMenuLanguages</a></td> |
220 <td>Private slot handling the aboutToShow signal of the languages context menu.</td> |
220 <td>Private slot handling the aboutToShow signal of the languages context menu.</td> |
221 </tr><tr> |
221 </tr><tr> |
222 <td><a href="#MiniEditor.__strippedName">__strippedName</a></td> |
222 <td><a href="#MiniEditor.__strippedName">__strippedName</a></td> |
223 <td>Private method to return the filename part of the given path.</td> |
223 <td>Private method to return the filename part of the given path.</td> |
224 </tr><tr> |
224 </tr><tr> |
225 <td><a href="#MiniEditor.__styleNeeded">__styleNeeded</a></td> |
225 <td><a href="#MiniEditor.__styleNeeded">__styleNeeded</a></td> |
226 <td>Private slot to handle the need for more styling.</td> |
226 <td>Private slot to handle the need for more styling.</td> |
227 </tr><tr> |
227 </tr><tr> |
228 <td><a href="#MiniEditor.__undo">__undo</a></td> |
228 <td><a href="#MiniEditor.__undo">__undo</a></td> |
229 <td>Public method to undo the last recorded change.</td> |
229 <td>Public method to undo the last recorded change.</td> |
230 </tr><tr> |
230 </tr><tr> |
231 <td><a href="#MiniEditor.__whatsThis">__whatsThis</a></td> |
231 <td><a href="#MiniEditor.__whatsThis">__whatsThis</a></td> |
232 <td>Private slot called in to enter Whats This mode.</td> |
232 <td>Private slot called in to enter Whats This mode.</td> |
233 </tr><tr> |
233 </tr><tr> |
234 <td><a href="#MiniEditor.__writeSettings">__writeSettings</a></td> |
234 <td><a href="#MiniEditor.__writeSettings">__writeSettings</a></td> |
235 <td>Private method to write the settings for reuse.</td> |
235 <td>Private method to write the settings for reuse.</td> |
236 </tr><tr> |
236 </tr><tr> |
237 <td><a href="#MiniEditor.activeWindow">activeWindow</a></td> |
237 <td><a href="#MiniEditor.activeWindow">activeWindow</a></td> |
238 <td>Public method to fulfill the ViewManager interface.</td> |
238 <td>Public method to fulfill the ViewManager interface.</td> |
239 </tr><tr> |
239 </tr><tr> |
240 <td><a href="#MiniEditor.clearSearchIndicators">clearSearchIndicators</a></td> |
240 <td><a href="#MiniEditor.clearSearchIndicators">clearSearchIndicators</a></td> |
241 <td>Public method to clear all search indicators.</td> |
241 <td>Public method to clear all search indicators.</td> |
242 </tr><tr> |
242 </tr><tr> |
243 <td><a href="#MiniEditor.closeEvent">closeEvent</a></td> |
243 <td><a href="#MiniEditor.closeEvent">closeEvent</a></td> |
244 <td>Public method to handle the close event.</td> |
244 <td>Public method to handle the close event.</td> |
245 </tr><tr> |
245 </tr><tr> |
246 <td><a href="#MiniEditor.getFileName">getFileName</a></td> |
246 <td><a href="#MiniEditor.getFileName">getFileName</a></td> |
247 <td>Public method to return the name of the file being displayed.</td> |
247 <td>Public method to return the name of the file being displayed.</td> |
248 </tr><tr> |
248 </tr><tr> |
249 <td><a href="#MiniEditor.getLanguage">getLanguage</a></td> |
249 <td><a href="#MiniEditor.getLanguage">getLanguage</a></td> |
250 <td>Public method to retrieve the language of the editor.</td> |
250 <td>Public method to retrieve the language of the editor.</td> |
251 </tr><tr> |
251 </tr><tr> |
252 <td><a href="#MiniEditor.getSRHistory">getSRHistory</a></td> |
252 <td><a href="#MiniEditor.getSRHistory">getSRHistory</a></td> |
253 <td>Public method to get the search or replace history list.</td> |
253 <td>Public method to get the search or replace history list.</td> |
254 </tr><tr> |
254 </tr><tr> |
255 <td><a href="#MiniEditor.setLanguage">setLanguage</a></td> |
255 <td><a href="#MiniEditor.setLanguage">setLanguage</a></td> |
256 <td>Public method to set a lexer language.</td> |
256 <td>Public method to set a lexer language.</td> |
257 </tr><tr> |
257 </tr><tr> |
258 <td><a href="#MiniEditor.setSearchIndicator">setSearchIndicator</a></td> |
258 <td><a href="#MiniEditor.setSearchIndicator">setSearchIndicator</a></td> |
259 <td>Public method to set a search indicator for the given range.</td> |
259 <td>Public method to set a search indicator for the given range.</td> |
260 </tr><tr> |
260 </tr><tr> |
261 <td><a href="#MiniEditor.setText">setText</a></td> |
261 <td><a href="#MiniEditor.setText">setText</a></td> |
262 <td>Public method to set the text programatically.</td> |
262 <td>Public method to set the text programatically.</td> |
263 </tr><tr> |
263 </tr><tr> |
264 <td><a href="#MiniEditor.textForFind">textForFind</a></td> |
264 <td><a href="#MiniEditor.textForFind">textForFind</a></td> |
265 <td>Public method to determine the selection or the current word for the next find operation.</td> |
265 <td>Public method to determine the selection or the current word for the next find operation.</td> |
266 </tr> |
266 </tr> |
267 </table> |
267 </table> |
268 <a NAME="MiniEditor.__init__" ID="MiniEditor.__init__"></a> |
268 <a NAME="MiniEditor.__init__" ID="MiniEditor.__init__"></a> |
269 <h4>MiniEditor (Constructor)</h4> |
269 <h4>MiniEditor (Constructor)</h4> |
270 <b>MiniEditor</b>(<i>filename = "", filetype = "", parent = None, name = None</i>) |
270 <b>MiniEditor</b>(<i>filename = "", filetype = "", parent = None, name = None</i>) |
271 <p> |
271 <p> |
272 Constructor |
272 Constructor |
273 </p><dl> |
273 </p><dl> |
274 <dt><i>filename</i></dt> |
274 <dt><i>filename</i></dt> |
275 <dd> |
275 <dd> |
276 name of the file to open (string) |
276 name of the file to open (string) |
277 </dd><dt><i>filetype</i></dt> |
277 </dd><dt><i>filetype</i></dt> |
278 <dd> |
278 <dd> |
279 type of the source file (string) |
279 type of the source file (string) |
280 </dd><dt><i>parent</i></dt> |
280 </dd><dt><i>parent</i></dt> |
281 <dd> |
281 <dd> |
282 reference to the parent widget (QWidget) |
282 reference to the parent widget (QWidget) |
283 </dd><dt><i>name</i></dt> |
283 </dd><dt><i>name</i></dt> |
284 <dd> |
284 <dd> |
285 object name of the window (string) |
285 object name of the window (string) |
286 </dd> |
286 </dd> |
287 </dl><a NAME="MiniEditor.__about" ID="MiniEditor.__about"></a> |
287 </dl><a NAME="MiniEditor.__about" ID="MiniEditor.__about"></a> |
288 <h4>MiniEditor.__about</h4> |
288 <h4>MiniEditor.__about</h4> |
289 <b>__about</b>(<i></i>) |
289 <b>__about</b>(<i></i>) |
290 <p> |
290 <p> |
291 Private slot to show a little About message. |
291 Private slot to show a little About message. |
292 </p><a NAME="MiniEditor.__aboutQt" ID="MiniEditor.__aboutQt"></a> |
292 </p><a NAME="MiniEditor.__aboutQt" ID="MiniEditor.__aboutQt"></a> |
293 <h4>MiniEditor.__aboutQt</h4> |
293 <h4>MiniEditor.__aboutQt</h4> |
294 <b>__aboutQt</b>(<i></i>) |
294 <b>__aboutQt</b>(<i></i>) |
295 <p> |
295 <p> |
296 Private slot to handle the About Qt dialog. |
296 Private slot to handle the About Qt dialog. |
297 </p><a NAME="MiniEditor.__bindLexer" ID="MiniEditor.__bindLexer"></a> |
297 </p><a NAME="MiniEditor.__bindLexer" ID="MiniEditor.__bindLexer"></a> |
298 <h4>MiniEditor.__bindLexer</h4> |
298 <h4>MiniEditor.__bindLexer</h4> |
299 <b>__bindLexer</b>(<i>filename, pyname = ""</i>) |
299 <b>__bindLexer</b>(<i>filename, pyname = ""</i>) |
300 <p> |
300 <p> |
301 Private slot to set the correct lexer depending on language. |
301 Private slot to set the correct lexer depending on language. |
302 </p><dl> |
302 </p><dl> |
303 <dt><i>filename</i></dt> |
303 <dt><i>filename</i></dt> |
304 <dd> |
304 <dd> |
305 filename used to determine the associated lexer language (string) |
305 filename used to determine the associated lexer language (string) |
306 </dd><dt><i>pyname=</i></dt> |
306 </dd><dt><i>pyname=</i></dt> |
307 <dd> |
307 <dd> |
308 name of the pygments lexer to use (string) |
308 name of the pygments lexer to use (string) |
309 </dd> |
309 </dd> |
310 </dl><a NAME="MiniEditor.__bindName" ID="MiniEditor.__bindName"></a> |
310 </dl><a NAME="MiniEditor.__bindName" ID="MiniEditor.__bindName"></a> |
311 <h4>MiniEditor.__bindName</h4> |
311 <h4>MiniEditor.__bindName</h4> |
312 <b>__bindName</b>(<i>line0</i>) |
312 <b>__bindName</b>(<i>line0</i>) |
313 <p> |
313 <p> |
314 Private method to generate a dummy filename for binding a lexer. |
314 Private method to generate a dummy filename for binding a lexer. |
315 </p><dl> |
315 </p><dl> |
316 <dt><i>line0</i></dt> |
316 <dt><i>line0</i></dt> |
317 <dd> |
317 <dd> |
318 first line of text to use in the generation process (string) |
318 first line of text to use in the generation process (string) |
319 </dd> |
319 </dd> |
320 </dl><a NAME="MiniEditor.__checkActions" ID="MiniEditor.__checkActions"></a> |
320 </dl><a NAME="MiniEditor.__checkActions" ID="MiniEditor.__checkActions"></a> |
321 <h4>MiniEditor.__checkActions</h4> |
321 <h4>MiniEditor.__checkActions</h4> |
322 <b>__checkActions</b>(<i>setSb = True</i>) |
322 <b>__checkActions</b>(<i>setSb = True</i>) |
323 <p> |
323 <p> |
324 Private slot to check some actions for their enable/disable status |
324 Private slot to check some actions for their enable/disable status |
325 and set the statusbar info. |
325 and set the statusbar info. |
326 </p><dl> |
326 </p><dl> |
327 <dt><i>setSb</i></dt> |
327 <dt><i>setSb</i></dt> |
328 <dd> |
328 <dd> |
329 flag indicating an update of the status bar is wanted (boolean) |
329 flag indicating an update of the status bar is wanted (boolean) |
330 </dd> |
330 </dd> |
331 </dl><a NAME="MiniEditor.__checkLanguage" ID="MiniEditor.__checkLanguage"></a> |
331 </dl><a NAME="MiniEditor.__checkLanguage" ID="MiniEditor.__checkLanguage"></a> |
332 <h4>MiniEditor.__checkLanguage</h4> |
332 <h4>MiniEditor.__checkLanguage</h4> |
333 <b>__checkLanguage</b>(<i></i>) |
333 <b>__checkLanguage</b>(<i></i>) |
334 <p> |
334 <p> |
335 Private method to check the selected language of the language submenu. |
335 Private method to check the selected language of the language submenu. |
336 </p><a NAME="MiniEditor.__contextMenuRequested" ID="MiniEditor.__contextMenuRequested"></a> |
336 </p><a NAME="MiniEditor.__contextMenuRequested" ID="MiniEditor.__contextMenuRequested"></a> |
337 <h4>MiniEditor.__contextMenuRequested</h4> |
337 <h4>MiniEditor.__contextMenuRequested</h4> |
338 <b>__contextMenuRequested</b>(<i>coord</i>) |
338 <b>__contextMenuRequested</b>(<i>coord</i>) |
339 <p> |
339 <p> |
340 Private slot to show the context menu. |
340 Private slot to show the context menu. |
341 </p><dl> |
341 </p><dl> |
342 <dt><i>coord</i></dt> |
342 <dt><i>coord</i></dt> |
343 <dd> |
343 <dd> |
344 the position of the mouse pointer (QPoint) |
344 the position of the mouse pointer (QPoint) |
345 </dd> |
345 </dd> |
346 </dl><a NAME="MiniEditor.__createActions" ID="MiniEditor.__createActions"></a> |
346 </dl><a NAME="MiniEditor.__createActions" ID="MiniEditor.__createActions"></a> |
347 <h4>MiniEditor.__createActions</h4> |
347 <h4>MiniEditor.__createActions</h4> |
348 <b>__createActions</b>(<i></i>) |
348 <b>__createActions</b>(<i></i>) |
349 <p> |
349 <p> |
350 Private method to create the actions. |
350 Private method to create the actions. |
351 </p><a NAME="MiniEditor.__createEditActions" ID="MiniEditor.__createEditActions"></a> |
351 </p><a NAME="MiniEditor.__createEditActions" ID="MiniEditor.__createEditActions"></a> |
352 <h4>MiniEditor.__createEditActions</h4> |
352 <h4>MiniEditor.__createEditActions</h4> |
353 <b>__createEditActions</b>(<i></i>) |
353 <b>__createEditActions</b>(<i></i>) |
354 <p> |
354 <p> |
355 Private method to create the Edit actions. |
355 Private method to create the Edit actions. |
356 </p><a NAME="MiniEditor.__createFileActions" ID="MiniEditor.__createFileActions"></a> |
356 </p><a NAME="MiniEditor.__createFileActions" ID="MiniEditor.__createFileActions"></a> |
357 <h4>MiniEditor.__createFileActions</h4> |
357 <h4>MiniEditor.__createFileActions</h4> |
358 <b>__createFileActions</b>(<i></i>) |
358 <b>__createFileActions</b>(<i></i>) |
359 <p> |
359 <p> |
360 Private method to create the File actions. |
360 Private method to create the File actions. |
361 </p><a NAME="MiniEditor.__createHelpActions" ID="MiniEditor.__createHelpActions"></a> |
361 </p><a NAME="MiniEditor.__createHelpActions" ID="MiniEditor.__createHelpActions"></a> |
362 <h4>MiniEditor.__createHelpActions</h4> |
362 <h4>MiniEditor.__createHelpActions</h4> |
363 <b>__createHelpActions</b>(<i></i>) |
363 <b>__createHelpActions</b>(<i></i>) |
364 <p> |
364 <p> |
365 Private method to create the Help actions. |
365 Private method to create the Help actions. |
366 </p><a NAME="MiniEditor.__createMenus" ID="MiniEditor.__createMenus"></a> |
366 </p><a NAME="MiniEditor.__createMenus" ID="MiniEditor.__createMenus"></a> |
367 <h4>MiniEditor.__createMenus</h4> |
367 <h4>MiniEditor.__createMenus</h4> |
368 <b>__createMenus</b>(<i></i>) |
368 <b>__createMenus</b>(<i></i>) |
369 <p> |
369 <p> |
370 Private method to create the menus of the menu bar. |
370 Private method to create the menus of the menu bar. |
371 </p><a NAME="MiniEditor.__createSearchActions" ID="MiniEditor.__createSearchActions"></a> |
371 </p><a NAME="MiniEditor.__createSearchActions" ID="MiniEditor.__createSearchActions"></a> |
372 <h4>MiniEditor.__createSearchActions</h4> |
372 <h4>MiniEditor.__createSearchActions</h4> |
373 <b>__createSearchActions</b>(<i></i>) |
373 <b>__createSearchActions</b>(<i></i>) |
374 <p> |
374 <p> |
375 Private method defining the user interface actions for the search commands. |
375 Private method defining the user interface actions for the search commands. |
376 </p><a NAME="MiniEditor.__createStatusBar" ID="MiniEditor.__createStatusBar"></a> |
376 </p><a NAME="MiniEditor.__createStatusBar" ID="MiniEditor.__createStatusBar"></a> |
377 <h4>MiniEditor.__createStatusBar</h4> |
377 <h4>MiniEditor.__createStatusBar</h4> |
378 <b>__createStatusBar</b>(<i></i>) |
378 <b>__createStatusBar</b>(<i></i>) |
379 <p> |
379 <p> |
380 Private method to initialize the status bar. |
380 Private method to initialize the status bar. |
381 </p><a NAME="MiniEditor.__createToolBars" ID="MiniEditor.__createToolBars"></a> |
381 </p><a NAME="MiniEditor.__createToolBars" ID="MiniEditor.__createToolBars"></a> |
382 <h4>MiniEditor.__createToolBars</h4> |
382 <h4>MiniEditor.__createToolBars</h4> |
383 <b>__createToolBars</b>(<i></i>) |
383 <b>__createToolBars</b>(<i></i>) |
384 <p> |
384 <p> |
385 Private method to create the various toolbars. |
385 Private method to create the various toolbars. |
386 </p><a NAME="MiniEditor.__cursorPositionChanged" ID="MiniEditor.__cursorPositionChanged"></a> |
386 </p><a NAME="MiniEditor.__cursorPositionChanged" ID="MiniEditor.__cursorPositionChanged"></a> |
387 <h4>MiniEditor.__cursorPositionChanged</h4> |
387 <h4>MiniEditor.__cursorPositionChanged</h4> |
388 <b>__cursorPositionChanged</b>(<i>line, pos</i>) |
388 <b>__cursorPositionChanged</b>(<i>line, pos</i>) |
389 <p> |
389 <p> |
390 Private slot to handle the cursorPositionChanged signal. |
390 Private slot to handle the cursorPositionChanged signal. |
391 </p><dl> |
391 </p><dl> |
392 <dt><i>line</i></dt> |
392 <dt><i>line</i></dt> |
393 <dd> |
393 <dd> |
394 line number of the cursor |
394 line number of the cursor |
395 </dd><dt><i>pos</i></dt> |
395 </dd><dt><i>pos</i></dt> |
396 <dd> |
396 <dd> |
397 position in line of the cursor |
397 position in line of the cursor |
398 </dd> |
398 </dd> |
399 </dl><a NAME="MiniEditor.__deselectAll" ID="MiniEditor.__deselectAll"></a> |
399 </dl><a NAME="MiniEditor.__deselectAll" ID="MiniEditor.__deselectAll"></a> |
400 <h4>MiniEditor.__deselectAll</h4> |
400 <h4>MiniEditor.__deselectAll</h4> |
401 <b>__deselectAll</b>(<i></i>) |
401 <b>__deselectAll</b>(<i></i>) |
402 <p> |
402 <p> |
403 Private slot handling the deselect all context menu action. |
403 Private slot handling the deselect all context menu action. |
404 </p><a NAME="MiniEditor.__documentWasModified" ID="MiniEditor.__documentWasModified"></a> |
404 </p><a NAME="MiniEditor.__documentWasModified" ID="MiniEditor.__documentWasModified"></a> |
405 <h4>MiniEditor.__documentWasModified</h4> |
405 <h4>MiniEditor.__documentWasModified</h4> |
406 <b>__documentWasModified</b>(<i></i>) |
406 <b>__documentWasModified</b>(<i></i>) |
407 <p> |
407 <p> |
408 Private slot to handle a change in the documents modification status. |
408 Private slot to handle a change in the documents modification status. |
409 </p><a NAME="MiniEditor.__getCurrentWord" ID="MiniEditor.__getCurrentWord"></a> |
409 </p><a NAME="MiniEditor.__getCurrentWord" ID="MiniEditor.__getCurrentWord"></a> |
410 <h4>MiniEditor.__getCurrentWord</h4> |
410 <h4>MiniEditor.__getCurrentWord</h4> |
411 <b>__getCurrentWord</b>(<i></i>) |
411 <b>__getCurrentWord</b>(<i></i>) |
412 <p> |
412 <p> |
413 Private method to get the word at the current position. |
413 Private method to get the word at the current position. |
414 </p><dl> |
414 </p><dl> |
415 <dt>Returns:</dt> |
415 <dt>Returns:</dt> |
416 <dd> |
416 <dd> |
417 the word at that current position |
417 the word at that current position |
418 </dd> |
418 </dd> |
419 </dl><a NAME="MiniEditor.__getWord" ID="MiniEditor.__getWord"></a> |
419 </dl><a NAME="MiniEditor.__getWord" ID="MiniEditor.__getWord"></a> |
420 <h4>MiniEditor.__getWord</h4> |
420 <h4>MiniEditor.__getWord</h4> |
421 <b>__getWord</b>(<i>line, index</i>) |
421 <b>__getWord</b>(<i>line, index</i>) |
422 <p> |
422 <p> |
423 Private method to get the word at a position. |
423 Private method to get the word at a position. |
424 </p><dl> |
424 </p><dl> |
425 <dt><i>line</i></dt> |
425 <dt><i>line</i></dt> |
426 <dd> |
426 <dd> |
427 number of line to look at (int) |
427 number of line to look at (int) |
428 </dd><dt><i>index</i></dt> |
428 </dd><dt><i>index</i></dt> |
429 <dd> |
429 <dd> |
430 position to look at (int) |
430 position to look at (int) |
431 </dd> |
431 </dd> |
432 </dl><dl> |
432 </dl><dl> |
433 <dt>Returns:</dt> |
433 <dt>Returns:</dt> |
434 <dd> |
434 <dd> |
435 the word at that position (string) |
435 the word at that position (string) |
436 </dd> |
436 </dd> |
437 </dl><a NAME="MiniEditor.__initContextMenu" ID="MiniEditor.__initContextMenu"></a> |
437 </dl><a NAME="MiniEditor.__initContextMenu" ID="MiniEditor.__initContextMenu"></a> |
438 <h4>MiniEditor.__initContextMenu</h4> |
438 <h4>MiniEditor.__initContextMenu</h4> |
439 <b>__initContextMenu</b>(<i></i>) |
439 <b>__initContextMenu</b>(<i></i>) |
440 <p> |
440 <p> |
441 Private method used to setup the context menu |
441 Private method used to setup the context menu |
442 </p><a NAME="MiniEditor.__initContextMenuLanguages" ID="MiniEditor.__initContextMenuLanguages"></a> |
442 </p><a NAME="MiniEditor.__initContextMenuLanguages" ID="MiniEditor.__initContextMenuLanguages"></a> |
443 <h4>MiniEditor.__initContextMenuLanguages</h4> |
443 <h4>MiniEditor.__initContextMenuLanguages</h4> |
444 <b>__initContextMenuLanguages</b>(<i></i>) |
444 <b>__initContextMenuLanguages</b>(<i></i>) |
445 <p> |
445 <p> |
446 Private method used to setup the Languages context sub menu. |
446 Private method used to setup the Languages context sub menu. |
447 </p><a NAME="MiniEditor.__languageMenuTriggered" ID="MiniEditor.__languageMenuTriggered"></a> |
447 </p><a NAME="MiniEditor.__languageMenuTriggered" ID="MiniEditor.__languageMenuTriggered"></a> |
448 <h4>MiniEditor.__languageMenuTriggered</h4> |
448 <h4>MiniEditor.__languageMenuTriggered</h4> |
449 <b>__languageMenuTriggered</b>(<i>act</i>) |
449 <b>__languageMenuTriggered</b>(<i>act</i>) |
450 <p> |
450 <p> |
451 Private method to handle the selection of a lexer language. |
451 Private method to handle the selection of a lexer language. |
452 </p><dl> |
452 </p><dl> |
453 <dt><i>act</i></dt> |
453 <dt><i>act</i></dt> |
454 <dd> |
454 <dd> |
455 reference to the action that was triggered (QAction) |
455 reference to the action that was triggered (QAction) |
456 </dd> |
456 </dd> |
457 </dl><a NAME="MiniEditor.__loadFile" ID="MiniEditor.__loadFile"></a> |
457 </dl><a NAME="MiniEditor.__loadFile" ID="MiniEditor.__loadFile"></a> |
458 <h4>MiniEditor.__loadFile</h4> |
458 <h4>MiniEditor.__loadFile</h4> |
459 <b>__loadFile</b>(<i>fileName, filetype = None</i>) |
459 <b>__loadFile</b>(<i>fileName, filetype = None</i>) |
460 <p> |
460 <p> |
461 Private method to load the given file. |
461 Private method to load the given file. |
462 </p><dl> |
462 </p><dl> |
463 <dt><i>fileName</i></dt> |
463 <dt><i>fileName</i></dt> |
464 <dd> |
464 <dd> |
465 name of the file to load (string) |
465 name of the file to load (string) |
466 </dd><dt><i>filetype</i></dt> |
466 </dd><dt><i>filetype</i></dt> |
467 <dd> |
467 <dd> |
468 type of the source file (string) |
468 type of the source file (string) |
469 </dd> |
469 </dd> |
470 </dl><a NAME="MiniEditor.__markOccurrences" ID="MiniEditor.__markOccurrences"></a> |
470 </dl><a NAME="MiniEditor.__markOccurrences" ID="MiniEditor.__markOccurrences"></a> |
471 <h4>MiniEditor.__markOccurrences</h4> |
471 <h4>MiniEditor.__markOccurrences</h4> |
472 <b>__markOccurrences</b>(<i></i>) |
472 <b>__markOccurrences</b>(<i></i>) |
473 <p> |
473 <p> |
474 Private method to mark all occurrences of the current word. |
474 Private method to mark all occurrences of the current word. |
475 </p><a NAME="MiniEditor.__maybeSave" ID="MiniEditor.__maybeSave"></a> |
475 </p><a NAME="MiniEditor.__maybeSave" ID="MiniEditor.__maybeSave"></a> |
476 <h4>MiniEditor.__maybeSave</h4> |
476 <h4>MiniEditor.__maybeSave</h4> |
477 <b>__maybeSave</b>(<i></i>) |
477 <b>__maybeSave</b>(<i></i>) |
478 <p> |
478 <p> |
479 Private method to ask the user to save the file, if it was modified. |
479 Private method to ask the user to save the file, if it was modified. |
480 </p><dl> |
480 </p><dl> |
481 <dt>Returns:</dt> |
481 <dt>Returns:</dt> |
482 <dd> |
482 <dd> |
483 flag indicating, if it is ok to continue (boolean) |
483 flag indicating, if it is ok to continue (boolean) |
484 </dd> |
484 </dd> |
485 </dl><a NAME="MiniEditor.__modificationChanged" ID="MiniEditor.__modificationChanged"></a> |
485 </dl><a NAME="MiniEditor.__modificationChanged" ID="MiniEditor.__modificationChanged"></a> |
486 <h4>MiniEditor.__modificationChanged</h4> |
486 <h4>MiniEditor.__modificationChanged</h4> |
487 <b>__modificationChanged</b>(<i>m</i>) |
487 <b>__modificationChanged</b>(<i>m</i>) |
488 <p> |
488 <p> |
489 Private slot to handle the modificationChanged signal. |
489 Private slot to handle the modificationChanged signal. |
490 </p><dl> |
490 </p><dl> |
491 <dt><i>m</i></dt> |
491 <dt><i>m</i></dt> |
492 <dd> |
492 <dd> |
493 modification status |
493 modification status |
494 </dd> |
494 </dd> |
495 </dl><a NAME="MiniEditor.__newFile" ID="MiniEditor.__newFile"></a> |
495 </dl><a NAME="MiniEditor.__newFile" ID="MiniEditor.__newFile"></a> |
496 <h4>MiniEditor.__newFile</h4> |
496 <h4>MiniEditor.__newFile</h4> |
497 <b>__newFile</b>(<i></i>) |
497 <b>__newFile</b>(<i></i>) |
498 <p> |
498 <p> |
499 Private slot to create a new file. |
499 Private slot to create a new file. |
500 </p><a NAME="MiniEditor.__open" ID="MiniEditor.__open"></a> |
500 </p><a NAME="MiniEditor.__open" ID="MiniEditor.__open"></a> |
501 <h4>MiniEditor.__open</h4> |
501 <h4>MiniEditor.__open</h4> |
502 <b>__open</b>(<i></i>) |
502 <b>__open</b>(<i></i>) |
503 <p> |
503 <p> |
504 Private slot to open a file. |
504 Private slot to open a file. |
505 </p><a NAME="MiniEditor.__printFile" ID="MiniEditor.__printFile"></a> |
505 </p><a NAME="MiniEditor.__printFile" ID="MiniEditor.__printFile"></a> |
506 <h4>MiniEditor.__printFile</h4> |
506 <h4>MiniEditor.__printFile</h4> |
507 <b>__printFile</b>(<i></i>) |
507 <b>__printFile</b>(<i></i>) |
508 <p> |
508 <p> |
509 Private slot to print the text. |
509 Private slot to print the text. |
510 </p><a NAME="MiniEditor.__printPreview" ID="MiniEditor.__printPreview"></a> |
510 </p><a NAME="MiniEditor.__printPreview" ID="MiniEditor.__printPreview"></a> |
511 <h4>MiniEditor.__printPreview</h4> |
511 <h4>MiniEditor.__printPreview</h4> |
512 <b>__printPreview</b>(<i>printer</i>) |
512 <b>__printPreview</b>(<i>printer</i>) |
513 <p> |
513 <p> |
514 Private slot to generate a print preview. |
514 Private slot to generate a print preview. |
515 </p><dl> |
515 </p><dl> |
516 <dt><i>printer</i></dt> |
516 <dt><i>printer</i></dt> |
517 <dd> |
517 <dd> |
518 reference to the printer object (QScintilla.Printer.Printer) |
518 reference to the printer object (QScintilla.Printer.Printer) |
519 </dd> |
519 </dd> |
520 </dl><a NAME="MiniEditor.__printPreviewFile" ID="MiniEditor.__printPreviewFile"></a> |
520 </dl><a NAME="MiniEditor.__printPreviewFile" ID="MiniEditor.__printPreviewFile"></a> |
521 <h4>MiniEditor.__printPreviewFile</h4> |
521 <h4>MiniEditor.__printPreviewFile</h4> |
522 <b>__printPreviewFile</b>(<i></i>) |
522 <b>__printPreviewFile</b>(<i></i>) |
523 <p> |
523 <p> |
524 Private slot to show a print preview of the text. |
524 Private slot to show a print preview of the text. |
525 </p><a NAME="MiniEditor.__readSettings" ID="MiniEditor.__readSettings"></a> |
525 </p><a NAME="MiniEditor.__readSettings" ID="MiniEditor.__readSettings"></a> |
526 <h4>MiniEditor.__readSettings</h4> |
526 <h4>MiniEditor.__readSettings</h4> |
527 <b>__readSettings</b>(<i></i>) |
527 <b>__readSettings</b>(<i></i>) |
528 <p> |
528 <p> |
529 Private method to read the settings remembered last time. |
529 Private method to read the settings remembered last time. |
530 </p><a NAME="MiniEditor.__readShortcut" ID="MiniEditor.__readShortcut"></a> |
530 </p><a NAME="MiniEditor.__readShortcut" ID="MiniEditor.__readShortcut"></a> |
531 <h4>MiniEditor.__readShortcut</h4> |
531 <h4>MiniEditor.__readShortcut</h4> |
532 <b>__readShortcut</b>(<i>act, category</i>) |
532 <b>__readShortcut</b>(<i>act, category</i>) |
533 <p> |
533 <p> |
534 Private function to read a single keyboard shortcut from the settings. |
534 Private function to read a single keyboard shortcut from the settings. |
535 </p><dl> |
535 </p><dl> |
536 <dt><i>act</i></dt> |
536 <dt><i>act</i></dt> |
537 <dd> |
537 <dd> |
538 reference to the action object (E5Action) |
538 reference to the action object (E5Action) |
539 </dd><dt><i>category</i></dt> |
539 </dd><dt><i>category</i></dt> |
540 <dd> |
540 <dd> |
541 category the action belongs to (string) |
541 category the action belongs to (string) |
542 </dd><dt><i>prefClass</i></dt> |
542 </dd><dt><i>prefClass</i></dt> |
543 <dd> |
543 <dd> |
544 preferences class used as the storage area |
544 preferences class used as the storage area |
545 </dd> |
545 </dd> |
546 </dl><a NAME="MiniEditor.__redo" ID="MiniEditor.__redo"></a> |
546 </dl><a NAME="MiniEditor.__redo" ID="MiniEditor.__redo"></a> |
547 <h4>MiniEditor.__redo</h4> |
547 <h4>MiniEditor.__redo</h4> |
548 <b>__redo</b>(<i></i>) |
548 <b>__redo</b>(<i></i>) |
549 <p> |
549 <p> |
550 Public method to redo the last recorded change. |
550 Public method to redo the last recorded change. |
551 </p><a NAME="MiniEditor.__replace" ID="MiniEditor.__replace"></a> |
551 </p><a NAME="MiniEditor.__replace" ID="MiniEditor.__replace"></a> |
552 <h4>MiniEditor.__replace</h4> |
552 <h4>MiniEditor.__replace</h4> |
553 <b>__replace</b>(<i></i>) |
553 <b>__replace</b>(<i></i>) |
554 <p> |
554 <p> |
555 Private method to handle the replace action. |
555 Private method to handle the replace action. |
556 </p><a NAME="MiniEditor.__resetLanguage" ID="MiniEditor.__resetLanguage"></a> |
556 </p><a NAME="MiniEditor.__resetLanguage" ID="MiniEditor.__resetLanguage"></a> |
557 <h4>MiniEditor.__resetLanguage</h4> |
557 <h4>MiniEditor.__resetLanguage</h4> |
558 <b>__resetLanguage</b>(<i></i>) |
558 <b>__resetLanguage</b>(<i></i>) |
559 <p> |
559 <p> |
560 Private method used to reset the language selection. |
560 Private method used to reset the language selection. |
561 </p><a NAME="MiniEditor.__save" ID="MiniEditor.__save"></a> |
561 </p><a NAME="MiniEditor.__save" ID="MiniEditor.__save"></a> |
562 <h4>MiniEditor.__save</h4> |
562 <h4>MiniEditor.__save</h4> |
563 <b>__save</b>(<i></i>) |
563 <b>__save</b>(<i></i>) |
564 <p> |
564 <p> |
565 Private slot to save a file. |
565 Private slot to save a file. |
566 </p><a NAME="MiniEditor.__saveAs" ID="MiniEditor.__saveAs"></a> |
566 </p><a NAME="MiniEditor.__saveAs" ID="MiniEditor.__saveAs"></a> |
567 <h4>MiniEditor.__saveAs</h4> |
567 <h4>MiniEditor.__saveAs</h4> |
568 <b>__saveAs</b>(<i></i>) |
568 <b>__saveAs</b>(<i></i>) |
569 <p> |
569 <p> |
570 Private slot to save a file with a new name. |
570 Private slot to save a file with a new name. |
571 </p><a NAME="MiniEditor.__saveFile" ID="MiniEditor.__saveFile"></a> |
571 </p><a NAME="MiniEditor.__saveFile" ID="MiniEditor.__saveFile"></a> |
572 <h4>MiniEditor.__saveFile</h4> |
572 <h4>MiniEditor.__saveFile</h4> |
573 <b>__saveFile</b>(<i>fileName</i>) |
573 <b>__saveFile</b>(<i>fileName</i>) |
574 <p> |
574 <p> |
575 Private method to save to the given file. |
575 Private method to save to the given file. |
576 </p><dl> |
576 </p><dl> |
577 <dt><i>fileName</i></dt> |
577 <dt><i>fileName</i></dt> |
578 <dd> |
578 <dd> |
579 name of the file to save to (string) |
579 name of the file to save to (string) |
580 </dd> |
580 </dd> |
581 </dl><dl> |
581 </dl><dl> |
582 <dt>Returns:</dt> |
582 <dt>Returns:</dt> |
583 <dd> |
583 <dd> |
584 flag indicating success (boolean) |
584 flag indicating success (boolean) |
585 </dd> |
585 </dd> |
586 </dl><a NAME="MiniEditor.__search" ID="MiniEditor.__search"></a> |
586 </dl><a NAME="MiniEditor.__search" ID="MiniEditor.__search"></a> |
587 <h4>MiniEditor.__search</h4> |
587 <h4>MiniEditor.__search</h4> |
588 <b>__search</b>(<i></i>) |
588 <b>__search</b>(<i></i>) |
589 <p> |
589 <p> |
590 Private method to handle the search action. |
590 Private method to handle the search action. |
591 </p><a NAME="MiniEditor.__searchClearMarkers" ID="MiniEditor.__searchClearMarkers"></a> |
591 </p><a NAME="MiniEditor.__searchClearMarkers" ID="MiniEditor.__searchClearMarkers"></a> |
592 <h4>MiniEditor.__searchClearMarkers</h4> |
592 <h4>MiniEditor.__searchClearMarkers</h4> |
593 <b>__searchClearMarkers</b>(<i></i>) |
593 <b>__searchClearMarkers</b>(<i></i>) |
594 <p> |
594 <p> |
595 Private method to clear the search markers of the active window. |
595 Private method to clear the search markers of the active window. |
596 </p><a NAME="MiniEditor.__selectAll" ID="MiniEditor.__selectAll"></a> |
596 </p><a NAME="MiniEditor.__selectAll" ID="MiniEditor.__selectAll"></a> |
597 <h4>MiniEditor.__selectAll</h4> |
597 <h4>MiniEditor.__selectAll</h4> |
598 <b>__selectAll</b>(<i></i>) |
598 <b>__selectAll</b>(<i></i>) |
599 <p> |
599 <p> |
600 Private slot handling the select all context menu action. |
600 Private slot handling the select all context menu action. |
601 </p><a NAME="MiniEditor.__selectPygmentsLexer" ID="MiniEditor.__selectPygmentsLexer"></a> |
601 </p><a NAME="MiniEditor.__selectPygmentsLexer" ID="MiniEditor.__selectPygmentsLexer"></a> |
602 <h4>MiniEditor.__selectPygmentsLexer</h4> |
602 <h4>MiniEditor.__selectPygmentsLexer</h4> |
603 <b>__selectPygmentsLexer</b>(<i></i>) |
603 <b>__selectPygmentsLexer</b>(<i></i>) |
604 <p> |
604 <p> |
605 Private method to select a specific pygments lexer. |
605 Private method to select a specific pygments lexer. |
606 </p><dl> |
606 </p><dl> |
607 <dt>Returns:</dt> |
607 <dt>Returns:</dt> |
608 <dd> |
608 <dd> |
609 name of the selected pygments lexer (string) |
609 name of the selected pygments lexer (string) |
610 </dd> |
610 </dd> |
611 </dl><a NAME="MiniEditor.__setCurrentFile" ID="MiniEditor.__setCurrentFile"></a> |
611 </dl><a NAME="MiniEditor.__setCurrentFile" ID="MiniEditor.__setCurrentFile"></a> |
612 <h4>MiniEditor.__setCurrentFile</h4> |
612 <h4>MiniEditor.__setCurrentFile</h4> |
613 <b>__setCurrentFile</b>(<i>fileName</i>) |
613 <b>__setCurrentFile</b>(<i>fileName</i>) |
614 <p> |
614 <p> |
615 Private method to register the file name of the current file. |
615 Private method to register the file name of the current file. |
616 </p><dl> |
616 </p><dl> |
617 <dt><i>fileName</i></dt> |
617 <dt><i>fileName</i></dt> |
618 <dd> |
618 <dd> |
619 name of the file to register (string) |
619 name of the file to register (string) |
620 </dd> |
620 </dd> |
621 </dl><a NAME="MiniEditor.__setEolMode" ID="MiniEditor.__setEolMode"></a> |
621 </dl><a NAME="MiniEditor.__setEolMode" ID="MiniEditor.__setEolMode"></a> |
622 <h4>MiniEditor.__setEolMode</h4> |
622 <h4>MiniEditor.__setEolMode</h4> |
623 <b>__setEolMode</b>(<i></i>) |
623 <b>__setEolMode</b>(<i></i>) |
624 <p> |
624 <p> |
625 Private method to configure the eol mode of the editor. |
625 Private method to configure the eol mode of the editor. |
626 </p><a NAME="MiniEditor.__setMargins" ID="MiniEditor.__setMargins"></a> |
626 </p><a NAME="MiniEditor.__setMargins" ID="MiniEditor.__setMargins"></a> |
627 <h4>MiniEditor.__setMargins</h4> |
627 <h4>MiniEditor.__setMargins</h4> |
628 <b>__setMargins</b>(<i></i>) |
628 <b>__setMargins</b>(<i></i>) |
629 <p> |
629 <p> |
630 Private method to configure the margins. |
630 Private method to configure the margins. |
631 </p><a NAME="MiniEditor.__setMonospaced" ID="MiniEditor.__setMonospaced"></a> |
631 </p><a NAME="MiniEditor.__setMonospaced" ID="MiniEditor.__setMonospaced"></a> |
632 <h4>MiniEditor.__setMonospaced</h4> |
632 <h4>MiniEditor.__setMonospaced</h4> |
633 <b>__setMonospaced</b>(<i>on</i>) |
633 <b>__setMonospaced</b>(<i>on</i>) |
634 <p> |
634 <p> |
635 Private method to set/reset a monospaced font. |
635 Private method to set/reset a monospaced font. |
636 </p><dl> |
636 </p><dl> |
637 <dt><i>on</i></dt> |
637 <dt><i>on</i></dt> |
638 <dd> |
638 <dd> |
639 flag to indicate usage of a monospace font (boolean) |
639 flag to indicate usage of a monospace font (boolean) |
640 </dd> |
640 </dd> |
641 </dl><a NAME="MiniEditor.__setSbFile" ID="MiniEditor.__setSbFile"></a> |
641 </dl><a NAME="MiniEditor.__setSbFile" ID="MiniEditor.__setSbFile"></a> |
642 <h4>MiniEditor.__setSbFile</h4> |
642 <h4>MiniEditor.__setSbFile</h4> |
643 <b>__setSbFile</b>(<i>line = None, pos = None</i>) |
643 <b>__setSbFile</b>(<i>line = None, pos = None</i>) |
644 <p> |
644 <p> |
645 Private method to set the file info in the status bar. |
645 Private method to set the file info in the status bar. |
646 </p><dl> |
646 </p><dl> |
647 <dt><i>line</i></dt> |
647 <dt><i>line</i></dt> |
648 <dd> |
648 <dd> |
649 line number to display (int) |
649 line number to display (int) |
650 </dd><dt><i>pos</i></dt> |
650 </dd><dt><i>pos</i></dt> |
651 <dd> |
651 <dd> |
652 character position to display (int) |
652 character position to display (int) |
653 </dd> |
653 </dd> |
654 </dl><a NAME="MiniEditor.__setTextDisplay" ID="MiniEditor.__setTextDisplay"></a> |
654 </dl><a NAME="MiniEditor.__setTextDisplay" ID="MiniEditor.__setTextDisplay"></a> |
655 <h4>MiniEditor.__setTextDisplay</h4> |
655 <h4>MiniEditor.__setTextDisplay</h4> |
656 <b>__setTextDisplay</b>(<i></i>) |
656 <b>__setTextDisplay</b>(<i></i>) |
657 <p> |
657 <p> |
658 Private method to configure the text display. |
658 Private method to configure the text display. |
659 </p><a NAME="MiniEditor.__showContextMenuLanguages" ID="MiniEditor.__showContextMenuLanguages"></a> |
659 </p><a NAME="MiniEditor.__showContextMenuLanguages" ID="MiniEditor.__showContextMenuLanguages"></a> |
660 <h4>MiniEditor.__showContextMenuLanguages</h4> |
660 <h4>MiniEditor.__showContextMenuLanguages</h4> |
661 <b>__showContextMenuLanguages</b>(<i></i>) |
661 <b>__showContextMenuLanguages</b>(<i></i>) |
662 <p> |
662 <p> |
663 Private slot handling the aboutToShow signal of the languages context menu. |
663 Private slot handling the aboutToShow signal of the languages context menu. |
664 </p><a NAME="MiniEditor.__strippedName" ID="MiniEditor.__strippedName"></a> |
664 </p><a NAME="MiniEditor.__strippedName" ID="MiniEditor.__strippedName"></a> |
665 <h4>MiniEditor.__strippedName</h4> |
665 <h4>MiniEditor.__strippedName</h4> |
666 <b>__strippedName</b>(<i>fullFileName</i>) |
666 <b>__strippedName</b>(<i>fullFileName</i>) |
667 <p> |
667 <p> |
668 Private method to return the filename part of the given path. |
668 Private method to return the filename part of the given path. |
669 </p><dl> |
669 </p><dl> |
670 <dt><i>fullFileName</i></dt> |
670 <dt><i>fullFileName</i></dt> |
671 <dd> |
671 <dd> |
672 full pathname of the given file (string) |
672 full pathname of the given file (string) |
673 </dd> |
673 </dd> |
674 </dl><dl> |
674 </dl><dl> |
675 <dt>Returns:</dt> |
675 <dt>Returns:</dt> |
676 <dd> |
676 <dd> |
677 filename part (string) |
677 filename part (string) |
678 </dd> |
678 </dd> |
679 </dl><a NAME="MiniEditor.__styleNeeded" ID="MiniEditor.__styleNeeded"></a> |
679 </dl><a NAME="MiniEditor.__styleNeeded" ID="MiniEditor.__styleNeeded"></a> |
680 <h4>MiniEditor.__styleNeeded</h4> |
680 <h4>MiniEditor.__styleNeeded</h4> |
681 <b>__styleNeeded</b>(<i>position</i>) |
681 <b>__styleNeeded</b>(<i>position</i>) |
682 <p> |
682 <p> |
683 Private slot to handle the need for more styling. |
683 Private slot to handle the need for more styling. |
684 </p><dl> |
684 </p><dl> |
685 <dt><i>position</i></dt> |
685 <dt><i>position</i></dt> |
686 <dd> |
686 <dd> |
687 end position, that needs styling (integer) |
687 end position, that needs styling (integer) |
688 </dd> |
688 </dd> |
689 </dl><a NAME="MiniEditor.__undo" ID="MiniEditor.__undo"></a> |
689 </dl><a NAME="MiniEditor.__undo" ID="MiniEditor.__undo"></a> |
690 <h4>MiniEditor.__undo</h4> |
690 <h4>MiniEditor.__undo</h4> |
691 <b>__undo</b>(<i></i>) |
691 <b>__undo</b>(<i></i>) |
692 <p> |
692 <p> |
693 Public method to undo the last recorded change. |
693 Public method to undo the last recorded change. |
694 </p><a NAME="MiniEditor.__whatsThis" ID="MiniEditor.__whatsThis"></a> |
694 </p><a NAME="MiniEditor.__whatsThis" ID="MiniEditor.__whatsThis"></a> |
695 <h4>MiniEditor.__whatsThis</h4> |
695 <h4>MiniEditor.__whatsThis</h4> |
696 <b>__whatsThis</b>(<i></i>) |
696 <b>__whatsThis</b>(<i></i>) |
697 <p> |
697 <p> |
698 Private slot called in to enter Whats This mode. |
698 Private slot called in to enter Whats This mode. |
699 </p><a NAME="MiniEditor.__writeSettings" ID="MiniEditor.__writeSettings"></a> |
699 </p><a NAME="MiniEditor.__writeSettings" ID="MiniEditor.__writeSettings"></a> |
700 <h4>MiniEditor.__writeSettings</h4> |
700 <h4>MiniEditor.__writeSettings</h4> |
701 <b>__writeSettings</b>(<i></i>) |
701 <b>__writeSettings</b>(<i></i>) |
702 <p> |
702 <p> |
703 Private method to write the settings for reuse. |
703 Private method to write the settings for reuse. |
704 </p><a NAME="MiniEditor.activeWindow" ID="MiniEditor.activeWindow"></a> |
704 </p><a NAME="MiniEditor.activeWindow" ID="MiniEditor.activeWindow"></a> |
705 <h4>MiniEditor.activeWindow</h4> |
705 <h4>MiniEditor.activeWindow</h4> |
706 <b>activeWindow</b>(<i></i>) |
706 <b>activeWindow</b>(<i></i>) |
707 <p> |
707 <p> |
708 Public method to fulfill the ViewManager interface. |
708 Public method to fulfill the ViewManager interface. |
709 </p><dl> |
709 </p><dl> |
710 <dt>Returns:</dt> |
710 <dt>Returns:</dt> |
711 <dd> |
711 <dd> |
712 reference to the text edit component (QsciScintillaCompat) |
712 reference to the text edit component (QsciScintillaCompat) |
713 </dd> |
713 </dd> |
714 </dl><a NAME="MiniEditor.clearSearchIndicators" ID="MiniEditor.clearSearchIndicators"></a> |
714 </dl><a NAME="MiniEditor.clearSearchIndicators" ID="MiniEditor.clearSearchIndicators"></a> |
715 <h4>MiniEditor.clearSearchIndicators</h4> |
715 <h4>MiniEditor.clearSearchIndicators</h4> |
716 <b>clearSearchIndicators</b>(<i></i>) |
716 <b>clearSearchIndicators</b>(<i></i>) |
717 <p> |
717 <p> |
718 Public method to clear all search indicators. |
718 Public method to clear all search indicators. |
719 </p><a NAME="MiniEditor.closeEvent" ID="MiniEditor.closeEvent"></a> |
719 </p><a NAME="MiniEditor.closeEvent" ID="MiniEditor.closeEvent"></a> |
720 <h4>MiniEditor.closeEvent</h4> |
720 <h4>MiniEditor.closeEvent</h4> |
721 <b>closeEvent</b>(<i>event</i>) |
721 <b>closeEvent</b>(<i>event</i>) |
722 <p> |
722 <p> |
723 Public method to handle the close event. |
723 Public method to handle the close event. |
724 </p><dl> |
724 </p><dl> |
725 <dt><i>event</i></dt> |
725 <dt><i>event</i></dt> |
726 <dd> |
726 <dd> |
727 close event (QCloseEvent) |
727 close event (QCloseEvent) |
728 </dd> |
728 </dd> |
729 </dl><a NAME="MiniEditor.getFileName" ID="MiniEditor.getFileName"></a> |
729 </dl><a NAME="MiniEditor.getFileName" ID="MiniEditor.getFileName"></a> |
730 <h4>MiniEditor.getFileName</h4> |
730 <h4>MiniEditor.getFileName</h4> |
731 <b>getFileName</b>(<i></i>) |
731 <b>getFileName</b>(<i></i>) |
732 <p> |
732 <p> |
733 Public method to return the name of the file being displayed. |
733 Public method to return the name of the file being displayed. |
734 </p><dl> |
734 </p><dl> |
735 <dt>Returns:</dt> |
735 <dt>Returns:</dt> |
736 <dd> |
736 <dd> |
737 filename of the displayed file (string) |
737 filename of the displayed file (string) |
738 </dd> |
738 </dd> |
739 </dl><a NAME="MiniEditor.getLanguage" ID="MiniEditor.getLanguage"></a> |
739 </dl><a NAME="MiniEditor.getLanguage" ID="MiniEditor.getLanguage"></a> |
740 <h4>MiniEditor.getLanguage</h4> |
740 <h4>MiniEditor.getLanguage</h4> |
741 <b>getLanguage</b>(<i></i>) |
741 <b>getLanguage</b>(<i></i>) |
742 <p> |
742 <p> |
743 Public method to retrieve the language of the editor. |
743 Public method to retrieve the language of the editor. |
744 </p><dl> |
744 </p><dl> |
745 <dt>Returns:</dt> |
745 <dt>Returns:</dt> |
746 <dd> |
746 <dd> |
747 language of the editor (string) |
747 language of the editor (string) |
748 </dd> |
748 </dd> |
749 </dl><a NAME="MiniEditor.getSRHistory" ID="MiniEditor.getSRHistory"></a> |
749 </dl><a NAME="MiniEditor.getSRHistory" ID="MiniEditor.getSRHistory"></a> |
750 <h4>MiniEditor.getSRHistory</h4> |
750 <h4>MiniEditor.getSRHistory</h4> |
751 <b>getSRHistory</b>(<i>key</i>) |
751 <b>getSRHistory</b>(<i>key</i>) |
752 <p> |
752 <p> |
753 Public method to get the search or replace history list. |
753 Public method to get the search or replace history list. |
754 </p><dl> |
754 </p><dl> |
755 <dt><i>key</i></dt> |
755 <dt><i>key</i></dt> |
756 <dd> |
756 <dd> |
757 list to return (must be 'search' or 'replace') |
757 list to return (must be 'search' or 'replace') |
758 </dd> |
758 </dd> |
759 </dl><dl> |
759 </dl><dl> |
760 <dt>Returns:</dt> |
760 <dt>Returns:</dt> |
761 <dd> |
761 <dd> |
762 the requested history list (list of strings) |
762 the requested history list (list of strings) |
763 </dd> |
763 </dd> |
764 </dl><a NAME="MiniEditor.setLanguage" ID="MiniEditor.setLanguage"></a> |
764 </dl><a NAME="MiniEditor.setLanguage" ID="MiniEditor.setLanguage"></a> |
765 <h4>MiniEditor.setLanguage</h4> |
765 <h4>MiniEditor.setLanguage</h4> |
766 <b>setLanguage</b>(<i>filename, initTextDisplay = True, pyname = ""</i>) |
766 <b>setLanguage</b>(<i>filename, initTextDisplay = True, pyname = ""</i>) |
767 <p> |
767 <p> |
768 Public method to set a lexer language. |
768 Public method to set a lexer language. |
769 </p><dl> |
769 </p><dl> |
770 <dt><i>filename</i></dt> |
770 <dt><i>filename</i></dt> |
771 <dd> |
771 <dd> |
772 filename used to determine the associated lexer language (string) |
772 filename used to determine the associated lexer language (string) |
773 </dd><dt><i>initTextDisplay</i></dt> |
773 </dd><dt><i>initTextDisplay</i></dt> |
774 <dd> |
774 <dd> |
775 flag indicating an initialization of the text display |
775 flag indicating an initialization of the text display |
776 is required as well (boolean) |
776 is required as well (boolean) |
777 </dd><dt><i>pyname=</i></dt> |
777 </dd><dt><i>pyname=</i></dt> |
778 <dd> |
778 <dd> |
779 name of the pygments lexer to use (string) |
779 name of the pygments lexer to use (string) |
780 </dd> |
780 </dd> |
781 </dl><a NAME="MiniEditor.setSearchIndicator" ID="MiniEditor.setSearchIndicator"></a> |
781 </dl><a NAME="MiniEditor.setSearchIndicator" ID="MiniEditor.setSearchIndicator"></a> |
782 <h4>MiniEditor.setSearchIndicator</h4> |
782 <h4>MiniEditor.setSearchIndicator</h4> |
783 <b>setSearchIndicator</b>(<i>startPos, indicLength</i>) |
783 <b>setSearchIndicator</b>(<i>startPos, indicLength</i>) |
784 <p> |
784 <p> |
785 Public method to set a search indicator for the given range. |
785 Public method to set a search indicator for the given range. |
786 </p><dl> |
786 </p><dl> |
787 <dt><i>startPos</i></dt> |
787 <dt><i>startPos</i></dt> |
788 <dd> |
788 <dd> |
789 start position of the indicator (integer) |
789 start position of the indicator (integer) |
790 </dd><dt><i>indicLength</i></dt> |
790 </dd><dt><i>indicLength</i></dt> |
791 <dd> |
791 <dd> |
792 length of the indicator (integer) |
792 length of the indicator (integer) |
793 </dd> |
793 </dd> |
794 </dl><a NAME="MiniEditor.setText" ID="MiniEditor.setText"></a> |
794 </dl><a NAME="MiniEditor.setText" ID="MiniEditor.setText"></a> |
795 <h4>MiniEditor.setText</h4> |
795 <h4>MiniEditor.setText</h4> |
796 <b>setText</b>(<i>txt, filetype = None</i>) |
796 <b>setText</b>(<i>txt, filetype = None</i>) |
797 <p> |
797 <p> |
798 Public method to set the text programatically. |
798 Public method to set the text programatically. |
799 </p><dl> |
799 </p><dl> |
800 <dt><i>txt</i></dt> |
800 <dt><i>txt</i></dt> |
801 <dd> |
801 <dd> |
802 text to be set (string) |
802 text to be set (string) |
803 </dd><dt><i>filetype</i></dt> |
803 </dd><dt><i>filetype</i></dt> |
804 <dd> |
804 <dd> |
805 type of the source file (string) |
805 type of the source file (string) |
806 </dd> |
806 </dd> |
807 </dl><a NAME="MiniEditor.textForFind" ID="MiniEditor.textForFind"></a> |
807 </dl><a NAME="MiniEditor.textForFind" ID="MiniEditor.textForFind"></a> |
808 <h4>MiniEditor.textForFind</h4> |
808 <h4>MiniEditor.textForFind</h4> |
809 <b>textForFind</b>(<i></i>) |
809 <b>textForFind</b>(<i></i>) |
810 <p> |
810 <p> |
811 Public method to determine the selection or the current word for the next |
811 Public method to determine the selection or the current word for the next |
812 find operation. |
812 find operation. |
813 </p><dl> |
813 </p><dl> |
814 <dt>Returns:</dt> |
814 <dt>Returns:</dt> |
815 <dd> |
815 <dd> |
816 selection or current word (string) |
816 selection or current word (string) |
817 </dd> |
817 </dd> |
818 </dl> |
818 </dl> |
819 <div align="right"><a href="#top">Up</a></div> |
819 <div align="right"><a href="#top">Up</a></div> |
820 <hr /><hr /> |
820 <hr /><hr /> |
821 <a NAME="MiniScintilla" ID="MiniScintilla"></a> |
821 <a NAME="MiniScintilla" ID="MiniScintilla"></a> |
822 <h2>MiniScintilla</h2> |
822 <h2>MiniScintilla</h2> |
823 <p> |
823 <p> |
824 Class implementing a QsciScintillaCompat subclass for handling focus events. |
824 Class implementing a QsciScintillaCompat subclass for handling focus events. |
825 </p> |
825 </p> |
826 <h3>Derived from</h3> |
826 <h3>Derived from</h3> |
827 QsciScintillaCompat |
827 QsciScintillaCompat |
828 <h3>Class Attributes</h3> |
828 <h3>Class Attributes</h3> |
829 <table> |
829 <table> |