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

branch
eric7
changeset 10382
708119d4377f
parent 10376
4146ac0fd307
child 10388
a34ce7f42e8b
--- a/src/eric7/Documentation/Source/eric7.QScintilla.Editor.html	Tue Dec 05 14:32:11 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.QScintilla.Editor.html	Tue Dec 05 14:32:29 2023 +0100
@@ -1035,6 +1035,10 @@
 <td>Public method to check the 'read only' state.</td>
 </tr>
 <tr>
+<td><a href="#Editor.checkRereadFile">checkRereadFile</a></td>
+<td>Public slot to check, if the file needs to be re-read, and refresh it if needed.</td>
+</tr>
+<tr>
 <td><a href="#Editor.checkSpelling">checkSpelling</a></td>
 <td>Public slot to perform an interactive spell check of the document.</td>
 </tr>
@@ -1619,6 +1623,10 @@
 <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>
+<tr>
 <td><a href="#Editor.redo">redo</a></td>
 <td>Public method to redo the last recorded change.</td>
 </tr>
@@ -4612,6 +4620,14 @@
 bool
 </dd>
 </dl>
+<a NAME="Editor.checkRereadFile" ID="Editor.checkRereadFile"></a>
+<h4>Editor.checkRereadFile</h4>
+<b>checkRereadFile</b>(<i></i>)
+
+<p>
+        Public slot to check, if the file needs to be re-read, and refresh it if
+        needed.
+</p>
 <a NAME="Editor.checkSpelling" ID="Editor.checkSpelling"></a>
 <h4>Editor.checkSpelling</h4>
 <b>checkSpelling</b>(<i></i>)
@@ -6606,27 +6622,31 @@
 </p>
 <a NAME="Editor.readFile" ID="Editor.readFile"></a>
 <h4>Editor.readFile</h4>
-<b>readFile</b>(<i>fn, createIt=False, encoding=""</i>)
+<b>readFile</b>(<i>fn, createIt=False, encoding="", noempty=False</i>)
 
 <p>
         Public method to read the text from a file.
 </p>
 <dl>
 
-<dt><i>fn</i></dt>
-<dd>
-filename to read from (string)
-</dd>
-<dt><i>createIt</i></dt>
+<dt><i>fn</i> (str)</dt>
+<dd>
+filename to read from
+</dd>
+<dt><i>createIt</i> (bool (optional))</dt>
 <dd>
 flag indicating the creation of a new file, if the
-            given one doesn't exist (boolean)
-</dd>
-<dt><i>encoding</i></dt>
-<dd>
-encoding to be used to read the file (string)
+            given one doesn't exist (defaults to False)
+</dd>
+<dt><i>encoding</i> (str (optional))</dt>
+<dd>
+encoding to be used to read the file (defaults to "")
             (Note: this parameter overrides encoding detection)
 </dd>
+<dt><i>noempty</i> (bool (optional))</dt>
+<dd>
+flag indicating to not set an empty text (defaults to False)
+</dd>
 </dl>
 <a NAME="Editor.readSettings" ID="Editor.readSettings"></a>
 <h4>Editor.readSettings</h4>
@@ -6649,6 +6669,13 @@
 command string
 </dd>
 </dl>
+<a NAME="Editor.recordModificationTime" ID="Editor.recordModificationTime"></a>
+<h4>Editor.recordModificationTime</h4>
+<b>recordModificationTime</b>(<i></i>)
+
+<p>
+        Public slot to record the modification time of our file.
+</p>
 <a NAME="Editor.redo" ID="Editor.redo"></a>
 <h4>Editor.redo</h4>
 <b>redo</b>(<i></i>)

eric ide

mercurial