--- a/src/eric7/Documentation/Source/eric7.QScintilla.Editor.html Mon May 05 17:43:44 2025 +0200 +++ b/src/eric7/Documentation/Source/eric7.QScintilla.Editor.html Mon May 05 17:45:44 2025 +0200 @@ -176,13 +176,7 @@ QsciScintillaCompat <h3>Class Attributes</h3> <table> -<tr><td>CancelEditToken</td></tr> <tr><td>EncloseChars</td></tr> -<tr><td>EndEditToken</td></tr> -<tr><td>RequestSyncToken</td></tr> -<tr><td>Separator</td></tr> -<tr><td>StartEditToken</td></tr> -<tr><td>SyncToken</td></tr> <tr><td>VcsConflictMarkerLineRegExpList</td></tr> </table> @@ -282,10 +276,6 @@ <td>Private slot to handle the dataAboutToBeChanged signal of the breakpoint model.</td> </tr> <tr> -<td><a href="#Editor.__calculateChanges">__calculateChanges</a></td> -<td>Private method to determine change commands to convert old text into new text.</td> -</tr> -<tr> <td><a href="#Editor.__callTip">__callTip</a></td> <td>Private method to show call tips provided by a plugin.</td> </tr> @@ -414,10 +404,6 @@ <td>Private slot handling the deselect all context menu action.</td> </tr> <tr> -<td><a href="#Editor.__dispatchCommand">__dispatchCommand</a></td> -<td>Private method to dispatch received commands.</td> -</tr> -<tr> <td><a href="#Editor.__encodingChanged">__encodingChanged</a></td> <td>Private slot to handle a change of the encoding.</td> </tr> @@ -666,26 +652,10 @@ <td>Private slot to generate a print preview.</td> </tr> <tr> -<td><a href="#Editor.__processEndEditCommand">__processEndEditCommand</a></td> -<td>Private slot to process a remote EndEdit command.</td> -</tr> -<tr> <td><a href="#Editor.__processFlags">__processFlags</a></td> <td>Private method to extract flags and process them.</td> </tr> <tr> -<td><a href="#Editor.__processRequestSyncCommand">__processRequestSyncCommand</a></td> -<td>Private slot to process a remote RequestSync command.</td> -</tr> -<tr> -<td><a href="#Editor.__processStartEditCommand">__processStartEditCommand</a></td> -<td>Private slot to process a remote StartEdit command.</td> -</tr> -<tr> -<td><a href="#Editor.__processSyncCommand">__processSyncCommand</a></td> -<td>Private slot to process a remote Sync command.</td> -</tr> -<tr> <td><a href="#Editor.__processSyntaxCheckError">__processSyntaxCheckError</a></td> <td>Private slot to report an error message of a syntax check.</td> </tr> @@ -766,10 +736,6 @@ <td>Private method to select a specific pygments lexer.</td> </tr> <tr> -<td><a href="#Editor.__send">__send</a></td> -<td>Private method to send an editor command to remote editors.</td> -</tr> -<tr> <td><a href="#Editor.__setAnnotation">__setAnnotation</a></td> <td>Private method to set the annotations for the given line.</td> </tr> @@ -1038,10 +1004,6 @@ <td>Public method to test the dynamic auto-completion availability.</td> </tr> <tr> -<td><a href="#Editor.cancelSharedEdit">cancelSharedEdit</a></td> -<td>Public method to cancel a shared edit session for the editor.</td> -</tr> -<tr> <td><a href="#Editor.changeEvent">changeEvent</a></td> <td>Protected method called to process an event.</td> </tr> @@ -1350,8 +1312,8 @@ <td>Public method to determine the selection or the current word for the next search operation.</td> </tr> <tr> -<td><a href="#Editor.getSharingStatus">getSharingStatus</a></td> -<td>Public method to get some share status info.</td> +<td><a href="#Editor.getSharedEditStatus">getSharedEditStatus</a></td> +<td>Public method to get the editor's shared edit status.</td> </tr> <tr> <td><a href="#Editor.getSpellingLanguage">getSpellingLanguage</a></td> @@ -1646,10 +1608,6 @@ <td>Public slot to read the settings into our lexer.</td> </tr> <tr> -<td><a href="#Editor.receive">receive</a></td> -<td>Public slot to handle received editor commands.</td> -</tr> -<tr> <td><a href="#Editor.recordModificationTime">recordModificationTime</a></td> <td>Public slot to record the modification time of our file.</td> </tr> @@ -1738,10 +1696,6 @@ <td>Public method to select the word at a position.</td> </tr> <tr> -<td><a href="#Editor.sendSharedEdit">sendSharedEdit</a></td> -<td>Public slot to end a shared edit session for the editor and send the changes.</td> -</tr> -<tr> <td><a href="#Editor.setAutoCompletionEnabled">setAutoCompletionEnabled</a></td> <td>Public method to enable/disable autocompletion.</td> </tr> @@ -1782,18 +1736,14 @@ <td>Public method to set a search indicator for the given range.</td> </tr> <tr> +<td><a href="#Editor.setSharedEditStatus">setSharedEditStatus</a></td> +<td>Public method to set the editor's shared edit status.</td> +</tr> +<tr> <td><a href="#Editor.setSpellingForProject">setSpellingForProject</a></td> <td>Public method to set the spell checking options for files belonging to the current project.</td> </tr> <tr> -<td><a href="#Editor.shareConnected">shareConnected</a></td> -<td>Public method to handle a change of the connected state.</td> -</tr> -<tr> -<td><a href="#Editor.shareEditor">shareEditor</a></td> -<td>Public method to set the shared status of the editor.</td> -</tr> -<tr> <td><a href="#Editor.shortenEmptyLines">shortenEmptyLines</a></td> <td>Public slot to compress lines consisting solely of whitespace characters.</td> </tr> @@ -1810,10 +1760,6 @@ <td>Public slot to sort the lines spanned by a rectangular selection.</td> </tr> <tr> -<td><a href="#Editor.startSharedEdit">startSharedEdit</a></td> -<td>Public slot to start a shared edit session for the editor.</td> -</tr> -<tr> <td><a href="#Editor.streamCommentLineOrSelection">streamCommentLineOrSelection</a></td> <td>Public slot to stream comment the current line or current selection.</td> </tr> @@ -2212,37 +2158,6 @@ end index of the rows to be changed </dd> </dl> -<a NAME="Editor.__calculateChanges" ID="Editor.__calculateChanges"></a> -<h4>Editor.__calculateChanges</h4> -<b>__calculateChanges</b>(<i>old, new</i>) -<p> - Private method to determine change commands to convert old text into - new text. -</p> - -<dl> - -<dt><i>old</i> (str)</dt> -<dd> -old text -</dd> -<dt><i>new</i> (str)</dt> -<dd> -new text -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -commands to change old into new -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> <a NAME="Editor.__callTip" ID="Editor.__callTip"></a> <h4>Editor.__callTip</h4> <b>__callTip</b>(<i></i>) @@ -2579,20 +2494,6 @@ Private slot handling the deselect all context menu action. </p> -<a NAME="Editor.__dispatchCommand" ID="Editor.__dispatchCommand"></a> -<h4>Editor.__dispatchCommand</h4> -<b>__dispatchCommand</b>(<i>command</i>) -<p> - Private method to dispatch received commands. -</p> - -<dl> - -<dt><i>command</i> (str)</dt> -<dd> -command to be processed -</dd> -</dl> <a NAME="Editor.__encodingChanged" ID="Editor.__encodingChanged"></a> <h4>Editor.__encodingChanged</h4> <b>__encodingChanged</b>(<i>encoding, propagate=True</i>) @@ -3656,20 +3557,6 @@ reference to the printer object </dd> </dl> -<a NAME="Editor.__processEndEditCommand" ID="Editor.__processEndEditCommand"></a> -<h4>Editor.__processEndEditCommand</h4> -<b>__processEndEditCommand</b>(<i>argsString</i>) -<p> - Private slot to process a remote EndEdit command. -</p> - -<dl> - -<dt><i>argsString</i> (str)</dt> -<dd> -string containing the command parameters -</dd> -</dl> <a NAME="Editor.__processFlags" ID="Editor.__processFlags"></a> <h4>Editor.__processFlags</h4> <b>__processFlags</b>(<i></i>) @@ -3689,48 +3576,6 @@ list of str </dd> </dl> -<a NAME="Editor.__processRequestSyncCommand" ID="Editor.__processRequestSyncCommand"></a> -<h4>Editor.__processRequestSyncCommand</h4> -<b>__processRequestSyncCommand</b>(<i>argsString</i>) -<p> - Private slot to process a remote RequestSync command. -</p> - -<dl> - -<dt><i>argsString</i> (str)</dt> -<dd> -string containing the command parameters -</dd> -</dl> -<a NAME="Editor.__processStartEditCommand" ID="Editor.__processStartEditCommand"></a> -<h4>Editor.__processStartEditCommand</h4> -<b>__processStartEditCommand</b>(<i>argsString</i>) -<p> - Private slot to process a remote StartEdit command. -</p> - -<dl> - -<dt><i>argsString</i> (str)</dt> -<dd> -string containing the command parameters -</dd> -</dl> -<a NAME="Editor.__processSyncCommand" ID="Editor.__processSyncCommand"></a> -<h4>Editor.__processSyncCommand</h4> -<b>__processSyncCommand</b>(<i>argsString</i>) -<p> - Private slot to process a remote Sync command. -</p> - -<dl> - -<dt><i>argsString</i> (str)</dt> -<dd> -string containing the command parameters -</dd> -</dl> <a NAME="Editor.__processSyntaxCheckError" ID="Editor.__processSyntaxCheckError"></a> <h4>Editor.__processSyntaxCheckError</h4> <b>__processSyntaxCheckError</b>(<i>fn, msg</i>) @@ -3969,24 +3814,6 @@ str </dd> </dl> -<a NAME="Editor.__send" ID="Editor.__send"></a> -<h4>Editor.__send</h4> -<b>__send</b>(<i>token, args=None</i>) -<p> - Private method to send an editor command to remote editors. -</p> - -<dl> - -<dt><i>token</i> (str)</dt> -<dd> -command token -</dd> -<dt><i>args</i> (str)</dt> -<dd> -arguments for the command -</dd> -</dl> <a NAME="Editor.__setAnnotation" ID="Editor.__setAnnotation"></a> <h4>Editor.__setAnnotation</h4> <b>__setAnnotation</b>(<i>line</i>) @@ -4708,20 +4535,6 @@ bool </dd> </dl> -<a NAME="Editor.cancelSharedEdit" ID="Editor.cancelSharedEdit"></a> -<h4>Editor.cancelSharedEdit</h4> -<b>cancelSharedEdit</b>(<i>send=True</i>) -<p> - Public method to cancel a shared edit session for the editor. -</p> - -<dl> - -<dt><i>send</i> (bool)</dt> -<dd> -flag indicating to send the CancelEdit command -</dd> -</dl> <a NAME="Editor.changeEvent" ID="Editor.changeEvent"></a> <h4>Editor.changeEvent</h4> <b>changeEvent</b>(<i>evt</i>) @@ -5997,25 +5810,23 @@ str </dd> </dl> -<a NAME="Editor.getSharingStatus" ID="Editor.getSharingStatus"></a> -<h4>Editor.getSharingStatus</h4> -<b>getSharingStatus</b>(<i></i>) -<p> - Public method to get some share status info. +<a NAME="Editor.getSharedEditStatus" ID="Editor.getSharedEditStatus"></a> +<h4>Editor.getSharedEditStatus</h4> +<b>getSharedEditStatus</b>(<i></i>) +<p> + Public method to get the editor's shared edit status. </p> <dl> <dt>Return:</dt> <dd> -tuple indicating, if the editor is sharable, the sharing - status, if it is inside a locally initiated shared edit session - and if it is inside a remotely initiated shared edit session +reference to the shared edit status </dd> </dl> <dl> <dt>Return Type:</dt> <dd> -tuple of (bool, bool, bool, bool) +SharedEditStatus </dd> </dl> <a NAME="Editor.getSpellingLanguage" ID="Editor.getSpellingLanguage"></a> @@ -7093,20 +6904,6 @@ Public slot to read the settings into our lexer. </p> -<a NAME="Editor.receive" ID="Editor.receive"></a> -<h4>Editor.receive</h4> -<b>receive</b>(<i>command</i>) -<p> - Public slot to handle received editor commands. -</p> - -<dl> - -<dt><i>command</i> (str)</dt> -<dd> -command string -</dd> -</dl> <a NAME="Editor.recordModificationTime" ID="Editor.recordModificationTime"></a> <h4>Editor.recordModificationTime</h4> <b>recordModificationTime</b>(<i>filename=""</i>) @@ -7409,14 +7206,6 @@ position to look at </dd> </dl> -<a NAME="Editor.sendSharedEdit" ID="Editor.sendSharedEdit"></a> -<h4>Editor.sendSharedEdit</h4> -<b>sendSharedEdit</b>(<i></i>) -<p> - Public slot to end a shared edit session for the editor and - send the changes. -</p> - <a NAME="Editor.setAutoCompletionEnabled" ID="Editor.setAutoCompletionEnabled"></a> <h4>Editor.setAutoCompletionEnabled</h4> <b>setAutoCompletionEnabled</b>(<i>enable</i>) @@ -7604,6 +7393,20 @@ length of the indicator </dd> </dl> +<a NAME="Editor.setSharedEditStatus" ID="Editor.setSharedEditStatus"></a> +<h4>Editor.setSharedEditStatus</h4> +<b>setSharedEditStatus</b>(<i>status</i>) +<p> + Public method to set the editor's shared edit status. +</p> + +<dl> + +<dt><i>status</i> (SharedEditStatus)</dt> +<dd> +shared edit status +</dd> +</dl> <a NAME="Editor.setSpellingForProject" ID="Editor.setSpellingForProject"></a> <h4>Editor.setSpellingForProject</h4> <b>setSpellingForProject</b>(<i></i>) @@ -7612,34 +7415,6 @@ to the current project. </p> -<a NAME="Editor.shareConnected" ID="Editor.shareConnected"></a> -<h4>Editor.shareConnected</h4> -<b>shareConnected</b>(<i>connected</i>) -<p> - Public method to handle a change of the connected state. -</p> - -<dl> - -<dt><i>connected</i> (bool)</dt> -<dd> -flag indicating the connected state -</dd> -</dl> -<a NAME="Editor.shareEditor" ID="Editor.shareEditor"></a> -<h4>Editor.shareEditor</h4> -<b>shareEditor</b>(<i>share</i>) -<p> - Public method to set the shared status of the editor. -</p> - -<dl> - -<dt><i>share</i> (bool)</dt> -<dd> -flag indicating the share status -</dd> -</dl> <a NAME="Editor.shortenEmptyLines" ID="Editor.shortenEmptyLines"></a> <h4>Editor.shortenEmptyLines</h4> <b>shortenEmptyLines</b>(<i></i>) @@ -7684,13 +7459,6 @@ Public slot to sort the lines spanned by a rectangular selection. </p> -<a NAME="Editor.startSharedEdit" ID="Editor.startSharedEdit"></a> -<h4>Editor.startSharedEdit</h4> -<b>startSharedEdit</b>(<i></i>) -<p> - Public slot to start a shared edit session for the editor. -</p> - <a NAME="Editor.streamCommentLineOrSelection" ID="Editor.streamCommentLineOrSelection"></a> <h4>Editor.streamCommentLineOrSelection</h4> <b>streamCommentLineOrSelection</b>(<i></i>)