diff libgui/src/m-editor/file-editor.cc @ 27935:f1844e33f621

maint: Use Octave coding conventions in libgui/ directory. * Table.cc, qt-graphics-toolkit.cc, documentation.cc, documentation.h, files-dock-widget.cc, find-files-dialog.cc, gui-preferences-cs.h, gui-preferences-dw.h, gui-preferences-ed.h, gui-preferences-ff.h, gui-preferences-mw.h, gui-preferences-sc.h, history-dock-widget.cc, file-editor-tab.cc, file-editor.cc, find-dialog.cc, octave-qscintilla.cc, main-window.cc, octave-dock-widget.cc, octave-qobject.cc, resource-manager.cc, set-path-dialog.cc, set-path-model.cc, settings-dialog.cc, settings-dialog.h, shortcut-manager.cc, tab-bar.cc, variable-editor.cc, workspace-model.cc, workspace-model.h, workspace-view.cc: Use Octave coding conventions in libgui/ directory.
author Rik <rik@octave.org>
date Sun, 12 Jan 2020 09:33:21 -0800
parents 265b386f8b20
children c20b7290c778
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc	Sat Jan 11 13:55:55 2020 -0800
+++ b/libgui/src/m-editor/file-editor.cc	Sun Jan 12 09:33:21 2020 -0800
@@ -867,7 +867,7 @@
     m_find_dialog->set_visible (true);
   }
 
- void file_editor::request_find_next (bool)
+  void file_editor::request_find_next (bool)
   {
     if (m_find_dialog)
       m_find_dialog->find_next ();
@@ -1183,10 +1183,10 @@
         else
           {
             request_open_file (m_tmp_closed_files.at (i).file_name,
-                                 m_tmp_closed_files.at (i).encoding,
-                                 m_tmp_closed_files.at (i).line,
-                                 false, false, true, "",
-                                 m_tmp_closed_files.at (i).index);
+                               m_tmp_closed_files.at (i).encoding,
+                               m_tmp_closed_files.at (i).line,
+                               false, false, true, "",
+                               m_tmp_closed_files.at (i).index);
           }
 
       }
@@ -1235,7 +1235,7 @@
 
     // Style sheet for tab height
     QString style_sheet = QString ("QTabBar::tab {max-" + height_str + ": %1px;}")
-                                   .arg (height);
+                          .arg (height);
 
     // Style sheet for tab height together with width
     if (settings->value (ed_long_window_title).toBool ())
@@ -1244,7 +1244,7 @@
                                " {max-" + height_str + ": %1px;"
                                "  min-" + width_str + ": %2px;"
                                "  max-" + width_str + ": %3px;}")
-                              .arg (height).arg (tab_width_min).arg (tab_width_max);
+                      .arg (height).arg (tab_width_min).arg (tab_width_max);
         m_tab_widget->setElideMode (Qt::ElideLeft);
       }
     else
@@ -1499,7 +1499,8 @@
                   emit fetab_do_breakpoint_marker (insert, tab, line, cond);
               }
 
-            if (show_dbg_file && ! ((breakpoint_marker || debug_pointer) && is_editor_console_tabbed ()))
+            if (show_dbg_file && ! ((breakpoint_marker || debug_pointer)
+                                    && is_editor_console_tabbed ()))
               {
                 emit fetab_set_focus (tab);
                 activate ();