23 #if ! defined (octave_file_editor_h) 24 #define octave_file_editor_h 1 30 #include <QCloseEvent> 32 #include <QStackedWidget> 34 #include <QDragEnterEvent> 128 bool remove_on_success);
162 int line = -1,
const QString& =
"");
244 const QString& toolTip);
248 const QString& encoding,
QWidget *ID);
258 const QString& cond);
284 const QString& encoding = QString (),
285 int line = -1,
bool debug_pointer =
false,
286 bool breakpoint_marker =
false,
bool insert =
true,
287 const QString& cond =
"");
328 const char *member,
QWidget *receiver =
nullptr);
330 const char *member,
QWidget *receiver =
nullptr);
void fetab_zoom_normal(const QWidget *ID)
QAction * m_cut_line_action
QAction * m_switch_right_tab_action
void update_octave_directory(const QString &dir)
QAction * m_styles_preferences_action
QAction * m_run_selection_action
void fetab_context_edit(const QWidget *ID)
QAction * m_mru_file_actions[MaxMRUFiles]
bool is_editor_console_tabbed(void)
QAction * m_new_function_action
void request_context_edit(bool)
void handle_insert_debugger_pointer_request(const QString &file, int line)
For example cd octave end example noindent changes the current working directory to file
file_editor_tab_widget * m_tab_widget
void notice_settings(const QSettings *settings)
QAction * m_uncomment_selection_action
QAction * m_show_longline_action
void fetab_smart_indent_line_or_selected_text(const QWidget *ID)
void request_delete_start_word(bool)
QAction * m_edit_function_action
void request_delete_end_line(bool)
void edit_status_update(bool, bool)
QMenu * add_menu(QMenuBar *p, QString text)
void request_goto_line(bool)
void request_toggle_bookmark(bool)
bool operator<(const session_data &other) const
void fetab_zoom_out(const QWidget *ID)
QAction * m_lower_case_action
void request_remove_breakpoint(bool)
void fetab_indent_selected_text(const QWidget *ID)
void request_sel_match_brace(bool)
void fetab_set_focus(const QWidget *ID)
void fetab_unindent_selected_text(const QWidget *ID)
void show_eol_chars(bool)
QAction * m_zoom_normal_action
void request_mru_open_file(QAction *action)
void fetab_toggle_bookmark(const QWidget *ID)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
QAction * m_smart_indent_line_or_selection_action
QAction * m_conv_eol_mac_action
void fetab_check_modified_file(void)
QAction * m_conv_eol_windows_action
void request_remove_bookmark(bool)
void request_context_run(bool)
void create_context_menu(QMenu *)
void request_upper_case(bool)
void closeEvent(QCloseEvent *event)
QStringList m_tmp_closed_files
void fetab_remove_bookmark(const QWidget *ID)
QAction * m_comment_var_selection_action
void request_indent_selected_text(bool)
QAction * m_show_whitespace_action
void execute_command_in_terminal_signal(const QString &)
void request_duplicate_selection(bool)
QAction * m_delete_start_line_action
void request_lower_case(bool)
void fetab_file_name_query(const QWidget *ID)
void dragEnterEvent(QDragEnterEvent *event)
QAction * m_indent_selection_action
void handle_file_remove(const QString &, const QString &)
QAction * m_selectall_action
void fetab_insert_debugger_pointer(const QWidget *ID, int line=-1)
QHash< QMenu *, QStringList > m_hash_menu_text
QAction * m_unindent_selection_action
QAction * m_move_to_matching_brace
void request_save_file(bool)
void fetab_toggle_breakpoint(const QWidget *ID)
QAction * m_comment_selection_action
void fetab_find(const QWidget *ID, QList< QAction *>)
void request_conv_eol_mac(bool)
void request_close_all_files(bool)
void show_long_line(bool)
std::map< QString, tab_info >::const_iterator editor_tab_map_const_iterator
void fetab_print_file(const QWidget *ID)
bool call_custom_editor(const QString &file_name=QString(), int line=-1)
QAction * m_move_tab_right_action
void fetab_zoom_in(const QWidget *ID)
void request_previous_bookmark(bool)
void request_copy_line(bool)
QAction * m_show_linenum_action
void request_smart_indent_line_or_selected_text(void)
void handle_mru_add_file(const QString &file_name, const QString &encoding)
void fetab_remove_all_breakpoints(const QWidget *ID)
void request_comment_var_selected_text(bool)
QAction * m_find_next_action
QAction * m_delete_end_line_action
QAction * m_show_indguide_action
QAction * m_previous_breakpoint_action
void request_delete_end_word(bool)
void handle_delete_debugger_pointer_request(const QString &file, int line)
QAction * m_copy_line_action
void fetab_previous_breakpoint(const QWidget *ID)
QAction * m_remove_all_breakpoints_action
QAction * m_switch_left_tab_action
void handle_add_filename_to_list(const QString &fileName, const QString &encoding, QWidget *ID)
QAction * m_zoom_in_action
QAction * add_action(QMenu *menu, const QString &text, const char *member, QWidget *receiver=nullptr)
void show_indent_guides(bool)
void fetab_recover_from_exit(void)
QAction * m_next_breakpoint_action
void request_settings_dialog(const QString &)
void fetab_set_directory(const QString &dir)
QAction * m_delete_line_action
QAction * m_show_hscrollbar_action
QList< QAction * > m_fetab_actions
void fetab_previous_bookmark(const QWidget *ID)
void active_tab_changed(int index)
QAction * m_zoom_out_action
void request_completion(bool)
QAction * m_move_tab_left_action
void dropEvent(QDropEvent *event)
void request_move_match_brace(bool)
void fetab_move_match_brace(const QWidget *ID, bool select)
void handle_visibility(bool visible)
void request_unindent_selected_text(bool)
void request_next_breakpoint(bool)
void fetab_find_previous(const QWidget *ID)
void handle_file_name_changed(const QString &fileName, const QString &toolTip)
void show_white_space(bool)
void fetab_completion(const QWidget *)
void handle_enter_debug_mode(void)
void request_uncomment_selected_text(bool)
void request_context_help(bool)
void fetab_run_file(const QWidget *ID)
void handle_tab_remove_request(void)
QAction * m_find_previous_action
QAction * m_delete_end_word_action
QAction * m_delete_start_word_action
void request_close_file(bool)
void enable_menu_shortcuts(bool)
void request_find_previous(bool)
void show_statusbar(bool)
QAction * m_show_statusbar_action
void fetab_settings_changed(const QSettings *settings)
void show_hscrollbar(bool)
QAction * m_remove_bookmark_action
QAction * m_sel_to_matching_brace
QAction * m_close_others_action
void request_styles_preferences(bool)
void restore_session(QSettings *settings)
QStringList m_mru_files_encodings
QAction * m_show_toolbar_action
void request_delete_start_line(bool)
QAction * m_preferences_action
void request_next_bookmark(bool)
void set_focus(QWidget *fet)
void request_preferences(bool)
void file_loaded_signal(void)
void fetab_context_help(const QWidget *ID, bool)
void fetab_do_breakpoint_marker(bool insert, const QWidget *ID, int line=-1, const QString &="")
QAction * m_show_eol_action
QAction * m_duplicate_selection_action
void request_new_file(const QString &commands)
void handle_editor_state_changed(bool enableCopy, bool is_octave_file)
void toggle_preference(const QString &preference, bool def)
void fetab_next_breakpoint(const QWidget *ID)
void fetab_scintilla_command(const QWidget *ID, unsigned int sci_msg)
void request_run_file(bool)
void handle_dir_remove(const QString &old_name, const QString &new_name)
QAction * m_conv_eol_unix_action
QAction * m_transpose_line_action
void request_open_file_external(const QString &file_name, int line)
void handle_exit_debug_mode(void)
QAction * m_completion_action
std::map< QString, tab_info > m_editor_tab_map
void fetab_context_run(const QWidget *ID)
void request_close_other_files(bool)
void request_transpose_line(bool)
QAction * m_save_as_action
QAction * m_context_help_action
void request_comment_selected_text(bool)
void show_line_numbers(bool)
void fetab_save_file(const QWidget *ID, const QString &fileName, bool remove_on_success)
QMenu * get_mru_menu(void)
void request_delete_line(bool)
void check_conflict_save(const QString &fileName, bool remove_on_success)
void handle_file_renamed(bool load_new=true)
void fetab_comment_selected_text(const QWidget *ID, bool)
void add_file_editor_tab(file_editor_tab *f, const QString &fn)
void fetab_convert_eol(const QWidget *ID, QsciScintilla::EolMode eol_mode)
void request_toggle_breakpoint(bool)
void fetab_save_file_as(const QWidget *ID)
void fetab_delete_debugger_pointer(const QWidget *ID, int line=-1)
void handle_update_breakpoint_marker_request(bool insert, const QString &file, int line, const QString &cond)
QAction * m_next_bookmark_action
void request_find_next(bool)
QAction * m_toggle_bookmark_action
void request_previous_breakpoint(bool)
void fetab_next_bookmark(const QWidget *ID)
void handle_edit_file_request(const QString &file)
void request_context_doc(bool)
void request_cut_line(bool)
bool editor_tab_has_focus(void)
void handle_tab_close_request(int index)
void request_conv_eol_windows(bool)
QAction * m_context_doc_action
std::map< QString, tab_info >::iterator editor_tab_map_iterator
void fetab_change_request(const QWidget *ID)
void mru_menu_update(void)
QAction * m_upper_case_action
void request_open_file(const QString &fileName, const QString &encoding=QString(), int line=-1, bool debug_pointer=false, bool breakpoint_marker=false, bool insert=true, const QString &cond="")
QAction * m_find_files_action
QAction * m_goto_line_action
QAction * m_previous_bookmark_action
void pasteClipboard(void)
void request_save_file_as(bool)
void empty_script(bool startup, bool visible)
QWidget * find_tab_widget(const QString &openFileName)
QMenu * m_view_editor_menu
QAction * m_popdown_mru_action
void fetab_find_next(const QWidget *ID)
void request_print_file(bool)
QAction * m_close_all_action
void fetab_goto_line(const QWidget *ID, int line=-1)
void fetab_uncomment_selected_text(const QWidget *ID)
void insert_global_actions(QList< QAction *>)
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 commands
QAction * m_toggle_breakpoint_action
void request_conv_eol_unix(bool)