Documentation/Source/eric5.QScintilla.Editor.html

changeset 3591
2f2a4a76dd22
parent 3581
03b351be4436
equal deleted inserted replaced
3590:5280e37405b8 3591:2f2a4a76dd22
199 </tr><tr> 199 </tr><tr>
200 <td><a href="#Editor.__changeBreakPoints">__changeBreakPoints</a></td> 200 <td><a href="#Editor.__changeBreakPoints">__changeBreakPoints</a></td>
201 <td>Private slot to set changed breakpoints.</td> 201 <td>Private slot to set changed breakpoints.</td>
202 </tr><tr> 202 </tr><tr>
203 <td><a href="#Editor.__charAdded">__charAdded</a></td> 203 <td><a href="#Editor.__charAdded">__charAdded</a></td>
204 <td>Public slot called to handle the user entering a character.</td> 204 <td>Private slot called to handle the user entering a character.</td>
205 </tr><tr> 205 </tr><tr>
206 <td><a href="#Editor.__checkEncoding">__checkEncoding</a></td> 206 <td><a href="#Editor.__checkEncoding">__checkEncoding</a></td>
207 <td>Private method to check the selected encoding of the encodings submenu.</td> 207 <td>Private method to check the selected encoding of the encodings submenu.</td>
208 </tr><tr> 208 </tr><tr>
209 <td><a href="#Editor.__checkEol">__checkEol</a></td> 209 <td><a href="#Editor.__checkEol">__checkEol</a></td>
220 </tr><tr> 220 </tr><tr>
221 <td><a href="#Editor.__clearBreakpoints">__clearBreakpoints</a></td> 221 <td><a href="#Editor.__clearBreakpoints">__clearBreakpoints</a></td>
222 <td>Private slot to clear all breakpoints.</td> 222 <td>Private slot to clear all breakpoints.</td>
223 </tr><tr> 223 </tr><tr>
224 <td><a href="#Editor.__clearTypedWarning">__clearTypedWarning</a></td> 224 <td><a href="#Editor.__clearTypedWarning">__clearTypedWarning</a></td>
225 <td>Public method to clear warnings of a specific kind.</td> 225 <td>Private method to clear warnings of a specific kind.</td>
226 </tr><tr> 226 </tr><tr>
227 <td><a href="#Editor.__codeCoverageHideAnnotations">__codeCoverageHideAnnotations</a></td> 227 <td><a href="#Editor.__codeCoverageHideAnnotations">__codeCoverageHideAnnotations</a></td>
228 <td>Private method to handle the hide code coverage annotations context menu action.</td> 228 <td>Private method to handle the hide code coverage annotations context menu action.</td>
229 </tr><tr> 229 </tr><tr>
230 <td><a href="#Editor.__completionListSelected">__completionListSelected</a></td> 230 <td><a href="#Editor.__completionListSelected">__completionListSelected</a></td>
472 </tr><tr> 472 </tr><tr>
473 <td><a href="#Editor.__saveLastEditPosition">__saveLastEditPosition</a></td> 473 <td><a href="#Editor.__saveLastEditPosition">__saveLastEditPosition</a></td>
474 <td>Private slot to record the last edit position.</td> 474 <td>Private slot to record the last edit position.</td>
475 </tr><tr> 475 </tr><tr>
476 <td><a href="#Editor.__searchCurrentWord">__searchCurrentWord</a></td> 476 <td><a href="#Editor.__searchCurrentWord">__searchCurrentWord</a></td>
477 <td>Public slot to search the next occurrence of the current word.</td> 477 <td>Private slot to search the next occurrence of the current word.</td>
478 </tr><tr> 478 </tr><tr>
479 <td><a href="#Editor.__selectAll">__selectAll</a></td> 479 <td><a href="#Editor.__selectAll">__selectAll</a></td>
480 <td>Private slot handling the select all context menu action.</td> 480 <td>Private slot handling the select all context menu action.</td>
481 </tr><tr> 481 </tr><tr>
482 <td><a href="#Editor.__selectPygmentsLexer">__selectPygmentsLexer</a></td> 482 <td><a href="#Editor.__selectPygmentsLexer">__selectPygmentsLexer</a></td>
577 </tr><tr> 577 </tr><tr>
578 <td><a href="#Editor.__showWarning">__showWarning</a></td> 578 <td><a href="#Editor.__showWarning">__showWarning</a></td>
579 <td>Private slot to handle the 'Show warning' context menu action.</td> 579 <td>Private slot to handle the 'Show warning' context menu action.</td>
580 </tr><tr> 580 </tr><tr>
581 <td><a href="#Editor.__spellCharAdded">__spellCharAdded</a></td> 581 <td><a href="#Editor.__spellCharAdded">__spellCharAdded</a></td>
582 <td>Public slot called to handle the user entering a character.</td> 582 <td>Private slot called to handle the user entering a character.</td>
583 </tr><tr> 583 </tr><tr>
584 <td><a href="#Editor.__styleNeeded">__styleNeeded</a></td> 584 <td><a href="#Editor.__styleNeeded">__styleNeeded</a></td>
585 <td>Private slot to handle the need for more styling.</td> 585 <td>Private slot to handle the need for more styling.</td>
586 </tr><tr> 586 </tr><tr>
587 <td><a href="#Editor.__textChanged">__textChanged</a></td> 587 <td><a href="#Editor.__textChanged">__textChanged</a></td>
691 </tr><tr> 691 </tr><tr>
692 <td><a href="#Editor.commentSelection">commentSelection</a></td> 692 <td><a href="#Editor.commentSelection">commentSelection</a></td>
693 <td>Public slot to comment the current selection.</td> 693 <td>Public slot to comment the current selection.</td>
694 </tr><tr> 694 </tr><tr>
695 <td><a href="#Editor.contextMenuEvent">contextMenuEvent</a></td> 695 <td><a href="#Editor.contextMenuEvent">contextMenuEvent</a></td>
696 <td>Private method implementing the context menu event.</td> 696 <td>Protected method implementing the context menu event.</td>
697 </tr><tr> 697 </tr><tr>
698 <td><a href="#Editor.curLineHasBreakpoint">curLineHasBreakpoint</a></td> 698 <td><a href="#Editor.curLineHasBreakpoint">curLineHasBreakpoint</a></td>
699 <td>Public method to check for the presence of a breakpoint at the current line.</td> 699 <td>Public method to check for the presence of a breakpoint at the current line.</td>
700 </tr><tr> 700 </tr><tr>
701 <td><a href="#Editor.determineFileType">determineFileType</a></td> 701 <td><a href="#Editor.determineFileType">determineFileType</a></td>
721 </tr><tr> 721 </tr><tr>
722 <td><a href="#Editor.ensureVisibleTop">ensureVisibleTop</a></td> 722 <td><a href="#Editor.ensureVisibleTop">ensureVisibleTop</a></td>
723 <td>Public slot to ensure, that the specified line is visible at the top of the editor.</td> 723 <td>Public slot to ensure, that the specified line is visible at the top of the editor.</td>
724 </tr><tr> 724 </tr><tr>
725 <td><a href="#Editor.event">event</a></td> 725 <td><a href="#Editor.event">event</a></td>
726 <td>Protected method handling events.</td> 726 <td>Public method handling events.</td>
727 </tr><tr> 727 </tr><tr>
728 <td><a href="#Editor.exportFile">exportFile</a></td> 728 <td><a href="#Editor.exportFile">exportFile</a></td>
729 <td>Public method to export the file.</td> 729 <td>Public method to export the file.</td>
730 </tr><tr> 730 </tr><tr>
731 <td><a href="#Editor.extractTasks">extractTasks</a></td> 731 <td><a href="#Editor.extractTasks">extractTasks</a></td>
736 </tr><tr> 736 </tr><tr>
737 <td><a href="#Editor.focusInEvent">focusInEvent</a></td> 737 <td><a href="#Editor.focusInEvent">focusInEvent</a></td>
738 <td>Protected method called when the editor receives focus.</td> 738 <td>Protected method called when the editor receives focus.</td>
739 </tr><tr> 739 </tr><tr>
740 <td><a href="#Editor.focusOutEvent">focusOutEvent</a></td> 740 <td><a href="#Editor.focusOutEvent">focusOutEvent</a></td>
741 <td>Public method called when the editor loses focus.</td> 741 <td>Protected method called when the editor loses focus.</td>
742 </tr><tr> 742 </tr><tr>
743 <td><a href="#Editor.gestureEvent">gestureEvent</a></td> 743 <td><a href="#Editor.gestureEvent">gestureEvent</a></td>
744 <td>Protected method handling gesture events.</td> 744 <td>Protected method handling gesture events.</td>
745 </tr><tr> 745 </tr><tr>
746 <td><a href="#Editor.getBookmarkLines">getBookmarkLines</a></td> 746 <td><a href="#Editor.getBookmarkLines">getBookmarkLines</a></td>
838 </tr><tr> 838 </tr><tr>
839 <td><a href="#Editor.gotoSyntaxError">gotoSyntaxError</a></td> 839 <td><a href="#Editor.gotoSyntaxError">gotoSyntaxError</a></td>
840 <td>Public slot to handle the 'Goto syntax error' context menu action.</td> 840 <td>Public slot to handle the 'Goto syntax error' context menu action.</td>
841 </tr><tr> 841 </tr><tr>
842 <td><a href="#Editor.handleMonospacedEnable">handleMonospacedEnable</a></td> 842 <td><a href="#Editor.handleMonospacedEnable">handleMonospacedEnable</a></td>
843 <td>Private slot to handle the Use Monospaced Font context menu entry.</td> 843 <td>Public slot to handle the Use Monospaced Font context menu entry.</td>
844 </tr><tr> 844 </tr><tr>
845 <td><a href="#Editor.handleRenamed">handleRenamed</a></td> 845 <td><a href="#Editor.handleRenamed">handleRenamed</a></td>
846 <td>Public slot to handle the editorRenamed signal.</td> 846 <td>Public slot to handle the editorRenamed signal.</td>
847 </tr><tr> 847 </tr><tr>
848 <td><a href="#Editor.hasBookmarks">hasBookmarks</a></td> 848 <td><a href="#Editor.hasBookmarks">hasBookmarks</a></td>
901 </tr><tr> 901 </tr><tr>
902 <td><a href="#Editor.joinLines">joinLines</a></td> 902 <td><a href="#Editor.joinLines">joinLines</a></td>
903 <td>Public slot to join the current line with the next one.</td> 903 <td>Public slot to join the current line with the next one.</td>
904 </tr><tr> 904 </tr><tr>
905 <td><a href="#Editor.keyPressEvent">keyPressEvent</a></td> 905 <td><a href="#Editor.keyPressEvent">keyPressEvent</a></td>
906 <td>Re-implemented to handle the user input a key at a time.</td> 906 <td>Protected method to handle the user input a key at a time.</td>
907 </tr><tr> 907 </tr><tr>
908 <td><a href="#Editor.macroDelete">macroDelete</a></td> 908 <td><a href="#Editor.macroDelete">macroDelete</a></td>
909 <td>Public method to delete a macro.</td> 909 <td>Public method to delete a macro.</td>
910 </tr><tr> 910 </tr><tr>
911 <td><a href="#Editor.macroLoad">macroLoad</a></td> 911 <td><a href="#Editor.macroLoad">macroLoad</a></td>
940 </tr><tr> 940 </tr><tr>
941 <td><a href="#Editor.mousePressEvent">mousePressEvent</a></td> 941 <td><a href="#Editor.mousePressEvent">mousePressEvent</a></td>
942 <td>Protected method to handle the mouse press event.</td> 942 <td>Protected method to handle the mouse press event.</td>
943 </tr><tr> 943 </tr><tr>
944 <td><a href="#Editor.newBreakpointWithProperties">newBreakpointWithProperties</a></td> 944 <td><a href="#Editor.newBreakpointWithProperties">newBreakpointWithProperties</a></td>
945 <td>Private method to set a new breakpoint and its properties.</td> 945 <td>Public method to set a new breakpoint and its properties.</td>
946 </tr><tr> 946 </tr><tr>
947 <td><a href="#Editor.nextBookmark">nextBookmark</a></td> 947 <td><a href="#Editor.nextBookmark">nextBookmark</a></td>
948 <td>Public slot to handle the 'Next bookmark' context menu action.</td> 948 <td>Public slot to handle the 'Next bookmark' context menu action.</td>
949 </tr><tr> 949 </tr><tr>
950 <td><a href="#Editor.nextChange">nextChange</a></td> 950 <td><a href="#Editor.nextChange">nextChange</a></td>
1367 </dd> 1367 </dd>
1368 </dl><a NAME="Editor.__charAdded" ID="Editor.__charAdded"></a> 1368 </dl><a NAME="Editor.__charAdded" ID="Editor.__charAdded"></a>
1369 <h4>Editor.__charAdded</h4> 1369 <h4>Editor.__charAdded</h4>
1370 <b>__charAdded</b>(<i>charNumber</i>) 1370 <b>__charAdded</b>(<i>charNumber</i>)
1371 <p> 1371 <p>
1372 Public slot called to handle the user entering a character. 1372 Private slot called to handle the user entering a character.
1373 </p><dl> 1373 </p><dl>
1374 <dt><i>charNumber</i></dt> 1374 <dt><i>charNumber</i></dt>
1375 <dd> 1375 <dd>
1376 value of the character entered (integer) 1376 value of the character entered (integer)
1377 </dd> 1377 </dd>
1412 </dd> 1412 </dd>
1413 </dl><a NAME="Editor.__clearTypedWarning" ID="Editor.__clearTypedWarning"></a> 1413 </dl><a NAME="Editor.__clearTypedWarning" ID="Editor.__clearTypedWarning"></a>
1414 <h4>Editor.__clearTypedWarning</h4> 1414 <h4>Editor.__clearTypedWarning</h4>
1415 <b>__clearTypedWarning</b>(<i>warningKind</i>) 1415 <b>__clearTypedWarning</b>(<i>warningKind</i>)
1416 <p> 1416 <p>
1417 Public method to clear warnings of a specific kind. 1417 Private method to clear warnings of a specific kind.
1418 </p><dl> 1418 </p><dl>
1419 <dt><i>warningKind</i></dt> 1419 <dt><i>warningKind</i></dt>
1420 <dd> 1420 <dd>
1421 kind of warning to clear (Editor.WarningCode, 1421 kind of warning to clear (Editor.WarningCode,
1422 Editor.WarningStyle) 1422 Editor.WarningStyle)
2187 Private slot to record the last edit position. 2187 Private slot to record the last edit position.
2188 </p><a NAME="Editor.__searchCurrentWord" ID="Editor.__searchCurrentWord"></a> 2188 </p><a NAME="Editor.__searchCurrentWord" ID="Editor.__searchCurrentWord"></a>
2189 <h4>Editor.__searchCurrentWord</h4> 2189 <h4>Editor.__searchCurrentWord</h4>
2190 <b>__searchCurrentWord</b>(<i>forward=True</i>) 2190 <b>__searchCurrentWord</b>(<i>forward=True</i>)
2191 <p> 2191 <p>
2192 Public slot to search the next occurrence of the current word. 2192 Private slot to search the next occurrence of the current word.
2193 </p><dl> 2193 </p><dl>
2194 <dt><i>forward</i></dt> 2194 <dt><i>forward</i></dt>
2195 <dd> 2195 <dd>
2196 flag indicating the search direction (boolean) 2196 flag indicating the search direction (boolean)
2197 </dd> 2197 </dd>
2414 </dd> 2414 </dd>
2415 </dl><a NAME="Editor.__spellCharAdded" ID="Editor.__spellCharAdded"></a> 2415 </dl><a NAME="Editor.__spellCharAdded" ID="Editor.__spellCharAdded"></a>
2416 <h4>Editor.__spellCharAdded</h4> 2416 <h4>Editor.__spellCharAdded</h4>
2417 <b>__spellCharAdded</b>(<i>charNumber</i>) 2417 <b>__spellCharAdded</b>(<i>charNumber</i>)
2418 <p> 2418 <p>
2419 Public slot called to handle the user entering a character. 2419 Private slot called to handle the user entering a character.
2420 </p><dl> 2420 </p><dl>
2421 <dt><i>charNumber</i></dt> 2421 <dt><i>charNumber</i></dt>
2422 <dd> 2422 <dd>
2423 value of the character entered (integer) 2423 value of the character entered (integer)
2424 </dd> 2424 </dd>
2721 Public slot to comment the current selection. 2721 Public slot to comment the current selection.
2722 </p><a NAME="Editor.contextMenuEvent" ID="Editor.contextMenuEvent"></a> 2722 </p><a NAME="Editor.contextMenuEvent" ID="Editor.contextMenuEvent"></a>
2723 <h4>Editor.contextMenuEvent</h4> 2723 <h4>Editor.contextMenuEvent</h4>
2724 <b>contextMenuEvent</b>(<i>evt</i>) 2724 <b>contextMenuEvent</b>(<i>evt</i>)
2725 <p> 2725 <p>
2726 Private method implementing the context menu event. 2726 Protected method implementing the context menu event.
2727 </p><dl> 2727 </p><dl>
2728 <dt><i>evt</i></dt> 2728 <dt><i>evt</i></dt>
2729 <dd> 2729 <dd>
2730 the context menu event (QContextMenuEvent) 2730 the context menu event (QContextMenuEvent)
2731 </dd> 2731 </dd>
2823 </dd> 2823 </dd>
2824 </dl><a NAME="Editor.event" ID="Editor.event"></a> 2824 </dl><a NAME="Editor.event" ID="Editor.event"></a>
2825 <h4>Editor.event</h4> 2825 <h4>Editor.event</h4>
2826 <b>event</b>(<i>evt</i>) 2826 <b>event</b>(<i>evt</i>)
2827 <p> 2827 <p>
2828 Protected method handling events. 2828 Public method handling events.
2829 </p><dl> 2829 </p><dl>
2830 <dt><i>evt</i></dt> 2830 <dt><i>evt</i></dt>
2831 <dd> 2831 <dd>
2832 reference to the event (QEvent) 2832 reference to the event (QEvent)
2833 </dd> 2833 </dd>
2878 </dd> 2878 </dd>
2879 </dl><a NAME="Editor.focusOutEvent" ID="Editor.focusOutEvent"></a> 2879 </dl><a NAME="Editor.focusOutEvent" ID="Editor.focusOutEvent"></a>
2880 <h4>Editor.focusOutEvent</h4> 2880 <h4>Editor.focusOutEvent</h4>
2881 <b>focusOutEvent</b>(<i>event</i>) 2881 <b>focusOutEvent</b>(<i>event</i>)
2882 <p> 2882 <p>
2883 Public method called when the editor loses focus. 2883 Protected method called when the editor loses focus.
2884 </p><dl> 2884 </p><dl>
2885 <dt><i>event</i></dt> 2885 <dt><i>event</i></dt>
2886 <dd> 2886 <dd>
2887 the event object (QFocusEvent) 2887 the event object (QFocusEvent)
2888 </dd> 2888 </dd>
3291 Public slot to handle the 'Goto syntax error' context menu action. 3291 Public slot to handle the 'Goto syntax error' context menu action.
3292 </p><a NAME="Editor.handleMonospacedEnable" ID="Editor.handleMonospacedEnable"></a> 3292 </p><a NAME="Editor.handleMonospacedEnable" ID="Editor.handleMonospacedEnable"></a>
3293 <h4>Editor.handleMonospacedEnable</h4> 3293 <h4>Editor.handleMonospacedEnable</h4>
3294 <b>handleMonospacedEnable</b>(<i></i>) 3294 <b>handleMonospacedEnable</b>(<i></i>)
3295 <p> 3295 <p>
3296 Private slot to handle the Use Monospaced Font context menu entry. 3296 Public slot to handle the Use Monospaced Font context menu entry.
3297 </p><a NAME="Editor.handleRenamed" ID="Editor.handleRenamed"></a> 3297 </p><a NAME="Editor.handleRenamed" ID="Editor.handleRenamed"></a>
3298 <h4>Editor.handleRenamed</h4> 3298 <h4>Editor.handleRenamed</h4>
3299 <b>handleRenamed</b>(<i>fn</i>) 3299 <b>handleRenamed</b>(<i>fn</i>)
3300 <p> 3300 <p>
3301 Public slot to handle the editorRenamed signal. 3301 Public slot to handle the editorRenamed signal.
3494 Public slot to join the current line with the next one. 3494 Public slot to join the current line with the next one.
3495 </p><a NAME="Editor.keyPressEvent" ID="Editor.keyPressEvent"></a> 3495 </p><a NAME="Editor.keyPressEvent" ID="Editor.keyPressEvent"></a>
3496 <h4>Editor.keyPressEvent</h4> 3496 <h4>Editor.keyPressEvent</h4>
3497 <b>keyPressEvent</b>(<i>ev</i>) 3497 <b>keyPressEvent</b>(<i>ev</i>)
3498 <p> 3498 <p>
3499 Re-implemented to handle the user input a key at a time. 3499 Protected method to handle the user input a key at a time.
3500 </p><dl> 3500 </p><dl>
3501 <dt><i>ev</i></dt> 3501 <dt><i>ev</i></dt>
3502 <dd> 3502 <dd>
3503 key event (QKeyEvent) 3503 key event (QKeyEvent)
3504 </dd> 3504 </dd>
3574 </dd> 3574 </dd>
3575 </dl><a NAME="Editor.newBreakpointWithProperties" ID="Editor.newBreakpointWithProperties"></a> 3575 </dl><a NAME="Editor.newBreakpointWithProperties" ID="Editor.newBreakpointWithProperties"></a>
3576 <h4>Editor.newBreakpointWithProperties</h4> 3576 <h4>Editor.newBreakpointWithProperties</h4>
3577 <b>newBreakpointWithProperties</b>(<i>line, properties</i>) 3577 <b>newBreakpointWithProperties</b>(<i>line, properties</i>)
3578 <p> 3578 <p>
3579 Private method to set a new breakpoint and its properties. 3579 Public method to set a new breakpoint and its properties.
3580 </p><dl> 3580 </p><dl>
3581 <dt><i>line</i></dt> 3581 <dt><i>line</i></dt>
3582 <dd> 3582 <dd>
3583 line number of the breakpoint (integer) 3583 line number of the breakpoint (integer)
3584 </dd><dt><i>properties</i></dt> 3584 </dd><dt><i>properties</i></dt>

eric ide

mercurial