eric7/Documentation/Source/eric7.QScintilla.Editor.html

branch
eric7
changeset 8513
a7464bea3d0a
parent 8490
22230c2591c3
child 8523
14e1ee6e720b
equal deleted inserted replaced
8512:cc82680dba7b 8513:a7464bea3d0a
271 <tr> 271 <tr>
272 <td><a href="#Editor.__callTip">__callTip</a></td> 272 <td><a href="#Editor.__callTip">__callTip</a></td>
273 <td>Private method to show call tips provided by a plugin.</td> 273 <td>Private method to show call tips provided by a plugin.</td>
274 </tr> 274 </tr>
275 <tr> 275 <tr>
276 <td><a href="#Editor.__cancelMouseHoverHelp">__cancelMouseHoverHelp</a></td>
277 <td>Private slot cancelling the display of mouse hover help.</td>
278 </tr>
279 <tr>
276 <td><a href="#Editor.__changeBreakPoints">__changeBreakPoints</a></td> 280 <td><a href="#Editor.__changeBreakPoints">__changeBreakPoints</a></td>
277 <td>Private slot to set changed breakpoints.</td> 281 <td>Private slot to set changed breakpoints.</td>
278 </tr> 282 </tr>
279 <tr> 283 <tr>
280 <td><a href="#Editor.__charAdded">__charAdded</a></td> 284 <td><a href="#Editor.__charAdded">__charAdded</a></td>
851 <tr> 855 <tr>
852 <td><a href="#Editor.__showImportsDiagram">__showImportsDiagram</a></td> 856 <td><a href="#Editor.__showImportsDiagram">__showImportsDiagram</a></td>
853 <td>Private method to handle the Imports Diagram context menu action.</td> 857 <td>Private method to handle the Imports Diagram context menu action.</td>
854 </tr> 858 </tr>
855 <tr> 859 <tr>
860 <td><a href="#Editor.__showMouseHoverHelp">__showMouseHoverHelp</a></td>
861 <td>Private slot showing code information about the symbol under the cursor.</td>
862 </tr>
863 <tr>
856 <td><a href="#Editor.__showPackageDiagram">__showPackageDiagram</a></td> 864 <td><a href="#Editor.__showPackageDiagram">__showPackageDiagram</a></td>
857 <td>Private method to handle the Package Diagram context menu action.</td> 865 <td>Private method to handle the Package Diagram context menu action.</td>
858 </tr> 866 </tr>
859 <tr> 867 <tr>
860 <td><a href="#Editor.__showProfileData">__showProfileData</a></td> 868 <td><a href="#Editor.__showProfileData">__showProfileData</a></td>
1543 <tr> 1551 <tr>
1544 <td><a href="#Editor.refreshCoverageAnnotations">refreshCoverageAnnotations</a></td> 1552 <td><a href="#Editor.refreshCoverageAnnotations">refreshCoverageAnnotations</a></td>
1545 <td>Public method to refresh the code coverage annotations.</td> 1553 <td>Public method to refresh the code coverage annotations.</td>
1546 </tr> 1554 </tr>
1547 <tr> 1555 <tr>
1556 <td><a href="#Editor.registerMouseHoverHelpFunction">registerMouseHoverHelpFunction</a></td>
1557 <td>Public method to register a mouse hover help function.</td>
1558 </tr>
1559 <tr>
1548 <td><a href="#Editor.removeCallTipHook">removeCallTipHook</a></td> 1560 <td><a href="#Editor.removeCallTipHook">removeCallTipHook</a></td>
1549 <td>Public method to remove a previously registered calltip provider.</td> 1561 <td>Public method to remove a previously registered calltip provider.</td>
1550 </tr> 1562 </tr>
1551 <tr> 1563 <tr>
1552 <td><a href="#Editor.removeClone">removeClone</a></td> 1564 <td><a href="#Editor.removeClone">removeClone</a></td>
1655 <tr> 1667 <tr>
1656 <td><a href="#Editor.shouldAutosave">shouldAutosave</a></td> 1668 <td><a href="#Editor.shouldAutosave">shouldAutosave</a></td>
1657 <td>Public slot to check the autosave flags.</td> 1669 <td>Public slot to check the autosave flags.</td>
1658 </tr> 1670 </tr>
1659 <tr> 1671 <tr>
1672 <td><a href="#Editor.showMouseHoverHelpData">showMouseHoverHelpData</a></td>
1673 <td>Public method to show the mouse hover help data.</td>
1674 </tr>
1675 <tr>
1660 <td><a href="#Editor.smartIndentLineOrSelection">smartIndentLineOrSelection</a></td> 1676 <td><a href="#Editor.smartIndentLineOrSelection">smartIndentLineOrSelection</a></td>
1661 <td>Public slot to indent current line smartly.</td> 1677 <td>Public slot to indent current line smartly.</td>
1662 </tr> 1678 </tr>
1663 <tr> 1679 <tr>
1664 <td><a href="#Editor.sortLines">sortLines</a></td> 1680 <td><a href="#Editor.sortLines">sortLines</a></td>
1717 <td>Public method to undo the last recorded change.</td> 1733 <td>Public method to undo the last recorded change.</td>
1718 </tr> 1734 </tr>
1719 <tr> 1735 <tr>
1720 <td><a href="#Editor.unindentLineOrSelection">unindentLineOrSelection</a></td> 1736 <td><a href="#Editor.unindentLineOrSelection">unindentLineOrSelection</a></td>
1721 <td>Public slot to unindent the current line or current selection.</td> 1737 <td>Public slot to unindent the current line or current selection.</td>
1738 </tr>
1739 <tr>
1740 <td><a href="#Editor.unregisterMouseHoverHelpFunction">unregisterMouseHoverHelpFunction</a></td>
1741 <td>Public method to unregister a mouse hover help function.</td>
1722 </tr> 1742 </tr>
1723 <tr> 1743 <tr>
1724 <td><a href="#Editor.updateMarkerMap">updateMarkerMap</a></td> 1744 <td><a href="#Editor.updateMarkerMap">updateMarkerMap</a></td>
1725 <td>Public method to initiate an update of the marker map.</td> 1745 <td>Public method to initiate an update of the marker map.</td>
1726 </tr> 1746 </tr>
2052 <h4>Editor.__callTip</h4> 2072 <h4>Editor.__callTip</h4>
2053 <b>__callTip</b>(<i></i>) 2073 <b>__callTip</b>(<i></i>)
2054 2074
2055 <p> 2075 <p>
2056 Private method to show call tips provided by a plugin. 2076 Private method to show call tips provided by a plugin.
2077 </p>
2078 <a NAME="Editor.__cancelMouseHoverHelp" ID="Editor.__cancelMouseHoverHelp"></a>
2079 <h4>Editor.__cancelMouseHoverHelp</h4>
2080 <b>__cancelMouseHoverHelp</b>(<i></i>)
2081
2082 <p>
2083 Private slot cancelling the display of mouse hover help.
2057 </p> 2084 </p>
2058 <a NAME="Editor.__changeBreakPoints" ID="Editor.__changeBreakPoints"></a> 2085 <a NAME="Editor.__changeBreakPoints" ID="Editor.__changeBreakPoints"></a>
2059 <h4>Editor.__changeBreakPoints</h4> 2086 <h4>Editor.__changeBreakPoints</h4>
2060 <b>__changeBreakPoints</b>(<i>startIndex, endIndex</i>) 2087 <b>__changeBreakPoints</b>(<i>startIndex, endIndex</i>)
2061 2088
3799 <b>__showImportsDiagram</b>(<i></i>) 3826 <b>__showImportsDiagram</b>(<i></i>)
3800 3827
3801 <p> 3828 <p>
3802 Private method to handle the Imports Diagram context menu action. 3829 Private method to handle the Imports Diagram context menu action.
3803 </p> 3830 </p>
3831 <a NAME="Editor.__showMouseHoverHelp" ID="Editor.__showMouseHoverHelp"></a>
3832 <h4>Editor.__showMouseHoverHelp</h4>
3833 <b>__showMouseHoverHelp</b>(<i>pos, x, y</i>)
3834
3835 <p>
3836 Private slot showing code information about the symbol under the
3837 cursor.
3838 </p>
3839 <dl>
3840
3841 <dt><i>pos</i> (int)</dt>
3842 <dd>
3843 mouse position into the document
3844 </dd>
3845 <dt><i>x</i> (int)</dt>
3846 <dd>
3847 x-value of mouse screen position
3848 </dd>
3849 <dt><i>y</i> (int)</dt>
3850 <dd>
3851 y-value of mouse screen position
3852 </dd>
3853 </dl>
3804 <a NAME="Editor.__showPackageDiagram" ID="Editor.__showPackageDiagram"></a> 3854 <a NAME="Editor.__showPackageDiagram" ID="Editor.__showPackageDiagram"></a>
3805 <h4>Editor.__showPackageDiagram</h4> 3855 <h4>Editor.__showPackageDiagram</h4>
3806 <b>__showPackageDiagram</b>(<i></i>) 3856 <b>__showPackageDiagram</b>(<i></i>)
3807 3857
3808 <p> 3858 <p>
6125 <b>refreshCoverageAnnotations</b>(<i></i>) 6175 <b>refreshCoverageAnnotations</b>(<i></i>)
6126 6176
6127 <p> 6177 <p>
6128 Public method to refresh the code coverage annotations. 6178 Public method to refresh the code coverage annotations.
6129 </p> 6179 </p>
6180 <a NAME="Editor.registerMouseHoverHelpFunction" ID="Editor.registerMouseHoverHelpFunction"></a>
6181 <h4>Editor.registerMouseHoverHelpFunction</h4>
6182 <b>registerMouseHoverHelpFunction</b>(<i>func</i>)
6183
6184 <p>
6185 Public method to register a mouse hover help function.
6186 </p>
6187 <p>
6188 Note: Only one plugin should provide this function. Otherwise
6189 the last one wins.
6190 </p>
6191 <dl>
6192
6193 <dt><i>func</i> (func)</dt>
6194 <dd>
6195 function accepting a reference to the calling editor and
6196 the line and column position (zero based each)
6197 </dd>
6198 </dl>
6130 <a NAME="Editor.removeCallTipHook" ID="Editor.removeCallTipHook"></a> 6199 <a NAME="Editor.removeCallTipHook" ID="Editor.removeCallTipHook"></a>
6131 <h4>Editor.removeCallTipHook</h4> 6200 <h4>Editor.removeCallTipHook</h4>
6132 <b>removeCallTipHook</b>(<i>key</i>) 6201 <b>removeCallTipHook</b>(<i>key</i>)
6133 6202
6134 <p> 6203 <p>
6556 <dt>Return:</dt> 6625 <dt>Return:</dt>
6557 <dd> 6626 <dd>
6558 flag indicating this editor should be saved (boolean) 6627 flag indicating this editor should be saved (boolean)
6559 </dd> 6628 </dd>
6560 </dl> 6629 </dl>
6630 <a NAME="Editor.showMouseHoverHelpData" ID="Editor.showMouseHoverHelpData"></a>
6631 <h4>Editor.showMouseHoverHelpData</h4>
6632 <b>showMouseHoverHelpData</b>(<i>line, index, data</i>)
6633
6634 <p>
6635 Public method to show the mouse hover help data.
6636 </p>
6637 <dl>
6638
6639 <dt><i>line</i> (int)</dt>
6640 <dd>
6641 line of mouse cursor position
6642 </dd>
6643 <dt><i>index</i> (TYPE)</dt>
6644 <dd>
6645 column of mouse cursor position
6646 </dd>
6647 <dt><i>data</i> (str)</dt>
6648 <dd>
6649 information text to be shown
6650 </dd>
6651 </dl>
6561 <a NAME="Editor.smartIndentLineOrSelection" ID="Editor.smartIndentLineOrSelection"></a> 6652 <a NAME="Editor.smartIndentLineOrSelection" ID="Editor.smartIndentLineOrSelection"></a>
6562 <h4>Editor.smartIndentLineOrSelection</h4> 6653 <h4>Editor.smartIndentLineOrSelection</h4>
6563 <b>smartIndentLineOrSelection</b>(<i></i>) 6654 <b>smartIndentLineOrSelection</b>(<i></i>)
6564 6655
6565 <p> 6656 <p>
6732 <b>unindentLineOrSelection</b>(<i></i>) 6823 <b>unindentLineOrSelection</b>(<i></i>)
6733 6824
6734 <p> 6825 <p>
6735 Public slot to unindent the current line or current selection. 6826 Public slot to unindent the current line or current selection.
6736 </p> 6827 </p>
6828 <a NAME="Editor.unregisterMouseHoverHelpFunction" ID="Editor.unregisterMouseHoverHelpFunction"></a>
6829 <h4>Editor.unregisterMouseHoverHelpFunction</h4>
6830 <b>unregisterMouseHoverHelpFunction</b>(<i>func</i>)
6831
6832 <p>
6833 Public method to unregister a mouse hover help function.
6834 </p>
6835 <dl>
6836
6837 <dt><i>func</i> (func)</dt>
6838 <dd>
6839 function accepting a reference to the calling editor and
6840 the line and column position (zero based each)
6841 </dd>
6842 </dl>
6737 <a NAME="Editor.updateMarkerMap" ID="Editor.updateMarkerMap"></a> 6843 <a NAME="Editor.updateMarkerMap" ID="Editor.updateMarkerMap"></a>
6738 <h4>Editor.updateMarkerMap</h4> 6844 <h4>Editor.updateMarkerMap</h4>
6739 <b>updateMarkerMap</b>(<i></i>) 6845 <b>updateMarkerMap</b>(<i></i>)
6740 6846
6741 <p> 6847 <p>

eric ide

mercurial