GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
file_editor Class Reference

#include "file-editor.h"

Inheritance diagram for file_editor:
Collaboration diagram for file_editor:

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 Slots

void activate (void)
 
void active_tab_changed (int index)
 
bool check_closing (void)
 
void check_conflict_save (const QString &fileName, bool remove_on_success)
 
void copy_full_file_path (bool)
 
void default_dock (bool not_used=false)
 
void enable_menu_shortcuts (bool)
 
void handle_active_dock_changed (octave_dock_widget *, octave_dock_widget *)
 
void handle_autoc_cancelled (void)
 
void handle_delete_debugger_pointer_request (const QString &file, int line)
 
void handle_edit_file_request (const QString &file)
 
void handle_editor_state_changed (bool enableCopy, bool is_octave_file, bool is_modified)
 
void handle_enter_debug_mode (void)
 
void handle_exit_debug_mode (void)
 
void handle_file_name_changed (const QString &fileName, const QString &toolTip, bool modified)
 
void handle_file_remove (const QString &, const QString &)
 
void handle_file_renamed (bool load_new=true)
 
void handle_insert_debugger_pointer_request (const QString &file, int line)
 
void handle_mru_add_file (const QString &file_name, const QString &encoding)
 
void handle_settings (const gui_settings *)
 
void handle_tab_close_request (int index)
 
void handle_tab_ready_to_close (void)
 
void handle_tab_remove_request (void)
 
void handle_update_breakpoint_marker_request (bool insert, const QString &file, int line, const QString &cond)
 
void handle_visibility (bool visible)
 
void init_window_menu_entry (void)
 
void make_widget (bool not_used=false)
 
void make_window (bool widget_was_dragged=false)
 
void moveEvent (QMoveEvent *event)
 
void notice_settings (const gui_settings *settings)
 
void request_close_all_files (bool)
 
void request_close_file (bool)
 
void request_close_other_files (bool)
 
void request_comment_selected_text (bool)
 
void request_comment_var_selected_text (bool)
 
void request_completion (bool)
 
void request_context_doc (bool)
 
void request_context_edit (bool)
 
void request_context_help (bool)
 
void request_context_run (bool)
 
void request_conv_eol_mac (bool)
 
void request_conv_eol_unix (bool)
 
void request_conv_eol_windows (bool)
 
void request_copy_line (bool)
 
void request_cut (bool)
 
void request_cut_line (bool)
 
void request_delete_end_line (bool)
 
void request_delete_end_word (bool)
 
void request_delete_line (bool)
 
void request_delete_start_line (bool)
 
void request_delete_start_word (bool)
 
void request_duplicate_selection (bool)
 
void request_find (bool)
 
void request_find_next (bool)
 
void request_find_previous (bool)
 
void request_goto_line (bool)
 
void request_indent_selected_text (bool)
 
void request_lower_case (bool)
 
void request_move_match_brace (bool)
 
void request_mru_open_file (QAction *action)
 
void request_new_file (const QString &commands)
 
void request_next_bookmark (bool)
 
void request_next_breakpoint (bool)
 
void request_previous_bookmark (bool)
 
void request_previous_breakpoint (bool)
 
void request_print_file (bool)
 
void request_redo (bool)
 
void request_remove_bookmark (bool)
 
void request_remove_breakpoint (bool)
 
void request_run_file (bool)
 
void request_save_file (bool)
 
void request_save_file_as (bool)
 
void request_sel_match_brace (bool)
 
void request_smart_indent_line_or_selected_text (void)
 
void request_step_into_file ()
 
void request_toggle_bookmark (bool)
 
void request_toggle_breakpoint (bool)
 
void request_transpose_line (bool)
 
void request_uncomment_selected_text (bool)
 
void request_unindent_selected_text (bool)
 
void request_upper_case (bool)
 
file_editor_tabreset_focus (void)
 
void resizeEvent (QResizeEvent *event)
 
void save_session (void)
 
virtual void save_settings (void)
 
void set_focus (QWidget *fet)
 
void set_shortcuts (void)
 
void toplevel_change (bool toplevel)
 
void update_octave_directory (const QString &dir)
 

Signals

void active_changed (bool active)
 Custom signal that tells whether a user has clicked away that dock widget, i.e. More...
 
void debug_quit_signal (void)
 
void edit_area_changed (octave_qscintilla *edit_area)
 
void edit_mfile_request (const QString &, const QString &, const QString &, int)
 
void editor_tabs_changed_signal (bool, bool)
 
void enter_debug_mode_signal (void)
 
void execute_command_in_terminal_signal (const QString &)
 
void exit_debug_mode_signal (void)
 
void fetab_change_request (const QWidget *ID)
 
void fetab_comment_selected_text (const QWidget *ID, bool)
 
void fetab_completion (const QWidget *)
 
void fetab_context_edit (const QWidget *ID)
 
void fetab_context_help (const QWidget *ID, bool)
 
void fetab_context_run (const QWidget *ID)
 
void fetab_convert_eol (const QWidget *ID, QsciScintilla::EolMode eol_mode)
 
void fetab_delete_debugger_pointer (const QWidget *ID, int line=-1)
 
void fetab_do_breakpoint_marker (bool insert, const QWidget *ID, int line=-1, const QString &="")
 
void fetab_goto_line (const QWidget *ID, int line=-1)
 
void fetab_indent_selected_text (const QWidget *ID)
 
void fetab_insert_debugger_pointer (const QWidget *ID, int line=-1)
 
void fetab_move_match_brace (const QWidget *ID, bool select)
 
void fetab_next_bookmark (const QWidget *ID)
 
void fetab_next_breakpoint (const QWidget *ID)
 
void fetab_previous_bookmark (const QWidget *ID)
 
void fetab_previous_breakpoint (const QWidget *ID)
 
void fetab_print_file (const QWidget *ID)
 
void fetab_recover_from_exit (void)
 
void fetab_remove_all_breakpoints (const QWidget *ID)
 
void fetab_remove_bookmark (const QWidget *ID)
 
void fetab_run_file (const QWidget *ID, bool step_into=false)
 
void fetab_save_file (const QWidget *ID)
 
void fetab_save_file (const QWidget *ID, const QString &fileName, bool remove_on_success)
 
void fetab_save_file_as (const QWidget *ID)
 
void fetab_scintilla_command (const QWidget *ID, unsigned int sci_msg)
 
void fetab_set_directory (const QString &dir)
 
void fetab_set_focus (const QWidget *ID)
 
void fetab_settings_changed (const gui_settings *settings)
 
void fetab_smart_indent_line_or_selected_text (const QWidget *ID)
 
void fetab_toggle_bookmark (const QWidget *ID)
 
void fetab_toggle_breakpoint (const QWidget *ID)
 
void fetab_uncomment_selected_text (const QWidget *ID)
 
void fetab_unindent_selected_text (const QWidget *ID)
 
void fetab_zoom_in (const QWidget *ID)
 
void fetab_zoom_normal (const QWidget *ID)
 
void fetab_zoom_out (const QWidget *ID)
 
void file_loaded_signal (void)
 
void focus_console_after_command_signal (void)
 
void interpreter_event (const fcn_callback &fcn)
 
void interpreter_event (const meth_callback &meth)
 
void queue_make_widget (void)
 
void queue_make_window (bool widget_was_dragged)
 
void request_dbcont_signal (void)
 
void request_open_file_external (const QString &file_name, int line)
 
void request_settings_dialog (const QString &)
 
void run_file_signal (const QFileInfo &)
 
void update_gui_lexer_signal (bool)
 

Public Member Functions

 file_editor (QWidget *p, base_qobject &oct_qobj)
 
 ~file_editor (void)=default
 
bool adopted (void) const
 
void check_actions (void)
 
QMenudebug_menu (void)
 
void empty_script (bool startup, bool visible)
 
QMenuget_mru_menu (void)
 
void insert_global_actions (QList< QAction * >)
 
QMenuBarmenubar (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)
 
QWidgetfocusWidget (void)
 

Protected Attributes

QToolButtonm_close_button
 
QAbstractButton * m_default_close_button
 
QAbstractButton * m_default_float_button
 
QAction * m_dock_action
 
QToolButtonm_dock_button
 
int m_icon_size
 
base_qobjectm_octave_qobj
 
QWidgetm_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)
 
QMenuadd_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_tabfind_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_tabmake_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)
 

Private Attributes

bool m_adopted
 
QColor m_bg_color
 
QColor m_bg_color_active
 
QString m_ced
 
QAction * m_close_action
 
QAction * m_close_all_action
 
QAction * m_close_others_action
 
bool m_closed
 
bool m_closing_canceled
 
QAction * m_comment_selection_action
 
QAction * m_comment_var_selection_action
 
QAction * m_completion_action
 
QAction * m_context_doc_action
 
QAction * m_context_help_action
 
QAction * m_conv_eol_mac_action
 
QAction * m_conv_eol_unix_action
 
QAction * m_conv_eol_windows_action
 
QAction * m_copy_action
 
bool m_copy_action_enabled
 
QAction * m_copy_line_action
 
bool m_current_tab_modified
 
bool m_custom_style
 
QAction * m_cut_action
 
QAction * m_cut_line_action
 
QMenum_debug_menu
 
QAction * m_delete_end_line_action
 
QAction * m_delete_end_word_action
 
QAction * m_delete_line_action
 
QAction * m_delete_start_line_action
 
QAction * m_delete_start_word_action
 
QAction * m_duplicate_selection_action
 
QMenum_edit_cmd_menu
 
QMenum_edit_fmt_menu
 
QAction * m_edit_function_action
 
QMenum_edit_menu
 
QMenum_edit_nav_menu
 
bool m_editor_ready
 
QColor m_fg_color
 
QColor m_fg_color_active
 
QMenum_fileMenu
 
QAction * m_find_action
 
QPointer< find_dialogm_find_dialog
 
QAction * m_find_files_action
 
QAction * m_find_next_action
 
QAction * m_find_previous_action
 
bool m_focus_follows_mouse
 
QAction * m_goto_line_action
 
QHash< QMenu *, QStringList > m_hash_menu_text
 
QString m_icon_color
 
QString m_icon_color_active
 
QAction * m_indent_selection_action
 
bool m_is_octave_file
 
QAction * m_lower_case_action
 
main_windowm_main_window
 Stores the parent, since we are reparenting to 0. More...
 
int m_marker_breakpoint
 
QMenuBarm_menu_bar
 
QAction * m_move_tab_left_action
 
QAction * m_move_tab_right_action
 
QAction * m_move_to_matching_brace
 
QAction * m_mru_file_actions [MaxMRUFiles]
 
QMenum_mru_file_menu
 
QStringList m_mru_files
 
QStringList m_mru_files_encodings
 
QAction * m_new_action
 
QAction * m_new_function_action
 
QAction * m_next_bookmark_action
 
QAction * m_next_breakpoint_action
 
bool m_no_focus
 
int m_number_of_tabs
 
QAction * m_open_action
 
QAction * m_paste_action
 
QAction * m_popdown_mru_action
 
octave_dock_widgetm_predecessor_widget
 
QAction * m_preferences_action
 
QAction * m_previous_bookmark_action
 
QAction * m_previous_breakpoint_action
 
QAction * m_print_action
 
QRect m_recent_dock_geom
 
QRect m_recent_float_geom
 
QAction * m_redo_action
 
QAction * m_remove_all_breakpoints_action
 
QAction * m_remove_bookmark_action
 
QAction * m_run_action
 
QAction * m_run_selection_action
 
QAction * m_save_action
 
QAction * m_save_as_action
 
QAction * m_sel_to_matching_brace
 
QAction * m_selectall_action
 
QAction * m_show_eol_action
 
QAction * m_show_hscrollbar_action
 
QAction * m_show_indguide_action
 
QAction * m_show_linenum_action
 
QAction * m_show_longline_action
 
QAction * m_show_statusbar_action
 
QAction * m_show_toolbar_action
 
QAction * m_show_whitespace_action
 
QAction * m_smart_indent_line_or_selection_action
 
QAction * m_sort_tabs_action
 
QAction * m_styles_preferences_action
 
QAction * m_switch_left_tab_action
 
QAction * m_switch_right_tab_action
 
file_editor_tab_widgetm_tab_widget
 
int m_title_3d
 
QList< removed_file_datam_tmp_closed_files
 
QAction * m_toggle_bookmark_action
 
QAction * m_toggle_breakpoint_action
 
QToolBar * m_tool_bar
 
QAction * m_transpose_line_action
 
QAction * m_uncomment_selection_action
 
QAction * m_undo_action
 
bool m_undo_action_enabled
 
QAction * m_unindent_selection_action
 
QAction * m_upper_case_action
 
QMenum_view_editor_menu
 
bool m_waiting_for_mouse_button_release
 
QAction * m_zoom_in_action
 
QAction * m_zoom_normal_action
 
QAction * m_zoom_out_action
 

Detailed Description

Definition at line 71 of file file-editor.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MaxMRUFiles 

Definition at line 489 of file file-editor.h.

◆ shared_actions_idx

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.

Constructor & Destructor Documentation

◆ file_editor()

◆ ~file_editor()

file_editor::~file_editor ( void  )
default

Member Function Documentation

◆ activate

void file_editor::activate ( void  )
slot

◆ active_changed

void octave_dock_widget::active_changed ( bool  active)
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().

◆ active_tab_changed

void file_editor::active_tab_changed ( int  index)
slot

Definition at line 1044 of file file-editor.cc.

References activate(), fetab_change_request(), and m_tab_widget.

Referenced by construct().

◆ add_action() [1/2]

QAction * file_editor::add_action ( QMenu menu,
const QIcon &  icon,
const QString &  text,
const char *  member,
QWidget receiver = nullptr 
)
private

Definition at line 2844 of file file-editor.cc.

References r.

◆ add_action() [2/2]

QAction * file_editor::add_action ( QMenu menu,
const QString &  text,
const char *  member,
QWidget receiver = nullptr 
)
private

Definition at line 2837 of file file-editor.cc.

Referenced by construct().

◆ add_file_editor_tab()

void file_editor::add_file_editor_tab ( file_editor_tab f,
const QString &  fn,
int  index = -1 
)
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().

◆ add_menu()

QMenu * file_editor::add_menu ( QMenuBar p,
QString  text 
)
private

Definition at line 2868 of file file-editor.cc.

References m_hash_menu_text.

Referenced by construct().

◆ adopted()

bool octave_dock_widget::adopted ( void  ) const
inlineinherited

Definition at line 102 of file octave-dock-widget.h.

References octave_dock_widget::m_adopted.

Referenced by octave_dock_widget::set_adopted().

◆ call_custom_editor()

bool file_editor::call_custom_editor ( const QString &  file_name = QString (),
int  line = -1 
)
private

◆ change_visibility

void octave_dock_widget::change_visibility ( bool  )
privateslotinherited

◆ check_actions()

◆ check_closing

◆ check_conflict_save

void file_editor::check_conflict_save ( const QString &  fileName,
bool  remove_on_success 
)
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().

◆ closeEvent()

void file_editor::closeEvent ( QCloseEvent *  event)
protectedvirtual

◆ construct()

void file_editor::construct ( void  )
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().

◆ copy_full_file_path

void file_editor::copy_full_file_path ( bool  )
slot

Definition at line 621 of file file-editor.cc.

References file_editor_tab::file_name(), and m_tab_widget.

Referenced by construct().

◆ copyClipboard

void file_editor::copyClipboard ( void  )
protectedslot

Definition at line 1528 of file file-editor.cc.

References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.

◆ create_context_menu

◆ debug_menu()

QMenu* file_editor::debug_menu ( void  )
inlinevirtual

Implements file_editor_interface.

Definition at line 105 of file file-editor.h.

References m_debug_menu.

◆ debug_quit_signal

void file_editor::debug_quit_signal ( void  )
signal

◆ default_dock

void octave_dock_widget::default_dock ( bool  not_used = false)
slotinherited

Definition at line 399 of file octave-dock-widget.cc.

Referenced by octave_dock_widget::toplevel_change().

◆ do_undo

void file_editor::do_undo ( void  )
protectedslot

Definition at line 1549 of file file-editor.cc.

References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.

◆ dragEnterEvent()

void file_editor::dragEnterEvent ( QDragEnterEvent *  event)
protected

Definition at line 1892 of file file-editor.cc.

◆ dropEvent()

void file_editor::dropEvent ( QDropEvent *  event)
protected

Definition at line 1900 of file file-editor.cc.

References request_open_file().

◆ edit_area_changed

void file_editor::edit_area_changed ( octave_qscintilla edit_area)
signal

Referenced by make_file_editor_tab().

◆ edit_mfile_request

void file_editor::edit_mfile_request ( const QString &  ,
const QString &  ,
const QString &  ,
int   
)
signal

◆ edit_status_update

void file_editor::edit_status_update ( bool  undo,
bool  redo 
)
privateslot

Definition at line 1858 of file file-editor.cc.

References m_redo_action, and m_undo_action.

Referenced by make_file_editor_tab().

◆ editor_tab_has_focus()

bool file_editor::editor_tab_has_focus ( void  )
private

Definition at line 2805 of file file-editor.cc.

References octave_dock_widget::focusWidget().

Referenced by copyClipboard(), do_undo(), pasteClipboard(), and selectAll().

◆ editor_tabs_changed_signal

void file_editor::editor_tabs_changed_signal ( bool  ,
bool   
)
signal

◆ empty_script()

void file_editor::empty_script ( bool  startup,
bool  visible 
)
virtual

◆ enable_menu_shortcuts

void file_editor::enable_menu_shortcuts ( bool  enable)
slot

◆ enter_debug_mode_signal

void file_editor::enter_debug_mode_signal ( void  )
signal

◆ event()

bool octave_dock_widget::event ( QEvent *  event)
protectedinherited

◆ eventFilter

bool octave_dock_widget::eventFilter ( QObject obj,
QEvent *  e 
)
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.

◆ execute_command_in_terminal_signal

void file_editor::execute_command_in_terminal_signal ( const QString &  )
signal

◆ exit_debug_mode_signal

void file_editor::exit_debug_mode_signal ( void  )
signal

◆ fetab_change_request

void file_editor::fetab_change_request ( const QWidget ID)
signal

◆ fetab_comment_selected_text

void file_editor::fetab_comment_selected_text ( const QWidget ID,
bool   
)
signal

◆ fetab_completion

void file_editor::fetab_completion ( const QWidget )
signal

◆ fetab_context_edit

void file_editor::fetab_context_edit ( const QWidget ID)
signal

◆ fetab_context_help

void file_editor::fetab_context_help ( const QWidget ID,
bool   
)
signal

◆ fetab_context_run

void file_editor::fetab_context_run ( const QWidget ID)
signal

◆ fetab_convert_eol

void file_editor::fetab_convert_eol ( const QWidget ID,
QsciScintilla::EolMode  eol_mode 
)
signal

◆ fetab_delete_debugger_pointer

void file_editor::fetab_delete_debugger_pointer ( const QWidget ID,
int  line = -1 
)
signal

◆ fetab_do_breakpoint_marker

void file_editor::fetab_do_breakpoint_marker ( bool  insert,
const QWidget ID,
int  line = -1,
const QString &  = "" 
)
signal

◆ fetab_goto_line

void file_editor::fetab_goto_line ( const QWidget ID,
int  line = -1 
)
signal

◆ fetab_indent_selected_text

void file_editor::fetab_indent_selected_text ( const QWidget ID)
signal

◆ fetab_insert_debugger_pointer

void file_editor::fetab_insert_debugger_pointer ( const QWidget ID,
int  line = -1 
)
signal

◆ fetab_move_match_brace

void file_editor::fetab_move_match_brace ( const QWidget ID,
bool  select 
)
signal

◆ fetab_next_bookmark

void file_editor::fetab_next_bookmark ( const QWidget ID)
signal

◆ fetab_next_breakpoint

void file_editor::fetab_next_breakpoint ( const QWidget ID)
signal

◆ fetab_previous_bookmark

void file_editor::fetab_previous_bookmark ( const QWidget ID)
signal

◆ fetab_previous_breakpoint

void file_editor::fetab_previous_breakpoint ( const QWidget ID)
signal

◆ fetab_print_file

void file_editor::fetab_print_file ( const QWidget ID)
signal

◆ fetab_recover_from_exit

void file_editor::fetab_recover_from_exit ( void  )
signal

◆ fetab_remove_all_breakpoints

void file_editor::fetab_remove_all_breakpoints ( const QWidget ID)
signal

◆ fetab_remove_bookmark

void file_editor::fetab_remove_bookmark ( const QWidget ID)
signal

◆ fetab_run_file

void file_editor::fetab_run_file ( const QWidget ID,
bool  step_into = false 
)
signal

◆ fetab_save_file [1/2]

void file_editor::fetab_save_file ( const QWidget ID)
signal

◆ fetab_save_file [2/2]

void file_editor::fetab_save_file ( const QWidget ID,
const QString &  fileName,
bool  remove_on_success 
)
signal

◆ fetab_save_file_as

void file_editor::fetab_save_file_as ( const QWidget ID)
signal

◆ fetab_scintilla_command

◆ fetab_set_directory

void file_editor::fetab_set_directory ( const QString &  dir)
signal

◆ fetab_set_focus

void file_editor::fetab_set_focus ( const QWidget ID)
signal

◆ fetab_settings_changed

void file_editor::fetab_settings_changed ( const gui_settings settings)
signal

◆ fetab_smart_indent_line_or_selected_text

void file_editor::fetab_smart_indent_line_or_selected_text ( const QWidget ID)
signal

◆ fetab_toggle_bookmark

void file_editor::fetab_toggle_bookmark ( const QWidget ID)
signal

◆ fetab_toggle_breakpoint

void file_editor::fetab_toggle_breakpoint ( const QWidget ID)
signal

◆ fetab_uncomment_selected_text

void file_editor::fetab_uncomment_selected_text ( const QWidget ID)
signal

◆ fetab_unindent_selected_text

void file_editor::fetab_unindent_selected_text ( const QWidget ID)
signal

◆ fetab_zoom_in

void file_editor::fetab_zoom_in ( const QWidget ID)
signal

Referenced by make_file_editor_tab(), and zoom_in().

◆ fetab_zoom_normal

void file_editor::fetab_zoom_normal ( const QWidget ID)
signal

◆ fetab_zoom_out

void file_editor::fetab_zoom_out ( const QWidget ID)
signal

Referenced by make_file_editor_tab(), and zoom_out().

◆ file_loaded_signal

void file_editor::file_loaded_signal ( void  )
signal

Referenced by request_open_file().

◆ find_create()

void file_editor::find_create ( void  )
private

◆ find_tab_widget()

file_editor_tab * file_editor::find_tab_widget ( const QString &  openFileName)
private

◆ focus_console_after_command_signal

void file_editor::focus_console_after_command_signal ( void  )
signal

◆ focusInEvent()

void file_editor::focusInEvent ( QFocusEvent *  e)
protected

Definition at line 132 of file file-editor.cc.

References reset_focus().

◆ focusWidget()

QWidget * octave_dock_widget::focusWidget ( void  )
protectedinherited

Definition at line 445 of file octave-dock-widget.cc.

References Faddeeva::w().

Referenced by editor_tab_has_focus().

◆ get_mru_menu()

QMenu* file_editor::get_mru_menu ( void  )
inlinevirtual

Implements file_editor_interface.

Definition at line 103 of file file-editor.h.

References m_mru_file_menu.

◆ handle_active_dock_changed

void octave_dock_widget::handle_active_dock_changed ( octave_dock_widget w_old,
octave_dock_widget w_new 
)
slotinherited

◆ handle_autoc_cancelled

void file_editor::handle_autoc_cancelled ( void  )
slot

Definition at line 2423 of file file-editor.cc.

References f, and reset_focus().

Referenced by make_file_editor_tab().

◆ handle_delete_debugger_pointer_request

void file_editor::handle_delete_debugger_pointer_request ( const QString &  file,
int  line 
)
slot

◆ handle_dir_remove()

void file_editor::handle_dir_remove ( const QString &  old_name,
const QString &  new_name 
)
private

◆ handle_edit_file_request

void file_editor::handle_edit_file_request ( const QString &  file)
slot

Definition at line 1187 of file file-editor.cc.

References request_open_file().

◆ handle_editor_state_changed

void file_editor::handle_editor_state_changed ( bool  enableCopy,
bool  is_octave_file,
bool  is_modified 
)
slot

◆ handle_enter_debug_mode

◆ handle_exit_debug_mode

◆ handle_file_name_changed

void file_editor::handle_file_name_changed ( const QString &  fileName,
const QString &  toolTip,
bool  modified 
)
slot

◆ handle_file_remove

void file_editor::handle_file_remove ( const QString &  old_name,
const QString &  new_name 
)
slot

◆ handle_file_renamed

void file_editor::handle_file_renamed ( bool  load_new = true)
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().

◆ handle_insert_debugger_pointer_request

void file_editor::handle_insert_debugger_pointer_request ( const QString &  file,
int  line 
)
slot

Definition at line 1153 of file file-editor.cc.

References request_open_file().

Referenced by main_window::adopt_editor_widget().

◆ handle_mru_add_file

void file_editor::handle_mru_add_file ( const QString &  file_name,
const QString &  encoding 
)
slot

◆ handle_settings

◆ handle_tab_close_request

void file_editor::handle_tab_close_request ( int  index)
slot

Definition at line 1011 of file file-editor.cc.

References file_editor_tab::conditional_close(), and m_tab_widget.

Referenced by construct().

◆ handle_tab_ready_to_close

void file_editor::handle_tab_ready_to_close ( void  )
slot

◆ handle_tab_remove_request

void file_editor::handle_tab_remove_request ( void  )
slot

Definition at line 1019 of file file-editor.cc.

References activate(), check_actions(), and m_tab_widget.

Referenced by make_file_editor_tab().

◆ handle_update_breakpoint_marker_request

void file_editor::handle_update_breakpoint_marker_request ( bool  insert,
const QString &  file,
int  line,
const QString &  cond 
)
slot

Definition at line 1179 of file file-editor.cc.

References request_open_file().

Referenced by main_window::adopt_editor_widget().

◆ handle_visibility

◆ init_window_menu_entry

void octave_dock_widget::init_window_menu_entry ( void  )
slotinherited

◆ insert_global_actions()

◆ interpreter_event [1/2]

void file_editor_interface::interpreter_event ( const fcn_callback fcn)
signalinherited

◆ interpreter_event [2/2]

void file_editor_interface::interpreter_event ( const meth_callback meth)
signalinherited

◆ is_editor_console_tabbed()

bool file_editor::is_editor_console_tabbed ( void  )
private

Definition at line 1909 of file file-editor.cc.

References Faddeeva::w().

Referenced by request_open_file().

◆ make_file_editor_tab()

file_editor_tab * file_editor::make_file_editor_tab ( const QString &  directory = "")
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().

◆ make_widget

◆ make_window

◆ menubar()

QMenuBar* file_editor::menubar ( void  )
inlinevirtual

Implements file_editor_interface.

Definition at line 109 of file file-editor.h.

References m_menu_bar.

◆ moveEvent

void octave_dock_widget::moveEvent ( QMoveEvent *  event)
slotinherited

◆ mru_menu_update()

◆ notice_settings

◆ pasteClipboard

void file_editor::pasteClipboard ( void  )
protectedslot

Definition at line 1535 of file file-editor.cc.

References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.

◆ queue_make_widget

void octave_dock_widget::queue_make_widget ( void  )
signalinherited

◆ queue_make_window

void octave_dock_widget::queue_make_window ( bool  widget_was_dragged)
signalinherited

◆ request_close_all_files

void file_editor::request_close_all_files ( bool  )
slot

Definition at line 592 of file file-editor.cc.

References file_editor_tab::conditional_close(), and m_tab_widget.

Referenced by construct().

◆ request_close_file

void file_editor::request_close_file ( bool  )
slot

◆ request_close_other_files

void file_editor::request_close_other_files ( bool  )
slot

Definition at line 604 of file file-editor.cc.

References file_editor_tab::conditional_close(), and m_tab_widget.

Referenced by construct().

◆ request_comment_selected_text

void file_editor::request_comment_selected_text ( bool  )
slot

Definition at line 833 of file file-editor.cc.

References fetab_comment_selected_text(), and m_tab_widget.

Referenced by construct().

◆ request_comment_var_selected_text

void file_editor::request_comment_var_selected_text ( bool  )
slot

Definition at line 843 of file file-editor.cc.

References fetab_comment_selected_text(), and m_tab_widget.

Referenced by construct().

◆ request_completion

void file_editor::request_completion ( bool  )
slot

Definition at line 978 of file file-editor.cc.

References fetab_completion(), and m_tab_widget.

Referenced by construct().

◆ request_context_doc

void file_editor::request_context_doc ( bool  )
slot

Definition at line 662 of file file-editor.cc.

References fetab_context_help(), and m_tab_widget.

Referenced by construct().

◆ request_context_edit

void file_editor::request_context_edit ( bool  )
slot

Definition at line 667 of file file-editor.cc.

References fetab_context_edit(), and m_tab_widget.

Referenced by construct().

◆ request_context_help

void file_editor::request_context_help ( bool  )
slot

Definition at line 657 of file file-editor.cc.

References fetab_context_help(), and m_tab_widget.

Referenced by construct().

◆ request_context_run

void file_editor::request_context_run ( bool  )
slot

Definition at line 722 of file file-editor.cc.

References fetab_context_run(), and m_tab_widget.

Referenced by construct().

◆ request_conv_eol_mac

void file_editor::request_conv_eol_mac ( bool  )
slot

Definition at line 888 of file file-editor.cc.

References fetab_convert_eol(), and m_tab_widget.

Referenced by construct().

◆ request_conv_eol_unix

void file_editor::request_conv_eol_unix ( bool  )
slot

Definition at line 882 of file file-editor.cc.

References fetab_convert_eol(), and m_tab_widget.

Referenced by construct().

◆ request_conv_eol_windows

void file_editor::request_conv_eol_windows ( bool  )
slot

Definition at line 876 of file file-editor.cc.

References fetab_convert_eol(), and m_tab_widget.

Referenced by construct().

◆ request_copy_line

void file_editor::request_copy_line ( bool  )
slot

Definition at line 809 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_cut

void file_editor::request_cut ( bool  )
slot

Definition at line 651 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_cut_line

void file_editor::request_cut_line ( bool  )
slot

Definition at line 815 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_dbcont_signal

void file_editor::request_dbcont_signal ( void  )
signal

◆ request_delete_end_line

void file_editor::request_delete_end_line ( bool  )
slot

Definition at line 797 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_delete_end_word

void file_editor::request_delete_end_word ( bool  )
slot

Definition at line 785 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_delete_line

void file_editor::request_delete_line ( bool  )
slot

Definition at line 803 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_delete_start_line

void file_editor::request_delete_start_line ( bool  )
slot

Definition at line 791 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_delete_start_word

void file_editor::request_delete_start_word ( bool  )
slot

Definition at line 779 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_duplicate_selection

void file_editor::request_duplicate_selection ( bool  )
slot

Definition at line 821 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_find

void file_editor::request_find ( bool  )
slot

Definition at line 895 of file file-editor.cc.

References find_create(), and m_find_dialog.

Referenced by construct().

◆ request_find_next

void file_editor::request_find_next ( bool  )
slot

Definition at line 961 of file file-editor.cc.

References m_find_dialog.

Referenced by construct().

◆ request_find_previous

void file_editor::request_find_previous ( bool  )
slot

Definition at line 967 of file file-editor.cc.

References m_find_dialog.

Referenced by construct().

◆ request_goto_line

void file_editor::request_goto_line ( bool  )
slot

Definition at line 973 of file file-editor.cc.

References fetab_goto_line(), and m_tab_widget.

Referenced by construct().

◆ request_indent_selected_text

void file_editor::request_indent_selected_text ( bool  )
slot

Definition at line 861 of file file-editor.cc.

References fetab_indent_selected_text(), and m_tab_widget.

Referenced by construct().

◆ request_lower_case

void file_editor::request_lower_case ( bool  )
slot

Definition at line 855 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_move_match_brace

void file_editor::request_move_match_brace ( bool  )
slot

Definition at line 747 of file file-editor.cc.

References fetab_move_match_brace(), and m_tab_widget.

Referenced by construct().

◆ request_mru_open_file

void file_editor::request_mru_open_file ( QAction *  action)
slot

Definition at line 631 of file file-editor.cc.

References request_open_file().

Referenced by construct().

◆ request_new_file

void file_editor::request_new_file ( const QString &  commands)
slot

◆ request_next_bookmark

void file_editor::request_next_bookmark ( bool  )
slot

Definition at line 732 of file file-editor.cc.

References fetab_next_bookmark(), and m_tab_widget.

Referenced by construct().

◆ request_next_breakpoint

void file_editor::request_next_breakpoint ( bool  )
slot

Definition at line 763 of file file-editor.cc.

References fetab_next_breakpoint(), and m_tab_widget.

Referenced by construct().

◆ request_open_file

◆ request_open_file_external

void file_editor::request_open_file_external ( const QString &  file_name,
int  line 
)
signal

◆ request_preferences

void file_editor::request_preferences ( bool  )
privateslot

Definition at line 1766 of file file-editor.cc.

References request_settings_dialog().

Referenced by construct().

◆ request_previous_bookmark

void file_editor::request_previous_bookmark ( bool  )
slot

Definition at line 737 of file file-editor.cc.

References fetab_previous_bookmark(), and m_tab_widget.

Referenced by construct().

◆ request_previous_breakpoint

void file_editor::request_previous_breakpoint ( bool  )
slot

Definition at line 768 of file file-editor.cc.

References fetab_previous_breakpoint(), and m_tab_widget.

Referenced by construct().

◆ request_print_file

void file_editor::request_print_file ( bool  )
slot

Definition at line 640 of file file-editor.cc.

References fetab_print_file(), and m_tab_widget.

Referenced by construct().

◆ request_redo

void file_editor::request_redo ( bool  )
slot

Definition at line 645 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_remove_bookmark

void file_editor::request_remove_bookmark ( bool  )
slot

Definition at line 742 of file file-editor.cc.

References fetab_remove_bookmark(), and m_tab_widget.

Referenced by construct().

◆ request_remove_breakpoint

void file_editor::request_remove_breakpoint ( bool  )
slot

Definition at line 773 of file file-editor.cc.

References fetab_remove_all_breakpoints(), and m_tab_widget.

Referenced by construct().

◆ request_run_file

void file_editor::request_run_file ( bool  )
slot

◆ request_save_file

void file_editor::request_save_file ( bool  )
slot

Definition at line 672 of file file-editor.cc.

References fetab_save_file(), and m_tab_widget.

Referenced by construct().

◆ request_save_file_as

void file_editor::request_save_file_as ( bool  )
slot

Definition at line 677 of file file-editor.cc.

References fetab_save_file_as(), and m_tab_widget.

Referenced by construct().

◆ request_sel_match_brace

void file_editor::request_sel_match_brace ( bool  )
slot

Definition at line 752 of file file-editor.cc.

References fetab_move_match_brace(), and m_tab_widget.

Referenced by construct().

◆ request_settings_dialog

void file_editor::request_settings_dialog ( const QString &  )
signal

◆ request_smart_indent_line_or_selected_text

void file_editor::request_smart_indent_line_or_selected_text ( void  )
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().

◆ request_step_into_file

void file_editor::request_step_into_file ( )
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().

◆ request_styles_preferences

void file_editor::request_styles_preferences ( bool  )
privateslot

Definition at line 1771 of file file-editor.cc.

References request_settings_dialog().

Referenced by construct().

◆ request_toggle_bookmark

void file_editor::request_toggle_bookmark ( bool  )
slot

Definition at line 727 of file file-editor.cc.

References fetab_toggle_bookmark(), and m_tab_widget.

Referenced by construct().

◆ request_toggle_breakpoint

void file_editor::request_toggle_breakpoint ( bool  )
slot

Definition at line 758 of file file-editor.cc.

References fetab_toggle_breakpoint(), and m_tab_widget.

Referenced by construct().

◆ request_transpose_line

void file_editor::request_transpose_line ( bool  )
slot

Definition at line 827 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ request_uncomment_selected_text

void file_editor::request_uncomment_selected_text ( bool  )
slot

Definition at line 838 of file file-editor.cc.

References fetab_uncomment_selected_text(), and m_tab_widget.

Referenced by construct().

◆ request_unindent_selected_text

void file_editor::request_unindent_selected_text ( bool  )
slot

Definition at line 866 of file file-editor.cc.

References fetab_unindent_selected_text(), and m_tab_widget.

Referenced by construct().

◆ request_upper_case

void file_editor::request_upper_case ( bool  )
slot

Definition at line 849 of file file-editor.cc.

References fetab_scintilla_command(), and m_tab_widget.

Referenced by construct().

◆ reset_focus

file_editor_tab * file_editor::reset_focus ( void  )
slot

◆ resizeEvent

void octave_dock_widget::resizeEvent ( QResizeEvent *  event)
slotinherited

◆ restore_session()

◆ run_file_signal

void file_editor::run_file_signal ( const QFileInfo &  )
signal

◆ save_session

◆ save_settings

◆ selectAll

void file_editor::selectAll ( void  )
protectedslot

Definition at line 1542 of file file-editor.cc.

References editor_tab_has_focus(), fetab_scintilla_command(), and m_tab_widget.

◆ set_adopted()

void octave_dock_widget::set_adopted ( bool  adopted = true)
inlineinherited

◆ set_focus

void file_editor::set_focus ( QWidget fet)
slot

Definition at line 390 of file file-editor.cc.

References m_tab_widget.

Referenced by make_file_editor_tab().

◆ set_focus_predecessor()

◆ set_main_window()

◆ set_predecessor_widget()

void octave_dock_widget::set_predecessor_widget ( octave_dock_widget prev_widget)
inherited

◆ set_shortcuts

void file_editor::set_shortcuts ( void  )
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().

◆ set_style()

◆ set_title()

void label_dock_widget::set_title ( const QString &  title)
inherited

◆ show_eol_chars

void file_editor::show_eol_chars ( bool  )
privateslot

Definition at line 1786 of file file-editor.cc.

References ed_show_eol_chars(), and toggle_preference().

Referenced by construct().

◆ show_hscrollbar

void file_editor::show_hscrollbar ( bool  )
privateslot

Definition at line 1811 of file file-editor.cc.

References ed_show_hscroll_bar(), and toggle_preference().

Referenced by construct().

◆ show_indent_guides

void file_editor::show_indent_guides ( bool  )
privateslot

Definition at line 1791 of file file-editor.cc.

References ed_show_indent_guides(), and toggle_preference().

Referenced by construct().

◆ show_line_numbers

void file_editor::show_line_numbers ( bool  )
privateslot

Definition at line 1776 of file file-editor.cc.

References ed_show_line_numbers(), and toggle_preference().

Referenced by construct().

◆ show_long_line

void file_editor::show_long_line ( bool  )
privateslot

Definition at line 1796 of file file-editor.cc.

References ed_long_line_marker(), and toggle_preference().

Referenced by construct().

◆ show_statusbar

void file_editor::show_statusbar ( bool  )
privateslot

Definition at line 1806 of file file-editor.cc.

References ed_show_edit_status_bar(), and toggle_preference().

Referenced by construct().

◆ show_toolbar

void file_editor::show_toolbar ( bool  )
privateslot

Definition at line 1801 of file file-editor.cc.

References ed_show_toolbar(), and toggle_preference().

Referenced by construct().

◆ show_white_space

void file_editor::show_white_space ( bool  )
privateslot

Definition at line 1781 of file file-editor.cc.

References ed_show_white_space(), and toggle_preference().

Referenced by construct().

◆ store_geometry()

void octave_dock_widget::store_geometry ( void  )
privateinherited

◆ toggle_preference()

◆ toolbar()

QToolBar* file_editor::toolbar ( void  )
inlinevirtual

Implements file_editor_interface.

Definition at line 107 of file file-editor.h.

References m_tool_bar.

◆ toplevel_change

void file_editor::toplevel_change ( bool  toplevel)
slot

Definition at line 1509 of file file-editor.cc.

References find_create(), and m_find_dialog.

◆ update_gui_lexer_signal

void file_editor::update_gui_lexer_signal ( bool  )
signal

◆ update_octave_directory

void file_editor::update_octave_directory ( const QString &  dir)
slot

Definition at line 1522 of file file-editor.cc.

References fetab_set_directory(), and m_ced.

Referenced by main_window::adopt_editor_widget().

◆ zoom_in

void file_editor::zoom_in ( bool  )
privateslot

Definition at line 1816 of file file-editor.cc.

References fetab_zoom_in(), and m_tab_widget.

Referenced by construct().

◆ zoom_normal

void file_editor::zoom_normal ( bool  )
privateslot

Definition at line 1826 of file file-editor.cc.

References fetab_zoom_normal(), and m_tab_widget.

Referenced by construct().

◆ zoom_out

void file_editor::zoom_out ( bool  )
privateslot

Definition at line 1821 of file file-editor.cc.

References fetab_zoom_out(), and m_tab_widget.

Referenced by construct().

Member Data Documentation

◆ m_adopted

bool octave_dock_widget::m_adopted
privateinherited

◆ m_bg_color

QColor octave_dock_widget::m_bg_color
privateinherited

◆ m_bg_color_active

QColor octave_dock_widget::m_bg_color_active
privateinherited

◆ m_ced

QString file_editor::m_ced
private

Definition at line 374 of file file-editor.h.

Referenced by file_editor(), request_new_file(), and update_octave_directory().

◆ m_close_action

QAction* file_editor::m_close_action
private

Definition at line 447 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_close_all_action

QAction* file_editor::m_close_all_action
private

Definition at line 448 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_close_button

QToolButton* label_dock_widget::m_close_button
protectedinherited

Definition at line 78 of file octave-dock-widget.h.

Referenced by octave_dock_widget::set_style().

◆ m_close_others_action

QAction* file_editor::m_close_others_action
private

Definition at line 449 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_closed

bool file_editor::m_closed
private

Definition at line 485 of file file-editor.h.

Referenced by file_editor(), closeEvent(), and handle_visibility().

◆ m_closing_canceled

bool file_editor::m_closing_canceled
private

Definition at line 484 of file file-editor.h.

Referenced by check_closing(), and handle_tab_ready_to_close().

◆ m_comment_selection_action

QAction* file_editor::m_comment_selection_action
private

Definition at line 386 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_comment_var_selection_action

QAction* file_editor::m_comment_var_selection_action
private

Definition at line 387 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_completion_action

QAction* file_editor::m_completion_action
private

Definition at line 430 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_context_doc_action

QAction* file_editor::m_context_doc_action
private

Definition at line 401 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_context_help_action

QAction* file_editor::m_context_help_action
private

Definition at line 400 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_conv_eol_mac_action

QAction* file_editor::m_conv_eol_mac_action
private

Definition at line 394 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_conv_eol_unix_action

QAction* file_editor::m_conv_eol_unix_action
private

Definition at line 393 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_conv_eol_windows_action

QAction* file_editor::m_conv_eol_windows_action
private

Definition at line 392 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_copy_action

QAction* file_editor::m_copy_action
private

◆ m_copy_action_enabled

bool file_editor::m_copy_action_enabled
private

Definition at line 468 of file file-editor.h.

Referenced by file_editor(), enable_menu_shortcuts(), and handle_editor_state_changed().

◆ m_copy_line_action

QAction* file_editor::m_copy_line_action
private

Definition at line 420 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_current_tab_modified

bool file_editor::m_current_tab_modified
private

◆ m_custom_style

bool octave_dock_widget::m_custom_style
privateinherited

◆ m_cut_action

QAction* file_editor::m_cut_action
private

◆ m_cut_line_action

QAction* file_editor::m_cut_line_action
private

Definition at line 421 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_debug_menu

QMenu* file_editor::m_debug_menu
private

Definition at line 378 of file file-editor.h.

Referenced by construct(), and debug_menu().

◆ m_default_close_button

QAbstractButton* label_dock_widget::m_default_close_button
protectedinherited

Definition at line 83 of file octave-dock-widget.h.

◆ m_default_float_button

QAbstractButton* label_dock_widget::m_default_float_button
protectedinherited

◆ m_delete_end_line_action

QAction* file_editor::m_delete_end_line_action
private

Definition at line 418 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_delete_end_word_action

QAction* file_editor::m_delete_end_word_action
private

Definition at line 416 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_delete_line_action

QAction* file_editor::m_delete_line_action
private

Definition at line 419 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_delete_start_line_action

QAction* file_editor::m_delete_start_line_action
private

Definition at line 417 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_delete_start_word_action

QAction* file_editor::m_delete_start_word_action
private

Definition at line 415 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_dock_action

◆ m_dock_button

QToolButton* label_dock_widget::m_dock_button
protectedinherited

Definition at line 77 of file octave-dock-widget.h.

Referenced by octave_dock_widget::set_style().

◆ m_duplicate_selection_action

QAction* file_editor::m_duplicate_selection_action
private

Definition at line 422 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_edit_cmd_menu

QMenu* file_editor::m_edit_cmd_menu
private

Definition at line 474 of file file-editor.h.

Referenced by check_actions(), construct(), and create_context_menu().

◆ m_edit_fmt_menu

QMenu* file_editor::m_edit_fmt_menu
private

Definition at line 475 of file file-editor.h.

Referenced by check_actions(), construct(), and create_context_menu().

◆ m_edit_function_action

QAction* file_editor::m_edit_function_action
private

Definition at line 443 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_edit_menu

QMenu* file_editor::m_edit_menu
private

Definition at line 473 of file file-editor.h.

Referenced by construct(), and insert_global_actions().

◆ m_edit_nav_menu

QMenu* file_editor::m_edit_nav_menu
private

Definition at line 476 of file file-editor.h.

Referenced by check_actions(), construct(), and create_context_menu().

◆ m_editor_ready

bool file_editor::m_editor_ready
private

Definition at line 487 of file file-editor.h.

Referenced by file_editor(), empty_script(), and handle_visibility().

◆ m_fg_color

QColor octave_dock_widget::m_fg_color
privateinherited

◆ m_fg_color_active

QColor octave_dock_widget::m_fg_color_active
privateinherited

◆ m_fileMenu

QMenu* file_editor::m_fileMenu
private

Definition at line 477 of file file-editor.h.

Referenced by construct(), and insert_global_actions().

◆ m_find_action

QAction* file_editor::m_find_action
private

◆ m_find_dialog

◆ m_find_files_action

QAction* file_editor::m_find_files_action
private

Definition at line 428 of file file-editor.h.

Referenced by create_context_menu(), and insert_global_actions().

◆ m_find_next_action

QAction* file_editor::m_find_next_action
private

◆ m_find_previous_action

QAction* file_editor::m_find_previous_action
private

◆ m_focus_follows_mouse

bool octave_dock_widget::m_focus_follows_mouse
privateinherited

◆ m_goto_line_action

QAction* file_editor::m_goto_line_action
private

Definition at line 429 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_hash_menu_text

QHash<QMenu *, QStringList> file_editor::m_hash_menu_text
private

Definition at line 372 of file file-editor.h.

Referenced by add_menu(), and enable_menu_shortcuts().

◆ m_icon_color

◆ m_icon_color_active

QString octave_dock_widget::m_icon_color_active
privateinherited

◆ m_icon_size

int label_dock_widget::m_icon_size
protectedinherited

◆ m_indent_selection_action

QAction* file_editor::m_indent_selection_action
private

Definition at line 389 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_is_octave_file

bool file_editor::m_is_octave_file
private

Definition at line 470 of file file-editor.h.

Referenced by check_actions(), and handle_editor_state_changed().

◆ m_lower_case_action

QAction* file_editor::m_lower_case_action
private

Definition at line 385 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_main_window

main_window* octave_dock_widget::m_main_window
privateinherited

◆ m_marker_breakpoint

int file_editor::m_marker_breakpoint
private

Definition at line 482 of file file-editor.h.

◆ m_menu_bar

QMenuBar* file_editor::m_menu_bar
private

Definition at line 376 of file file-editor.h.

Referenced by construct(), and menubar().

◆ m_move_tab_left_action

QAction* file_editor::m_move_tab_left_action
private

Definition at line 459 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_move_tab_right_action

QAction* file_editor::m_move_tab_right_action
private

Definition at line 460 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_move_to_matching_brace

QAction* file_editor::m_move_to_matching_brace
private

Definition at line 432 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_mru_file_actions

QAction* file_editor::m_mru_file_actions[MaxMRUFiles]
private

Definition at line 491 of file file-editor.h.

Referenced by construct(), and mru_menu_update().

◆ m_mru_file_menu

QMenu* file_editor::m_mru_file_menu
private

Definition at line 490 of file file-editor.h.

Referenced by construct(), get_mru_menu(), and insert_global_actions().

◆ m_mru_files

QStringList file_editor::m_mru_files
private

Definition at line 492 of file file-editor.h.

Referenced by construct(), handle_mru_add_file(), and mru_menu_update().

◆ m_mru_files_encodings

QStringList file_editor::m_mru_files_encodings
private

Definition at line 493 of file file-editor.h.

Referenced by construct(), handle_mru_add_file(), and mru_menu_update().

◆ m_new_action

QAction* file_editor::m_new_action
private

Definition at line 380 of file file-editor.h.

◆ m_new_function_action

QAction* file_editor::m_new_function_action
private

Definition at line 381 of file file-editor.h.

◆ m_next_bookmark_action

QAction* file_editor::m_next_bookmark_action
private

Definition at line 434 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_next_breakpoint_action

QAction* file_editor::m_next_breakpoint_action
private

Definition at line 464 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_no_focus

bool file_editor::m_no_focus
private

Definition at line 486 of file file-editor.h.

Referenced by file_editor(), activate(), and handle_file_renamed().

◆ m_number_of_tabs

int file_editor::m_number_of_tabs
private

Definition at line 371 of file file-editor.h.

Referenced by check_closing(), and handle_tab_ready_to_close().

◆ m_octave_qobj

◆ m_open_action

QAction* file_editor::m_open_action
private

Definition at line 382 of file file-editor.h.

◆ m_paste_action

QAction* file_editor::m_paste_action
private

Definition at line 398 of file file-editor.h.

Referenced by file_editor(), create_context_menu(), and insert_global_actions().

◆ m_popdown_mru_action

QAction* file_editor::m_popdown_mru_action
private

Definition at line 444 of file file-editor.h.

Referenced by construct(), and insert_global_actions().

◆ m_predecessor_widget

octave_dock_widget* octave_dock_widget::m_predecessor_widget
privateinherited

◆ m_preferences_action

QAction* file_editor::m_preferences_action
private

Definition at line 454 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_previous_bookmark_action

QAction* file_editor::m_previous_bookmark_action
private

Definition at line 435 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_previous_breakpoint_action

QAction* file_editor::m_previous_breakpoint_action
private

Definition at line 465 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_print_action

QAction* file_editor::m_print_action
private

Definition at line 439 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_recent_dock_geom

QRect octave_dock_widget::m_recent_dock_geom
privateinherited

◆ m_recent_float_geom

QRect octave_dock_widget::m_recent_float_geom
privateinherited

◆ m_redo_action

QAction* file_editor::m_redo_action
private

Definition at line 451 of file file-editor.h.

Referenced by construct(), edit_status_update(), insert_global_actions(), and set_shortcuts().

◆ m_remove_all_breakpoints_action

QAction* file_editor::m_remove_all_breakpoints_action
private

Definition at line 466 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_remove_bookmark_action

QAction* file_editor::m_remove_bookmark_action
private

Definition at line 437 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_run_action

QAction* file_editor::m_run_action
private

◆ m_run_selection_action

QAction* file_editor::m_run_selection_action
private

◆ m_save_action

QAction* file_editor::m_save_action
private

◆ m_save_as_action

QAction* file_editor::m_save_as_action
private

Definition at line 446 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_sel_to_matching_brace

QAction* file_editor::m_sel_to_matching_brace
private

Definition at line 433 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_selectall_action

QAction* file_editor::m_selectall_action
private

Definition at line 399 of file file-editor.h.

Referenced by file_editor(), create_context_menu(), and insert_global_actions().

◆ m_show_eol_action

QAction* file_editor::m_show_eol_action
private

Definition at line 405 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_hscrollbar_action

QAction* file_editor::m_show_hscrollbar_action
private

Definition at line 410 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_indguide_action

QAction* file_editor::m_show_indguide_action
private

Definition at line 406 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_linenum_action

QAction* file_editor::m_show_linenum_action
private

Definition at line 403 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_longline_action

QAction* file_editor::m_show_longline_action
private

Definition at line 407 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_statusbar_action

QAction* file_editor::m_show_statusbar_action
private

Definition at line 409 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_toolbar_action

QAction* file_editor::m_show_toolbar_action
private

Definition at line 408 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_show_whitespace_action

QAction* file_editor::m_show_whitespace_action
private

Definition at line 404 of file file-editor.h.

Referenced by construct(), notice_settings(), and set_shortcuts().

◆ m_smart_indent_line_or_selection_action

QAction* file_editor::m_smart_indent_line_or_selection_action
private

Definition at line 391 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_sort_tabs_action

QAction* file_editor::m_sort_tabs_action
private

Definition at line 461 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_styles_preferences_action

QAction* file_editor::m_styles_preferences_action
private

Definition at line 455 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_switch_left_tab_action

QAction* file_editor::m_switch_left_tab_action
private

Definition at line 457 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_switch_right_tab_action

QAction* file_editor::m_switch_right_tab_action
private

Definition at line 458 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_tab_widget

file_editor_tab_widget* file_editor::m_tab_widget
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().

◆ m_title_3d

int octave_dock_widget::m_title_3d
privateinherited

◆ m_title_widget

QWidget* label_dock_widget::m_title_widget
protectedinherited

◆ m_tmp_closed_files

QList<removed_file_data> file_editor::m_tmp_closed_files
private

Definition at line 498 of file file-editor.h.

Referenced by handle_dir_remove(), handle_file_remove(), and handle_file_renamed().

◆ m_toggle_bookmark_action

QAction* file_editor::m_toggle_bookmark_action
private

Definition at line 436 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_toggle_breakpoint_action

QAction* file_editor::m_toggle_breakpoint_action
private

Definition at line 463 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_tool_bar

QToolBar* file_editor::m_tool_bar
private

Definition at line 377 of file file-editor.h.

Referenced by construct(), insert_global_actions(), notice_settings(), and toolbar().

◆ m_transpose_line_action

QAction* file_editor::m_transpose_line_action
private

Definition at line 423 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_uncomment_selection_action

QAction* file_editor::m_uncomment_selection_action
private

Definition at line 388 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_undo_action

QAction* file_editor::m_undo_action
private

◆ m_undo_action_enabled

bool file_editor::m_undo_action_enabled
private

Definition at line 469 of file file-editor.h.

Referenced by file_editor(), enable_menu_shortcuts(), and handle_editor_state_changed().

◆ m_unindent_selection_action

QAction* file_editor::m_unindent_selection_action
private

Definition at line 390 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_upper_case_action

QAction* file_editor::m_upper_case_action
private

Definition at line 384 of file file-editor.h.

Referenced by construct(), and set_shortcuts().

◆ m_view_editor_menu

QMenu* file_editor::m_view_editor_menu
private

Definition at line 478 of file file-editor.h.

Referenced by check_actions(), and construct().

◆ m_waiting_for_mouse_button_release

bool octave_dock_widget::m_waiting_for_mouse_button_release
privateinherited

◆ m_zoom_in_action

QAction* file_editor::m_zoom_in_action
private

Definition at line 411 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_zoom_normal_action

QAction* file_editor::m_zoom_normal_action
private

Definition at line 413 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().

◆ m_zoom_out_action

QAction* file_editor::m_zoom_out_action
private

Definition at line 412 of file file-editor.h.

Referenced by check_actions(), construct(), and set_shortcuts().


The documentation for this class was generated from the following files: