diff -r f5da85158db2 -r 62eff8b34a8d eric6/Documentation/Source/eric6.QScintilla.Editor.html --- a/eric6/Documentation/Source/eric6.QScintilla.Editor.html Mon Jan 11 19:31:21 2021 +0100 +++ b/eric6/Documentation/Source/eric6.QScintilla.Editor.html Tue Jan 12 17:19:02 2021 +0100 @@ -181,7 +181,7 @@ <h3>Class Attributes</h3> <table> -<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>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>WarningStyle</td></tr> +<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>WarningStyle</td></tr> </table> <h3>Class Methods</h3> @@ -1073,6 +1073,10 @@ <td>Public method to perform a simple editor command.</td> </tr> <tr> +<td><a href="#Editor.encloseSelectedText">encloseSelectedText</a></td> +<td>Local function to enclose the current selection with some characters.</td> +</tr> +<tr> <td><a href="#Editor.ensureVisible">ensureVisible</a></td> <td>Public slot to ensure, that the specified line is visible.</td> </tr> @@ -4449,6 +4453,22 @@ the scintilla command to be performed </dd> </dl> +<a NAME="Editor.encloseSelectedText" ID="Editor.encloseSelectedText"></a> +<h4>Editor.encloseSelectedText</h4> +<b>encloseSelectedText</b>(<i></i>) + +<p> + Local function to enclose the current selection with some + characters. +</p> +<dl> + +<dt><i>encString</i> (str)</dt> +<dd> +string to use to enclose the selection + (one or two characters) +</dd> +</dl> <a NAME="Editor.ensureVisible" ID="Editor.ensureVisible"></a> <h4>Editor.ensureVisible</h4> <b>ensureVisible</b>(<i>line, expand=False</i>)