Viewmanager eric7

Mon, 01 Jan 2024 12:06:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 01 Jan 2024 12:06:56 +0100
branch
eric7
changeset 10463
03e11d19e383
parent 10462
c8503ea3bd22
child 10464
30de2b1bee37

Viewmanager
- Added a user confirmation to prevent inadvertent deletion of the current editor's contents.

src/eric7/ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_cs.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_de.qm file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_de.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_empty.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_en.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_es.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_fr.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_it.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_pt.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_ru.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_tr.ts file | annotate | diff | comparison | revisions
src/eric7/i18n/eric7_zh_CN.ts file | annotate | diff | comparison | revisions
--- a/src/eric7/ViewManager/ViewManager.py	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/ViewManager/ViewManager.py	Mon Jan 01 12:06:56 2024 +0100
@@ -6581,7 +6581,12 @@
         if QApplication.focusWidget() == ericApp().getObject("Shell"):
             ericApp().getObject("Shell").clear()
         else:
-            self.activeWindow().clear()
+            if EricMessageBox.yesNo(
+                self,
+                self.tr("Clear Editor"),
+                self.tr("Do you really want to delete all text of the current editor?"),
+            ):
+                self.activeWindow().clear()
 
     def __editJoin(self):
         """
--- a/src/eric7/i18n/eric7_cs.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_cs.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -96445,33 +96445,43 @@
       <translation>&amp;Edit...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
Binary file src/eric7/i18n/eric7_de.qm has changed
--- a/src/eric7/i18n/eric7_de.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_de.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -95715,33 +95715,43 @@
         <translation>&amp;Bearbeiten...</translation>
     </message>
     <message>
-        <location filename="../ViewManager/ViewManager.py" line="7460"/>
-        <location filename="../ViewManager/ViewManager.py" line="7446"/>
-        <location filename="../ViewManager/ViewManager.py" line="7414"/>
+        <location filename="../ViewManager/ViewManager.py" line="7465"/>
+        <location filename="../ViewManager/ViewManager.py" line="7451"/>
+        <location filename="../ViewManager/ViewManager.py" line="7419"/>
         <source>Edit Spelling Dictionary</source>
         <translation>Wörterbuch bearbeiten</translation>
     </message>
     <message>
-        <location filename="../ViewManager/ViewManager.py" line="7417"/>
+        <location filename="../ViewManager/ViewManager.py" line="7422"/>
         <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation>&lt;p&gt;Die Wörterbuchdatei &lt;b&gt;{0}&lt;/b&gt; konnte nicht gelesen werden.&lt;/p&gt;&lt;p&gt;Ursache: {1}&lt;/p&gt;</translation>
     </message>
     <message>
-        <location filename="../ViewManager/ViewManager.py" line="7433"/>
+        <location filename="../ViewManager/ViewManager.py" line="7438"/>
         <source>Editing {0}</source>
         <translation>Bearbeite {0}</translation>
     </message>
     <message>
-        <location filename="../ViewManager/ViewManager.py" line="7449"/>
+        <location filename="../ViewManager/ViewManager.py" line="7454"/>
         <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation>&lt;p&gt;Die Wörterbuchdatei &lt;b&gt;{0}&lt;/b&gt; konnte nicht geschrieben werden.&lt;/p&gt;&lt;p&gt;Ursache: {1}&lt;/p&gt;</translation>
     </message>
     <message>
-        <location filename="../ViewManager/ViewManager.py" line="7463"/>
+        <location filename="../ViewManager/ViewManager.py" line="7468"/>
         <source>The spelling dictionary was saved successfully.</source>
         <translation>Das Wörterbuch wurde erfolgreich gespeichert.</translation>
     </message>
     <message>
+        <location filename="../ViewManager/ViewManager.py" line="6586"/>
+        <source>Clear Editor</source>
+        <translation>Editor löschen</translation>
+    </message>
+    <message>
+        <location filename="../ViewManager/ViewManager.py" line="6587"/>
+        <source>Do you really want to delete all text of the current editor?</source>
+        <translation>Soll wirklich der gesamte Text des aktuellen Editors gelöscht werden?</translation>
+    </message>
+    <message>
         <location filename="../QScintilla/ShellWindow.py" line="937"/>
         <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
         <translation>&lt;b&gt;Suchen&lt;/b&gt;&lt;p&gt;Sucht einen Text im Shell Fenster. Es wird ein Dialog eingeblendet, in dem der Suchtext und verschieden Suchoptionen eingegeben werden kann.&lt;/p&gt;</translation>
--- a/src/eric7/i18n/eric7_empty.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_empty.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -95129,33 +95129,43 @@
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_en.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_en.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -95189,33 +95189,43 @@
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_es.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_es.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -95690,33 +95690,43 @@
       <translation>&amp;Editar...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation>Editar Diccionario Ortográfico</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation>&lt;p&gt;El archivo de diccionario ortográfico &lt;b&gt;{0}&lt;/b&gt; no se puede leer.&lt;/p&gt;&lt;p&gt;Razón: {1}&lt;/p&gt;</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation>Editando {0}</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation>&lt;p&gt;El archivo de diccionario ortográfico &lt;b&gt;{0}&lt;/b&gt; no se puede escribir.&lt;/p&gt;&lt;p&gt;Razón: {1}&lt;/p&gt;</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation>El diccionario ortográfico se ha guardado con éxito.</translation>
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation>&lt;b&gt;Buscar&lt;/b&gt;&lt;p&gt;Buscar texto en la ventana de shell. Se muestra un diálogo para introducir el texto y opciones para la búsqueda.&lt;/p&gt;</translation>
--- a/src/eric7/i18n/eric7_fr.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_fr.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -96948,33 +96948,43 @@
       <translation>&amp;Editer...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_it.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_it.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -96631,33 +96631,43 @@
       <translation>&amp;Modifica...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_pt.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_pt.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -96192,33 +96192,43 @@
       <translation>&amp;Editar...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation>Editar Dicionário Ortográfico</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation>A editar {0}</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation>O dicionário ortográfico foi guradado com êxito.</translation>
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_ru.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_ru.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -95927,33 +95927,43 @@
       <translation>&amp;Правка...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation>Редактировать орфографический словарь</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation>&lt;p&gt;Невозможно прочитать файл словаря&lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Причина: {1}&lt;/p&gt;</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation>Редактирование {0}</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation>&lt;p&gt;Невозможно записать файл словаря&lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Причина: {1}&lt;/p&gt;</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation>Файл словаря успешно сохранён.</translation>
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation>&lt;b&gt;Поиск&lt;/b&gt;&lt;p&gt;Поиск текста в окне оболочки. Отображается диалог для ввода текста поиска и параметров поиска.&lt;/p&gt;</translation>
--- a/src/eric7/i18n/eric7_tr.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_tr.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -96158,33 +96158,43 @@
       <translation>Düz&amp;en...</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />
--- a/src/eric7/i18n/eric7_zh_CN.ts	Mon Jan 01 11:59:44 2024 +0100
+++ b/src/eric7/i18n/eric7_zh_CN.ts	Mon Jan 01 12:06:56 2024 +0100
@@ -96743,33 +96743,43 @@
       <translation>编辑(&amp;E)…</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7460" />
-      <location filename="../ViewManager/ViewManager.py" line="7446" />
-      <location filename="../ViewManager/ViewManager.py" line="7414" />
+      <location filename="../ViewManager/ViewManager.py" line="7465" />
+      <location filename="../ViewManager/ViewManager.py" line="7451" />
+      <location filename="../ViewManager/ViewManager.py" line="7419" />
       <source>Edit Spelling Dictionary</source>
       <translation type="unfinished">编辑拼写字典</translation>
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7417" />
+      <location filename="../ViewManager/ViewManager.py" line="7422" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be read.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7433" />
+      <location filename="../ViewManager/ViewManager.py" line="7438" />
       <source>Editing {0}</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7449" />
+      <location filename="../ViewManager/ViewManager.py" line="7454" />
       <source>&lt;p&gt;The spelling dictionary file &lt;b&gt;{0}&lt;/b&gt; could not be written.&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
       <translation type="unfinished" />
     </message>
     <message>
-      <location filename="../ViewManager/ViewManager.py" line="7463" />
+      <location filename="../ViewManager/ViewManager.py" line="7468" />
       <source>The spelling dictionary was saved successfully.</source>
       <translation type="unfinished" />
     </message>
     <message>
+      <location filename="../ViewManager/ViewManager.py" line="6586" />
+      <source>Clear Editor</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
+      <location filename="../ViewManager/ViewManager.py" line="6587" />
+      <source>Do you really want to delete all text of the current editor?</source>
+      <translation type="unfinished" />
+    </message>
+    <message>
       <location filename="../QScintilla/ShellWindow.py" line="937" />
       <source>&lt;b&gt;Search&lt;/b&gt;&lt;p&gt;Search for some text in the shell window. A dialog is shown to enter the search text and options for the search.&lt;/p&gt;</source>
       <translation type="unfinished" />

eric ide

mercurial