23 #if ! defined (octave_file_editor_interface_h) 24 #define octave_file_editor_interface_h 1 42 setObjectName (
"FileEditor");
49 virtual QToolBar *
toolbar (
void) = 0;
63 int line,
const QString& cond) = 0;
80 const QString& encoding = QString (),
82 bool debug_pointer =
false,
83 bool breakpoint_marker =
false,
85 const QString& cond =
"") = 0;
For example cd octave end example noindent changes the current working directory to file
virtual void handle_delete_debugger_pointer_request(const QString &file, int line)=0
virtual ~file_editor_interface(void)=default
virtual void request_new_file(const QString &command=QString())=0
virtual void enable_menu_shortcuts(bool enable)=0
virtual void empty_script(bool, bool)=0
virtual void insert_global_actions(QList< QAction *>)=0
virtual void restore_session(QSettings *)=0
to define functions rather than attempting to enter them directly on the command line The block of commands is executed as soon as you exit the editor To avoid executing any simply delete all the lines from the buffer before leaving the editor When invoked with no edit the previously executed command
virtual QToolBar * toolbar(void)=0
virtual void handle_insert_debugger_pointer_request(const QString &file, int line)=0
virtual void handle_exit_debug_mode(void)=0
virtual void handle_enter_debug_mode(void)=0
virtual QMenu * get_mru_menu(void)=0
virtual bool check_closing(void)=0
virtual void request_open_file(const QString &openFileName, const QString &encoding=QString(), int line=-1, bool debug_pointer=false, bool breakpoint_marker=false, bool insert=true, const QString &cond="")=0
virtual QMenu * debug_menu(void)=0
virtual void handle_edit_file_request(const QString &file)=0
file_editor_interface(QWidget *p)
virtual void handle_update_breakpoint_marker_request(bool insert, const QString &file, int line, const QString &cond)=0