diff libgui/src/m-editor/octave-qscintilla.cc @ 27893:465ac679e976

Fix typos and grammar errors in comments in libgui (patch #9790) * color-picker.cc, documentation.cc, dw-main-window.cc, files-dock-widget.cc, gui-preferences-mw.h, history-dock-widget.h, file-editor-tab.cc, file-editor-tab.h, file-editor.cc, find-dialog.cc, octave-qscintilla.cc, main-window.cc, octave-dock-widget.cc, octave-dock-widget.h, resource-manager.cc, shortcut-manager.cc, tab-bar.cc, tab-bar.h, variable-editor.cc, variable-editor.h, workspace-model.cc, workspace-view.cc: Fix typos and grammar errors in comments.
author Andrew Janke <andrew@apjanke.net>
date Thu, 11 Apr 2019 07:37:20 -0400
parents dcf6569cd973
children a29db5c46706
line wrap: on
line diff
--- a/libgui/src/m-editor/octave-qscintilla.cc	Wed Jan 01 17:40:49 2020 +0100
+++ b/libgui/src/m-editor/octave-qscintilla.cc	Thu Apr 11 07:37:20 2019 -0400
@@ -609,7 +609,7 @@
       }
   }
 
-  // Do smart indendation of current selection or line.
+  // Do smart indentation of current selection or line.
   void octave_qscintilla::smart_indent_line_or_selected_text (int lineFrom,
                                                               int lineTo)
   {
@@ -1171,7 +1171,7 @@
   void octave_qscintilla::auto_close (int auto_endif, int linenr,
                                       const QString& line, QString& first_word)
   {
-    // Insert and "end" for an "if" etc., if needed.
+    // Insert an "end" for an "if" etc., if needed.
     // (Use of "while" allows "return" to skip the rest.
     // It may be clearer to use "if" and "goto",
     // but that violates the coding standards.)