Mercurial > octave
diff libgui/src/main-window.cc @ 21748:176536b15d68
use namespace for command_editor and command_history classes
* cmd-edit.h, cmd-edit.cc: Put command_editor class in octave
namespace. Change all uses.
* cmd-hist.h, cmd-hist.cc: Put command_history class in octave
namespace. Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 19 May 2016 18:55:23 -0400 |
parents | e1be0b36fbed |
children | 278fc29b69ca |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Thu May 19 15:47:24 2016 -0700 +++ b/libgui/src/main-window.cc Thu May 19 18:55:23 2016 -0400 @@ -2100,27 +2100,27 @@ void main_window::command_window_undo_callback (void) { - command_editor::undo (); - command_editor::redisplay (); + octave::command_editor::undo (); + octave::command_editor::redisplay (); } void main_window::clear_command_window_callback (void) { - command_editor::kill_full_line (); - command_editor::clear_screen (); + octave::command_editor::kill_full_line (); + octave::command_editor::clear_screen (); } void main_window::resize_command_window_callback (void) { - command_editor::resize_terminal (); + octave::command_editor::resize_terminal (); } void main_window::set_screen_size_callback (const int_pair& sz) { - command_editor::set_screen_size (sz.first, sz.second); + octave::command_editor::set_screen_size (sz.first, sz.second); } void