diff libgui/src/m-editor/file-editor.cc @ 27956:2310164737b3 stable

fix many spelling errors (bug #57613)
author John W. Eaton <jwe@octave.org>
date Fri, 17 Jan 2020 13:15:27 -0600
parents 66fa9ebb0c3e
children c20b7290c778
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Fri Oct 18 17:24:37 2019 -0700
+++ b/libgui/src/m-editor/file-editor.cc	Fri Jan 17 13:15:27 2020 -0600
@@ -1112,8 +1112,8 @@
 
   void file_editor::set_shortcuts (void)
   {
-    // Shortcuts also available in the main window, as well as the realted
-    // ahotcuts, are defined in main_window and added to the editor
+    // Shortcuts also available in the main window, as well as the related
+    // shortcuts, are defined in main_window and added to the editor
 
     // File menu
     shortcut_manager::set_shortcut (m_edit_function_action, "editor_file:edit_function");
@@ -1269,7 +1269,7 @@
 
     if (openFileName.isEmpty ())
       {
-        // This happens if edit is calles without an argument
+        // This happens if edit is called without an argument
         // Open eitor with empty edit area instead (as new file would do)
         request_new_file ("");
       }
@@ -2428,7 +2428,7 @@
         // 1. The path of the file rel. to the dir is not equal to the
         //    its absolute one.
         //    If both are equal, then there is no relative path and removed
-        //    directoy and file are on different drives (e.g.on windows)
+        //    directory and file are on different drives (e.g.on windows)
         // 2. The (real) relative path does not start with "../", i.e.,
         //    the file can be reached from the directory by descending only
         if ((rel_path_to_file != abs_path_to_file)