#include "file-editor.h"
Classes | |
struct | removed_file_data |
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)=default | |
bool | adopted (void) const |
void | check_actions (void) |
QMenu * | debug_menu (void) |
void | empty_script (bool startup, bool visible) |
QMenu * | get_mru_menu (void) |
void | insert_global_actions (QList< QAction * >) |
QMenuBar * | menubar (void) |
void | restore_session (gui_settings *settings) |
void | set_adopted (bool adopted=true) |
void | set_main_window (main_window *mw) |
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... | |
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, const QString &bookmarks=QString()) |
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 71 of file file-editor.h.
|
private |
Enumerator | |
---|---|
MaxMRUFiles |
Definition at line 489 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 113 of file file-editor.h.
file_editor::file_editor | ( | QWidget * | p, |
base_qobject & | oct_qobj | ||
) |
Definition at line 101 of file file-editor.cc.
References construct(), m_ced, m_closed, m_copy_action, m_copy_action_enabled, m_current_tab_modified, m_editor_ready, m_find_dialog, m_no_focus, m_paste_action, m_selectall_action, m_undo_action, and m_undo_action_enabled.
|
default |
|
slot |
Definition at line 379 of file file-editor.cc.
References 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_dock_widget::change_visibility(), octave_dock_widget::closeEvent(), octave_dock_widget::handle_visibility(), and octave_dock_widget::init_window_menu_entry().
|
slot |
Definition at line 1044 of file file-editor.cc.
References activate(), fetab_change_request(), and m_tab_widget.
Referenced by construct().
|
private |
Definition at line 2844 of file file-editor.cc.
References r.
|
private |
Definition at line 2837 of file file-editor.cc.
Referenced by construct().
|
private |
Definition at line 2653 of file file-editor.cc.
References check_actions(), f, and m_tab_widget.
Referenced by request_new_file(), and request_open_file().
Definition at line 2868 of file file-editor.cc.
References m_hash_menu_text.
Referenced by construct().
|
inlineinherited |
Definition at line 102 of file octave-dock-widget.h.
References octave_dock_widget::m_adopted.
Referenced by octave_dock_widget::set_adopted().
|
private |
Definition at line 2704 of file file-editor.cc.
References gui_pref::def, base_qobject::get_resource_manager(), resource_manager::get_settings(), global_use_custom_editor(), handle_mru_add_file(), gui_pref::key, label_dock_widget::m_octave_qobj, and request_open_file_external().
Referenced by request_new_file(), and request_open_file().
|
privateslotinherited |
Definition at line 661 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed().
Referenced by octave_dock_widget::octave_dock_widget().
void 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_current_tab_modified, 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_is_octave_file, m_next_breakpoint_action, m_previous_breakpoint_action, m_print_action, m_remove_all_breakpoints_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_toggle_breakpoint_action, 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 483 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(), file_editor_tab_widget::tab_list(), and file_editor_tab::tab_ready_to_close().
Referenced by closeEvent().
|
slot |
Definition at line 1093 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_dock_widget.
Definition at line 1866 of file file-editor.cc.
References check_closing(), octave_dock_widget::closeEvent(), ed_hiding_closes_files(), base_qobject::get_resource_manager(), resource_manager::get_settings(), m_closed, and label_dock_widget::m_octave_qobj.
|
private |
Definition at line 1932 of file file-editor.cc.
References active_tab_changed(), add_action(), add_menu(), check_actions(), copy_full_file_path(), ed_mru_file_encodings(), ed_mru_file_list(), tab_bar::get_context_menu(), base_qobject::get_resource_manager(), resource_manager::get_settings(), file_editor_tab_widget::get_tab_bar(), handle_tab_close_request(), 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, 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, 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_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_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(), 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().
|
slot |
Definition at line 621 of file file-editor.cc.
References file_editor_tab::file_name(), and m_tab_widget.
Referenced by construct().
|
protectedslot |
Definition at line 1528 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
privateslot |
Definition at line 1831 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 file_editor_interface.
Definition at line 105 of file file-editor.h.
References m_debug_menu.
|
signal |
Referenced by main_window::adopt_editor_widget(), and make_file_editor_tab().
|
slotinherited |
Definition at line 399 of file octave-dock-widget.cc.
Referenced by octave_dock_widget::toplevel_change().
|
protectedslot |
Definition at line 1549 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
protected |
Definition at line 1892 of file file-editor.cc.
|
protected |
Definition at line 1900 of file file-editor.cc.
References request_open_file().
|
signal |
Referenced by make_file_editor_tab().
|
signal |
Referenced by main_window::adopt_editor_widget(), and make_file_editor_tab().
|
privateslot |
Definition at line 1858 of file file-editor.cc.
References m_redo_action, and m_undo_action.
Referenced by make_file_editor_tab().
|
private |
Definition at line 2805 of file file-editor.cc.
References octave_dock_widget::focusWidget().
Referenced by copyClipboard(), do_undo(), pasteClipboard(), and selectAll().
|
signal |
Referenced by main_window::adopt_editor_widget(), check_actions(), and handle_editor_state_changed().
|
virtual |
Implements file_editor_interface.
Definition at line 256 of file file-editor.cc.
References gui_pref::def, base_qobject::get_resource_manager(), resource_manager::get_settings(), global_use_custom_editor(), gui_pref::key, m_editor_ready, label_dock_widget::m_octave_qobj, m_tab_widget, and request_new_file().
Referenced by handle_visibility().
|
slot |
Definition at line 401 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.
Referenced by main_window::adopt_editor_widget().
|
signal |
Referenced by handle_enter_debug_mode(), and make_file_editor_tab().
|
protectedinherited |
Definition at line 453 of file octave-dock-widget.cc.
References octave_dock_widget::m_waiting_for_mouse_button_release, and octave_dock_widget::queue_make_window().
Referenced by variable_editor::edit_variable(), octave_dock_widget::moveEvent(), and octave_dock_widget::resizeEvent().
|
protectedslotinherited |
Event filter for double clicks into the window decoration elements.
Definition at line 611 of file octave-dock-widget.cc.
References octave_dock_widget::m_focus_follows_mouse.
|
signal |
Referenced by main_window::adopt_editor_widget(), and make_file_editor_tab().
|
signal |
Referenced by handle_exit_debug_mode(), and make_file_editor_tab().
|
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 911 of file file-editor.cc.
References m_find_dialog, m_find_next_action, m_find_previous_action, label_dock_widget::m_octave_qobj, m_tab_widget, file_editor_tab::qsci_edit_area(), and x.
Referenced by request_find(), and toplevel_change().
|
private |
Definition at line 2814 of file file-editor.cc.
References m_tab_widget, same_file(), and file_editor_tab_widget::tab_list().
Referenced by check_conflict_save(), handle_delete_debugger_pointer_request(), handle_file_remove(), and request_open_file().
|
signal |
Referenced by main_window::adopt_editor_widget(), and make_file_editor_tab().
|
protected |
Definition at line 132 of file file-editor.cc.
References reset_focus().
|
protectedinherited |
Definition at line 445 of file octave-dock-widget.cc.
References Faddeeva::w().
Referenced by editor_tab_has_focus().
|
inlinevirtual |
Implements file_editor_interface.
Definition at line 103 of file file-editor.h.
References m_mru_file_menu.
|
slotinherited |
Definition at line 569 of file octave-dock-widget.cc.
References octave_dock_widget::m_custom_style, and octave_dock_widget::set_style().
Referenced by main_window::make_dock_widget_connections().
|
slot |
Definition at line 2423 of file file-editor.cc.
References f, and reset_focus().
Referenced by make_file_editor_tab().
|
slot |
Definition at line 1159 of file file-editor.cc.
References fetab_delete_debugger_pointer(), fetab_set_focus(), find_tab_widget(), and m_tab_widget.
Referenced by main_window::adopt_editor_widget().
|
private |
Definition at line 2737 of file file-editor.cc.
References file_editor::removed_file_data::editor_tab, m_tab_widget, m_tmp_closed_files, file_editor::removed_file_data::new_file_name, and file_editor_tab_widget::tab_list().
Referenced by handle_file_remove().
|
slot |
Definition at line 1187 of file file-editor.cc.
References request_open_file().
|
slot |
Definition at line 1050 of file file-editor.cc.
References editor_tabs_changed_signal(), m_copy_action, m_copy_action_enabled, m_current_tab_modified, m_cut_action, m_is_octave_file, m_run_action, m_run_selection_action, m_save_action, m_tab_widget, m_undo_action, and m_undo_action_enabled.
Referenced by make_file_editor_tab().
|
slot |
Definition at line 181 of file file-editor.cc.
References enter_debug_mode_signal(), base_qobject::get_resource_manager(), resource_manager::get_settings(), label_dock_widget::m_octave_qobj, m_run_action, sc_edit_run_run_file(), and sc_main_debug_continue().
Referenced by main_window::adopt_editor_widget().
|
slot |
Definition at line 196 of file file-editor.cc.
References exit_debug_mode_signal(), base_qobject::get_shortcut_manager(), label_dock_widget::m_octave_qobj, m_run_action, sc_edit_run_run_file(), and shortcut_manager::set_shortcut().
Referenced by main_window::adopt_editor_widget().
|
slot |
Definition at line 983 of file file-editor.cc.
References base_qobject::get_resource_manager(), resource_manager::icon(), m_current_tab_modified, label_dock_widget::m_octave_qobj, m_save_action, and m_tab_widget.
Referenced by make_file_editor_tab().
|
slot |
Definition at line 1194 of file file-editor.cc.
References file_editor::removed_file_data::editor_tab, file_editor_tab::enable_file_watcher(), find_tab_widget(), Utils::fromStdString(), handle_dir_remove(), m_tmp_closed_files, make_absolute(), and file_editor::removed_file_data::new_file_name.
Referenced by main_window::adopt_editor_widget().
|
slot |
Definition at line 1257 of file file-editor.cc.
References m_no_focus, and m_tmp_closed_files.
Referenced by main_window::adopt_editor_widget().
|
slot |
Definition at line 1153 of file file-editor.cc.
References request_open_file().
Referenced by main_window::adopt_editor_widget().
|
slot |
Definition at line 1077 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 474 of file octave-dock-widget.cc.
References adjust_to_screen(), gui_pref::def, dw_dock_geometry(), dw_float_geometry(), dw_focus_follows_mouse(), 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_dock_widget::m_bg_color, octave_dock_widget::m_bg_color_active, octave_dock_widget::m_custom_style, octave_dock_widget::m_fg_color, octave_dock_widget::m_fg_color_active, octave_dock_widget::m_focus_follows_mouse, octave_dock_widget::m_icon_color, octave_dock_widget::m_icon_color_active, octave_dock_widget::m_main_window, octave_dock_widget::m_recent_dock_geom, octave_dock_widget::m_recent_float_geom, octave_dock_widget::m_title_3d, label_dock_widget::m_title_widget, octave_dock_widget::notice_settings(), r, octave_dock_widget::set_style(), Faddeeva::w(), and x.
Referenced by octave_dock_widget::octave_dock_widget(), and main_window::make_dock_widget_connections().
|
slot |
Definition at line 1011 of file file-editor.cc.
References file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 533 of file file-editor.cc.
References m_closing_canceled, m_find_dialog, m_number_of_tabs, m_tab_widget, and file_editor_tab_widget::tab_list().
Referenced by check_closing().
|
slot |
Definition at line 1019 of file file-editor.cc.
References activate(), check_actions(), and m_tab_widget.
Referenced by make_file_editor_tab().
|
slot |
Definition at line 1179 of file file-editor.cc.
References request_open_file().
Referenced by main_window::adopt_editor_widget().
|
slot |
Definition at line 1489 of file file-editor.cc.
References empty_script(), base_qobject::get_resource_manager(), resource_manager::get_settings(), octave_dock_widget::handle_visibility(), m_closed, m_editor_ready, label_dock_widget::m_octave_qobj, and restore_session().
|
slotinherited |
Definition at line 265 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed().
Referenced by main_window::make_dock_widget_connections().
|
virtual |
Implements file_editor_interface.
Definition at line 146 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 |
Referenced by make_file_editor_tab(), and request_run_file().
|
signalinherited |
|
private |
Definition at line 1909 of file file-editor.cc.
References Faddeeva::w().
Referenced by request_open_file().
|
private |
Definition at line 2457 of file file-editor.cc.
References file_editor_tab::autoc_closed(), file_editor_tab::change_editor_state(), check_conflict_save(), file_editor_tab::comment_selected_text(), file_editor_tab::context_edit(), file_editor_tab::context_help(), file_editor_tab::context_run(), file_editor_tab::convert_eol(), create_context_menu(), octave_qscintilla::create_context_menu_signal(), file_editor_tab::debug_quit_signal(), debug_quit_signal(), file_editor_tab::delete_debugger_pointer(), file_editor_tab::do_breakpoint_marker(), file_editor_tab::edit_area_changed(), edit_area_changed(), file_editor_tab::edit_mfile_request(), edit_mfile_request(), edit_status_update(), file_editor_tab::editor_check_conflict_save(), file_editor_tab::editor_state_changed(), enter_debug_mode_signal(), execute_command_in_terminal_signal(), octave_qscintilla::execute_command_in_terminal_signal(), exit_debug_mode_signal(), 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(), file_editor_tab::file_name_changed(), focus_console_after_command_signal(), octave_qscintilla::focus_console_after_command_signal(), file_editor_tab::goto_line(), handle_autoc_cancelled(), handle_editor_state_changed(), octave_qscintilla::handle_enter_debug_mode(), octave_qscintilla::handle_exit_debug_mode(), handle_file_name_changed(), handle_mru_add_file(), handle_tab_remove_request(), file_editor_tab::indent_selected_text(), file_editor_tab::insert_debugger_pointer(), file_editor_interface::interpreter_event(), file_editor_tab::interpreter_event(), label_dock_widget::m_octave_qobj, file_editor_tab::move_match_brace(), file_editor_tab::mru_add_file(), file_editor_tab::next_bookmark(), file_editor_tab::next_breakpoint(), file_editor_tab::previous_bookmark(), file_editor_tab::previous_breakpoint(), file_editor_tab::print_file(), file_editor_tab::recover_from_exit(), file_editor_tab::remove_all_breakpoints(), file_editor_tab::remove_bookmark(), file_editor_tab::request_open_file(), request_open_file(), reset_focus(), file_editor_tab::run_file(), run_file_signal(), file_editor_tab::run_file_signal(), file_editor_tab::save_file(), file_editor_tab::save_file_as(), file_editor_tab::scintilla_command(), file_editor_tab::set_current_directory(), file_editor_tab::set_focus(), set_focus(), file_editor_tab::set_focus_editor_signal(), file_editor_tab::show_auto_completion(), file_editor_tab::smart_indent_line_or_selected_text(), octave_qscintilla::status_update(), file_editor_tab::tab_remove_request(), file_editor_tab::toggle_bookmark(), file_editor_tab::toggle_breakpoint(), file_editor_tab::uncomment_selected_text(), file_editor_tab::unindent_selected_text(), update_gui_lexer_signal(), file_editor_tab::update_lexer_settings(), file_editor_tab::zoom_in(), file_editor_tab::zoom_normal(), and file_editor_tab::zoom_out().
Referenced by request_new_file(), and request_open_file().
|
slotinherited |
Definition at line 343 of file octave-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), resource_manager::icon(), gui_pref::key, octave_dock_widget::m_adopted, label_dock_widget::m_default_float_button, label_dock_widget::m_dock_action, octave_dock_widget::m_icon_color, octave_dock_widget::m_main_window, label_dock_widget::m_octave_qobj, octave_dock_widget::m_recent_dock_geom, octave_dock_widget::make_window(), mw_state(), and octave_dock_widget::set_style().
Referenced by octave_dock_widget::octave_dock_widget(), and octave_dock_widget::make_window().
|
slotinherited |
Definition at line 272 of file octave-dock-widget.cc.
References base_qobject::get_resource_manager(), resource_manager::icon(), label_dock_widget::m_default_float_button, label_dock_widget::m_dock_action, octave_dock_widget::m_icon_color, octave_dock_widget::m_main_window, label_dock_widget::m_octave_qobj, octave_dock_widget::m_recent_float_geom, octave_dock_widget::m_waiting_for_mouse_button_release, octave_dock_widget::make_widget(), octave_dock_widget::set_focus_predecessor(), and octave_dock_widget::set_style().
Referenced by files_dock_widget::files_dock_widget(), octave_dock_widget::octave_dock_widget(), variable_editor::variable_editor(), and octave_dock_widget::make_widget().
|
inlinevirtual |
Implements file_editor_interface.
Definition at line 109 of file file-editor.h.
References m_menu_bar.
|
slotinherited |
Definition at line 644 of file octave-dock-widget.cc.
References octave_dock_widget::event(), and octave_dock_widget::store_geometry().
|
private |
Definition at line 2666 of file file-editor.cc.
References ed_mru_file_encodings(), ed_mru_file_list(), base_qobject::get_resource_manager(), resource_manager::get_settings(), gui_pref::key, m_mru_file_actions, m_mru_files, m_mru_files_encodings, label_dock_widget::m_octave_qobj, and MaxMRUFiles.
Referenced by construct(), and handle_mru_add_file().
|
slot |
Definition at line 1289 of file file-editor.cc.
References ed_long_line_marker(), 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(), ed_tabs_max_width(), ed_tabs_rotated(), fetab_settings_changed(), file_editor_tab_widget::get_tab_bar(), global_icon_paths, global_icon_size(), global_icon_sizes, ICON_THEME_OCTAVE, 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, tab_bar::set_rotated(), and set_shortcuts().
Referenced by toggle_preference().
|
protectedslot |
Definition at line 1535 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
signalinherited |
Referenced by octave_dock_widget::octave_dock_widget(), and octave_dock_widget::toplevel_change().
|
signalinherited |
Referenced by octave_dock_widget::octave_dock_widget(), and octave_dock_widget::event().
|
slot |
Definition at line 592 of file file-editor.cc.
References file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 585 of file file-editor.cc.
References file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by file_editor_tab_widget::file_editor_tab_widget(), and construct().
|
slot |
Definition at line 604 of file file-editor.cc.
References file_editor_tab::conditional_close(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 833 of file file-editor.cc.
References fetab_comment_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 843 of file file-editor.cc.
References fetab_comment_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 978 of file file-editor.cc.
References fetab_completion(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 662 of file file-editor.cc.
References fetab_context_help(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 667 of file file-editor.cc.
References fetab_context_edit(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 657 of file file-editor.cc.
References fetab_context_help(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 722 of file file-editor.cc.
References fetab_context_run(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 888 of file file-editor.cc.
References fetab_convert_eol(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 882 of file file-editor.cc.
References fetab_convert_eol(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 876 of file file-editor.cc.
References fetab_convert_eol(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 809 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 651 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 815 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
signal |
Referenced by main_window::adopt_editor_widget(), and request_run_file().
|
slot |
Definition at line 797 of file file-editor.cc.
References fetab_scintilla_command(), 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 803 of file file-editor.cc.
References fetab_scintilla_command(), 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 779 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 821 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 895 of file file-editor.cc.
References find_create(), and m_find_dialog.
Referenced by construct().
|
slot |
|
slot |
|
slot |
Definition at line 973 of file file-editor.cc.
References fetab_goto_line(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 861 of file file-editor.cc.
References fetab_indent_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 855 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 747 of file file-editor.cc.
References fetab_move_match_brace(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 631 of file file-editor.cc.
References request_open_file().
Referenced by construct().
|
slot |
Definition at line 568 of file file-editor.cc.
References activate(), add_file_editor_tab(), call_custom_editor(), m_ced, make_file_editor_tab(), and file_editor_tab::new_file().
Referenced by empty_script(), and request_open_file().
|
slot |
Definition at line 732 of file file-editor.cc.
References fetab_next_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 763 of file file-editor.cc.
References fetab_next_breakpoint(), and m_tab_widget.
Referenced by construct().
|
privateslot |
Definition at line 1558 of file file-editor.cc.
References activate(), add_file_editor_tab(), marker::bookmark, 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(), base_qobject::get_resource_manager(), resource_manager::get_settings(), global_use_custom_editor(), handle_mru_add_file(), is_editor_console_tabbed(), file_editor_tab::load_file(), label_dock_widget::m_octave_qobj, m_tab_widget, make_file_editor_tab(), file_editor_tab::qsci_edit_area(), request_new_file(), file_editor_tab::set_encoding(), file_editor_tab::update_breakpoints(), and file_editor_tab::update_window_title().
Referenced by dropEvent(), handle_edit_file_request(), handle_insert_debugger_pointer_request(), handle_update_breakpoint_marker_request(), make_file_editor_tab(), request_mru_open_file(), and restore_session().
|
signal |
Referenced by main_window::adopt_editor_widget(), and call_custom_editor().
|
privateslot |
Definition at line 1766 of file file-editor.cc.
References request_settings_dialog().
Referenced by construct().
|
slot |
Definition at line 737 of file file-editor.cc.
References fetab_previous_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 768 of file file-editor.cc.
References fetab_previous_breakpoint(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 640 of file file-editor.cc.
References fetab_print_file(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 645 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 742 of file file-editor.cc.
References fetab_remove_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 773 of file file-editor.cc.
References fetab_remove_all_breakpoints(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 682 of file file-editor.cc.
References fetab_run_file(), interpreter::get_evaluator(), file_editor_interface::interpreter_event(), m_tab_widget, request_dbcont_signal(), and Vlast_prompt_time.
Referenced by construct().
|
slot |
Definition at line 672 of file file-editor.cc.
References fetab_save_file(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 677 of file file-editor.cc.
References fetab_save_file_as(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 752 of file file-editor.cc.
References fetab_move_match_brace(), and m_tab_widget.
Referenced by construct().
|
signal |
Referenced by main_window::adopt_editor_widget(), request_preferences(), and request_styles_preferences().
|
slot |
Definition at line 871 of file file-editor.cc.
References fetab_smart_indent_line_or_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 717 of file file-editor.cc.
References fetab_run_file(), and m_tab_widget.
Referenced by main_window::adopt_editor_widget().
|
privateslot |
Definition at line 1771 of file file-editor.cc.
References request_settings_dialog().
Referenced by construct().
|
slot |
Definition at line 727 of file file-editor.cc.
References fetab_toggle_bookmark(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 758 of file file-editor.cc.
References fetab_toggle_breakpoint(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 827 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 838 of file file-editor.cc.
References fetab_uncomment_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 866 of file file-editor.cc.
References fetab_unindent_selected_text(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 849 of file file-editor.cc.
References fetab_scintilla_command(), and m_tab_widget.
Referenced by construct().
|
slot |
Definition at line 2447 of file file-editor.cc.
References f, fetab_set_focus(), and m_tab_widget.
Referenced by activate(), focusInEvent(), handle_autoc_cancelled(), and make_file_editor_tab().
|
slotinherited |
Definition at line 652 of file octave-dock-widget.cc.
References octave_dock_widget::event(), and octave_dock_widget::store_geometry().
|
virtual |
Implements file_editor_interface.
Definition at line 320 of file file-editor.cc.
References file_editor::session_data::bookmarks, ed_restore_session(), ed_session_bookmarks(), ed_session_enc(), ed_session_ind(), ed_session_lines(), ed_session_names(), file_editor::session_data::encoding, file_editor::session_data::index, file_editor::session_data::line, n, and request_open_file().
Referenced by handle_visibility().
|
signal |
Referenced by main_window::adopt_editor_widget(), and make_file_editor_tab().
|
slot |
Definition at line 440 of file file-editor.cc.
References ed_session_bookmarks(), ed_session_enc(), ed_session_ind(), ed_session_lines(), ed_session_names(), base_qobject::get_resource_manager(), resource_manager::get_settings(), gui_pref::key, label_dock_widget::m_octave_qobj, m_tab_widget, and file_editor_tab_widget::tab_list().
Referenced by check_closing().
|
virtualslotinherited |
Definition at line 586 of file octave-dock-widget.cc.
References dw_dock_geometry(), dw_float_geometry(), dw_is_floating(), dw_is_minimized(), dw_is_visible(), base_qobject::get_resource_manager(), resource_manager::get_settings(), gui_pref::key, label_dock_widget::m_octave_qobj, octave_dock_widget::m_recent_dock_geom, octave_dock_widget::m_recent_float_geom, and octave_dock_widget::store_geometry().
Referenced by octave_dock_widget::closeEvent(), main_window::make_dock_widget_connections(), documentation_dock_widget::save_settings(), files_dock_widget::save_settings(), history_dock_widget::save_settings(), workspace_view::save_settings(), and workspace_view::toggle_header().
|
protectedslot |
Definition at line 1542 of file file-editor.cc.
References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.
|
inlineinherited |
Definition at line 101 of file octave-dock-widget.h.
References octave_dock_widget::adopted(), and octave_dock_widget::m_adopted.
|
slot |
Definition at line 390 of file file-editor.cc.
References m_tab_widget.
Referenced by make_file_editor_tab().
|
privateinherited |
Definition at line 828 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(), base_qobject::get_resource_manager(), gui_pref::key, label_dock_widget::m_octave_qobj, octave_dock_widget::m_predecessor_widget, and resource_manager::update_settings_key().
Referenced by octave_dock_widget::closeEvent(), and octave_dock_widget::make_window().
|
inherited |
Definition at line 412 of file octave-dock-widget.cc.
References label_dock_widget::copyClipboard(), main_window::copyClipboard_signal(), label_dock_widget::do_undo(), octave_dock_widget::m_main_window, label_dock_widget::pasteClipboard(), main_window::pasteClipboard_signal(), label_dock_widget::selectAll(), main_window::selectAll_signal(), and main_window::undo_signal().
|
inherited |
Definition at line 406 of file octave-dock-widget.cc.
References octave_dock_widget::m_predecessor_widget.
Referenced by main_window::focus_changed().
|
slot |
Definition at line 1394 of file file-editor.cc.
References 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, 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 shortcut_manager::set_shortcut().
Referenced by notice_settings().
|
privateinherited |
Definition at line 729 of file octave-dock-widget.cc.
References base_qobject::get_resource_manager(), global_icon_paths, resource_manager::icon(), ICON_THEME_OCTAVE, octave_dock_widget::m_bg_color, octave_dock_widget::m_bg_color_active, label_dock_widget::m_close_action, label_dock_widget::m_close_button, octave_dock_widget::m_custom_style, label_dock_widget::m_dock_action, label_dock_widget::m_dock_button, octave_dock_widget::m_fg_color, octave_dock_widget::m_fg_color_active, octave_dock_widget::m_icon_color, octave_dock_widget::m_icon_color_active, label_dock_widget::m_icon_size, label_dock_widget::m_octave_qobj, octave_dock_widget::m_title_3d, and qdockwidget_css().
Referenced by octave_dock_widget::handle_active_dock_changed(), octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), and octave_dock_widget::make_window().
|
inherited |
Definition at line 128 of file octave-dock-widget.cc.
References label_dock_widget::m_title_widget.
Referenced by files_dock_widget::files_dock_widget(), variable_editor::variable_editor(), history_dock_widget::construct(), construct(), and variable_editor::edit_variable().
|
privateslot |
Definition at line 1786 of file file-editor.cc.
References ed_show_eol_chars(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1811 of file file-editor.cc.
References ed_show_hscroll_bar(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1791 of file file-editor.cc.
References ed_show_indent_guides(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1776 of file file-editor.cc.
References ed_show_line_numbers(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1796 of file file-editor.cc.
References ed_long_line_marker(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1806 of file file-editor.cc.
References ed_show_edit_status_bar(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1801 of file file-editor.cc.
References ed_show_toolbar(), and toggle_preference().
Referenced by construct().
|
privateslot |
Definition at line 1781 of file file-editor.cc.
References ed_show_white_space(), and toggle_preference().
Referenced by construct().
|
privateinherited |
Definition at line 630 of file octave-dock-widget.cc.
References octave_dock_widget::m_recent_dock_geom, and octave_dock_widget::m_recent_float_geom.
Referenced by octave_dock_widget::moveEvent(), octave_dock_widget::resizeEvent(), and octave_dock_widget::save_settings().
|
private |
Definition at line 2726 of file file-editor.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), gui_pref::key, 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 file_editor_interface.
Definition at line 107 of file file-editor.h.
References m_tool_bar.
|
slot |
Definition at line 1509 of file file-editor.cc.
References find_create(), and m_find_dialog.
|
signal |
Referenced by main_window::adopt_editor_widget(), and make_file_editor_tab().
|
slot |
Definition at line 1522 of file file-editor.cc.
References fetab_set_directory(), and m_ced.
Referenced by main_window::adopt_editor_widget().
|
privateslot |
Definition at line 1816 of file file-editor.cc.
References fetab_zoom_in(), and m_tab_widget.
Referenced by construct().
|
privateslot |
Definition at line 1826 of file file-editor.cc.
References fetab_zoom_normal(), and m_tab_widget.
Referenced by construct().
|
privateslot |
Definition at line 1821 of file file-editor.cc.
References fetab_zoom_out(), and m_tab_widget.
Referenced by construct().
|
privateinherited |
Definition at line 171 of file octave-dock-widget.h.
Referenced by octave_dock_widget::adopted(), octave_dock_widget::make_widget(), and octave_dock_widget::set_adopted().
|
privateinherited |
Definition at line 175 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 176 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
private |
Definition at line 374 of file file-editor.h.
Referenced by file_editor(), request_new_file(), and update_octave_directory().
|
private |
Definition at line 447 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 check_actions(), construct(), and set_shortcuts().
|
protectedinherited |
Definition at line 78 of file octave-dock-widget.h.
Referenced by octave_dock_widget::set_style().
|
private |
Definition at line 449 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 485 of file file-editor.h.
Referenced by file_editor(), closeEvent(), and handle_visibility().
|
private |
Definition at line 484 of file file-editor.h.
Referenced by check_closing(), and handle_tab_ready_to_close().
|
private |
Definition at line 386 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 387 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 430 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 401 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 400 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 394 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 392 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 396 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 468 of file file-editor.h.
Referenced by file_editor(), enable_menu_shortcuts(), and handle_editor_state_changed().
|
private |
Definition at line 420 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 471 of file file-editor.h.
Referenced by file_editor(), check_actions(), handle_editor_state_changed(), and handle_file_name_changed().
|
privateinherited |
Definition at line 172 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_active_dock_changed(), octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
private |
Definition at line 397 of file file-editor.h.
Referenced by construct(), create_context_menu(), handle_editor_state_changed(), and set_shortcuts().
|
private |
Definition at line 421 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 378 of file file-editor.h.
Referenced by construct(), and debug_menu().
|
protectedinherited |
Definition at line 83 of file octave-dock-widget.h.
|
protectedinherited |
Definition at line 82 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), and octave_dock_widget::toplevel_change().
|
private |
Definition at line 418 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 416 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 419 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 417 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 415 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
protectedinherited |
Definition at line 79 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), octave_dock_widget::set_style(), octave_dock_widget::toplevel_change(), and variable_dock_widget::toplevel_change().
|
protectedinherited |
Definition at line 77 of file octave-dock-widget.h.
Referenced by octave_dock_widget::set_style().
|
private |
Definition at line 422 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 474 of file file-editor.h.
Referenced by check_actions(), construct(), and create_context_menu().
|
private |
Definition at line 475 of file file-editor.h.
Referenced by check_actions(), construct(), and create_context_menu().
|
private |
Definition at line 443 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 473 of file file-editor.h.
Referenced by construct(), and insert_global_actions().
|
private |
Definition at line 476 of file file-editor.h.
Referenced by check_actions(), construct(), and create_context_menu().
|
private |
Definition at line 487 of file file-editor.h.
Referenced by file_editor(), empty_script(), and handle_visibility().
|
privateinherited |
Definition at line 177 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 178 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
private |
Definition at line 477 of file file-editor.h.
Referenced by construct(), and insert_global_actions().
|
private |
Definition at line 425 of file file-editor.h.
Referenced by check_actions(), construct(), create_context_menu(), insert_global_actions(), and set_shortcuts().
|
private |
Definition at line 495 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 428 of file file-editor.h.
Referenced by create_context_menu(), and insert_global_actions().
|
private |
Definition at line 426 of file file-editor.h.
Referenced by check_actions(), construct(), create_context_menu(), find_create(), and set_shortcuts().
|
private |
Definition at line 427 of file file-editor.h.
Referenced by check_actions(), construct(), create_context_menu(), find_create(), and set_shortcuts().
|
privateinherited |
Definition at line 173 of file octave-dock-widget.h.
Referenced by octave_dock_widget::eventFilter(), and octave_dock_widget::handle_settings().
|
private |
Definition at line 429 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 372 of file file-editor.h.
Referenced by add_menu(), and enable_menu_shortcuts().
|
privateinherited |
Definition at line 179 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), and octave_dock_widget::set_style().
|
privateinherited |
Definition at line 180 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 75 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), and octave_dock_widget::set_style().
|
private |
Definition at line 389 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 470 of file file-editor.h.
Referenced by check_actions(), and handle_editor_state_changed().
|
private |
Definition at line 385 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
privateinherited |
Stores the parent, since we are reparenting to 0.
Definition at line 169 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), and octave_dock_widget::set_main_window().
|
private |
Definition at line 482 of file file-editor.h.
|
private |
Definition at line 376 of file file-editor.h.
Referenced by construct(), and menubar().
|
private |
Definition at line 459 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 460 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 432 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 491 of file file-editor.h.
Referenced by construct(), and mru_menu_update().
|
private |
Definition at line 490 of file file-editor.h.
Referenced by construct(), get_mru_menu(), and insert_global_actions().
|
private |
Definition at line 492 of file file-editor.h.
Referenced by construct(), handle_mru_add_file(), and mru_menu_update().
|
private |
Definition at line 493 of file file-editor.h.
Referenced by construct(), handle_mru_add_file(), and mru_menu_update().
|
private |
Definition at line 380 of file file-editor.h.
|
private |
Definition at line 381 of file file-editor.h.
|
private |
Definition at line 434 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 464 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 486 of file file-editor.h.
Referenced by file_editor(), activate(), and handle_file_renamed().
|
private |
Definition at line 371 of file file-editor.h.
Referenced by check_closing(), and handle_tab_ready_to_close().
|
protectedinherited |
Definition at line 73 of file octave-dock-widget.h.
Referenced by files_dock_widget::files_dock_widget(), octave_dock_widget::octave_dock_widget(), variable_dock_widget::variable_dock_widget(), call_custom_editor(), variable_dock_widget::change_floating(), variable_dock_widget::change_fullscreen(), closeEvent(), history_dock_widget::construct(), construct(), variable_editor::construct_tool_bar(), files_dock_widget::contextmenu_requested(), history_dock_widget::ctxMenu(), files_dock_widget::display_directory(), variable_editor::edit_variable(), empty_script(), find_create(), handle_enter_debug_mode(), handle_exit_debug_mode(), handle_file_name_changed(), handle_visibility(), workspace_view::header_contextmenu_requested(), files_dock_widget::headercontextmenu_requested(), make_file_editor_tab(), octave_dock_widget::make_widget(), octave_dock_widget::make_window(), mru_menu_update(), variable_editor::notice_settings(), files_dock_widget::popdownmenu_search_dir(), request_open_file(), save_session(), files_dock_widget::save_settings(), history_dock_widget::save_settings(), octave_dock_widget::save_settings(), workspace_view::save_settings(), octave_dock_widget::set_focus_predecessor(), set_shortcuts(), octave_dock_widget::set_style(), workspace_view::setModel(), files_dock_widget::toggle_header(), workspace_view::toggle_header(), and toggle_preference().
|
private |
Definition at line 382 of file file-editor.h.
|
private |
Definition at line 398 of file file-editor.h.
Referenced by file_editor(), create_context_menu(), and insert_global_actions().
|
private |
Definition at line 444 of file file-editor.h.
Referenced by construct(), and insert_global_actions().
|
privateinherited |
Definition at line 181 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::set_focus_predecessor(), and octave_dock_widget::set_predecessor_widget().
|
private |
Definition at line 454 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 465 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 439 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
privateinherited |
Definition at line 183 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), octave_dock_widget::make_widget(), octave_dock_widget::save_settings(), and octave_dock_widget::store_geometry().
|
privateinherited |
Definition at line 182 of file octave-dock-widget.h.
Referenced by octave_dock_widget::handle_settings(), octave_dock_widget::make_window(), octave_dock_widget::save_settings(), and octave_dock_widget::store_geometry().
|
private |
Definition at line 451 of file file-editor.h.
Referenced by construct(), edit_status_update(), insert_global_actions(), and set_shortcuts().
|
private |
Definition at line 466 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 437 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 440 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 441 of file file-editor.h.
Referenced by construct(), create_context_menu(), handle_editor_state_changed(), and set_shortcuts().
|
private |
Definition at line 445 of file file-editor.h.
Referenced by check_actions(), construct(), handle_editor_state_changed(), handle_file_name_changed(), and set_shortcuts().
|
private |
Definition at line 446 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 433 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 399 of file file-editor.h.
Referenced by file_editor(), create_context_menu(), and insert_global_actions().
|
private |
Definition at line 405 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 410 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 406 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 403 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 407 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 409 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 408 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 404 of file file-editor.h.
Referenced by construct(), notice_settings(), and set_shortcuts().
|
private |
Definition at line 391 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 461 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 455 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 457 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 458 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 480 of file file-editor.h.
Referenced by active_tab_changed(), add_file_editor_tab(), check_actions(), check_closing(), check_conflict_save(), construct(), copy_full_file_path(), 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_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 174 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget(), octave_dock_widget::handle_settings(), and octave_dock_widget::set_style().
|
protectedinherited |
Definition at line 76 of file octave-dock-widget.h.
Referenced by variable_dock_widget::variable_dock_widget(), octave_dock_widget::handle_settings(), and label_dock_widget::set_title().
|
private |
Definition at line 498 of file file-editor.h.
Referenced by handle_dir_remove(), handle_file_remove(), and handle_file_renamed().
|
private |
Definition at line 436 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 463 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 construct(), insert_global_actions(), notice_settings(), and toolbar().
|
private |
Definition at line 423 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 388 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 452 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 469 of file file-editor.h.
Referenced by file_editor(), enable_menu_shortcuts(), and handle_editor_state_changed().
|
private |
Definition at line 390 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 384 of file file-editor.h.
Referenced by construct(), and set_shortcuts().
|
private |
Definition at line 478 of file file-editor.h.
Referenced by check_actions(), and construct().
|
privateinherited |
Definition at line 184 of file octave-dock-widget.h.
Referenced by octave_dock_widget::event(), octave_dock_widget::make_window(), and octave_dock_widget::toplevel_change().
|
private |
Definition at line 411 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 413 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().
|
private |
Definition at line 412 of file file-editor.h.
Referenced by check_actions(), construct(), and set_shortcuts().