26 #if ! defined (octave_file_editor_h)
27 #define octave_file_editor_h 1
33 #include <QCloseEvent>
34 #include <QDragEnterEvent>
37 #include <QStackedWidget>
65 std::list<file_editor_tab *>
tab_list (
void)
const;
128 bool remove_on_success);
158 int line = -1,
const QString& =
"");
247 const QString& toolTip,
259 const QString& file,
int line,
260 const QString& cond);
292 const QString& encoding = QString (),
293 int line = -1,
bool debug_pointer =
false,
294 bool breakpoint_marker =
false,
bool insert =
true,
295 const QString& cond =
"",
int index = -1);
342 const char *member,
QWidget *receiver =
nullptr);
344 const char *member,
QWidget *receiver =
nullptr);
Base class for Octave interfaces that use Qt.
QAction * m_delete_start_word_action
void request_find_previous(bool)
void handle_editor_state_changed(bool enableCopy, bool is_octave_file)
QAction * m_move_tab_left_action
void request_close_other_files(bool)
void fetab_next_bookmark(const QWidget *ID)
QAction * m_upper_case_action
QAction * m_previous_breakpoint_action
void empty_script(bool startup, bool visible)
bool m_copy_action_enabled
QAction * m_conv_eol_windows_action
QAction * m_sel_to_matching_brace
QAction * m_show_indguide_action
void handle_update_breakpoint_marker_request(bool insert, const QString &file, int line, const QString &cond)
void fetab_zoom_out(const QWidget *ID)
void request_find_next(bool)
void handle_tab_close_request(int index)
QMenu * get_mru_menu(void)
QAction * m_switch_right_tab_action
void fetab_previous_bookmark(const QWidget *ID)
void request_styles_preferences(bool)
QAction * m_transpose_line_action
void request_step_into_file()
QAction * m_indent_selection_action
QAction * m_completion_action
void request_mru_open_file(QAction *action)
void fetab_zoom_in(const QWidget *ID)
QAction * m_close_others_action
QAction * m_smart_indent_line_or_selection_action
QPointer< find_dialog > m_find_dialog
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="", int index=-1)
QAction * m_lower_case_action
QAction * m_conv_eol_mac_action
file_editor(QWidget *p, base_qobject &oct_qobj)
void fetab_remove_bookmark(const QWidget *ID)
void request_close_file(bool)
void request_delete_end_line(bool)
void handle_file_remove(const QString &, const QString &)
void request_move_match_brace(bool)
QAction * m_context_doc_action
QList< session_data > m_tmp_closed_files
void toggle_preference(const gui_pref &preference)
void fetab_set_directory(const QString &dir)
QAction * m_preferences_action
file_editor_tab_widget * m_tab_widget
void request_next_breakpoint(bool)
void fetab_context_help(const QWidget *ID, bool)
QAction * m_remove_all_breakpoints_action
void enable_menu_shortcuts(bool)
void edit_area_changed(octave_qscintilla *edit_area)
void request_conv_eol_unix(bool)
QAction * m_move_to_matching_brace
QAction * m_unindent_selection_action
void request_open_file_external(const QString &file_name, int line)
QAction * m_selectall_action
void fetab_context_run(const QWidget *ID)
QAction * m_cut_line_action
void request_upper_case(bool)
bool call_custom_editor(const QString &file_name=QString(), int line=-1)
QAction * m_next_breakpoint_action
void handle_exit_debug_mode(void)
QAction * m_show_statusbar_action
QAction * m_edit_function_action
void fetab_delete_debugger_pointer(const QWidget *ID, int line=-1)
void show_hscrollbar(bool)
void request_next_bookmark(bool)
void insert_global_actions(QList< QAction * >)
void fetab_previous_breakpoint(const QWidget *ID)
void closeEvent(QCloseEvent *event)
void request_delete_start_line(bool)
void handle_delete_debugger_pointer_request(const QString &file, int line)
QAction * m_run_selection_action
void fetab_unindent_selected_text(const QWidget *ID)
bool is_editor_console_tabbed(void)
void request_new_file(const QString &commands)
void handle_file_renamed(bool load_new=true)
QMenu * add_menu(QMenuBar *p, QString text)
void request_remove_breakpoint(bool)
void set_focus(QWidget *fet)
QAction * m_delete_end_line_action
QAction * m_uncomment_selection_action
QAction * m_find_files_action
QAction * m_duplicate_selection_action
void request_unindent_selected_text(bool)
QAction * m_delete_end_word_action
void request_lower_case(bool)
void request_context_run(bool)
void request_save_file_as(bool)
bool editor_tab_has_focus(void)
void fetab_context_edit(const QWidget *ID)
QAction * m_remove_bookmark_action
QAction * m_copy_line_action
void show_eol_chars(bool)
void handle_insert_debugger_pointer_request(const QString &file, int line)
void active_tab_changed(int index)
void fetab_scintilla_command(const QWidget *ID, unsigned int sci_msg)
QAction * m_find_next_action
QAction * m_conv_eol_unix_action
void edit_status_update(bool, bool)
void update_octave_directory(const QString &dir)
void dropEvent(QDropEvent *event)
void fetab_do_breakpoint_marker(bool insert, const QWidget *ID, int line=-1, const QString &="")
QAction * m_show_longline_action
void show_long_line(bool)
QAction * m_next_bookmark_action
void request_previous_breakpoint(bool)
QAction * add_action(QMenu *menu, const QString &text, const char *member, QWidget *receiver=nullptr)
void request_toggle_breakpoint(bool)
QAction * m_comment_selection_action
QAction * m_popdown_mru_action
void request_delete_end_word(bool)
QAction * m_previous_bookmark_action
void request_conv_eol_windows(bool)
QAction * m_move_tab_right_action
void request_dbcont_signal(void)
void fetab_move_match_brace(const QWidget *ID, bool select)
void request_settings_dialog(const QString &)
void request_conv_eol_mac(bool)
void request_cut_line(bool)
void fetab_smart_indent_line_or_selected_text(const QWidget *ID)
void handle_tab_ready_to_close(void)
void request_save_file(bool)
void request_comment_selected_text(bool)
void fetab_toggle_bookmark(const QWidget *ID)
QAction * m_mru_file_actions[MaxMRUFiles]
void fetab_insert_debugger_pointer(const QWidget *ID, int line=-1)
void create_context_menu(QMenu *)
void add_file_editor_tab(file_editor_tab *f, const QString &fn, int index=-1)
void dragEnterEvent(QDragEnterEvent *event)
void fetab_save_file(const QWidget *ID, const QString &fileName, bool remove_on_success)
QAction * m_switch_left_tab_action
void request_delete_start_word(bool)
void request_run_file(bool)
QStringList m_mru_files_encodings
void request_close_all_files(bool)
void show_indent_guides(bool)
void request_context_doc(bool)
QAction * m_delete_start_line_action
void handle_mru_add_file(const QString &file_name, const QString &encoding)
void fetab_uncomment_selected_text(const QWidget *ID)
void request_comment_var_selected_text(bool)
void fetab_goto_line(const QWidget *ID, int line=-1)
QAction * m_goto_line_action
void request_completion(bool)
void handle_dir_remove(const QString &old_name, const QString &new_name)
void request_delete_line(bool)
void show_statusbar(bool)
void request_toggle_bookmark(bool)
QAction * m_save_as_action
void file_loaded_signal(void)
void check_conflict_save(const QString &fileName, bool remove_on_success)
void fetab_zoom_normal(const QWidget *ID)
void fetab_settings_changed(const gui_settings *settings)
bool m_undo_action_enabled
void mru_menu_update(void)
void restore_session(gui_settings *settings)
void handle_autoc_cancelled(void)
QAction * m_show_whitespace_action
void handle_edit_file_request(const QString &file)
QAction * m_show_hscrollbar_action
file_editor_tab * make_file_editor_tab(const QString &directory="")
void request_context_edit(bool)
QAction * m_show_toolbar_action
QAction * m_context_help_action
void fetab_save_file_as(const QWidget *ID)
void focusInEvent(QFocusEvent *e)
void notice_settings(const gui_settings *settings)
void fetab_print_file(const QWidget *ID)
void pasteClipboard(void)
void request_duplicate_selection(bool)
QAction * m_close_all_action
void show_white_space(bool)
void fetab_convert_eol(const QWidget *ID, QsciScintilla::EolMode eol_mode)
QAction * m_zoom_in_action
void request_sel_match_brace(bool)
QAction * m_zoom_out_action
void fetab_save_file(const QWidget *ID)
void handle_visibility(bool visible)
void request_smart_indent_line_or_selected_text(void)
QAction * m_zoom_normal_action
void fetab_next_breakpoint(const QWidget *ID)
void request_transpose_line(bool)
QAction * m_find_previous_action
void fetab_run_file(const QWidget *ID, bool step_into=false)
QAction * m_toggle_breakpoint_action
QAction * m_toggle_bookmark_action
void request_context_help(bool)
void request_copy_line(bool)
void editor_tabs_changed_signal(bool)
void request_remove_bookmark(bool)
file_editor_tab * reset_focus(void)
void show_line_numbers(bool)
QAction * m_delete_line_action
void request_preferences(bool)
QAction * m_show_eol_action
QAction * m_show_linenum_action
void fetab_completion(const QWidget *)
void fetab_change_request(const QWidget *ID)
void fetab_recover_from_exit(void)
QHash< QMenu *, QStringList > m_hash_menu_text
void fetab_remove_all_breakpoints(const QWidget *ID)
void fetab_comment_selected_text(const QWidget *ID, bool)
QAction * m_sort_tabs_action
void request_indent_selected_text(bool)
void fetab_set_focus(const QWidget *ID)
void handle_file_name_changed(const QString &fileName, const QString &toolTip, bool modified)
QAction * m_comment_var_selection_action
void request_print_file(bool)
file_editor_tab * find_tab_widget(const QString &openFileName)
QAction * m_styles_preferences_action
void request_previous_bookmark(bool)
void request_uncomment_selected_text(bool)
void handle_tab_remove_request(void)
void handle_enter_debug_mode(void)
QMenu * m_view_editor_menu
void fetab_toggle_breakpoint(const QWidget *ID)
void toplevel_change(bool toplevel)
void fetab_indent_selected_text(const QWidget *ID)
QAction * m_new_function_action
void request_goto_line(bool)
static double f(double k, double l_nu, double c_pm)
bool operator<(const session_data &other) const