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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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) |
845 <td>Public method to return the name of the file being displayed.</td> |
845 <td>Public method to return the name of the file being displayed.</td> |
846 </tr> |
846 </tr> |
847 </table> |
847 </table> |
848 <a NAME="MiniScintilla.__init__" ID="MiniScintilla.__init__"></a> |
848 <a NAME="MiniScintilla.__init__" ID="MiniScintilla.__init__"></a> |
849 <h4>MiniScintilla (Constructor)</h4> |
849 <h4>MiniScintilla (Constructor)</h4> |
850 <b>MiniScintilla</b>(<i>parent = None</i>) |
850 <b>MiniScintilla</b>(<i>parent=None</i>) |
851 <p> |
851 <p> |
852 Constructor |
852 Constructor |
853 </p><dl> |
853 </p><dl> |
854 <dt><i>parent</i></dt> |
854 <dt><i>parent</i></dt> |
855 <dd> |
855 <dd> |