#include "file-editor.h"
Classes | |
struct | session_data |
Public Types | |
enum | shared_actions_idx { NEW_SCRIPT_ACTION = 0 , NEW_FUNCTION_ACTION , OPEN_ACTION , FIND_FILES_ACTION , UNDO_ACTION , COPY_ACTION , PASTE_ACTION , SELECTALL_ACTION } |
Public Member Functions | |
file_editor (QWidget *p, base_qobject &oct_qobj) | |
~file_editor (void) | |
void | check_actions (void) |
virtual void | connect_visibility_changed (void) |
QMenu * | debug_menu (void) |
void | empty_script (bool startup, bool visible) |
QMenu * | get_mru_menu (void) |
void | handle_enter_debug_mode (void) |
void | handle_exit_debug_mode (void) |
void | insert_global_actions (QList< QAction * >) |
void | restore_session (gui_settings *settings) |
void | set_predecessor_widget (octave_dock_widget *prev_widget) |
void | set_title (const QString &) |
QToolBar * | toolbar (void) |
Protected Slots | |
void | copyClipboard (void) |
void | do_undo (void) |
bool | eventFilter (QObject *obj, QEvent *e) |
Event filter for double clicks into the window decoration elements. More... | |
virtual void | handle_visibility_changed (bool visible) |
Slot to steer changing visibility from outside. More... | |
void | pasteClipboard (void) |
void | selectAll (void) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dropEvent (QDropEvent *event) |
bool | event (QEvent *event) |
void | focusInEvent (QFocusEvent *e) |
QWidget * | focusWidget (void) |
Protected Attributes | |
QToolButton * | m_close_button |
QAbstractButton * | m_default_close_button |
QAbstractButton * | m_default_float_button |
QAction * | m_dock_action |
QToolButton * | m_dock_button |
int | m_icon_size |
base_qobject & | m_octave_qobj |
QWidget * | m_title_widget |
Private Types | |
enum | { MaxMRUFiles = 10 } |
Private Slots | |
void | change_visibility (bool) |
void | create_context_menu (QMenu *) |
void | edit_status_update (bool, bool) |
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) |
void | request_preferences (bool) |
void | request_styles_preferences (bool) |
void | show_eol_chars (bool) |
void | show_hscrollbar (bool) |
void | show_indent_guides (bool) |
void | show_line_numbers (bool) |
void | show_long_line (bool) |
void | show_statusbar (bool) |
void | show_toolbar (bool) |
void | show_white_space (bool) |
void | zoom_in (bool) |
void | zoom_normal (bool) |
void | zoom_out (bool) |
Private Member Functions | |
QAction * | add_action (QMenu *menu, const QIcon &icon, const QString &text, const char *member, QWidget *receiver=nullptr) |
QAction * | add_action (QMenu *menu, const QString &text, const char *member, QWidget *receiver=nullptr) |
void | add_file_editor_tab (file_editor_tab *f, const QString &fn, int index=-1) |
QMenu * | add_menu (QMenuBar *p, QString text) |
bool | call_custom_editor (const QString &file_name=QString(), int line=-1) |
void | construct (void) |
bool | editor_tab_has_focus (void) |
void | find_create (void) |
file_editor_tab * | find_tab_widget (const QString &openFileName) |
void | handle_dir_remove (const QString &old_name, const QString &new_name) |
bool | is_editor_console_tabbed (void) |
file_editor_tab * | make_file_editor_tab (const QString &directory="") |
void | mru_menu_update (void) |
void | set_focus_predecessor (void) |
void | set_style (bool active) |
void | store_geometry (void) |
void | toggle_preference (const gui_pref &preference) |
Definition at line 70 of file file-editor.h.
|
private |
Enumerator | |
---|---|
MaxMRUFiles |
Definition at line 463 of file file-editor.h.
Enumerator | |
---|---|
NEW_SCRIPT_ACTION | |
NEW_FUNCTION_ACTION | |
OPEN_ACTION | |
FIND_FILES_ACTION | |
UNDO_ACTION | |
COPY_ACTION | |
PASTE_ACTION | |
SELECTALL_ACTION |
Definition at line 103 of file file-editor.h.
octave::file_editor::file_editor | ( | QWidget * | p, |
base_qobject & | oct_qobj | ||
) |
Definition at line 102 of file file-editor.cc.
References construct(), m_ced, m_closed, m_copy_action, m_copy_action_enabled, m_find_dialog, m_no_focus, m_paste_action, m_selectall_action, m_undo_action, and m_undo_action_enabled.
octave::file_editor::~file_editor | ( | void | ) |
Definition at line 131 of file file-editor.cc.
References m_mru_file_menu.
|
slot |
Definition at line 351 of file file-editor.cc.
References octave::octave_dock_widget::activate(), m_no_focus, and reset_focus().
Referenced by active_tab_changed(), handle_tab_remove_request(), request_new_file(), and request_open_file().
|
signalinherited |
Custom signal that tells whether a user has clicked away that dock widget, i.e.
the active dock widget has changed.
Referenced by octave::octave_dock_widget::change_visibility(), octave::octave_dock_widget::closeEvent(), octave::octave_dock_widget::connect_visibility_changed(), and octave::octave_dock_widget::handle_visibility_changed().
|
slot |
Definition at line 970 of file file-editor.cc.
References activate(), fetab_change_request(), and m_tab_widget.
Referenced by construct().
|
private |
Definition at line 2754 of file file-editor.cc.
References r.
|
private |
Definition at line 2747 of file file-editor.cc.
Referenced by construct().
|
private |
Definition at line 2550 of file file-editor.cc.
References check_actions(), octave::f(), and m_tab_widget.
Referenced by request_new_file(), and request_open_file().
Definition at line 2778 of file file-editor.cc.
References m_hash_menu_text, and name.
Referenced by construct().
|
private |
Definition at line 2601 of file file-editor.cc.
References gui_pref::def, octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), global_use_custom_editor(), handle_mru_add_file(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, and request_open_file_external().
Referenced by request_new_file(), and request_open_file().
|
privateslotinherited |
Definition at line 621 of file octave-dock-widget.cc.
References octave::octave_dock_widget::active_changed().
Referenced by octave::octave_dock_widget::octave_dock_widget().
void octave::file_editor::check_actions | ( | void | ) |
Definition at line 205 of file file-editor.cc.
References editor_tabs_changed_signal(), m_close_action, m_close_all_action, m_close_others_action, m_comment_selection_action, m_comment_var_selection_action, m_context_doc_action, m_context_help_action, m_edit_cmd_menu, m_edit_fmt_menu, m_edit_function_action, m_edit_nav_menu, m_find_action, m_find_next_action, m_find_previous_action, m_indent_selection_action, m_print_action, m_run_action, m_save_action, m_save_as_action, m_smart_indent_line_or_selection_action, m_sort_tabs_action, m_tab_widget, m_uncomment_selection_action, m_unindent_selection_action, m_view_editor_menu, m_zoom_in_action, m_zoom_normal_action, and m_zoom_out_action.
Referenced by add_file_editor_tab(), construct(), and handle_tab_remove_request().
|
slot |
Definition at line 451 of file file-editor.cc.
References fetab_recover_from_exit(), handle_tab_ready_to_close(), m_closing_canceled, m_number_of_tabs, m_tab_widget, save_session(), and octave::file_editor_tab_widget::tab_list().
Referenced by closeEvent().
|
slot |
Definition at line 1010 of file file-editor.cc.
References fetab_save_file(), find_tab_widget(), and m_tab_widget.
Referenced by make_file_editor_tab().
|
protectedvirtual |
Reimplemented from octave::octave_dock_widget.
Definition at line 1765 of file file-editor.cc.
References check_closing(), octave::octave_dock_widget::closeEvent(), ed_hiding_closes_files(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), m_closed, and octave::label_dock_widget::m_octave_qobj.
|
virtualinherited |
Definition at line 267 of file octave-dock-widget.cc.
References octave::octave_dock_widget::active_changed(), and octave::octave_dock_widget::handle_visibility().
|
private |
Definition at line 1824 of file file-editor.cc.
References active_tab_changed(), add_action(), add_menu(), check_actions(), ed_mru_file_encodings(), ed_mru_file_list(), octave::tab_bar::get_context_menu(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), octave::file_editor_tab_widget::get_tab_bar(), handle_tab_close_request(), octave::resource_manager::icon(), m_close_action, m_close_all_action, m_close_others_action, m_comment_selection_action, m_comment_var_selection_action, m_completion_action, m_context_doc_action, m_context_help_action, m_conv_eol_mac_action, m_conv_eol_unix_action, m_conv_eol_windows_action, m_copy_line_action, m_cut_action, m_cut_line_action, m_debug_menu, m_delete_end_line_action, m_delete_end_word_action, m_delete_line_action, m_delete_start_line_action, m_delete_start_word_action, m_duplicate_selection_action, m_edit_cmd_menu, m_edit_fmt_menu, m_edit_function_action, m_edit_menu, m_edit_nav_menu, m_fileMenu, m_find_action, m_find_next_action, m_find_previous_action, m_goto_line_action, m_indent_selection_action, m_lower_case_action, m_menu_bar, m_move_tab_left_action, m_move_tab_right_action, m_move_to_matching_brace, m_mru_file_actions, m_mru_file_menu, m_mru_files, m_mru_files_encodings, m_next_bookmark_action, m_next_breakpoint_action, octave::label_dock_widget::m_octave_qobj, m_popdown_mru_action, m_preferences_action, m_previous_bookmark_action, m_previous_breakpoint_action, m_print_action, m_redo_action, m_remove_all_breakpoints_action, m_remove_bookmark_action, m_run_action, m_run_selection_action, m_save_action, m_save_as_action, m_sel_to_matching_brace, m_show_eol_action, m_show_hscrollbar_action, m_show_indguide_action, m_show_linenum_action, m_show_longline_action, m_show_statusbar_action, m_show_toolbar_action, m_show_whitespace_action, m_smart_indent_line_or_selection_action, m_sort_tabs_action, m_styles_preferences_action, m_switch_left_tab_action, m_switch_right_tab_action, m_tab_widget, m_toggle_bookmark_action, m_toggle_breakpoint_action, m_tool_bar, m_transpose_line_action, m_uncomment_selection_action, m_unindent_selection_action, m_upper_case_action, m_view_editor_menu, m_zoom_in_action, m_zoom_normal_action, m_zoom_out_action, octave::octave_dock_widget::main_win(), MaxMRUFiles, mru_menu_update(), request_close_all_files(), request_close_file(), request_close_other_files(), request_comment_selected_text(), request_comment_var_selected_text(), request_completion(), request_context_doc(), request_context_edit(), request_context_help(), request_context_run(), request_conv_eol_mac(), request_conv_eol_unix(), request_conv_eol_windows(), request_copy_line(), request_cut(), request_cut_line(), request_dbcont_signal(), request_delete_end_line(), request_delete_end_word(), request_delete_line(), request_delete_start_line(), request_delete_start_word(), request_duplicate_selection(), request_find(), request_find_next(), request_find_previous(), request_goto_line(), request_indent_selected_text(), request_lower_case(), request_move_match_brace(), request_mru_open_file(), request_next_bookmark(), request_next_breakpoint(), request_preferences(), request_previous_bookmark(), request_previous_breakpoint(), request_print_file(), request_redo(), request_remove_bookmark(), request_remove_breakpoint(), request_run_file(), request_save_file(), request_save_file_as(), request_sel_match_brace(), request_settings_dialog(), request_smart_indent_line_or_selected_text(), request_styles_preferences(), request_toggle_bookmark(), request_toggle_breakpoint(), request_transpose_line(), request_uncomment_selected_text(), request_unindent_selected_text(), request_upper_case(), octave::label_dock_widget::set_title(), show_eol_chars(), show_hscrollbar(), show_indent_guides(), show_line_numbers(), show_long_line(), show_statusbar(), show_toolbar(), show_white_space(), zoom_in(), zoom_normal(), and zoom_out().
Referenced by file_editor().
|
protectedslot |
Definition at line 1450 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
privateslot |
Definition at line 1730 of file file-editor.cc.
References m_copy_action, m_cut_action, m_edit_cmd_menu, m_edit_fmt_menu, m_edit_nav_menu, m_find_action, m_find_files_action, m_find_next_action, m_find_previous_action, m_paste_action, m_run_selection_action, and m_selectall_action.
Referenced by make_file_editor_tab().
|
inlinevirtual |
Implements octave::file_editor_interface.
Definition at line 97 of file file-editor.h.
References m_debug_menu.
|
slotinherited |
Definition at line 393 of file octave-dock-widget.cc.
Referenced by octave::octave_dock_widget::toplevel_change().
|
protectedslot |
Definition at line 1471 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
protected |
Definition at line 1791 of file file-editor.cc.
|
protected |
Definition at line 1799 of file file-editor.cc.
References request_open_file().
|
signal |
Referenced by make_file_editor_tab().
|
privateslot |
Definition at line 1757 of file file-editor.cc.
References m_redo_action, and m_undo_action.
Referenced by make_file_editor_tab().
|
private |
Definition at line 2715 of file file-editor.cc.
References octave::octave_dock_widget::focusWidget().
Referenced by copyClipboard(), do_undo(), pasteClipboard(), and selectAll().
|
signal |
Referenced by check_actions().
|
virtual |
Implements octave::file_editor_interface.
Definition at line 249 of file file-editor.cc.
References gui_pref::def, octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), global_use_custom_editor(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, m_tab_widget, octave::octave_dock_widget::main_win(), and request_new_file().
Referenced by handle_visibility().
|
slot |
Definition at line 373 of file file-editor.cc.
References m_copy_action, m_copy_action_enabled, m_find_dialog, m_hash_menu_text, m_undo_action, and m_undo_action_enabled.
|
protectedinherited |
Definition at line 426 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_waiting_for_mouse_button_release, octave::octave_dock_widget::queue_make_window(), and retval.
Referenced by octave::variable_editor::edit_variable(), octave::octave_dock_widget::moveEvent(), and octave::octave_dock_widget::resizeEvent().
|
protectedslotinherited |
Event filter for double clicks into the window decoration elements.
Definition at line 578 of file octave-dock-widget.cc.
|
signal |
Referenced by active_tab_changed(), and make_file_editor_tab().
|
signal |
Referenced by make_file_editor_tab(), request_comment_selected_text(), and request_comment_var_selected_text().
|
signal |
Referenced by make_file_editor_tab(), and request_completion().
|
signal |
Referenced by make_file_editor_tab(), and request_context_edit().
|
signal |
Referenced by make_file_editor_tab(), request_context_doc(), and request_context_help().
|
signal |
Referenced by make_file_editor_tab(), and request_context_run().
|
signal |
Referenced by make_file_editor_tab(), request_conv_eol_mac(), request_conv_eol_unix(), and request_conv_eol_windows().
|
signal |
Referenced by handle_delete_debugger_pointer_request(), and make_file_editor_tab().
|
signal |
Referenced by make_file_editor_tab(), and request_open_file().
|
signal |
Referenced by make_file_editor_tab(), request_goto_line(), and request_open_file().
|
signal |
Referenced by make_file_editor_tab(), and request_indent_selected_text().
|
signal |
Referenced by make_file_editor_tab(), and request_open_file().
|
signal |
Referenced by make_file_editor_tab(), request_move_match_brace(), and request_sel_match_brace().
|
signal |
Referenced by make_file_editor_tab(), and request_next_bookmark().
|
signal |
Referenced by make_file_editor_tab(), and request_next_breakpoint().
|
signal |
Referenced by make_file_editor_tab(), and request_previous_bookmark().
|
signal |
Referenced by make_file_editor_tab(), and request_previous_breakpoint().
|
signal |
Referenced by make_file_editor_tab(), and request_print_file().
|
signal |
Referenced by check_closing(), and make_file_editor_tab().
|
signal |
Referenced by make_file_editor_tab(), and request_remove_breakpoint().
|
signal |
Referenced by make_file_editor_tab(), and request_remove_bookmark().
|
signal |
Referenced by make_file_editor_tab(), request_run_file(), and request_step_into_file().
|
signal |
|
signal |
Referenced by check_conflict_save(), make_file_editor_tab(), and request_save_file().
|
signal |
Referenced by make_file_editor_tab(), and request_save_file_as().
|
signal |
Referenced by copyClipboard(), do_undo(), make_file_editor_tab(), pasteClipboard(), request_copy_line(), request_cut(), request_cut_line(), request_delete_end_line(), request_delete_end_word(), request_delete_line(), request_delete_start_line(), request_delete_start_word(), request_duplicate_selection(), request_lower_case(), request_redo(), request_transpose_line(), request_upper_case(), and selectAll().
|
signal |
Referenced by make_file_editor_tab(), and update_octave_directory().
|
signal |
Referenced by handle_delete_debugger_pointer_request(), make_file_editor_tab(), request_open_file(), and reset_focus().
|
signal |
Referenced by make_file_editor_tab(), and notice_settings().
|
signal |
Referenced by make_file_editor_tab(), and request_smart_indent_line_or_selected_text().
|
signal |
Referenced by make_file_editor_tab(), and request_toggle_bookmark().
|
signal |
Referenced by make_file_editor_tab(), and request_toggle_breakpoint().
|
signal |
Referenced by make_file_editor_tab(), and request_uncomment_selected_text().
|
signal |
Referenced by make_file_editor_tab(), and request_unindent_selected_text().
|
signal |
Referenced by make_file_editor_tab(), and zoom_in().
|
signal |
Referenced by make_file_editor_tab(), and zoom_normal().
|
signal |
Referenced by make_file_editor_tab(), and zoom_out().
|
signal |
Referenced by request_open_file().
|
private |
Definition at line 847 of file file-editor.cc.
References m_find_dialog, m_find_next_action, m_find_previous_action, octave::label_dock_widget::m_octave_qobj, m_tab_widget, octave::octave_dock_widget::main_win(), octave::file_editor_tab::qsci_edit_area(), and x.
Referenced by request_find(), and toplevel_change().
|
private |
Definition at line 2724 of file file-editor.cc.
References m_tab_widget, octave::same_file(), and octave::file_editor_tab_widget::tab_list().
Referenced by check_conflict_save(), handle_delete_debugger_pointer_request(), handle_file_remove(), and request_open_file().
|
protected |
Definition at line 136 of file file-editor.cc.
References reset_focus().
|
protectedinherited |
Definition at line 418 of file octave-dock-widget.cc.
References Faddeeva::w().
Referenced by editor_tab_has_focus().
|
inlinevirtual |
Implements octave::file_editor_interface.
Definition at line 95 of file file-editor.h.
References m_mru_file_menu.
|
slotinherited |
Definition at line 536 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_custom_style, and octave::octave_dock_widget::set_style().
Referenced by octave::octave_dock_widget::octave_dock_widget().
|
slot |
Definition at line 2318 of file file-editor.cc.
References octave::f(), and reset_focus().
Referenced by make_file_editor_tab().
|
slot |
Definition at line 1076 of file file-editor.cc.
References fetab_delete_debugger_pointer(), fetab_set_focus(), find_tab_widget(), and m_tab_widget.
|
private |
Definition at line 2634 of file file-editor.cc.
References octave::file_editor::session_data::encoding, octave::file_editor::session_data::file_name, octave::file_editor::session_data::index, octave::file_editor::session_data::line, m_no_focus, m_tab_widget, m_tmp_closed_files, octave::file_editor::session_data::new_file_name, and octave::file_editor_tab_widget::tab_list().
Referenced by handle_file_remove().
|
slot |
Definition at line 1104 of file file-editor.cc.
References request_open_file().
|
slot |
Definition at line 976 of file file-editor.cc.
References m_copy_action, m_copy_action_enabled, m_cut_action, m_run_action, m_run_selection_action, m_tab_widget, m_undo_action, and m_undo_action_enabled.
Referenced by make_file_editor_tab().
|
virtual |
Implements octave::file_editor_interface.
Definition at line 185 of file file-editor.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), octave::label_dock_widget::m_octave_qobj, m_run_action, sc_edit_run_run_file(), and sc_main_debug_continue().
|
virtual |
Implements octave::file_editor_interface.
Definition at line 198 of file file-editor.cc.
References octave::base_qobject::get_shortcut_manager(), octave::label_dock_widget::m_octave_qobj, m_run_action, sc_edit_run_run_file(), and octave::shortcut_manager::set_shortcut().
|
slot |
Definition at line 913 of file file-editor.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::icon(), octave::label_dock_widget::m_octave_qobj, and m_tab_widget.
Referenced by make_file_editor_tab().
|
slot |
Definition at line 1111 of file file-editor.cc.
References octave::file_editor_tab::encoding(), octave::file_editor::session_data::encoding, octave::file_editor_tab::file_has_changed(), octave::file_editor::session_data::file_name, find_tab_widget(), QtHandles::Utils::fromStdString(), handle_dir_remove(), octave::file_editor::session_data::index, octave::file_editor::session_data::line, m_no_focus, m_tab_widget, m_tmp_closed_files, octave::sys::env::make_absolute(), octave::file_editor::session_data::new_file_name, and octave::file_editor_tab::qsci_edit_area().
|
slot |
Definition at line 1184 of file file-editor.cc.
References m_no_focus, m_tmp_closed_files, and request_open_file().
|
slot |
Definition at line 1070 of file file-editor.cc.
References request_open_file().
|
slot |
Definition at line 994 of file file-editor.cc.
References m_mru_files, m_mru_files_encodings, and mru_menu_update().
Referenced by call_custom_editor(), make_file_editor_tab(), and request_open_file().
|
slotinherited |
Definition at line 447 of file octave-dock-widget.cc.
References gui_pref::def, dw_dock_geometry(), dw_float_geometry(), dw_title_3d(), dw_title_bg_color(), dw_title_bg_color_active(), dw_title_custom_style(), dw_title_fg_color(), dw_title_fg_color_active(), global_menubar_style(), global_toolbar_style(), gui_pref::key, octave::octave_dock_widget::m_bg_color, octave::octave_dock_widget::m_bg_color_active, octave::octave_dock_widget::m_custom_style, octave::octave_dock_widget::m_fg_color, octave::octave_dock_widget::m_fg_color_active, octave::octave_dock_widget::m_icon_color, octave::octave_dock_widget::m_icon_color_active, octave::octave_dock_widget::m_parent, octave::octave_dock_widget::m_recent_dock_geom, octave::octave_dock_widget::m_recent_float_geom, octave::octave_dock_widget::m_title_3d, octave::label_dock_widget::m_title_widget, octave::octave_dock_widget::notice_settings(), r, octave::octave_dock_widget::set_style(), Faddeeva::w(), and x.
Referenced by octave::octave_dock_widget::octave_dock_widget().
|
slot |
Definition at line 937 of file file-editor.cc.
References octave::file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 501 of file file-editor.cc.
References m_closing_canceled, m_find_dialog, m_number_of_tabs, m_tab_widget, and octave::file_editor_tab_widget::tab_list().
Referenced by check_closing().
|
slot |
Definition at line 945 of file file-editor.cc.
References activate(), check_actions(), and m_tab_widget.
Referenced by make_file_editor_tab().
|
slot |
Definition at line 1096 of file file-editor.cc.
References request_open_file().
|
slot |
Definition at line 1413 of file file-editor.cc.
References empty_script(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), m_closed, octave::label_dock_widget::m_octave_qobj, and restore_session().
|
inlineprotectedvirtualslotinherited |
Slot to steer changing visibility from outside.
Definition at line 153 of file octave-dock-widget.h.
References octave::octave_dock_widget::active_changed().
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::terminal_dock_widget::terminal_dock_widget().
|
virtual |
Implements octave::file_editor_interface.
Definition at line 150 of file file-editor.cc.
References COPY_ACTION, FIND_FILES_ACTION, m_copy_action, m_edit_menu, m_fileMenu, m_find_action, m_find_files_action, m_mru_file_menu, m_paste_action, m_popdown_mru_action, m_redo_action, m_selectall_action, m_tool_bar, m_undo_action, NEW_FUNCTION_ACTION, NEW_SCRIPT_ACTION, OPEN_ACTION, PASTE_ACTION, SELECTALL_ACTION, and UNDO_ACTION.
|
signalinherited |
|
signalinherited |
|
private |
Definition at line 1808 of file file-editor.cc.
References octave::octave_dock_widget::main_win(), and Faddeeva::w().
Referenced by request_open_file().
|
inlineslotinherited |
Definition at line 133 of file octave-dock-widget.h.
References octave::octave_dock_widget::m_parent.
Referenced by octave::files_dock_widget::files_dock_widget(), construct(), empty_script(), find_create(), is_editor_console_tabbed(), make_file_editor_tab(), and octave::variable_editor::tab_to_front().
|
private |
Definition at line 2352 of file file-editor.cc.
References check_conflict_save(), create_context_menu(), edit_area_changed(), edit_status_update(), octave::f(), fetab_change_request(), fetab_comment_selected_text(), fetab_completion(), fetab_context_edit(), fetab_context_help(), fetab_context_run(), fetab_convert_eol(), fetab_delete_debugger_pointer(), fetab_do_breakpoint_marker(), fetab_goto_line(), fetab_indent_selected_text(), fetab_insert_debugger_pointer(), fetab_move_match_brace(), fetab_next_bookmark(), fetab_next_breakpoint(), fetab_previous_bookmark(), fetab_previous_breakpoint(), fetab_print_file(), fetab_recover_from_exit(), fetab_remove_all_breakpoints(), fetab_remove_bookmark(), fetab_run_file(), fetab_save_file(), fetab_save_file_as(), fetab_scintilla_command(), fetab_set_directory(), fetab_set_focus(), fetab_settings_changed(), fetab_smart_indent_line_or_selected_text(), fetab_toggle_bookmark(), fetab_toggle_breakpoint(), fetab_uncomment_selected_text(), fetab_unindent_selected_text(), fetab_zoom_in(), fetab_zoom_normal(), fetab_zoom_out(), handle_autoc_cancelled(), handle_editor_state_changed(), handle_file_name_changed(), handle_mru_add_file(), handle_tab_remove_request(), octave::octave_dock_widget::interpreter_event(), octave::label_dock_widget::m_octave_qobj, octave::octave_dock_widget::main_win(), notice_settings(), request_open_file(), reset_focus(), set_focus(), zoom_in(), zoom_normal(), and zoom_out().
Referenced by request_new_file(), and request_open_file().
|
slotinherited |
Definition at line 343 of file octave-dock-widget.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, octave::label_dock_widget::m_default_float_button, octave::label_dock_widget::m_dock_action, octave::octave_dock_widget::m_icon_color, octave::label_dock_widget::m_octave_qobj, octave::octave_dock_widget::m_parent, octave::octave_dock_widget::m_recent_dock_geom, octave::octave_dock_widget::make_window(), mw_state(), and octave::octave_dock_widget::set_style().
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::octave_dock_widget::make_window().
|
slotinherited |
Definition at line 276 of file octave-dock-widget.cc.
References octave::label_dock_widget::m_default_float_button, octave::label_dock_widget::m_dock_action, octave::octave_dock_widget::m_icon_color, octave::octave_dock_widget::m_parent, octave::octave_dock_widget::m_recent_float_geom, octave::octave_dock_widget::m_waiting_for_mouse_button_release, octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::set_focus_predecessor(), and octave::octave_dock_widget::set_style().
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::octave_dock_widget::make_widget().
|
slotinherited |
Definition at line 604 of file octave-dock-widget.cc.
References octave::octave_dock_widget::event(), and octave::octave_dock_widget::store_geometry().
|
private |
Definition at line 2563 of file file-editor.cc.
References ed_mru_file_encodings(), ed_mru_file_list(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, m_mru_file_actions, m_mru_files, m_mru_files_encodings, octave::label_dock_widget::m_octave_qobj, and MaxMRUFiles.
Referenced by construct(), and handle_mru_add_file().
|
slot |
Definition at line 1219 of file file-editor.cc.
References ed_long_line_marker(), ed_long_window_title(), ed_notebook_tab_width_max(), ed_notebook_tab_width_min(), ed_show_edit_status_bar(), ed_show_eol_chars(), ed_show_hscroll_bar(), ed_show_indent_guides(), ed_show_line_numbers(), ed_show_toolbar(), ed_show_white_space(), ed_tab_position(), fetab_settings_changed(), global_icon_size(), global_icon_sizes, m_find_dialog, m_show_eol_action, m_show_hscrollbar_action, m_show_indguide_action, m_show_linenum_action, m_show_longline_action, m_show_statusbar_action, m_show_toolbar_action, m_show_whitespace_action, m_tab_widget, m_tool_bar, and set_shortcuts().
Referenced by make_file_editor_tab(), and toggle_preference().
|
protectedslot |
Definition at line 1457 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
signalinherited |
|
signalinherited |
Referenced by octave::octave_dock_widget::octave_dock_widget(), and octave::octave_dock_widget::event().
|
slot |
Definition at line 556 of file file-editor.cc.
References octave::file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 549 of file file-editor.cc.
References octave::file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 568 of file file-editor.cc.
References octave::file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 769 of file file-editor.cc.
References fetab_comment_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 779 of file file-editor.cc.
References fetab_comment_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 908 of file file-editor.cc.
References fetab_completion(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 617 of file file-editor.cc.
References fetab_context_help(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 622 of file file-editor.cc.
References fetab_context_edit(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 612 of file file-editor.cc.
References fetab_context_help(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 658 of file file-editor.cc.
References fetab_context_run(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 824 of file file-editor.cc.
References fetab_convert_eol(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 818 of file file-editor.cc.
References fetab_convert_eol(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 812 of file file-editor.cc.
References fetab_convert_eol(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 745 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 606 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 751 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
signal |
Referenced by construct(), and request_run_file().
|
slot |
Definition at line 733 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 721 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 739 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 727 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 715 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 757 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 831 of file file-editor.cc.
References find_create(), and m_find_dialog.
Referenced by construct().
|
slot |
|
slot |
|
slot |
Definition at line 903 of file file-editor.cc.
References fetab_goto_line(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 797 of file file-editor.cc.
References fetab_indent_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 791 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 683 of file file-editor.cc.
References fetab_move_match_brace(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 586 of file file-editor.cc.
References request_open_file().
Referenced by construct().
|
slot |
Definition at line 532 of file file-editor.cc.
References activate(), add_file_editor_tab(), call_custom_editor(), m_ced, make_file_editor_tab(), and octave::file_editor_tab::new_file().
Referenced by empty_script(), and request_open_file().
|
slot |
Definition at line 668 of file file-editor.cc.
References fetab_next_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 699 of file file-editor.cc.
References fetab_next_breakpoint(), and m_tab_widget.
Referenced by construct().
|
privateslot |
Definition at line 1480 of file file-editor.cc.
References activate(), add_file_editor_tab(), call_custom_editor(), ed_create_new_file(), ed_show_dbg_file(), fetab_do_breakpoint_marker(), fetab_goto_line(), fetab_insert_debugger_pointer(), fetab_set_focus(), file_loaded_signal(), find_tab_widget(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), handle_mru_add_file(), is_editor_console_tabbed(), octave::file_editor_tab::load_file(), octave::label_dock_widget::m_octave_qobj, m_tab_widget, make_file_editor_tab(), octave::file_editor_tab::qsci_edit_area(), request_new_file(), octave::file_editor_tab::set_encoding(), octave::file_editor_tab::update_breakpoints(), and octave::file_editor_tab::update_window_title().
Referenced by dropEvent(), handle_edit_file_request(), handle_file_renamed(), handle_insert_debugger_pointer_request(), handle_update_breakpoint_marker_request(), make_file_editor_tab(), request_mru_open_file(), and restore_session().
|
signal |
Referenced by call_custom_editor().
|
privateslot |
Definition at line 1665 of file file-editor.cc.
References request_settings_dialog().
Referenced by construct().
|
slot |
Definition at line 673 of file file-editor.cc.
References fetab_previous_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 704 of file file-editor.cc.
References fetab_previous_breakpoint(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 595 of file file-editor.cc.
References fetab_print_file(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 600 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 678 of file file-editor.cc.
References fetab_remove_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 709 of file file-editor.cc.
References fetab_remove_all_breakpoints(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 637 of file file-editor.cc.
References fetab_run_file(), octave::interpreter::get_evaluator(), octave::tree_evaluator::in_debug_repl(), octave::octave_dock_widget::interpreter_event(), m_tab_widget, and request_dbcont_signal().
Referenced by construct().
|
slot |
Definition at line 627 of file file-editor.cc.
References fetab_save_file(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 632 of file file-editor.cc.
References fetab_save_file_as(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 688 of file file-editor.cc.
References fetab_move_match_brace(), and m_tab_widget.
Referenced by construct().
|
signal |
Referenced by construct(), request_preferences(), and request_styles_preferences().
|
slot |
Definition at line 807 of file file-editor.cc.
References fetab_smart_indent_line_or_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 653 of file file-editor.cc.
References fetab_run_file(), and m_tab_widget.
|
privateslot |
Definition at line 1670 of file file-editor.cc.
References request_settings_dialog().
Referenced by construct().
|
slot |
Definition at line 663 of file file-editor.cc.
References fetab_toggle_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 694 of file file-editor.cc.
References fetab_toggle_breakpoint(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 763 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 774 of file file-editor.cc.
References fetab_uncomment_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 802 of file file-editor.cc.
References fetab_unindent_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 785 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 2342 of file file-editor.cc.
References octave::f(), fetab_set_focus(), and m_tab_widget.
Referenced by activate(), focusInEvent(), handle_autoc_cancelled(), and make_file_editor_tab().
|
slotinherited |
Definition at line 612 of file octave-dock-widget.cc.
References octave::octave_dock_widget::event(), and octave::octave_dock_widget::store_geometry().
|
virtual |
Implements octave::file_editor_interface.
Definition at line 299 of file file-editor.cc.
References ed_restore_session(), ed_session_enc(), ed_session_ind(), ed_session_lines(), ed_session_names(), octave::file_editor::session_data::encoding, octave::file_editor::session_data::index, octave::file_editor::session_data::line, n, and request_open_file().
Referenced by handle_visibility().
|
slot |
Definition at line 412 of file file-editor.cc.
References ed_session_enc(), ed_session_ind(), ed_session_lines(), ed_session_names(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, m_tab_widget, and octave::file_editor_tab_widget::tab_list().
Referenced by check_closing().
|
slotinherited |
Definition at line 553 of file octave-dock-widget.cc.
References dw_dock_geometry(), dw_float_geometry(), dw_is_floating(), dw_is_minimized(), dw_is_visible(), octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, octave::octave_dock_widget::m_recent_dock_geom, octave::octave_dock_widget::m_recent_float_geom, name, and octave::octave_dock_widget::store_geometry().
Referenced by octave::octave_dock_widget::closeEvent(), octave::files_dock_widget::save_settings(), octave::history_dock_widget::save_settings(), octave::workspace_view::save_settings(), and octave::workspace_view::toggle_header().
|
protectedslot |
Definition at line 1464 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
slot |
Definition at line 362 of file file-editor.cc.
References m_tab_widget.
Referenced by make_file_editor_tab().
|
privateinherited |
Definition at line 783 of file octave-dock-widget.cc.
References dw_title_bg_color(), dw_title_bg_color_active(), dw_title_fg_color(), dw_title_fg_color_active(), octave::base_qobject::get_resource_manager(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, octave::octave_dock_widget::m_predecessor_widget, and octave::resource_manager::update_settings_key().
Referenced by octave::octave_dock_widget::closeEvent(), and octave::octave_dock_widget::make_window().
|
inherited |
Definition at line 400 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_predecessor_widget.
Referenced by octave::main_window::focus_changed().
|
slot |
Definition at line 1318 of file file-editor.cc.
References octave::base_qobject::get_shortcut_manager(), m_close_action, m_close_all_action, m_close_others_action, m_comment_selection_action, m_comment_var_selection_action, m_completion_action, m_context_doc_action, m_context_help_action, m_conv_eol_mac_action, m_conv_eol_unix_action, m_conv_eol_windows_action, m_copy_line_action, m_cut_action, m_cut_line_action, m_delete_end_line_action, m_delete_end_word_action, m_delete_line_action, m_delete_start_line_action, m_delete_start_word_action, m_duplicate_selection_action, m_edit_function_action, m_find_action, m_find_next_action, m_find_previous_action, m_goto_line_action, m_indent_selection_action, m_lower_case_action, m_move_tab_left_action, m_move_tab_right_action, m_move_to_matching_brace, m_next_bookmark_action, m_next_breakpoint_action, octave::label_dock_widget::m_octave_qobj, m_preferences_action, m_previous_bookmark_action, m_previous_breakpoint_action, m_print_action, m_redo_action, m_remove_all_breakpoints_action, m_remove_bookmark_action, m_run_action, m_run_selection_action, m_save_action, m_save_as_action, m_sel_to_matching_brace, m_show_eol_action, m_show_hscrollbar_action, m_show_indguide_action, m_show_linenum_action, m_show_longline_action, m_show_statusbar_action, m_show_toolbar_action, m_show_whitespace_action, m_smart_indent_line_or_selection_action, m_sort_tabs_action, m_styles_preferences_action, m_switch_left_tab_action, m_switch_right_tab_action, m_toggle_bookmark_action, m_toggle_breakpoint_action, m_transpose_line_action, m_uncomment_selection_action, m_unindent_selection_action, m_upper_case_action, m_zoom_in_action, m_zoom_normal_action, m_zoom_out_action, sc_edit_debug_next_breakpoint(), sc_edit_debug_previous_breakpoint(), sc_edit_debug_remove_breakpoints(), sc_edit_debug_toggle_breakpoint(), sc_edit_edit_comment_selection(), sc_edit_edit_comment_var_selection(), sc_edit_edit_completion_list(), sc_edit_edit_conv_eol_mac(), sc_edit_edit_conv_eol_unix(), sc_edit_edit_conv_eol_winows(), sc_edit_edit_copy_line(), sc_edit_edit_cut(), sc_edit_edit_cut_line(), sc_edit_edit_delete_end_line(), sc_edit_edit_delete_end_word(), sc_edit_edit_delete_line(), sc_edit_edit_delete_start_line(), sc_edit_edit_delete_start_word(), sc_edit_edit_duplicate_selection(), sc_edit_edit_find_next(), sc_edit_edit_find_previous(), sc_edit_edit_find_replace(), sc_edit_edit_goto_line(), sc_edit_edit_indent_selection(), sc_edit_edit_lower_case(), sc_edit_edit_move_to_brace(), sc_edit_edit_next_bookmark(), sc_edit_edit_preferences(), sc_edit_edit_previous_bookmark(), sc_edit_edit_redo(), sc_edit_edit_remove_bookmark(), sc_edit_edit_select_to_brace(), sc_edit_edit_smart_indent_line_or_selection(), sc_edit_edit_styles_preferences(), sc_edit_edit_toggle_bookmark(), sc_edit_edit_transpose_line(), sc_edit_edit_uncomment_selection(), sc_edit_edit_unindent_selection(), sc_edit_edit_upper_case(), sc_edit_file_close(), sc_edit_file_close_all(), sc_edit_file_close_other(), sc_edit_file_edit_function(), sc_edit_file_print(), sc_edit_file_save(), sc_edit_file_save_as(), sc_edit_help_doc_keyword(), sc_edit_help_help_keyword(), sc_edit_run_run_file(), sc_edit_run_run_selection(), sc_edit_tabs_move_tab_left(), sc_edit_tabs_move_tab_right(), sc_edit_tabs_switch_left_tab(), sc_edit_tabs_switch_right_tab(), sc_edit_view_show_eol_chars(), sc_edit_view_show_hscrollbar(), sc_edit_view_show_ind_guides(), sc_edit_view_show_line_numbers(), sc_edit_view_show_long_line(), sc_edit_view_show_statusbar(), sc_edit_view_show_toolbar(), sc_edit_view_show_white_spaces(), sc_edit_view_sort_tabs(), sc_edit_view_zoom_in(), sc_edit_view_zoom_normal(), sc_edit_view_zoom_out(), and octave::shortcut_manager::set_shortcut().
Referenced by notice_settings().
|
privateinherited |
Definition at line 685 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_bg_color, octave::octave_dock_widget::m_bg_color_active, octave::label_dock_widget::m_close_action, octave::label_dock_widget::m_close_button, octave::octave_dock_widget::m_custom_style, octave::label_dock_widget::m_dock_action, octave::label_dock_widget::m_dock_button, octave::octave_dock_widget::m_fg_color, octave::octave_dock_widget::m_fg_color_active, octave::octave_dock_widget::m_icon_color, octave::octave_dock_widget::m_icon_color_active, octave::label_dock_widget::m_icon_size, octave::octave_dock_widget::m_title_3d, and octave::qdockwidget_css().
Referenced by octave::octave_dock_widget::handle_active_dock_changed(), octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::make_widget(), and octave::octave_dock_widget::make_window().
|
inherited |
Definition at line 119 of file octave-dock-widget.cc.
References octave::label_dock_widget::m_title_widget.
Referenced by octave::documentation_dock_widget::documentation_dock_widget(), octave::files_dock_widget::files_dock_widget(), octave::terminal_dock_widget::terminal_dock_widget(), octave::variable_editor::variable_editor(), octave::workspace_view::workspace_view(), octave::history_dock_widget::construct(), construct(), and octave::variable_editor::edit_variable().
|
privateslot |
Definition at line 1685 of file file-editor.cc.
References ed_show_eol_chars(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1710 of file file-editor.cc.
References ed_show_hscroll_bar(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1690 of file file-editor.cc.
References ed_show_indent_guides(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1675 of file file-editor.cc.
References ed_show_line_numbers(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1695 of file file-editor.cc.
References ed_long_line_marker(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1705 of file file-editor.cc.
References ed_show_edit_status_bar(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1700 of file file-editor.cc.
References ed_show_toolbar(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1680 of file file-editor.cc.
References ed_show_white_space(), and toggle_preference().
Referenced by construct().
|
privateinherited |
Definition at line 590 of file octave-dock-widget.cc.
References octave::octave_dock_widget::m_recent_dock_geom, and octave::octave_dock_widget::m_recent_float_geom.
Referenced by octave::octave_dock_widget::moveEvent(), octave::octave_dock_widget::resizeEvent(), and octave::octave_dock_widget::save_settings().
|
private |
Definition at line 2623 of file file-editor.cc.
References octave::base_qobject::get_resource_manager(), octave::resource_manager::get_settings(), gui_pref::key, octave::label_dock_widget::m_octave_qobj, and notice_settings().
Referenced by show_eol_chars(), show_hscrollbar(), show_indent_guides(), show_line_numbers(), show_long_line(), show_statusbar(), show_toolbar(), and show_white_space().
|
inlinevirtual |
Implements octave::file_editor_interface.
Definition at line 99 of file file-editor.h.
References m_tool_bar.
|
slot |
Definition at line 1431 of file file-editor.cc.
References find_create(), and m_find_dialog.
|
slot |
Definition at line 1444 of file file-editor.cc.
References fetab_set_directory(), and m_ced.
|
privateslot |
Definition at line 1715 of file file-editor.cc.
References fetab_zoom_in(), and m_tab_widget.
Referenced by construct(), and make_file_editor_tab().
|
privateslot |
Definition at line 1725 of file file-editor.cc.
References fetab_zoom_normal(), and m_tab_widget.
Referenced by construct(), and make_file_editor_tab().
|
privateslot |
Definition at line 1720 of file file-editor.cc.
References fetab_zoom_out(), and m_tab_widget.
Referenced by construct(), and make_file_editor_tab().
|
privateinherited |
Definition at line 179 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
privateinherited |
Definition at line 180 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 351 of file file-editor.h.
Referenced by file_editor(), request_new_file(), and update_octave_directory().
|
private |
Definition at line 424 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 425 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
protectedinherited |
Definition at line 76 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 426 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 460 of file file-editor.h.
Referenced by file_editor(), closeEvent(), and handle_visibility().
|
private |
Definition at line 459 of file file-editor.h.
Referenced by check_closing(), and handle_tab_ready_to_close().
|
private |
Definition at line 363 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 364 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 407 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 378 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 377 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 371 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 370 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 369 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 373 of file file-editor.h.
Referenced by file_editor(), create_context_menu(), enable_menu_shortcuts(), handle_editor_state_changed(), and insert_global_actions().
|
private |
Definition at line 445 of file file-editor.h.
Referenced by file_editor(), enable_menu_shortcuts(), and handle_editor_state_changed().
|
private |
Definition at line 397 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
privateinherited |
Definition at line 177 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_active_dock_changed(), octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 374 of file file-editor.h.
Referenced by construct(), create_context_menu(), handle_editor_state_changed(), and set_shortcuts().
|
private |
Definition at line 398 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 355 of file file-editor.h.
Referenced by construct(), and debug_menu().
|
protectedinherited |
Definition at line 81 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget().
|
protectedinherited |
Definition at line 80 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::make_window(), and octave::octave_dock_widget::toplevel_change().
|
private |
Definition at line 395 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 393 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 396 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 394 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 392 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
protectedinherited |
Definition at line 77 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::make_window(), octave::octave_dock_widget::set_style(), octave::octave_dock_widget::toplevel_change(), and octave::variable_dock_widget::toplevel_change().
|
protectedinherited |
Definition at line 75 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 399 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 449 of file file-editor.h.
Referenced by check_actions(), construct(), and create_context_menu().
|
private |
Definition at line 450 of file file-editor.h.
Referenced by check_actions(), construct(), and create_context_menu().
|
private |
Definition at line 420 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 448 of file file-editor.h.
Referenced by construct(), and insert_global_actions().
|
private |
Definition at line 451 of file file-editor.h.
Referenced by check_actions(), construct(), and create_context_menu().
|
privateinherited |
Definition at line 181 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
privateinherited |
Definition at line 182 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 452 of file file-editor.h.
Referenced by construct(), and insert_global_actions().
|
private |
Definition at line 402 of file file-editor.h.
Referenced by check_actions(), construct(), create_context_menu(), insert_global_actions(), and set_shortcuts().
|
private |
Definition at line 469 of file file-editor.h.
Referenced by file_editor(), enable_menu_shortcuts(), find_create(), handle_tab_ready_to_close(), notice_settings(), request_find(), request_find_next(), request_find_previous(), and toplevel_change().
|
private |
Definition at line 405 of file file-editor.h.
Referenced by create_context_menu(), and insert_global_actions().
|
private |
Definition at line 403 of file file-editor.h.
Referenced by check_actions(), construct(), create_context_menu(), find_create(), and set_shortcuts().
|
private |
Definition at line 404 of file file-editor.h.
Referenced by check_actions(), construct(), create_context_menu(), find_create(), and set_shortcuts().
|
private |
Definition at line 406 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 349 of file file-editor.h.
Referenced by add_menu(), and enable_menu_shortcuts().
|
privateinherited |
|
privateinherited |
Definition at line 184 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 73 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), and octave::octave_dock_widget::set_style().
|
private |
Definition at line 366 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 362 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 457 of file file-editor.h.
|
private |
Definition at line 353 of file file-editor.h.
Referenced by construct().
|
private |
Definition at line 436 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 437 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 409 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 465 of file file-editor.h.
Referenced by construct(), and mru_menu_update().
|
private |
Definition at line 464 of file file-editor.h.
Referenced by ~file_editor(), construct(), get_mru_menu(), and insert_global_actions().
|
private |
Definition at line 466 of file file-editor.h.
Referenced by construct(), handle_mru_add_file(), and mru_menu_update().
|
private |
Definition at line 467 of file file-editor.h.
Referenced by construct(), handle_mru_add_file(), and mru_menu_update().
|
private |
Definition at line 357 of file file-editor.h.
|
private |
Definition at line 358 of file file-editor.h.
|
private |
Definition at line 411 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 441 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 461 of file file-editor.h.
Referenced by file_editor(), activate(), handle_dir_remove(), handle_file_remove(), and handle_file_renamed().
|
private |
Definition at line 348 of file file-editor.h.
Referenced by check_closing(), and handle_tab_ready_to_close().
|
protectedinherited |
Definition at line 71 of file octave-dock-widget.h.
Referenced by octave::files_dock_widget::files_dock_widget(), octave::octave_dock_widget::octave_dock_widget(), octave::terminal_dock_widget::terminal_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::workspace_view::workspace_view(), call_custom_editor(), octave::variable_dock_widget::change_floating(), octave::variable_dock_widget::change_fullscreen(), closeEvent(), octave::history_dock_widget::construct(), construct(), octave::variable_editor::construct_tool_bar(), octave::files_dock_widget::contextmenu_requested(), octave::history_dock_widget::ctxMenu(), octave::files_dock_widget::display_directory(), octave::variable_editor::edit_variable(), empty_script(), find_create(), handle_enter_debug_mode(), handle_exit_debug_mode(), handle_file_name_changed(), handle_visibility(), octave::workspace_view::header_contextmenu_requested(), octave::files_dock_widget::headercontextmenu_requested(), make_file_editor_tab(), octave::octave_dock_widget::make_widget(), mru_menu_update(), octave::files_dock_widget::popdownmenu_search_dir(), request_open_file(), save_session(), octave::files_dock_widget::save_settings(), octave::history_dock_widget::save_settings(), octave::octave_dock_widget::save_settings(), octave::workspace_view::save_settings(), octave::octave_dock_widget::set_focus_predecessor(), set_shortcuts(), octave::workspace_view::setModel(), octave::files_dock_widget::toggle_header(), octave::workspace_view::toggle_header(), and toggle_preference().
|
private |
Definition at line 359 of file file-editor.h.
|
privateinherited |
Stores the parent, since we are reparenting to 0.
Definition at line 175 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::main_win(), octave::octave_dock_widget::make_widget(), and octave::octave_dock_widget::make_window().
|
private |
Definition at line 375 of file file-editor.h.
Referenced by file_editor(), create_context_menu(), and insert_global_actions().
|
private |
Definition at line 421 of file file-editor.h.
Referenced by construct(), and insert_global_actions().
|
privateinherited |
Definition at line 185 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::set_focus_predecessor(), and octave::octave_dock_widget::set_predecessor_widget().
|
private |
Definition at line 431 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 412 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 442 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 416 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
privateinherited |
Definition at line 187 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::make_widget(), octave::octave_dock_widget::save_settings(), and octave::octave_dock_widget::store_geometry().
|
privateinherited |
Definition at line 186 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::handle_settings(), octave::octave_dock_widget::make_window(), octave::octave_dock_widget::save_settings(), and octave::octave_dock_widget::store_geometry().
|
private |
Definition at line 428 of file file-editor.h.
Referenced by construct(), edit_status_update(), insert_global_actions(), and set_shortcuts().
|
private |
Definition at line 443 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 414 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 417 of file file-editor.h.
Referenced by check_actions(), construct(), handle_editor_state_changed(), handle_enter_debug_mode(), handle_exit_debug_mode(), and set_shortcuts().
|
private |
Definition at line 418 of file file-editor.h.
Referenced by construct(), create_context_menu(), handle_editor_state_changed(), and set_shortcuts().
|
private |
Definition at line 422 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 423 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 410 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 376 of file file-editor.h.
Referenced by file_editor(), create_context_menu(), and insert_global_actions().
|
private |
Definition at line 382 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 387 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 383 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 380 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 384 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 386 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 385 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 381 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 368 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 438 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 432 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 434 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 435 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 455 of file file-editor.h.
Referenced by active_tab_changed(), add_file_editor_tab(), check_actions(), check_closing(), check_conflict_save(), construct(), copyClipboard(), do_undo(), empty_script(), find_create(), find_tab_widget(), handle_delete_debugger_pointer_request(), handle_dir_remove(), handle_editor_state_changed(), handle_file_name_changed(), handle_file_remove(), handle_tab_close_request(), handle_tab_ready_to_close(), handle_tab_remove_request(), notice_settings(), pasteClipboard(), request_close_all_files(), request_close_file(), request_close_other_files(), request_comment_selected_text(), request_comment_var_selected_text(), request_completion(), request_context_doc(), request_context_edit(), request_context_help(), request_context_run(), request_conv_eol_mac(), request_conv_eol_unix(), request_conv_eol_windows(), request_copy_line(), request_cut(), request_cut_line(), request_delete_end_line(), request_delete_end_word(), request_delete_line(), request_delete_start_line(), request_delete_start_word(), request_duplicate_selection(), request_goto_line(), request_indent_selected_text(), request_lower_case(), request_move_match_brace(), request_next_bookmark(), request_next_breakpoint(), request_open_file(), request_previous_bookmark(), request_previous_breakpoint(), request_print_file(), request_redo(), request_remove_bookmark(), request_remove_breakpoint(), request_run_file(), request_save_file(), request_save_file_as(), request_sel_match_brace(), request_smart_indent_line_or_selected_text(), request_step_into_file(), request_toggle_bookmark(), request_toggle_breakpoint(), request_transpose_line(), request_uncomment_selected_text(), request_unindent_selected_text(), request_upper_case(), reset_focus(), save_session(), selectAll(), set_focus(), zoom_in(), zoom_normal(), and zoom_out().
|
privateinherited |
Definition at line 178 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::octave_dock_widget(), octave::octave_dock_widget::handle_settings(), and octave::octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 74 of file octave-dock-widget.h.
Referenced by octave::label_dock_widget::label_dock_widget(), octave::variable_dock_widget::variable_dock_widget(), octave::octave_dock_widget::handle_settings(), and octave::label_dock_widget::set_title().
|
private |
Definition at line 472 of file file-editor.h.
Referenced by handle_dir_remove(), handle_file_remove(), and handle_file_renamed().
|
private |
Definition at line 413 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 440 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 354 of file file-editor.h.
Referenced by construct(), insert_global_actions(), notice_settings(), and toolbar().
|
private |
Definition at line 400 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 365 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 429 of file file-editor.h.
Referenced by file_editor(), edit_status_update(), enable_menu_shortcuts(), handle_editor_state_changed(), and insert_global_actions().
|
private |
Definition at line 446 of file file-editor.h.
Referenced by file_editor(), enable_menu_shortcuts(), and handle_editor_state_changed().
|
private |
Definition at line 367 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 361 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 453 of file file-editor.h.
Referenced by check_actions(), and construct().
|
privateinherited |
Definition at line 188 of file octave-dock-widget.h.
Referenced by octave::octave_dock_widget::event(), octave::octave_dock_widget::make_window(), and octave::octave_dock_widget::toplevel_change().
|
private |
Definition at line 388 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 390 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 389 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().