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

branch
eric7
changeset 10279
e6e270b705c2
parent 10259
b51dfacef37f
child 10289
490388ca210c
equal deleted inserted replaced
10278:e26fa3b06f4f 10279:e6e270b705c2
165 <h3>Derived from</h3> 165 <h3>Derived from</h3>
166 QsciScintillaCompat 166 QsciScintillaCompat
167 <h3>Class Attributes</h3> 167 <h3>Class Attributes</h3>
168 168
169 <table> 169 <table>
170 <tr><td>AttributeID</td></tr><tr><td>AttributePrivateID</td></tr><tr><td>AttributeProtectedID</td></tr><tr><td>CancelEditToken</td></tr><tr><td>ClassID</td></tr><tr><td>ClassPrivateID</td></tr><tr><td>ClassProtectedID</td></tr><tr><td>EncloseChars</td></tr><tr><td>EndEditToken</td></tr><tr><td>EnumID</td></tr><tr><td>FromDocumentID</td></tr><tr><td>KeywordsID</td></tr><tr><td>MethodID</td></tr><tr><td>MethodPrivateID</td></tr><tr><td>MethodProtectedID</td></tr><tr><td>ModuleID</td></tr><tr><td>RequestSyncToken</td></tr><tr><td>Separator</td></tr><tr><td>StartEditToken</td></tr><tr><td>SyncToken</td></tr><tr><td>TemplateImageID</td></tr><tr><td>VcsConflictMarkerLineRegExpList</td></tr><tr><td>WarningCode</td></tr><tr><td>WarningPython</td></tr><tr><td>WarningStyle</td></tr> 170 <tr><td>AttributeID</td></tr><tr><td>AttributePrivateID</td></tr><tr><td>AttributeProtectedID</td></tr><tr><td>CancelEditToken</td></tr><tr><td>ClassID</td></tr><tr><td>ClassPrivateID</td></tr><tr><td>ClassProtectedID</td></tr><tr><td>EncloseChars</td></tr><tr><td>EndEditToken</td></tr><tr><td>EnumID</td></tr><tr><td>FromDocumentID</td></tr><tr><td>KeywordsID</td></tr><tr><td>MethodID</td></tr><tr><td>MethodPrivateID</td></tr><tr><td>MethodProtectedID</td></tr><tr><td>ModuleID</td></tr><tr><td>RequestSyncToken</td></tr><tr><td>Separator</td></tr><tr><td>StartEditToken</td></tr><tr><td>SyncToken</td></tr><tr><td>TemplateImageID</td></tr><tr><td>VcsConflictMarkerLineRegExpList</td></tr><tr><td>WarningCode</td></tr><tr><td>WarningInfo</td></tr><tr><td>WarningPython</td></tr><tr><td>WarningStyle</td></tr>
171 </table> 171 </table>
172 <h3>Class Methods</h3> 172 <h3>Class Methods</h3>
173 173
174 <table> 174 <table>
175 <tr><td>None</td></tr> 175 <tr><td>None</td></tr>
238 <td><a href="#Editor.__autosaveEnable">__autosaveEnable</a></td> 238 <td><a href="#Editor.__autosaveEnable">__autosaveEnable</a></td>
239 <td>Private slot handling the autosave enable context menu action.</td> 239 <td>Private slot handling the autosave enable context menu action.</td>
240 </tr> 240 </tr>
241 <tr> 241 <tr>
242 <td><a href="#Editor.__bindCompleter">__bindCompleter</a></td> 242 <td><a href="#Editor.__bindCompleter">__bindCompleter</a></td>
243 <td>Private slot to set the correct typing completer depending on language.</td> 243 <td>Private method to set the correct typing completer depending on language.</td>
244 </tr> 244 </tr>
245 <tr> 245 <tr>
246 <td><a href="#Editor.__bindLexer">__bindLexer</a></td> 246 <td><a href="#Editor.__bindLexer">__bindLexer</a></td>
247 <td>Private slot to set the correct lexer depending on language.</td> 247 <td>Private method to set the correct lexer depending on language.</td>
248 </tr> 248 </tr>
249 <tr> 249 <tr>
250 <td><a href="#Editor.__bindName">__bindName</a></td> 250 <td><a href="#Editor.__bindName">__bindName</a></td>
251 <td>Private method to generate a dummy filename for binding a lexer.</td> 251 <td>Private method to generate a dummy filename for binding a lexer.</td>
252 </tr> 252 </tr>
298 <td><a href="#Editor.__checkSpellingWord">__checkSpellingWord</a></td> 298 <td><a href="#Editor.__checkSpellingWord">__checkSpellingWord</a></td>
299 <td>Private slot to check the word below the spelling context menu.</td> 299 <td>Private slot to check the word below the spelling context menu.</td>
300 </tr> 300 </tr>
301 <tr> 301 <tr>
302 <td><a href="#Editor.__clearBreakpoints">__clearBreakpoints</a></td> 302 <td><a href="#Editor.__clearBreakpoints">__clearBreakpoints</a></td>
303 <td>Private slot to clear all breakpoints.</td> 303 <td>Private method to clear all breakpoints.</td>
304 </tr> 304 </tr>
305 <tr> 305 <tr>
306 <td><a href="#Editor.__clearCompletionsCache">__clearCompletionsCache</a></td> 306 <td><a href="#Editor.__clearCompletionsCache">__clearCompletionsCache</a></td>
307 <td>Private method to clear the auto-completions cache.</td> 307 <td>Private method to clear the auto-completions cache.</td>
308 </tr> 308 </tr>
522 <td><a href="#Editor.__isStartChar">__isStartChar</a></td> 522 <td><a href="#Editor.__isStartChar">__isStartChar</a></td>
523 <td>Private method to check, if a character is an autocompletion start character.</td> 523 <td>Private method to check, if a character is an autocompletion start character.</td>
524 </tr> 524 </tr>
525 <tr> 525 <tr>
526 <td><a href="#Editor.__languageChanged">__languageChanged</a></td> 526 <td><a href="#Editor.__languageChanged">__languageChanged</a></td>
527 <td>Private slot handling a change of a connected editor's language.</td> 527 <td>Private method handling a change of a connected editor's language.</td>
528 </tr> 528 </tr>
529 <tr> 529 <tr>
530 <td><a href="#Editor.__languageMenuTriggered">__languageMenuTriggered</a></td> 530 <td><a href="#Editor.__languageMenuTriggered">__languageMenuTriggered</a></td>
531 <td>Private method to handle the selection of a lexer language.</td> 531 <td>Private method to handle the selection of a lexer language.</td>
532 </tr> 532 </tr>
610 <td><a href="#Editor.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td> 610 <td><a href="#Editor.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td>
611 <td>Private method to sort the import statements using the 'isort' tool.</td> 611 <td>Private method to sort the import statements using the 'isort' tool.</td>
612 </tr> 612 </tr>
613 <tr> 613 <tr>
614 <td><a href="#Editor.__popupDocstringMenu">__popupDocstringMenu</a></td> 614 <td><a href="#Editor.__popupDocstringMenu">__popupDocstringMenu</a></td>
615 <td>Private slot to pop up a menu asking the user, if a docstring should be inserted.</td> 615 <td>Private method to pop up a menu asking the user, if a docstring should be inserted.</td>
616 </tr> 616 </tr>
617 <tr> 617 <tr>
618 <td><a href="#Editor.__printPreview">__printPreview</a></td> 618 <td><a href="#Editor.__printPreview">__printPreview</a></td>
619 <td>Private slot to generate a print preview.</td> 619 <td>Private slot to generate a print preview.</td>
620 </tr> 620 </tr>
754 <td><a href="#Editor.__setSpelling">__setSpelling</a></td> 754 <td><a href="#Editor.__setSpelling">__setSpelling</a></td>
755 <td>Private method to initialize the spell checking functionality.</td> 755 <td>Private method to initialize the spell checking functionality.</td>
756 </tr> 756 </tr>
757 <tr> 757 <tr>
758 <td><a href="#Editor.__setSpellingLanguage">__setSpellingLanguage</a></td> 758 <td><a href="#Editor.__setSpellingLanguage">__setSpellingLanguage</a></td>
759 <td>Private slot to set the spell checking language.</td> 759 <td>Private method to set the spell checking language.</td>
760 </tr> 760 </tr>
761 <tr> 761 <tr>
762 <td><a href="#Editor.__setTabAndIndent">__setTabAndIndent</a></td> 762 <td><a href="#Editor.__setTabAndIndent">__setTabAndIndent</a></td>
763 <td>Private method to set indentation size and style and tab width.</td> 763 <td>Private method to set indentation size and style and tab width.</td>
764 </tr> 764 </tr>
966 <td><a href="#Editor.canProvideDynamicAutoCompletion">canProvideDynamicAutoCompletion</a></td> 966 <td><a href="#Editor.canProvideDynamicAutoCompletion">canProvideDynamicAutoCompletion</a></td>
967 <td>Public method to test the dynamic auto-completion availability.</td> 967 <td>Public method to test the dynamic auto-completion availability.</td>
968 </tr> 968 </tr>
969 <tr> 969 <tr>
970 <td><a href="#Editor.cancelSharedEdit">cancelSharedEdit</a></td> 970 <td><a href="#Editor.cancelSharedEdit">cancelSharedEdit</a></td>
971 <td>Public slot to cancel a shared edit session for the editor.</td> 971 <td>Public method to cancel a shared edit session for the editor.</td>
972 </tr> 972 </tr>
973 <tr> 973 <tr>
974 <td><a href="#Editor.changeEvent">changeEvent</a></td> 974 <td><a href="#Editor.changeEvent">changeEvent</a></td>
975 <td>Protected method called to process an event.</td> 975 <td>Protected method called to process an event.</td>
976 </tr> 976 </tr>
1013 <tr> 1013 <tr>
1014 <td><a href="#Editor.clearHighlight">clearHighlight</a></td> 1014 <td><a href="#Editor.clearHighlight">clearHighlight</a></td>
1015 <td>Public method to clear a text highlight.</td> 1015 <td>Public method to clear a text highlight.</td>
1016 </tr> 1016 </tr>
1017 <tr> 1017 <tr>
1018 <td><a href="#Editor.clearInfoWarnings">clearInfoWarnings</a></td>
1019 <td>Public slot to clear all info warnings.</td>
1020 </tr>
1021 <tr>
1018 <td><a href="#Editor.clearSearchIndicators">clearSearchIndicators</a></td> 1022 <td><a href="#Editor.clearSearchIndicators">clearSearchIndicators</a></td>
1019 <td>Public method to clear all search indicators.</td> 1023 <td>Public method to clear all search indicators.</td>
1020 </tr> 1024 </tr>
1021 <tr> 1025 <tr>
1022 <td><a href="#Editor.clearSearchSelectionHighlight">clearSearchSelectionHighlight</a></td> 1026 <td><a href="#Editor.clearSearchSelectionHighlight">clearSearchSelectionHighlight</a></td>
1050 <td><a href="#Editor.codeCoverageShowAnnotations">codeCoverageShowAnnotations</a></td> 1054 <td><a href="#Editor.codeCoverageShowAnnotations">codeCoverageShowAnnotations</a></td>
1051 <td>Public method to handle the show code coverage annotations context menu action.</td> 1055 <td>Public method to handle the show code coverage annotations context menu action.</td>
1052 </tr> 1056 </tr>
1053 <tr> 1057 <tr>
1054 <td><a href="#Editor.collapseFoldWithChildren">collapseFoldWithChildren</a></td> 1058 <td><a href="#Editor.collapseFoldWithChildren">collapseFoldWithChildren</a></td>
1055 <td>Public slot to collapse the current fold including its children.</td> 1059 <td>Public method to collapse the current fold including its children.</td>
1056 </tr> 1060 </tr>
1057 <tr> 1061 <tr>
1058 <td><a href="#Editor.commentLine">commentLine</a></td> 1062 <td><a href="#Editor.commentLine">commentLine</a></td>
1059 <td>Public slot to comment the current line.</td> 1063 <td>Public slot to comment the current line.</td>
1060 </tr> 1064 </tr>
1102 <td><a href="#Editor.encloseSelectedText">encloseSelectedText</a></td> 1106 <td><a href="#Editor.encloseSelectedText">encloseSelectedText</a></td>
1103 <td>Local function to enclose the current selection with some characters.</td> 1107 <td>Local function to enclose the current selection with some characters.</td>
1104 </tr> 1108 </tr>
1105 <tr> 1109 <tr>
1106 <td><a href="#Editor.ensureVisible">ensureVisible</a></td> 1110 <td><a href="#Editor.ensureVisible">ensureVisible</a></td>
1107 <td>Public slot to ensure, that the specified line is visible.</td> 1111 <td>Public method to ensure, that the specified line is visible.</td>
1108 </tr> 1112 </tr>
1109 <tr> 1113 <tr>
1110 <td><a href="#Editor.ensureVisibleTop">ensureVisibleTop</a></td> 1114 <td><a href="#Editor.ensureVisibleTop">ensureVisibleTop</a></td>
1111 <td>Public slot to ensure, that the specified line is visible at the top of the editor.</td> 1115 <td>Public method to ensure, that the specified line is visible at the top of the editor.</td>
1112 </tr> 1116 </tr>
1113 <tr> 1117 <tr>
1114 <td><a href="#Editor.event">event</a></td> 1118 <td><a href="#Editor.event">event</a></td>
1115 <td>Public method handling events.</td> 1119 <td>Public method handling events.</td>
1116 </tr> 1120 </tr>
1117 <tr> 1121 <tr>
1118 <td><a href="#Editor.expandFoldWithChildren">expandFoldWithChildren</a></td> 1122 <td><a href="#Editor.expandFoldWithChildren">expandFoldWithChildren</a></td>
1119 <td>Public slot to expand the current fold including its children.</td> 1123 <td>Public method to expand the current fold including its children.</td>
1120 </tr> 1124 </tr>
1121 <tr> 1125 <tr>
1122 <td><a href="#Editor.exportFile">exportFile</a></td> 1126 <td><a href="#Editor.exportFile">exportFile</a></td>
1123 <td>Public method to export the file.</td> 1127 <td>Public method to export the file.</td>
1124 </tr> 1128 </tr>
1261 <tr> 1265 <tr>
1262 <td><a href="#Editor.getSyntaxErrorLines">getSyntaxErrorLines</a></td> 1266 <td><a href="#Editor.getSyntaxErrorLines">getSyntaxErrorLines</a></td>
1263 <td>Public method to get the lines containing a syntax error.</td> 1267 <td>Public method to get the lines containing a syntax error.</td>
1264 </tr> 1268 </tr>
1265 <tr> 1269 <tr>
1266 <td><a href="#Editor.getSyntaxErrors">getSyntaxErrors</a></td>
1267 <td>Public method to retrieve the syntax error markers.</td>
1268 </tr>
1269 <tr>
1270 <td><a href="#Editor.getTaskLines">getTaskLines</a></td> 1270 <td><a href="#Editor.getTaskLines">getTaskLines</a></td>
1271 <td>Public method to get the lines containing a task.</td> 1271 <td>Public method to get the lines containing a task.</td>
1272 </tr> 1272 </tr>
1273 <tr> 1273 <tr>
1274 <td><a href="#Editor.getVcsConflictMarkerLines">getVcsConflictMarkerLines</a></td> 1274 <td><a href="#Editor.getVcsConflictMarkerLines">getVcsConflictMarkerLines</a></td>
1277 <tr> 1277 <tr>
1278 <td><a href="#Editor.getWarningLines">getWarningLines</a></td> 1278 <td><a href="#Editor.getWarningLines">getWarningLines</a></td>
1279 <td>Public method to get the lines containing a warning.</td> 1279 <td>Public method to get the lines containing a warning.</td>
1280 </tr> 1280 </tr>
1281 <tr> 1281 <tr>
1282 <td><a href="#Editor.getWarnings">getWarnings</a></td>
1283 <td>Public method to retrieve the warning markers.</td>
1284 </tr>
1285 <tr>
1286 <td><a href="#Editor.getWord">getWord</a></td> 1282 <td><a href="#Editor.getWord">getWord</a></td>
1287 <td>Public method to get the word at a position.</td> 1283 <td>Public method to get the word at a position.</td>
1288 </tr> 1284 </tr>
1289 <tr> 1285 <tr>
1290 <td><a href="#Editor.getWordBoundaries">getWordBoundaries</a></td> 1286 <td><a href="#Editor.getWordBoundaries">getWordBoundaries</a></td>
1302 <td><a href="#Editor.gotoLastEditPosition">gotoLastEditPosition</a></td> 1298 <td><a href="#Editor.gotoLastEditPosition">gotoLastEditPosition</a></td>
1303 <td>Public method to move the cursor to the last edit position.</td> 1299 <td>Public method to move the cursor to the last edit position.</td>
1304 </tr> 1300 </tr>
1305 <tr> 1301 <tr>
1306 <td><a href="#Editor.gotoLine">gotoLine</a></td> 1302 <td><a href="#Editor.gotoLine">gotoLine</a></td>
1307 <td>Public slot to jump to the beginning of a line.</td> 1303 <td>Public method to jump to the beginning of a line.</td>
1308 </tr> 1304 </tr>
1309 <tr> 1305 <tr>
1310 <td><a href="#Editor.gotoMethodClass">gotoMethodClass</a></td> 1306 <td><a href="#Editor.gotoMethodClass">gotoMethodClass</a></td>
1311 <td>Public method to go to the next Python method or class definition.</td> 1307 <td>Public method to go to the next Python method or class definition.</td>
1312 </tr> 1308 </tr>
1322 <td><a href="#Editor.handleMonospacedEnable">handleMonospacedEnable</a></td> 1318 <td><a href="#Editor.handleMonospacedEnable">handleMonospacedEnable</a></td>
1323 <td>Public slot to handle the Use Monospaced Font context menu entry.</td> 1319 <td>Public slot to handle the Use Monospaced Font context menu entry.</td>
1324 </tr> 1320 </tr>
1325 <tr> 1321 <tr>
1326 <td><a href="#Editor.handleRenamed">handleRenamed</a></td> 1322 <td><a href="#Editor.handleRenamed">handleRenamed</a></td>
1327 <td>Public slot to handle the editorRenamed signal.</td> 1323 <td>Public method to handle the editorRenamed signal.</td>
1328 </tr> 1324 </tr>
1329 <tr> 1325 <tr>
1330 <td><a href="#Editor.hasBookmarks">hasBookmarks</a></td> 1326 <td><a href="#Editor.hasBookmarks">hasBookmarks</a></td>
1331 <td>Public method to check for the presence of bookmarks.</td> 1327 <td>Public method to check for the presence of bookmarks.</td>
1332 </tr> 1328 </tr>
1558 <td><a href="#Editor.projectOpened">projectOpened</a></td> 1554 <td><a href="#Editor.projectOpened">projectOpened</a></td>
1559 <td>Public slot to handle the opening of a project.</td> 1555 <td>Public slot to handle the opening of a project.</td>
1560 </tr> 1556 </tr>
1561 <tr> 1557 <tr>
1562 <td><a href="#Editor.readFile">readFile</a></td> 1558 <td><a href="#Editor.readFile">readFile</a></td>
1563 <td>Public slot to read the text from a file.</td> 1559 <td>Public method to read the text from a file.</td>
1564 </tr> 1560 </tr>
1565 <tr> 1561 <tr>
1566 <td><a href="#Editor.readSettings">readSettings</a></td> 1562 <td><a href="#Editor.readSettings">readSettings</a></td>
1567 <td>Public slot to read the settings into our lexer.</td> 1563 <td>Public slot to read the settings into our lexer.</td>
1568 </tr> 1564 </tr>
1622 <td><a href="#Editor.saveFile">saveFile</a></td> 1618 <td><a href="#Editor.saveFile">saveFile</a></td>
1623 <td>Public method to save the text to a file.</td> 1619 <td>Public method to save the text to a file.</td>
1624 </tr> 1620 </tr>
1625 <tr> 1621 <tr>
1626 <td><a href="#Editor.saveFileAs">saveFileAs</a></td> 1622 <td><a href="#Editor.saveFileAs">saveFileAs</a></td>
1627 <td>Public slot to save a file with a new name.</td> 1623 <td>Public method to save a file with a new name.</td>
1628 </tr> 1624 </tr>
1629 <tr> 1625 <tr>
1630 <td><a href="#Editor.saveFileCopy">saveFileCopy</a></td> 1626 <td><a href="#Editor.saveFileCopy">saveFileCopy</a></td>
1631 <td>Public method to save a copy of the file.</td> 1627 <td>Public method to save a copy of the file.</td>
1632 </tr> 1628 </tr>
1690 <td><a href="#Editor.setSpellingForProject">setSpellingForProject</a></td> 1686 <td><a href="#Editor.setSpellingForProject">setSpellingForProject</a></td>
1691 <td>Public method to set the spell checking options for files belonging to the current project.</td> 1687 <td>Public method to set the spell checking options for files belonging to the current project.</td>
1692 </tr> 1688 </tr>
1693 <tr> 1689 <tr>
1694 <td><a href="#Editor.shareConnected">shareConnected</a></td> 1690 <td><a href="#Editor.shareConnected">shareConnected</a></td>
1695 <td>Public slot to handle a change of the connected state.</td> 1691 <td>Public method to handle a change of the connected state.</td>
1696 </tr> 1692 </tr>
1697 <tr> 1693 <tr>
1698 <td><a href="#Editor.shareEditor">shareEditor</a></td> 1694 <td><a href="#Editor.shareEditor">shareEditor</a></td>
1699 <td>Public slot to set the shared status of the editor.</td> 1695 <td>Public method to set the shared status of the editor.</td>
1700 </tr> 1696 </tr>
1701 <tr> 1697 <tr>
1702 <td><a href="#Editor.shortenEmptyLines">shortenEmptyLines</a></td> 1698 <td><a href="#Editor.shortenEmptyLines">shortenEmptyLines</a></td>
1703 <td>Public slot to compress lines consisting solely of whitespace characters.</td> 1699 <td>Public slot to compress lines consisting solely of whitespace characters.</td>
1704 </tr> 1700 </tr>
1705 <tr> 1701 <tr>
1706 <td><a href="#Editor.shouldAutosave">shouldAutosave</a></td> 1702 <td><a href="#Editor.shouldAutosave">shouldAutosave</a></td>
1707 <td>Public slot to check the autosave flags.</td> 1703 <td>Public method to check the autosave flags.</td>
1708 </tr> 1704 </tr>
1709 <tr> 1705 <tr>
1710 <td><a href="#Editor.showMouseHoverHelpData">showMouseHoverHelpData</a></td> 1706 <td><a href="#Editor.showMouseHoverHelpData">showMouseHoverHelpData</a></td>
1711 <td>Public method to show the mouse hover help data.</td> 1707 <td>Public method to show the mouse hover help data.</td>
1712 </tr> 1708 </tr>
1790 <td><a href="#Editor.wheelEvent">wheelEvent</a></td> 1786 <td><a href="#Editor.wheelEvent">wheelEvent</a></td>
1791 <td>Protected method to handle wheel events.</td> 1787 <td>Protected method to handle wheel events.</td>
1792 </tr> 1788 </tr>
1793 <tr> 1789 <tr>
1794 <td><a href="#Editor.writeFile">writeFile</a></td> 1790 <td><a href="#Editor.writeFile">writeFile</a></td>
1795 <td>Public slot to write the text to a file.</td> 1791 <td>Public method to write the text to a file.</td>
1796 </tr> 1792 </tr>
1797 </table> 1793 </table>
1798 <h3>Static Methods</h3> 1794 <h3>Static Methods</h3>
1799 1795
1800 <table> 1796 <table>
1879 <p> 1875 <p>
1880 Private slot to add breakpoints. 1876 Private slot to add breakpoints.
1881 </p> 1877 </p>
1882 <dl> 1878 <dl>
1883 1879
1884 <dt><i>parentIndex</i></dt> 1880 <dt><i>parentIndex</i> (QModelIndex)</dt>
1885 <dd> 1881 <dd>
1886 index of parent item (QModelIndex) 1882 index of parent item
1887 </dd> 1883 </dd>
1888 <dt><i>start</i></dt> 1884 <dt><i>start</i> (int)</dt>
1889 <dd> 1885 <dd>
1890 start row (integer) 1886 start row
1891 </dd> 1887 </dd>
1892 <dt><i>end</i></dt> 1888 <dt><i>end</i> (int)</dt>
1893 <dd> 1889 <dd>
1894 end row (integer) 1890 end row
1895 </dd> 1891 </dd>
1896 </dl> 1892 </dl>
1897 <a NAME="Editor.__addFileAliasResource" ID="Editor.__addFileAliasResource"></a> 1893 <a NAME="Editor.__addFileAliasResource" ID="Editor.__addFileAliasResource"></a>
1898 <h4>Editor.__addFileAliasResource</h4> 1894 <h4>Editor.__addFileAliasResource</h4>
1899 <b>__addFileAliasResource</b>(<i></i>) 1895 <b>__addFileAliasResource</b>(<i></i>)
2017 <a NAME="Editor.__bindCompleter" ID="Editor.__bindCompleter"></a> 2013 <a NAME="Editor.__bindCompleter" ID="Editor.__bindCompleter"></a>
2018 <h4>Editor.__bindCompleter</h4> 2014 <h4>Editor.__bindCompleter</h4>
2019 <b>__bindCompleter</b>(<i>filename</i>) 2015 <b>__bindCompleter</b>(<i>filename</i>)
2020 2016
2021 <p> 2017 <p>
2022 Private slot to set the correct typing completer depending on language. 2018 Private method to set the correct typing completer depending on language.
2023 </p> 2019 </p>
2024 <dl> 2020 <dl>
2025 2021
2026 <dt><i>filename</i></dt> 2022 <dt><i>filename</i> (str)</dt>
2027 <dd> 2023 <dd>
2028 filename used to determine the associated typing 2024 filename used to determine the associated typing
2029 completer language (string) 2025 completer language
2030 </dd> 2026 </dd>
2031 </dl> 2027 </dl>
2032 <a NAME="Editor.__bindLexer" ID="Editor.__bindLexer"></a> 2028 <a NAME="Editor.__bindLexer" ID="Editor.__bindLexer"></a>
2033 <h4>Editor.__bindLexer</h4> 2029 <h4>Editor.__bindLexer</h4>
2034 <b>__bindLexer</b>(<i>filename, pyname=""</i>) 2030 <b>__bindLexer</b>(<i>filename, pyname=""</i>)
2035 2031
2036 <p> 2032 <p>
2037 Private slot to set the correct lexer depending on language. 2033 Private method to set the correct lexer depending on language.
2038 </p> 2034 </p>
2039 <dl> 2035 <dl>
2040 2036
2041 <dt><i>filename</i></dt> 2037 <dt><i>filename</i> (str)</dt>
2042 <dd> 2038 <dd>
2043 filename used to determine the associated lexer 2039 filename used to determine the associated lexer
2044 language (string) 2040 language
2045 </dd> 2041 </dd>
2046 <dt><i>pyname</i></dt> 2042 <dt><i>pyname</i> (str)</dt>
2047 <dd> 2043 <dd>
2048 name of the pygments lexer to use (string) 2044 name of the pygments lexer to use
2049 </dd> 2045 </dd>
2050 </dl> 2046 </dl>
2051 <a NAME="Editor.__bindName" ID="Editor.__bindName"></a> 2047 <a NAME="Editor.__bindName" ID="Editor.__bindName"></a>
2052 <h4>Editor.__bindName</h4> 2048 <h4>Editor.__bindName</h4>
2053 <b>__bindName</b>(<i>line0</i>) 2049 <b>__bindName</b>(<i>line0</i>)
2077 Private slot to handle the dataAboutToBeChanged signal of the 2073 Private slot to handle the dataAboutToBeChanged signal of the
2078 breakpoint model. 2074 breakpoint model.
2079 </p> 2075 </p>
2080 <dl> 2076 <dl>
2081 2077
2082 <dt><i>startIndex</i></dt> 2078 <dt><i>startIndex</i> (QModelIndex)</dt>
2083 <dd> 2079 <dd>
2084 start index of the rows to be changed (QModelIndex) 2080 start index of the rows to be changed
2085 </dd> 2081 </dd>
2086 <dt><i>endIndex</i></dt> 2082 <dt><i>endIndex</i> (QModelIndex)</dt>
2087 <dd> 2083 <dd>
2088 end index of the rows to be changed (QModelIndex) 2084 end index of the rows to be changed
2089 </dd> 2085 </dd>
2090 </dl> 2086 </dl>
2091 <a NAME="Editor.__calculateChanges" ID="Editor.__calculateChanges"></a> 2087 <a NAME="Editor.__calculateChanges" ID="Editor.__calculateChanges"></a>
2092 <h4>Editor.__calculateChanges</h4> 2088 <h4>Editor.__calculateChanges</h4>
2093 <b>__calculateChanges</b>(<i>old, new</i>) 2089 <b>__calculateChanges</b>(<i>old, new</i>)
2134 <p> 2130 <p>
2135 Private slot to set changed breakpoints. 2131 Private slot to set changed breakpoints.
2136 </p> 2132 </p>
2137 <dl> 2133 <dl>
2138 2134
2139 <dt><i>startIndex</i></dt> 2135 <dt><i>startIndex</i> (QModelIndex)</dt>
2140 <dd> 2136 <dd>
2141 start index of the breakpoints being changed 2137 start index of the breakpoints being changed
2142 (QModelIndex) 2138 </dd>
2143 </dd> 2139 <dt><i>endIndex</i> (QModelIndex)</dt>
2144 <dt><i>endIndex</i></dt>
2145 <dd> 2140 <dd>
2146 end index of the breakpoints being changed 2141 end index of the breakpoints being changed
2147 (QModelIndex)
2148 </dd> 2142 </dd>
2149 </dl> 2143 </dl>
2150 <a NAME="Editor.__charAdded" ID="Editor.__charAdded"></a> 2144 <a NAME="Editor.__charAdded" ID="Editor.__charAdded"></a>
2151 <h4>Editor.__charAdded</h4> 2145 <h4>Editor.__charAdded</h4>
2152 <b>__charAdded</b>(<i>charNumber</i>) 2146 <b>__charAdded</b>(<i>charNumber</i>)
2154 <p> 2148 <p>
2155 Private slot called to handle the user entering a character. 2149 Private slot called to handle the user entering a character.
2156 </p> 2150 </p>
2157 <dl> 2151 <dl>
2158 2152
2159 <dt><i>charNumber</i></dt> 2153 <dt><i>charNumber</i> (int)</dt>
2160 <dd> 2154 <dd>
2161 value of the character entered (integer) 2155 value of the character entered
2162 </dd> 2156 </dd>
2163 </dl> 2157 </dl>
2164 <a NAME="Editor.__checkEncoding" ID="Editor.__checkEncoding"></a> 2158 <a NAME="Editor.__checkEncoding" ID="Editor.__checkEncoding"></a>
2165 <h4>Editor.__checkEncoding</h4> 2159 <h4>Editor.__checkEncoding</h4>
2166 <b>__checkEncoding</b>(<i></i>) 2160 <b>__checkEncoding</b>(<i></i>)
2206 <a NAME="Editor.__clearBreakpoints" ID="Editor.__clearBreakpoints"></a> 2200 <a NAME="Editor.__clearBreakpoints" ID="Editor.__clearBreakpoints"></a>
2207 <h4>Editor.__clearBreakpoints</h4> 2201 <h4>Editor.__clearBreakpoints</h4>
2208 <b>__clearBreakpoints</b>(<i>fileName</i>) 2202 <b>__clearBreakpoints</b>(<i>fileName</i>)
2209 2203
2210 <p> 2204 <p>
2211 Private slot to clear all breakpoints. 2205 Private method to clear all breakpoints.
2212 </p> 2206 </p>
2213 <dl> 2207 <dl>
2214 2208
2215 <dt><i>fileName</i></dt> 2209 <dt><i>fileName</i> (str)</dt>
2216 <dd> 2210 <dd>
2217 name of the file (string) 2211 name of the file
2218 </dd> 2212 </dd>
2219 </dl> 2213 </dl>
2220 <a NAME="Editor.__clearCompletionsCache" ID="Editor.__clearCompletionsCache"></a> 2214 <a NAME="Editor.__clearCompletionsCache" ID="Editor.__clearCompletionsCache"></a>
2221 <h4>Editor.__clearCompletionsCache</h4> 2215 <h4>Editor.__clearCompletionsCache</h4>
2222 <b>__clearCompletionsCache</b>(<i></i>) 2216 <b>__clearCompletionsCache</b>(<i></i>)
2254 <p> 2248 <p>
2255 Private slot to handle the selection from the completion list. 2249 Private slot to handle the selection from the completion list.
2256 </p> 2250 </p>
2257 <dl> 2251 <dl>
2258 2252
2259 <dt><i>listId</i></dt> 2253 <dt><i>listId</i> (int)</dt>
2260 <dd> 2254 <dd>
2261 the ID of the user list (should be 1 or 2) (integer) 2255 the ID of the user list (should be 1 or 2)
2262 </dd> 2256 </dd>
2263 <dt><i>txt</i></dt> 2257 <dt><i>txt</i> (str)</dt>
2264 <dd> 2258 <dd>
2265 the selected text (string) 2259 the selected text
2266 </dd> 2260 </dd>
2267 </dl> 2261 </dl>
2268 <a NAME="Editor.__contextClose" ID="Editor.__contextClose"></a> 2262 <a NAME="Editor.__contextClose" ID="Editor.__contextClose"></a>
2269 <h4>Editor.__contextClose</h4> 2263 <h4>Editor.__contextClose</h4>
2270 <b>__contextClose</b>(<i></i>) 2264 <b>__contextClose</b>(<i></i>)
2294 Private slot to handle the selection of a suggestion of the spelling 2288 Private slot to handle the selection of a suggestion of the spelling
2295 context menu. 2289 context menu.
2296 </p> 2290 </p>
2297 <dl> 2291 <dl>
2298 2292
2299 <dt><i>action</i></dt> 2293 <dt><i>action</i> (QAction)</dt>
2300 <dd> 2294 <dd>
2301 reference to the action that was selected (QAction) 2295 reference to the action that was selected
2302 </dd> 2296 </dd>
2303 </dl> 2297 </dl>
2304 <a NAME="Editor.__contextSave" ID="Editor.__contextSave"></a> 2298 <a NAME="Editor.__contextSave" ID="Editor.__contextSave"></a>
2305 <h4>Editor.__contextSave</h4> 2299 <h4>Editor.__contextSave</h4>
2306 <b>__contextSave</b>(<i></i>) 2300 <b>__contextSave</b>(<i></i>)
2364 It emits the signal cursorChanged with parameters fileName, 2358 It emits the signal cursorChanged with parameters fileName,
2365 line and pos. 2359 line and pos.
2366 </p> 2360 </p>
2367 <dl> 2361 <dl>
2368 2362
2369 <dt><i>line</i></dt> 2363 <dt><i>line</i> (int)</dt>
2370 <dd> 2364 <dd>
2371 line number of the cursor 2365 line number of the cursor
2372 </dd> 2366 </dd>
2373 <dt><i>index</i></dt> 2367 <dt><i>index</i> (int)</dt>
2374 <dd> 2368 <dd>
2375 position in line of the cursor 2369 position in line of the cursor
2376 </dd> 2370 </dd>
2377 </dl> 2371 </dl>
2378 <a NAME="Editor.__delayedDocstringMenuPopup" ID="Editor.__delayedDocstringMenuPopup"></a> 2372 <a NAME="Editor.__delayedDocstringMenuPopup" ID="Editor.__delayedDocstringMenuPopup"></a>
2403 <p> 2397 <p>
2404 Private slot to delete breakpoints. 2398 Private slot to delete breakpoints.
2405 </p> 2399 </p>
2406 <dl> 2400 <dl>
2407 2401
2408 <dt><i>parentIndex</i></dt> 2402 <dt><i>parentIndex</i> (QModelIndex)</dt>
2409 <dd> 2403 <dd>
2410 index of parent item (QModelIndex) 2404 index of parent item
2411 </dd> 2405 </dd>
2412 <dt><i>start</i></dt> 2406 <dt><i>start</i> (int)</dt>
2413 <dd> 2407 <dd>
2414 start row (integer) 2408 start row
2415 </dd> 2409 </dd>
2416 <dt><i>end</i></dt> 2410 <dt><i>end</i> (int)</dt>
2417 <dd> 2411 <dd>
2418 end row (integer) 2412 end row
2419 </dd> 2413 </dd>
2420 </dl> 2414 </dl>
2421 <a NAME="Editor.__deselectAll" ID="Editor.__deselectAll"></a> 2415 <a NAME="Editor.__deselectAll" ID="Editor.__deselectAll"></a>
2422 <h4>Editor.__deselectAll</h4> 2416 <h4>Editor.__deselectAll</h4>
2423 <b>__deselectAll</b>(<i></i>) 2417 <b>__deselectAll</b>(<i></i>)
2446 <p> 2440 <p>
2447 Private slot to handle a change of the encoding. 2441 Private slot to handle a change of the encoding.
2448 </p> 2442 </p>
2449 <dl> 2443 <dl>
2450 2444
2451 <dt><i>encoding</i></dt> 2445 <dt><i>encoding</i> (str)</dt>
2452 <dd> 2446 <dd>
2453 changed encoding (string) 2447 changed encoding
2454 </dd> 2448 </dd>
2455 <dt><i>propagate</i></dt> 2449 <dt><i>propagate</i> (bool)</dt>
2456 <dd> 2450 <dd>
2457 flag indicating to propagate the change (boolean) 2451 flag indicating to propagate the change
2458 </dd> 2452 </dd>
2459 </dl> 2453 </dl>
2460 <a NAME="Editor.__encodingsMenuTriggered" ID="Editor.__encodingsMenuTriggered"></a> 2454 <a NAME="Editor.__encodingsMenuTriggered" ID="Editor.__encodingsMenuTriggered"></a>
2461 <h4>Editor.__encodingsMenuTriggered</h4> 2455 <h4>Editor.__encodingsMenuTriggered</h4>
2462 <b>__encodingsMenuTriggered</b>(<i>act</i>) 2456 <b>__encodingsMenuTriggered</b>(<i>act</i>)
3041 <a NAME="Editor.__languageChanged" ID="Editor.__languageChanged"></a> 3035 <a NAME="Editor.__languageChanged" ID="Editor.__languageChanged"></a>
3042 <h4>Editor.__languageChanged</h4> 3036 <h4>Editor.__languageChanged</h4>
3043 <b>__languageChanged</b>(<i>language, propagate=True</i>) 3037 <b>__languageChanged</b>(<i>language, propagate=True</i>)
3044 3038
3045 <p> 3039 <p>
3046 Private slot handling a change of a connected editor's language. 3040 Private method handling a change of a connected editor's language.
3047 </p> 3041 </p>
3048 <dl> 3042 <dl>
3049 3043
3050 <dt><i>language</i></dt> 3044 <dt><i>language</i></dt>
3051 <dd> 3045 <dd>
3141 <p> 3135 <p>
3142 Private slot to handle the marginClicked signal. 3136 Private slot to handle the marginClicked signal.
3143 </p> 3137 </p>
3144 <dl> 3138 <dl>
3145 3139
3146 <dt><i>margin</i></dt> 3140 <dt><i>margin</i> (int)</dt>
3147 <dd> 3141 <dd>
3148 id of the clicked margin (integer) 3142 id of the clicked margin
3149 </dd> 3143 </dd>
3150 <dt><i>line</i></dt> 3144 <dt><i>line</i> (int)</dt>
3151 <dd> 3145 <dd>
3152 line number of the click (integer) 3146 line number of the click
3153 </dd> 3147 </dd>
3154 <dt><i>modifiers</i></dt> 3148 <dt><i>modifiers</i> (Qt.KeyboardModifiers)</dt>
3155 <dd> 3149 <dd>
3156 keyboard modifiers (Qt.KeyboardModifiers) 3150 keyboard modifiers
3157 </dd> 3151 </dd>
3158 </dl> 3152 </dl>
3159 <a NAME="Editor.__marginNumber" ID="Editor.__marginNumber"></a> 3153 <a NAME="Editor.__marginNumber" ID="Editor.__marginNumber"></a>
3160 <h4>Editor.__marginNumber</h4> 3154 <h4>Editor.__marginNumber</h4>
3161 <b>__marginNumber</b>(<i>xPos</i>) 3155 <b>__marginNumber</b>(<i>xPos</i>)
3217 It emits the signal modificationStatusChanged with parameters 3211 It emits the signal modificationStatusChanged with parameters
3218 m and self. 3212 m and self.
3219 </p> 3213 </p>
3220 <dl> 3214 <dl>
3221 3215
3222 <dt><i>m</i></dt> 3216 <dt><i>m</i> (bool)</dt>
3223 <dd> 3217 <dd>
3224 modification status 3218 modification status
3225 </dd> 3219 </dd>
3226 </dl> 3220 </dl>
3227 <a NAME="Editor.__modificationReadOnly" ID="Editor.__modificationReadOnly"></a> 3221 <a NAME="Editor.__modificationReadOnly" ID="Editor.__modificationReadOnly"></a>
3374 <a NAME="Editor.__popupDocstringMenu" ID="Editor.__popupDocstringMenu"></a> 3368 <a NAME="Editor.__popupDocstringMenu" ID="Editor.__popupDocstringMenu"></a>
3375 <h4>Editor.__popupDocstringMenu</h4> 3369 <h4>Editor.__popupDocstringMenu</h4>
3376 <b>__popupDocstringMenu</b>(<i>lastLineText, lastCursorPosition</i>) 3370 <b>__popupDocstringMenu</b>(<i>lastLineText, lastCursorPosition</i>)
3377 3371
3378 <p> 3372 <p>
3379 Private slot to pop up a menu asking the user, if a docstring should be 3373 Private method to pop up a menu asking the user, if a docstring should be
3380 inserted. 3374 inserted.
3381 </p> 3375 </p>
3382 <dl> 3376 <dl>
3383 3377
3384 <dt><i>lastLineText</i> (str)</dt> 3378 <dt><i>lastLineText</i> (str)</dt>
3413 <p> 3407 <p>
3414 Private slot to process a remote EndEdit command. 3408 Private slot to process a remote EndEdit command.
3415 </p> 3409 </p>
3416 <dl> 3410 <dl>
3417 3411
3418 <dt><i>argsString</i></dt> 3412 <dt><i>argsString</i> (str)</dt>
3419 <dd> 3413 <dd>
3420 string containing the command parameters (string) 3414 string containing the command parameters
3421 </dd> 3415 </dd>
3422 </dl> 3416 </dl>
3423 <a NAME="Editor.__processFlags" ID="Editor.__processFlags"></a> 3417 <a NAME="Editor.__processFlags" ID="Editor.__processFlags"></a>
3424 <h4>Editor.__processFlags</h4> 3418 <h4>Editor.__processFlags</h4>
3425 <b>__processFlags</b>(<i></i>) 3419 <b>__processFlags</b>(<i></i>)
3440 <p> 3434 <p>
3441 Private slot to process a remote RequestSync command. 3435 Private slot to process a remote RequestSync command.
3442 </p> 3436 </p>
3443 <dl> 3437 <dl>
3444 3438
3445 <dt><i>argsString</i></dt> 3439 <dt><i>argsString</i> (str)</dt>
3446 <dd> 3440 <dd>
3447 string containing the command parameters (string) 3441 string containing the command parameters
3448 </dd> 3442 </dd>
3449 </dl> 3443 </dl>
3450 <a NAME="Editor.__processStartEditCommand" ID="Editor.__processStartEditCommand"></a> 3444 <a NAME="Editor.__processStartEditCommand" ID="Editor.__processStartEditCommand"></a>
3451 <h4>Editor.__processStartEditCommand</h4> 3445 <h4>Editor.__processStartEditCommand</h4>
3452 <b>__processStartEditCommand</b>(<i>argsString</i>) 3446 <b>__processStartEditCommand</b>(<i>argsString</i>)
3454 <p> 3448 <p>
3455 Private slot to process a remote StartEdit command. 3449 Private slot to process a remote StartEdit command.
3456 </p> 3450 </p>
3457 <dl> 3451 <dl>
3458 3452
3459 <dt><i>argsString</i></dt> 3453 <dt><i>argsString</i> (str)</dt>
3460 <dd> 3454 <dd>
3461 string containing the command parameters (string) 3455 string containing the command parameters
3462 </dd> 3456 </dd>
3463 </dl> 3457 </dl>
3464 <a NAME="Editor.__processSyncCommand" ID="Editor.__processSyncCommand"></a> 3458 <a NAME="Editor.__processSyncCommand" ID="Editor.__processSyncCommand"></a>
3465 <h4>Editor.__processSyncCommand</h4> 3459 <h4>Editor.__processSyncCommand</h4>
3466 <b>__processSyncCommand</b>(<i>argsString</i>) 3460 <b>__processSyncCommand</b>(<i>argsString</i>)
3468 <p> 3462 <p>
3469 Private slot to process a remote Sync command. 3463 Private slot to process a remote Sync command.
3470 </p> 3464 </p>
3471 <dl> 3465 <dl>
3472 3466
3473 <dt><i>argsString</i></dt> 3467 <dt><i>argsString</i> (str)</dt>
3474 <dd> 3468 <dd>
3475 string containing the command parameters (string) 3469 string containing the command parameters
3476 </dd> 3470 </dd>
3477 </dl> 3471 </dl>
3478 <a NAME="Editor.__processSyntaxCheckError" ID="Editor.__processSyntaxCheckError"></a> 3472 <a NAME="Editor.__processSyntaxCheckError" ID="Editor.__processSyntaxCheckError"></a>
3479 <h4>Editor.__processSyntaxCheckError</h4> 3473 <h4>Editor.__processSyntaxCheckError</h4>
3480 <b>__processSyntaxCheckError</b>(<i>fn, msg</i>) 3474 <b>__processSyntaxCheckError</b>(<i>fn, msg</i>)
3500 <p> 3494 <p>
3501 Private slot to report the resulting messages of a syntax check. 3495 Private slot to report the resulting messages of a syntax check.
3502 </p> 3496 </p>
3503 <dl> 3497 <dl>
3504 3498
3505 <dt><i>fn</i></dt> 3499 <dt><i>fn</i> (str)</dt>
3506 <dd> 3500 <dd>
3507 filename of the checked file (str) 3501 filename of the checked file
3508 </dd> 3502 </dd>
3509 <dt><i>problems</i></dt> 3503 <dt><i>problems</i> (dict)</dt>
3510 <dd> 3504 <dd>
3511 dictionary with the keys 'error' and 'warnings' which 3505 dictionary with the keys 'error' and 'warnings' which
3512 hold a list containing details about the error/ warnings 3506 hold a list containing details about the error/ warnings
3513 (file name, line number, column, codestring (only at syntax 3507 (file name, line number, column, codestring (only at syntax
3514 errors), the message) (dict) 3508 errors), the message)
3515 </dd> 3509 </dd>
3516 </dl> 3510 </dl>
3517 <a NAME="Editor.__projectPropertiesChanged" ID="Editor.__projectPropertiesChanged"></a> 3511 <a NAME="Editor.__projectPropertiesChanged" ID="Editor.__projectPropertiesChanged"></a>
3518 <h4>Editor.__projectPropertiesChanged</h4> 3512 <h4>Editor.__projectPropertiesChanged</h4>
3519 <b>__projectPropertiesChanged</b>(<i></i>) 3513 <b>__projectPropertiesChanged</b>(<i></i>)
3791 <a NAME="Editor.__setSpellingLanguage" ID="Editor.__setSpellingLanguage"></a> 3785 <a NAME="Editor.__setSpellingLanguage" ID="Editor.__setSpellingLanguage"></a>
3792 <h4>Editor.__setSpellingLanguage</h4> 3786 <h4>Editor.__setSpellingLanguage</h4>
3793 <b>__setSpellingLanguage</b>(<i>language, pwl="", pel=""</i>) 3787 <b>__setSpellingLanguage</b>(<i>language, pwl="", pel=""</i>)
3794 3788
3795 <p> 3789 <p>
3796 Private slot to set the spell checking language. 3790 Private method to set the spell checking language.
3797 </p> 3791 </p>
3798 <dl> 3792 <dl>
3799 3793
3800 <dt><i>language</i></dt> 3794 <dt><i>language</i></dt>
3801 <dd> 3795 <dd>
4054 Private slot to handle the 'Show syntax error message' 4048 Private slot to handle the 'Show syntax error message'
4055 context menu action. 4049 context menu action.
4056 </p> 4050 </p>
4057 <dl> 4051 <dl>
4058 4052
4059 <dt><i>line</i></dt> 4053 <dt><i>line</i> (int)</dt>
4060 <dd> 4054 <dd>
4061 line number to show the syntax error for (integer) 4055 line number to show the syntax error for
4062 </dd> 4056 </dd>
4063 </dl> 4057 </dl>
4064 <a NAME="Editor.__showWarning" ID="Editor.__showWarning"></a> 4058 <a NAME="Editor.__showWarning" ID="Editor.__showWarning"></a>
4065 <h4>Editor.__showWarning</h4> 4059 <h4>Editor.__showWarning</h4>
4066 <b>__showWarning</b>(<i>line=-1</i>) 4060 <b>__showWarning</b>(<i>line=-1</i>)
4068 <p> 4062 <p>
4069 Private slot to handle the 'Show warning' context menu action. 4063 Private slot to handle the 'Show warning' context menu action.
4070 </p> 4064 </p>
4071 <dl> 4065 <dl>
4072 4066
4073 <dt><i>line</i></dt> 4067 <dt><i>line</i> (int)</dt>
4074 <dd> 4068 <dd>
4075 line number to show the warning for (integer) 4069 line number to show the warning for
4076 </dd> 4070 </dd>
4077 </dl> 4071 </dl>
4078 <a NAME="Editor.__spellCharAdded" ID="Editor.__spellCharAdded"></a> 4072 <a NAME="Editor.__spellCharAdded" ID="Editor.__spellCharAdded"></a>
4079 <h4>Editor.__spellCharAdded</h4> 4073 <h4>Editor.__spellCharAdded</h4>
4080 <b>__spellCharAdded</b>(<i>charNumber</i>) 4074 <b>__spellCharAdded</b>(<i>charNumber</i>)
4082 <p> 4076 <p>
4083 Private slot called to handle the user entering a character. 4077 Private slot called to handle the user entering a character.
4084 </p> 4078 </p>
4085 <dl> 4079 <dl>
4086 4080
4087 <dt><i>charNumber</i></dt> 4081 <dt><i>charNumber</i> (int)</dt>
4088 <dd> 4082 <dd>
4089 value of the character entered (integer) 4083 value of the character entered
4090 </dd> 4084 </dd>
4091 </dl> 4085 </dl>
4092 <a NAME="Editor.__spellLanguageChanged" ID="Editor.__spellLanguageChanged"></a> 4086 <a NAME="Editor.__spellLanguageChanged" ID="Editor.__spellLanguageChanged"></a>
4093 <h4>Editor.__spellLanguageChanged</h4> 4087 <h4>Editor.__spellLanguageChanged</h4>
4094 <b>__spellLanguageChanged</b>(<i>language, propagate=True</i>) 4088 <b>__spellLanguageChanged</b>(<i>language, propagate=True</i>)
4128 <p> 4122 <p>
4129 Private slot to handle the need for more styling. 4123 Private slot to handle the need for more styling.
4130 </p> 4124 </p>
4131 <dl> 4125 <dl>
4132 4126
4133 <dt><i>position</i></dt> 4127 <dt><i>position</i> (int)</dt>
4134 <dd> 4128 <dd>
4135 end position, that needs styling (integer) 4129 end position, that needs styling
4136 </dd> 4130 </dd>
4137 </dl> 4131 </dl>
4138 <a NAME="Editor.__textChanged" ID="Editor.__textChanged"></a> 4132 <a NAME="Editor.__textChanged" ID="Editor.__textChanged"></a>
4139 <h4>Editor.__textChanged</h4> 4133 <h4>Editor.__textChanged</h4>
4140 <b>__textChanged</b>(<i></i>) 4134 <b>__textChanged</b>(<i></i>)
4381 <a NAME="Editor.cancelSharedEdit" ID="Editor.cancelSharedEdit"></a> 4375 <a NAME="Editor.cancelSharedEdit" ID="Editor.cancelSharedEdit"></a>
4382 <h4>Editor.cancelSharedEdit</h4> 4376 <h4>Editor.cancelSharedEdit</h4>
4383 <b>cancelSharedEdit</b>(<i>send=True</i>) 4377 <b>cancelSharedEdit</b>(<i>send=True</i>)
4384 4378
4385 <p> 4379 <p>
4386 Public slot to cancel a shared edit session for the editor. 4380 Public method to cancel a shared edit session for the editor.
4387 </p> 4381 </p>
4388 <dl> 4382 <dl>
4389 4383
4390 <dt><i>send</i></dt> 4384 <dt><i>send</i></dt>
4391 <dd> 4385 <dd>
4529 <dt><i>endIndex</i> (int)</dt> 4523 <dt><i>endIndex</i> (int)</dt>
4530 <dd> 4524 <dd>
4531 index of the highlight end 4525 index of the highlight end
4532 </dd> 4526 </dd>
4533 </dl> 4527 </dl>
4528 <a NAME="Editor.clearInfoWarnings" ID="Editor.clearInfoWarnings"></a>
4529 <h4>Editor.clearInfoWarnings</h4>
4530 <b>clearInfoWarnings</b>(<i></i>)
4531
4532 <p>
4533 Public slot to clear all info warnings.
4534 </p>
4534 <a NAME="Editor.clearSearchIndicators" ID="Editor.clearSearchIndicators"></a> 4535 <a NAME="Editor.clearSearchIndicators" ID="Editor.clearSearchIndicators"></a>
4535 <h4>Editor.clearSearchIndicators</h4> 4536 <h4>Editor.clearSearchIndicators</h4>
4536 <b>clearSearchIndicators</b>(<i></i>) 4537 <b>clearSearchIndicators</b>(<i></i>)
4537 4538
4538 <p> 4539 <p>
4623 <a NAME="Editor.collapseFoldWithChildren" ID="Editor.collapseFoldWithChildren"></a> 4624 <a NAME="Editor.collapseFoldWithChildren" ID="Editor.collapseFoldWithChildren"></a>
4624 <h4>Editor.collapseFoldWithChildren</h4> 4625 <h4>Editor.collapseFoldWithChildren</h4>
4625 <b>collapseFoldWithChildren</b>(<i>line=-1</i>) 4626 <b>collapseFoldWithChildren</b>(<i>line=-1</i>)
4626 4627
4627 <p> 4628 <p>
4628 Public slot to collapse the current fold including its children. 4629 Public method to collapse the current fold including its children.
4629 </p> 4630 </p>
4630 <dl> 4631 <dl>
4631 4632
4632 <dt><i>line</i> (int)</dt> 4633 <dt><i>line</i> (int)</dt>
4633 <dd> 4634 <dd>
4790 <a NAME="Editor.ensureVisible" ID="Editor.ensureVisible"></a> 4791 <a NAME="Editor.ensureVisible" ID="Editor.ensureVisible"></a>
4791 <h4>Editor.ensureVisible</h4> 4792 <h4>Editor.ensureVisible</h4>
4792 <b>ensureVisible</b>(<i>line, expand=False</i>) 4793 <b>ensureVisible</b>(<i>line, expand=False</i>)
4793 4794
4794 <p> 4795 <p>
4795 Public slot to ensure, that the specified line is visible. 4796 Public method to ensure, that the specified line is visible.
4796 </p> 4797 </p>
4797 <dl> 4798 <dl>
4798 4799
4799 <dt><i>line</i> (int)</dt> 4800 <dt><i>line</i> (int)</dt>
4800 <dd> 4801 <dd>
4808 <a NAME="Editor.ensureVisibleTop" ID="Editor.ensureVisibleTop"></a> 4809 <a NAME="Editor.ensureVisibleTop" ID="Editor.ensureVisibleTop"></a>
4809 <h4>Editor.ensureVisibleTop</h4> 4810 <h4>Editor.ensureVisibleTop</h4>
4810 <b>ensureVisibleTop</b>(<i>line, expand=False</i>) 4811 <b>ensureVisibleTop</b>(<i>line, expand=False</i>)
4811 4812
4812 <p> 4813 <p>
4813 Public slot to ensure, that the specified line is visible at the top 4814 Public method to ensure, that the specified line is visible at the top
4814 of the editor. 4815 of the editor.
4815 </p> 4816 </p>
4816 <dl> 4817 <dl>
4817 4818
4818 <dt><i>line</i> (int)</dt> 4819 <dt><i>line</i> (int)</dt>
4853 <a NAME="Editor.expandFoldWithChildren" ID="Editor.expandFoldWithChildren"></a> 4854 <a NAME="Editor.expandFoldWithChildren" ID="Editor.expandFoldWithChildren"></a>
4854 <h4>Editor.expandFoldWithChildren</h4> 4855 <h4>Editor.expandFoldWithChildren</h4>
4855 <b>expandFoldWithChildren</b>(<i>line=-1</i>) 4856 <b>expandFoldWithChildren</b>(<i>line=-1</i>)
4856 4857
4857 <p> 4858 <p>
4858 Public slot to expand the current fold including its children. 4859 Public method to expand the current fold including its children.
4859 </p> 4860 </p>
4860 <dl> 4861 <dl>
4861 4862
4862 <dt><i>line</i> (int)</dt> 4863 <dt><i>line</i> (int)</dt>
4863 <dd> 4864 <dd>
4892 <p> 4893 <p>
4893 Public slot to handle the editorRenamed signal. 4894 Public slot to handle the editorRenamed signal.
4894 </p> 4895 </p>
4895 <dl> 4896 <dl>
4896 4897
4897 <dt><i>fn</i></dt> 4898 <dt><i>fn</i> (str.)</dt>
4898 <dd> 4899 <dd>
4899 filename to be set for the editor (string). 4900 filename to be set for the editor
4900 </dd> 4901 </dd>
4901 </dl> 4902 </dl>
4902 <a NAME="Editor.focusInEvent" ID="Editor.focusInEvent"></a> 4903 <a NAME="Editor.focusInEvent" ID="Editor.focusInEvent"></a>
4903 <h4>Editor.focusInEvent</h4> 4904 <h4>Editor.focusInEvent</h4>
4904 <b>focusInEvent</b>(<i>event</i>) 4905 <b>focusInEvent</b>(<i>event</i>)
5466 <dt>Return:</dt> 5467 <dt>Return:</dt>
5467 <dd> 5468 <dd>
5468 list of lines containing a syntax error (list of integer) 5469 list of lines containing a syntax error (list of integer)
5469 </dd> 5470 </dd>
5470 </dl> 5471 </dl>
5471 <a NAME="Editor.getSyntaxErrors" ID="Editor.getSyntaxErrors"></a>
5472 <h4>Editor.getSyntaxErrors</h4>
5473 <b>getSyntaxErrors</b>(<i></i>)
5474
5475 <p>
5476 Public method to retrieve the syntax error markers.
5477 </p>
5478 <dl>
5479 <dt>Return:</dt>
5480 <dd>
5481 sorted list of all lines containing a syntax error
5482 (list of integer)
5483 </dd>
5484 </dl>
5485 <a NAME="Editor.getTaskLines" ID="Editor.getTaskLines"></a> 5472 <a NAME="Editor.getTaskLines" ID="Editor.getTaskLines"></a>
5486 <h4>Editor.getTaskLines</h4> 5473 <h4>Editor.getTaskLines</h4>
5487 <b>getTaskLines</b>(<i></i>) 5474 <b>getTaskLines</b>(<i></i>)
5488 5475
5489 <p> 5476 <p>
5525 <dt>Return:</dt> 5512 <dt>Return:</dt>
5526 <dd> 5513 <dd>
5527 list of lines containing a warning (list of integer) 5514 list of lines containing a warning (list of integer)
5528 </dd> 5515 </dd>
5529 </dl> 5516 </dl>
5530 <a NAME="Editor.getWarnings" ID="Editor.getWarnings"></a>
5531 <h4>Editor.getWarnings</h4>
5532 <b>getWarnings</b>(<i></i>)
5533
5534 <p>
5535 Public method to retrieve the warning markers.
5536 </p>
5537 <dl>
5538 <dt>Return:</dt>
5539 <dd>
5540 sorted list of all lines containing a warning
5541 (list of integer)
5542 </dd>
5543 </dl>
5544 <a NAME="Editor.getWord" ID="Editor.getWord"></a> 5517 <a NAME="Editor.getWord" ID="Editor.getWord"></a>
5545 <h4>Editor.getWord</h4> 5518 <h4>Editor.getWord</h4>
5546 <b>getWord</b>(<i>line, index, direction=0, useWordChars=True</i>) 5519 <b>getWord</b>(<i>line, index, direction=0, useWordChars=True</i>)
5547 5520
5548 <p> 5521 <p>
5663 <a NAME="Editor.gotoLine" ID="Editor.gotoLine"></a> 5636 <a NAME="Editor.gotoLine" ID="Editor.gotoLine"></a>
5664 <h4>Editor.gotoLine</h4> 5637 <h4>Editor.gotoLine</h4>
5665 <b>gotoLine</b>(<i>line, pos=1, firstVisible=False, expand=False</i>) 5638 <b>gotoLine</b>(<i>line, pos=1, firstVisible=False, expand=False</i>)
5666 5639
5667 <p> 5640 <p>
5668 Public slot to jump to the beginning of a line. 5641 Public method to jump to the beginning of a line.
5669 </p> 5642 </p>
5670 <dl> 5643 <dl>
5671 5644
5672 <dt><i>line</i> (int)</dt> 5645 <dt><i>line</i> (int)</dt>
5673 <dd> 5646 <dd>
5732 <a NAME="Editor.handleRenamed" ID="Editor.handleRenamed"></a> 5705 <a NAME="Editor.handleRenamed" ID="Editor.handleRenamed"></a>
5733 <h4>Editor.handleRenamed</h4> 5706 <h4>Editor.handleRenamed</h4>
5734 <b>handleRenamed</b>(<i>fn</i>) 5707 <b>handleRenamed</b>(<i>fn</i>)
5735 5708
5736 <p> 5709 <p>
5737 Public slot to handle the editorRenamed signal. 5710 Public method to handle the editorRenamed signal.
5738 </p> 5711 </p>
5739 <dl> 5712 <dl>
5740 5713
5741 <dt><i>fn</i></dt> 5714 <dt><i>fn</i></dt>
5742 <dd> 5715 <dd>
6231 <p> 6204 <p>
6232 Public slot to handle the 'Edit breakpoint' context menu action. 6205 Public slot to handle the 'Edit breakpoint' context menu action.
6233 </p> 6206 </p>
6234 <dl> 6207 <dl>
6235 6208
6236 <dt><i>line</i></dt> 6209 <dt><i>line</i> (int)</dt>
6237 <dd> 6210 <dd>
6238 linenumber of the breakpoint to edit 6211 line number of the breakpoint to edit
6239 </dd> 6212 </dd>
6240 </dl> 6213 </dl>
6241 <a NAME="Editor.menuNextBreakpoint" ID="Editor.menuNextBreakpoint"></a> 6214 <a NAME="Editor.menuNextBreakpoint" ID="Editor.menuNextBreakpoint"></a>
6242 <h4>Editor.menuNextBreakpoint</h4> 6215 <h4>Editor.menuNextBreakpoint</h4>
6243 <b>menuNextBreakpoint</b>(<i></i>) 6216 <b>menuNextBreakpoint</b>(<i></i>)
6435 <a NAME="Editor.readFile" ID="Editor.readFile"></a> 6408 <a NAME="Editor.readFile" ID="Editor.readFile"></a>
6436 <h4>Editor.readFile</h4> 6409 <h4>Editor.readFile</h4>
6437 <b>readFile</b>(<i>fn, createIt=False, encoding=""</i>) 6410 <b>readFile</b>(<i>fn, createIt=False, encoding=""</i>)
6438 6411
6439 <p> 6412 <p>
6440 Public slot to read the text from a file. 6413 Public method to read the text from a file.
6441 </p> 6414 </p>
6442 <dl> 6415 <dl>
6443 6416
6444 <dt><i>fn</i></dt> 6417 <dt><i>fn</i></dt>
6445 <dd> 6418 <dd>
6470 <p> 6443 <p>
6471 Public slot to handle received editor commands. 6444 Public slot to handle received editor commands.
6472 </p> 6445 </p>
6473 <dl> 6446 <dl>
6474 6447
6475 <dt><i>command</i></dt> 6448 <dt><i>command</i> (str)</dt>
6476 <dd> 6449 <dd>
6477 command string (string) 6450 command string
6478 </dd> 6451 </dd>
6479 </dl> 6452 </dl>
6480 <a NAME="Editor.redo" ID="Editor.redo"></a> 6453 <a NAME="Editor.redo" ID="Editor.redo"></a>
6481 <h4>Editor.redo</h4> 6454 <h4>Editor.redo</h4>
6482 <b>redo</b>(<i></i>) 6455 <b>redo</b>(<i></i>)
6648 <a NAME="Editor.saveFileAs" ID="Editor.saveFileAs"></a> 6621 <a NAME="Editor.saveFileAs" ID="Editor.saveFileAs"></a>
6649 <h4>Editor.saveFileAs</h4> 6622 <h4>Editor.saveFileAs</h4>
6650 <b>saveFileAs</b>(<i>path=None</i>) 6623 <b>saveFileAs</b>(<i>path=None</i>)
6651 6624
6652 <p> 6625 <p>
6653 Public slot to save a file with a new name. 6626 Public method to save a file with a new name.
6654 </p> 6627 </p>
6655 <dl> 6628 <dl>
6656 6629
6657 <dt><i>path</i></dt> 6630 <dt><i>path</i> (str)</dt>
6658 <dd> 6631 <dd>
6659 directory to save the file in (string) 6632 directory to save the file in
6660 </dd> 6633 </dd>
6661 </dl> 6634 </dl>
6662 <dl> 6635 <dl>
6663 <dt>Return:</dt> 6636 <dt>Return:</dt>
6664 <dd> 6637 <dd>
6665 tuple of two values (boolean, string) giving a success 6638 tuple containing a success indicator and the name of the saved file
6666 indicator and the name of the saved file 6639 </dd>
6640 </dl>
6641 <dl>
6642 <dt>Return Type:</dt>
6643 <dd>
6644 tuple of (bool, str)
6667 </dd> 6645 </dd>
6668 </dl> 6646 </dl>
6669 <a NAME="Editor.saveFileCopy" ID="Editor.saveFileCopy"></a> 6647 <a NAME="Editor.saveFileCopy" ID="Editor.saveFileCopy"></a>
6670 <h4>Editor.saveFileCopy</h4> 6648 <h4>Editor.saveFileCopy</h4>
6671 <b>saveFileCopy</b>(<i>path=None</i>) 6649 <b>saveFileCopy</b>(<i>path=None</i>)
6918 <a NAME="Editor.shareConnected" ID="Editor.shareConnected"></a> 6896 <a NAME="Editor.shareConnected" ID="Editor.shareConnected"></a>
6919 <h4>Editor.shareConnected</h4> 6897 <h4>Editor.shareConnected</h4>
6920 <b>shareConnected</b>(<i>connected</i>) 6898 <b>shareConnected</b>(<i>connected</i>)
6921 6899
6922 <p> 6900 <p>
6923 Public slot to handle a change of the connected state. 6901 Public method to handle a change of the connected state.
6924 </p> 6902 </p>
6925 <dl> 6903 <dl>
6926 6904
6927 <dt><i>connected</i></dt> 6905 <dt><i>connected</i></dt>
6928 <dd> 6906 <dd>
6932 <a NAME="Editor.shareEditor" ID="Editor.shareEditor"></a> 6910 <a NAME="Editor.shareEditor" ID="Editor.shareEditor"></a>
6933 <h4>Editor.shareEditor</h4> 6911 <h4>Editor.shareEditor</h4>
6934 <b>shareEditor</b>(<i>share</i>) 6912 <b>shareEditor</b>(<i>share</i>)
6935 6913
6936 <p> 6914 <p>
6937 Public slot to set the shared status of the editor. 6915 Public method to set the shared status of the editor.
6938 </p> 6916 </p>
6939 <dl> 6917 <dl>
6940 6918
6941 <dt><i>share</i></dt> 6919 <dt><i>share</i></dt>
6942 <dd> 6920 <dd>
6954 <a NAME="Editor.shouldAutosave" ID="Editor.shouldAutosave"></a> 6932 <a NAME="Editor.shouldAutosave" ID="Editor.shouldAutosave"></a>
6955 <h4>Editor.shouldAutosave</h4> 6933 <h4>Editor.shouldAutosave</h4>
6956 <b>shouldAutosave</b>(<i></i>) 6934 <b>shouldAutosave</b>(<i></i>)
6957 6935
6958 <p> 6936 <p>
6959 Public slot to check the autosave flags. 6937 Public method to check the autosave flags.
6960 </p> 6938 </p>
6961 <dl> 6939 <dl>
6962 <dt>Return:</dt> 6940 <dt>Return:</dt>
6963 <dd> 6941 <dd>
6964 flag indicating this editor should be saved (boolean) 6942 flag indicating this editor should be saved (boolean)
7228 <a NAME="Editor.writeFile" ID="Editor.writeFile"></a> 7206 <a NAME="Editor.writeFile" ID="Editor.writeFile"></a>
7229 <h4>Editor.writeFile</h4> 7207 <h4>Editor.writeFile</h4>
7230 <b>writeFile</b>(<i>fn, backup=True</i>) 7208 <b>writeFile</b>(<i>fn, backup=True</i>)
7231 7209
7232 <p> 7210 <p>
7233 Public slot to write the text to a file. 7211 Public method to write the text to a file.
7234 </p> 7212 </p>
7235 <dl> 7213 <dl>
7236 7214
7237 <dt><i>fn</i></dt> 7215 <dt><i>fn</i> (str)</dt>
7238 <dd> 7216 <dd>
7239 filename to write to (string) 7217 filename to write to
7240 </dd> 7218 </dd>
7241 <dt><i>backup</i></dt> 7219 <dt><i>backup</i> (bool)</dt>
7242 <dd> 7220 <dd>
7243 flag indicating to save a backup (boolean) 7221 flag indicating to save a backup
7244 </dd> 7222 </dd>
7245 </dl> 7223 </dl>
7246 <dl> 7224 <dl>
7247 <dt>Return:</dt> 7225 <dt>Return:</dt>
7248 <dd> 7226 <dd>
7249 flag indicating success (boolean) 7227 flag indicating success
7228 </dd>
7229 </dl>
7230 <dl>
7231 <dt>Return Type:</dt>
7232 <dd>
7233 bool
7250 </dd> 7234 </dd>
7251 </dl> 7235 </dl>
7252 <div align="right"><a href="#top">Up</a></div> 7236 <div align="right"><a href="#top">Up</a></div>
7253 <hr /> 7237 <hr />
7254 </body></html> 7238 </body></html>

eric ide

mercurial