eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html

changeset 7693
a51f82458a1b
parent 7635
0cdead130a81
child 7763
32d9af1cea79
--- a/eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html	Sun Sep 06 12:19:56 2020 +0200
+++ b/eric6/Documentation/Source/eric6.QScintilla.MiniEditor.html	Sun Sep 06 12:33:50 2020 +0200
@@ -59,10 +59,28 @@
 <h3>Signals</h3>
 <dl>
 
+<dt>cursorLineChanged(int)</dt>
+<dd>
+emitted when the cursor line was changed
+</dd>
+<dt>editorRenamed(str)</dt>
+<dd>
+emitted after the editor got a new name
+        (i.e. after a 'Save As')
+</dd>
 <dt>editorSaved()</dt>
 <dd>
 emitted after the file has been saved
 </dd>
+<dt>languageChanged(str)</dt>
+<dd>
+emitted when the editors language was set. The
+        language is passed as a parameter.
+</dd>
+<dt>refreshed()</dt>
+<dd>
+dummy signal to emulate the Editor interface
+</dd>
 </dl>
 <h3>Derived from</h3>
 E5MainWindow
@@ -161,6 +179,10 @@
 <td>Private slot to handle a change in the documents modification status.</td>
 </tr>
 <tr>
+<td><a href="#MiniEditor.__editorChanged">__editorChanged</a></td>
+<td>Private slot handling changes of the editor language or file name.</td>
+</tr>
+<tr>
 <td><a href="#MiniEditor.__getCurrentWord">__getCurrentWord</a></td>
 <td>Private method to get the word at the current position.</td>
 </tr>
@@ -245,6 +267,10 @@
 <td>Private method to redo the last recorded change.</td>
 </tr>
 <tr>
+<td><a href="#MiniEditor.__resetChangeTimer">__resetChangeTimer</a></td>
+<td>Private slot to reset the parse timer.</td>
+</tr>
+<tr>
 <td><a href="#MiniEditor.__resetLanguage">__resetLanguage</a></td>
 <td>Private method used to reset the language selection.</td>
 </tr>
@@ -620,6 +646,13 @@
 <p>
         Private slot to handle a change in the documents modification status.
 </p>
+<a NAME="MiniEditor.__editorChanged" ID="MiniEditor.__editorChanged"></a>
+<h4>MiniEditor.__editorChanged</h4>
+<b>__editorChanged</b>(<i></i>)
+
+<p>
+        Private slot handling changes of the editor language or file name.
+</p>
 <a NAME="MiniEditor.__getCurrentWord" ID="MiniEditor.__getCurrentWord"></a>
 <h4>MiniEditor.__getCurrentWord</h4>
 <b>__getCurrentWord</b>(<i></i>)
@@ -927,6 +960,13 @@
 <p>
         Private method to redo the last recorded change.
 </p>
+<a NAME="MiniEditor.__resetChangeTimer" ID="MiniEditor.__resetChangeTimer"></a>
+<h4>MiniEditor.__resetChangeTimer</h4>
+<b>__resetChangeTimer</b>(<i></i>)
+
+<p>
+        Private slot to reset the parse timer.
+</p>
 <a NAME="MiniEditor.__resetLanguage" ID="MiniEditor.__resetLanguage"></a>
 <h4>MiniEditor.__resetLanguage</h4>
 <b>__resetLanguage</b>(<i></i>)
@@ -1038,7 +1078,13 @@
 <dl>
 <dt>Returns:</dt>
 <dd>
-name of the selected pygments lexer (string)
+name of the selected pygments lexer
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
 </dd>
 </dl>
 <a NAME="MiniEditor.__setCurrentFile" ID="MiniEditor.__setCurrentFile"></a>
@@ -1253,15 +1299,34 @@
 </dl>
 <a NAME="MiniEditor.getLanguage" ID="MiniEditor.getLanguage"></a>
 <h4>MiniEditor.getLanguage</h4>
-<b>getLanguage</b>(<i></i>)
+<b>getLanguage</b>(<i>normalized=True, forPygments=False</i>)
 
 <p>
         Public method to retrieve the language of the editor.
 </p>
 <dl>
+
+<dt><i>normalized</i> (bool)</dt>
+<dd>
+flag indicating to normalize some Pygments
+            lexer names
+</dd>
+<dt><i>forPygments</i> (bool)</dt>
+<dd>
+flag indicating to normalize some lexer
+            names for Pygments
+</dd>
+</dl>
+<dl>
 <dt>Returns:</dt>
 <dd>
-language of the editor (string)
+language of the editor
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
 </dd>
 </dl>
 <a NAME="MiniEditor.getSRHistory" ID="MiniEditor.getSRHistory"></a>

eric ide

mercurial