128 </tr><tr> |
128 </tr><tr> |
129 <td><a href="#MiniEditor.__getWord">__getWord</a></td> |
129 <td><a href="#MiniEditor.__getWord">__getWord</a></td> |
130 <td>Private method to get the word at a position.</td> |
130 <td>Private method to get the word at a position.</td> |
131 </tr><tr> |
131 </tr><tr> |
132 <td><a href="#MiniEditor.__initContextMenu">__initContextMenu</a></td> |
132 <td><a href="#MiniEditor.__initContextMenu">__initContextMenu</a></td> |
133 <td>Private method used to setup the context menu</td> |
133 <td>Private method used to setup the context menu.</td> |
134 </tr><tr> |
134 </tr><tr> |
135 <td><a href="#MiniEditor.__initContextMenuLanguages">__initContextMenuLanguages</a></td> |
135 <td><a href="#MiniEditor.__initContextMenuLanguages">__initContextMenuLanguages</a></td> |
136 <td>Private method used to setup the Languages context sub menu.</td> |
136 <td>Private method used to setup the Languages context sub menu.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#MiniEditor.__isPy2File">__isPy2File</a></td> |
138 <td><a href="#MiniEditor.__isPy2File">__isPy2File</a></td> |
326 <p> |
326 <p> |
327 Private method to generate a dummy filename for binding a lexer. |
327 Private method to generate a dummy filename for binding a lexer. |
328 </p><dl> |
328 </p><dl> |
329 <dt><i>line0</i></dt> |
329 <dt><i>line0</i></dt> |
330 <dd> |
330 <dd> |
331 first line of text to use in the generation process (string) |
331 first line of text to use in the generation process |
|
332 (string) |
|
333 </dd> |
|
334 </dl><dl> |
|
335 <dt>Returns:</dt> |
|
336 <dd> |
|
337 dummy file name to be used for binding a lexer (string) |
332 </dd> |
338 </dd> |
333 </dl><a NAME="MiniEditor.__checkActions" ID="MiniEditor.__checkActions"></a> |
339 </dl><a NAME="MiniEditor.__checkActions" ID="MiniEditor.__checkActions"></a> |
334 <h4>MiniEditor.__checkActions</h4> |
340 <h4>MiniEditor.__checkActions</h4> |
335 <b>__checkActions</b>(<i>setSb=True</i>) |
341 <b>__checkActions</b>(<i>setSb=True</i>) |
336 <p> |
342 <p> |
449 </dd> |
455 </dd> |
450 </dl><a NAME="MiniEditor.__initContextMenu" ID="MiniEditor.__initContextMenu"></a> |
456 </dl><a NAME="MiniEditor.__initContextMenu" ID="MiniEditor.__initContextMenu"></a> |
451 <h4>MiniEditor.__initContextMenu</h4> |
457 <h4>MiniEditor.__initContextMenu</h4> |
452 <b>__initContextMenu</b>(<i></i>) |
458 <b>__initContextMenu</b>(<i></i>) |
453 <p> |
459 <p> |
454 Private method used to setup the context menu |
460 Private method used to setup the context menu. |
455 </p><a NAME="MiniEditor.__initContextMenuLanguages" ID="MiniEditor.__initContextMenuLanguages"></a> |
461 </p><a NAME="MiniEditor.__initContextMenuLanguages" ID="MiniEditor.__initContextMenuLanguages"></a> |
456 <h4>MiniEditor.__initContextMenuLanguages</h4> |
462 <h4>MiniEditor.__initContextMenuLanguages</h4> |
457 <b>__initContextMenuLanguages</b>(<i></i>) |
463 <b>__initContextMenuLanguages</b>(<i></i>) |
458 <p> |
464 <p> |
459 Private method used to setup the Languages context sub menu. |
465 Private method used to setup the Languages context sub menu. |
460 </p><a NAME="MiniEditor.__isPy2File" ID="MiniEditor.__isPy2File"></a> |
466 </p><dl> |
|
467 <dt>Returns:</dt> |
|
468 <dd> |
|
469 reference to the generated menu (QMenu) |
|
470 </dd> |
|
471 </dl><a NAME="MiniEditor.__isPy2File" ID="MiniEditor.__isPy2File"></a> |
461 <h4>MiniEditor.__isPy2File</h4> |
472 <h4>MiniEditor.__isPy2File</h4> |
462 <b>__isPy2File</b>(<i></i>) |
473 <b>__isPy2File</b>(<i></i>) |
463 <p> |
474 <p> |
464 Private method to return a flag indicating a Python 2 file. |
475 Private method to return a flag indicating a Python 2 file. |
465 </p><dl> |
476 </p><dl> |
560 <dd> |
571 <dd> |
561 reference to the action object (E5Action) |
572 reference to the action object (E5Action) |
562 </dd><dt><i>category</i></dt> |
573 </dd><dt><i>category</i></dt> |
563 <dd> |
574 <dd> |
564 category the action belongs to (string) |
575 category the action belongs to (string) |
565 </dd><dt><i>prefClass</i></dt> |
|
566 <dd> |
|
567 preferences class used as the storage area |
|
568 </dd> |
576 </dd> |
569 </dl><a NAME="MiniEditor.__redo" ID="MiniEditor.__redo"></a> |
577 </dl><a NAME="MiniEditor.__redo" ID="MiniEditor.__redo"></a> |
570 <h4>MiniEditor.__redo</h4> |
578 <h4>MiniEditor.__redo</h4> |
571 <b>__redo</b>(<i></i>) |
579 <b>__redo</b>(<i></i>) |
572 <p> |
580 <p> |
589 </p><a NAME="MiniEditor.__save" ID="MiniEditor.__save"></a> |
597 </p><a NAME="MiniEditor.__save" ID="MiniEditor.__save"></a> |
590 <h4>MiniEditor.__save</h4> |
598 <h4>MiniEditor.__save</h4> |
591 <b>__save</b>(<i></i>) |
599 <b>__save</b>(<i></i>) |
592 <p> |
600 <p> |
593 Private slot to save a file. |
601 Private slot to save a file. |
594 </p><a NAME="MiniEditor.__saveAs" ID="MiniEditor.__saveAs"></a> |
602 </p><dl> |
|
603 <dt>Returns:</dt> |
|
604 <dd> |
|
605 flag indicating success (boolean) |
|
606 </dd> |
|
607 </dl><a NAME="MiniEditor.__saveAs" ID="MiniEditor.__saveAs"></a> |
595 <h4>MiniEditor.__saveAs</h4> |
608 <h4>MiniEditor.__saveAs</h4> |
596 <b>__saveAs</b>(<i></i>) |
609 <b>__saveAs</b>(<i></i>) |
597 <p> |
610 <p> |
598 Private slot to save a file with a new name. |
611 Private slot to save a file with a new name. |
599 </p><a NAME="MiniEditor.__saveFile" ID="MiniEditor.__saveFile"></a> |
612 </p><dl> |
|
613 <dt>Returns:</dt> |
|
614 <dd> |
|
615 flag indicating success (boolean) |
|
616 </dd> |
|
617 </dl><a NAME="MiniEditor.__saveFile" ID="MiniEditor.__saveFile"></a> |
600 <h4>MiniEditor.__saveFile</h4> |
618 <h4>MiniEditor.__saveFile</h4> |
601 <b>__saveFile</b>(<i>fileName</i>) |
619 <b>__saveFile</b>(<i>fileName</i>) |
602 <p> |
620 <p> |
603 Private method to save to the given file. |
621 Private method to save to the given file. |
604 </p><dl> |
622 </p><dl> |
888 Constructor |
906 Constructor |
889 </p><dl> |
907 </p><dl> |
890 <dt><i>parent</i></dt> |
908 <dt><i>parent</i></dt> |
891 <dd> |
909 <dd> |
892 parent widget (QWidget) |
910 parent widget (QWidget) |
893 </dd><dt><i>name</i></dt> |
|
894 <dd> |
|
895 name of this instance (string) |
|
896 </dd><dt><i>flags</i></dt> |
|
897 <dd> |
|
898 window flags |
|
899 </dd> |
911 </dd> |
900 </dl><a NAME="MiniScintilla.focusInEvent" ID="MiniScintilla.focusInEvent"></a> |
912 </dl><a NAME="MiniScintilla.focusInEvent" ID="MiniScintilla.focusInEvent"></a> |
901 <h4>MiniScintilla.focusInEvent</h4> |
913 <h4>MiniScintilla.focusInEvent</h4> |
902 <b>focusInEvent</b>(<i>event</i>) |
914 <b>focusInEvent</b>(<i>event</i>) |
903 <p> |
915 <p> |