GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
file_editor Class Reference

#include "file-editor.h"

Inheritance diagram for file_editor:
Inheritance graph
[legend]
Collaboration diagram for file_editor:
Collaboration graph
[legend]

Classes

struct  session_data
 
struct  tab_info
 

Public Types

typedef std::map< QString,
tab_info >::const_iterator 
editor_tab_map_const_iterator
 
typedef std::map< QString,
tab_info >::iterator 
editor_tab_map_iterator
 
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 active_tab_changed (int index)
 
bool check_closing (void)
 
void check_conflict_save (const QString &fileName, bool remove_on_success)
 
void enable_menu_shortcuts (bool)
 
void focus (void)
 
void handle_active_dock_changed (octave_dock_widget *, octave_dock_widget *)
 
void handle_add_filename_to_list (const QString &fileName, const QString &encoding, QWidget *ID)
 
void handle_delete_debugger_pointer_request (const QString &file, int line)
 
void handle_edit_file_request (const QString &file)
 
void handle_edit_mfile_request (const QString &name, const QString &file, const QString &curr_dir, int line)
 
void handle_editor_state_changed (bool enableCopy, bool is_octave_file)
 
void handle_file_name_changed (const QString &fileName, const QString &toolTip)
 
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 QSettings *)
 
void handle_tab_close_request (int index)
 
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)
 
QMainWindowmain_win ()
 
void notice_settings (const QSettings *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_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_new_function (bool triggered=true)
 
void request_new_script (const QString &commands)
 
void request_next_bookmark (bool)
 
void request_next_breakpoint (bool)
 
void request_open_file (void)
 
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_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)
 
void save_settings (void)
 
void set_shortcuts ()
 
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 the active dock widget has changed. More...
 
void execute_command_in_terminal_signal (const QString &)
 
void fetab_change_request (const QWidget *ID)
 
void fetab_check_modified_file (void)
 
void fetab_comment_selected_text (const QWidget *ID)
 
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_file_name_query (const QWidget *ID)
 
void fetab_find (const QWidget *ID, QList< QAction * >)
 
void fetab_find_next (const QWidget *ID)
 
void fetab_find_previous (const QWidget *ID)
 
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)
 
void fetab_save_file (const QWidget *ID, const QString &fileName, bool remove_on_success)
 
void fetab_save_file (const QWidget *ID)
 
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 QSettings *settings)
 
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 request_settings_dialog (const QString &)
 

Public Member Functions

 file_editor (QWidget *p)
 
 ~file_editor (void)
 
void check_actions (void)
 
virtual void connect_visibility_changed (void)
 
QMenu * debug_menu (void)
 
void empty_script (bool startup, bool visible)
 
QMenu * get_mru_menu (void)
 
void handle_enter_debug_mode (void)
 
void handle_exit_debug_mode (void)
 
void insert_global_actions (QList< QAction * >)
 
void loadFile (const QString &fileName)
 
void make_widget (bool dock=true)
 
void make_window (void)
 
void set_predecessor_widget (octave_dock_widget *prev_widget)
 
void set_title (const QString &)
 
QToolBar * toolbar (void)
 

Protected Slots

void copyClipboard ()
 
void do_undo ()
 
bool eventFilter (QObject *obj, QEvent *e)
 
virtual void handle_visibility_changed (bool visible)
 Slot to steer changing visibility from outside. More...
 
void pasteClipboard ()
 
void selectAll ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
 
void dragEnterEvent (QDragEnterEvent *event)
 
void dropEvent (QDropEvent *event)
 
QWidgetfocusWidget ()
 

Private Types

enum  { MaxMRUFiles = 10 }
 

Private Slots

void create_context_menu (QMenu *)
 
void edit_status_update (bool, bool)
 
void handle_combo_enc_current_index (QString new_encoding)
 
void move_tab_left ()
 
void move_tab_right ()
 
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="")
 
void request_open_files (const QStringList &)
 
void request_preferences (bool)
 
void request_styles_preferences (bool)
 
void restore_create_file_setting ()
 
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 switch_left_tab ()
 
void switch_right_tab ()
 
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)
 
void add_file_editor_tab (file_editor_tab *f, const QString &fn)
 
bool call_custom_editor (const QString &file_name=QString(), int line=-1)
 
void construct (void)
 
bool editor_tab_has_focus ()
 
QWidgetfind_tab_widget (const QString &openFileName) const
 
bool is_editor_console_tabbed ()
 
QMenu * m_add_menu (QMenuBar *p, QString text)
 
void mru_menu_update (void)
 
void restore_session (QSettings *settings)
 
void save_file_as (QWidget *fetabID=0)
 
void switch_tab (int direction, bool movetab=false)
 
void toggle_preference (const QString &preference, bool def)
 

Private Attributes

QAction * _close_action
 
QAction * _close_all_action
 
QAction * _close_others_action
 
QAction * _comment_selection_action
 
QAction * _completion_action
 
QAction * _context_doc_action
 
QAction * _context_help_action
 
QAction * _conv_eol_mac_action
 
QAction * _conv_eol_unix_action
 
QAction * _conv_eol_windows_action
 
QAction * _copy_action
 
QAction * _copy_line_action
 
QAction * _cut_action
 
QAction * _cut_line_action
 
QMenu * _debug_menu
 
QAction * _delete_end_line_action
 
QAction * _delete_end_word_action
 
QAction * _delete_line_action
 
QAction * _delete_start_line_action
 
QAction * _delete_start_word_action
 
QAction * _duplicate_selection_action
 
QMenu * _edit_cmd_menu
 
QMenu * _edit_fmt_menu
 
QAction * _edit_function_action
 
QMenu * _edit_menu
 
QMenu * _edit_nav_menu
 
QList< QAction * > _fetab_actions
 
QString _file_encoding
 
QMenu * _fileMenu
 
QAction * _find_action
 
QAction * _find_files_action
 
QAction * _find_next_action
 
QAction * _find_previous_action
 
QAction * _goto_line_action
 
QHash< QMenu *, QStringList > _hash_menu_text
 
QAction * _indent_selection_action
 
QAction * _lower_case_action
 
int _marker_breakpoint
 
QMenuBar_menu_bar
 
QAction * _move_tab_left_action
 
QAction * _move_tab_right_action
 
QAction * _move_to_matching_brace
 
QAction * _mru_file_actions [MaxMRUFiles]
 
QMenu * _mru_file_menu
 
QStringList _mru_files
 
QStringList _mru_files_encodings
 
QAction * _new_action
 
QAction * _new_function_action
 
QAction * _next_bookmark_action
 
QAction * _next_breakpoint_action
 
QAction * _open_action
 
QAction * _paste_action
 
QAction * _popdown_mru_action
 
QAction * _preferences_action
 
QAction * _previous_bookmark_action
 
QAction * _previous_breakpoint_action
 
QAction * _print_action
 
QAction * _redo_action
 
QAction * _remove_all_breakpoints_action
 
QAction * _remove_bookmark_action
 
QAction * _run_action
 
QAction * _run_selection_action
 
QAction * _save_action
 
QAction * _save_as_action
 
QAction * _sel_to_matching_brace
 
QAction * _selectall_action
 
QAction * _show_eol_action
 
QAction * _show_hscrollbar_action
 
QAction * _show_indguide_action
 
QAction * _show_linenum_action
 
QAction * _show_longline_action
 
QAction * _show_statusbar_action
 
QAction * _show_toolbar_action
 
QAction * _show_whitespace_action
 
QAction * _styles_preferences_action
 
QAction * _switch_left_tab_action
 
QAction * _switch_right_tab_action
 
tab_widget_tab_widget
 
QAction * _toggle_bookmark_action
 
QAction * _toggle_breakpoint_action
 
QToolBar * _tool_bar
 
QAction * _transpose_line_action
 
QAction * _uncomment_selection_action
 
QAction * _undo_action
 
QAction * _unindent_selection_action
 
QAction * _upper_case_action
 
QMenu * _view_editor_menu
 
QAction * _zoom_in_action
 
QAction * _zoom_normal_action
 
QAction * _zoom_out_action
 
QString ced
 
std::map< QString, tab_infoeditor_tab_map
 

Detailed Description

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

Member Typedef Documentation

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

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

Member Enumeration Documentation

anonymous enum
private
Enumerator
MaxMRUFiles 

Definition at line 436 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 91 of file file-editor.h.

Constructor & Destructor Documentation

file_editor::file_editor ( QWidget p)
file_editor::~file_editor ( void  )

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

References _mru_file_menu.

Member Function Documentation

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.

Definition at line 142 of file moc-octave-dock-widget.cc.

Referenced by octave_dock_widget::change_visibility(), octave_dock_widget::closeEvent(), workspace_view::closeEvent(), octave_dock_widget::connect_visibility_changed(), and octave_dock_widget::handle_visibility_changed().

void file_editor::active_tab_changed ( int  index)
slot

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

References _tab_widget, and fetab_change_request().

Referenced by construct().

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

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

References a.

Referenced by construct().

void file_editor::add_file_editor_tab ( file_editor_tab f,
const QString &  fn 
)
private

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

References _tab_widget, check_actions(), check_conflict_save(), create_context_menu(), edit_status_update(), execute_command_in_terminal_signal(), fetab_change_request(), fetab_check_modified_file(), 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_file_name_query(), fetab_find(), fetab_find_next(), fetab_find_previous(), 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_toggle_bookmark(), fetab_toggle_breakpoint(), fetab_uncomment_selected_text(), fetab_unindent_selected_text(), fetab_zoom_in(), fetab_zoom_normal(), fetab_zoom_out(), find(), handle_add_filename_to_list(), handle_edit_mfile_request(), handle_editor_state_changed(), handle_file_name_changed(), handle_mru_add_file(), handle_tab_remove_request(), octave_dock_widget::main_win(), notice_settings(), file_editor_tab::qsci_edit_area(), request_open_file(), save_file_as(), zoom_in(), zoom_normal(), and zoom_out().

Referenced by request_new_file(), and request_open_file().

bool file_editor::call_custom_editor ( const QString &  file_name = QString (),
int  line = -1 
)
private
void file_editor::check_actions ( void  )
bool file_editor::check_closing ( void  )
slot
void file_editor::check_conflict_save ( const QString &  fileName,
bool  remove_on_success 
)
slot
void octave_dock_widget::closeEvent ( QCloseEvent *  e)
protectedvirtualinherited
void octave_dock_widget::connect_visibility_changed ( void  )
virtualinherited
void file_editor::construct ( void  )
private

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

References _close_action, _close_all_action, _close_others_action, _comment_selection_action, _completion_action, _context_doc_action, _context_help_action, _conv_eol_mac_action, _conv_eol_unix_action, _conv_eol_windows_action, _copy_line_action, _cut_action, _cut_line_action, _debug_menu, _delete_end_line_action, _delete_end_word_action, _delete_line_action, _delete_start_line_action, _delete_start_word_action, _duplicate_selection_action, _edit_cmd_menu, _edit_fmt_menu, _edit_function_action, _edit_menu, _edit_nav_menu, _fileMenu, _find_action, _find_next_action, _find_previous_action, _goto_line_action, _indent_selection_action, _lower_case_action, _menu_bar, _move_tab_left_action, _move_tab_right_action, _move_to_matching_brace, _mru_file_actions, _mru_file_menu, _mru_files, _mru_files_encodings, _next_bookmark_action, _next_breakpoint_action, _popdown_mru_action, _preferences_action, _previous_bookmark_action, _previous_breakpoint_action, _print_action, _redo_action, _remove_all_breakpoints_action, _remove_bookmark_action, _run_action, _run_selection_action, _save_action, _save_as_action, _sel_to_matching_brace, _show_eol_action, _show_hscrollbar_action, _show_indguide_action, _show_linenum_action, _show_longline_action, _show_statusbar_action, _show_toolbar_action, _show_whitespace_action, _styles_preferences_action, _switch_left_tab_action, _switch_right_tab_action, _tab_widget, _toggle_bookmark_action, _toggle_breakpoint_action, _tool_bar, _transpose_line_action, _uncomment_selection_action, _unindent_selection_action, _upper_case_action, _view_editor_menu, _zoom_in_action, _zoom_normal_action, _zoom_out_action, active_tab_changed(), add_action(), check_actions(), execute_command_in_terminal_signal(), resource_manager::get_settings(), handle_edit_mfile_request(), handle_tab_close_request(), resource_manager::icon(), m_add_menu(), octave_dock_widget::main_win(), MaxMRUFiles, move_tab_left(), move_tab_right(), mru_menu_update(), request_close_all_files(), request_close_file(), request_close_other_files(), request_comment_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_new_file(), request_next_bookmark(), request_next_breakpoint(), request_open_file(), request_preferences(), request_previous_bookmark(), request_previous_breakpoint(), request_print_file(), request_redo(), request_remove_bookmark(), request_remove_breakpoint(), request_run_file(), request_save_file(), request_save_file_as(), request_sel_match_brace(), request_settings_dialog(), request_styles_preferences(), request_toggle_bookmark(), request_toggle_breakpoint(), request_transpose_line(), request_uncomment_selected_text(), request_unindent_selected_text(), request_upper_case(), restore_session(), octave_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(), switch_left_tab(), switch_right_tab(), zoom_in(), zoom_normal(), and zoom_out().

Referenced by file_editor().

void file_editor::copyClipboard ( void  )
protectedslot

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

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

void file_editor::create_context_menu ( QMenu *  menu)
privateslot
QMenu * file_editor::debug_menu ( void  )
virtual

Implements file_editor_interface.

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

References _debug_menu.

void file_editor::do_undo ( void  )
protectedslot

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

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

void file_editor::dragEnterEvent ( QDragEnterEvent *  event)
protected

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

void file_editor::dropEvent ( QDropEvent *  event)
protected

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

References request_open_file(), and url.

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

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

References _redo_action, and _undo_action.

Referenced by add_file_editor_tab().

bool file_editor::editor_tab_has_focus ( )
private

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

References octave_dock_widget::focusWidget().

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

void file_editor::empty_script ( bool  startup,
bool  visible 
)
virtual
void file_editor::enable_menu_shortcuts ( bool  enable)
slot

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

References _copy_action, _hash_menu_text, and _undo_action.

bool octave_dock_widget::eventFilter ( QObject obj,
QEvent *  e 
)
protectedslotinherited

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

void file_editor::execute_command_in_terminal_signal ( const QString &  _t1)
signal

Definition at line 910 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), construct(), and request_new_function().

void file_editor::fetab_change_request ( const QWidget ID)
signal

Definition at line 625 of file moc-file-editor.cc.

Referenced by active_tab_changed(), and add_file_editor_tab().

void file_editor::fetab_check_modified_file ( void  )
signal

Definition at line 660 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and check_closing().

void file_editor::fetab_comment_selected_text ( const QWidget ID)
signal

Definition at line 757 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_comment_selected_text().

void file_editor::fetab_completion ( const QWidget _t1)
signal

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

Referenced by add_file_editor_tab(), and request_completion().

void file_editor::fetab_context_edit ( const QWidget ID)
signal

Definition at line 653 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_context_edit().

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

Definition at line 694 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_context_run().

void file_editor::fetab_convert_eol ( const QWidget ID,
QsciScintilla::EolMode  eol_mode 
)
signal
void file_editor::fetab_delete_debugger_pointer ( const QWidget ID,
int  line = -1 
)
signal
void file_editor::fetab_do_breakpoint_marker ( bool  insert,
const QWidget ID,
int  line = -1,
const QString &  _t4 = "" 
)
signal

Definition at line 848 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_open_file().

void file_editor::fetab_file_name_query ( const QWidget ID)
signal
void file_editor::fetab_find ( const QWidget ID,
QList< QAction * >  _t2 
)
signal

Definition at line 792 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_find().

void file_editor::fetab_find_next ( const QWidget ID)
signal

Definition at line 799 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_find_next().

void file_editor::fetab_find_previous ( const QWidget ID)
signal

Definition at line 806 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_find_previous().

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

Definition at line 813 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), request_goto_line(), and request_open_file().

void file_editor::fetab_indent_selected_text ( const QWidget ID)
signal

Definition at line 771 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_indent_selected_text().

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

Definition at line 834 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_open_file().

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

Definition at line 708 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_next_bookmark().

void file_editor::fetab_next_breakpoint ( const QWidget ID)
signal

Definition at line 736 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_next_breakpoint().

void file_editor::fetab_previous_bookmark ( const QWidget ID)
signal

Definition at line 715 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_previous_bookmark().

void file_editor::fetab_previous_breakpoint ( const QWidget ID)
signal

Definition at line 743 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_previous_breakpoint().

void file_editor::fetab_print_file ( const QWidget ID)
signal

Definition at line 680 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_print_file().

void file_editor::fetab_recover_from_exit ( void  )
signal

Definition at line 897 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and check_closing().

void file_editor::fetab_remove_all_breakpoints ( const QWidget ID)
signal

Definition at line 750 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_remove_breakpoint().

void file_editor::fetab_remove_bookmark ( const QWidget ID)
signal

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

Referenced by add_file_editor_tab(), and request_remove_bookmark().

void file_editor::fetab_run_file ( const QWidget ID)
signal

Definition at line 687 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_run_file().

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

Definition at line 639 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), check_conflict_save(), and request_save_file().

void file_editor::fetab_save_file ( const QWidget ID)
signal

Definition at line 666 of file moc-file-editor.cc.

void file_editor::fetab_save_file_as ( const QWidget ID)
signal

Definition at line 673 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_save_file_as().

void file_editor::fetab_scintilla_command ( const QWidget ID,
unsigned int  sci_msg 
)
signal
void file_editor::fetab_set_directory ( const QString &  dir)
signal

Definition at line 890 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and update_octave_directory().

void file_editor::fetab_set_focus ( const QWidget ID)
signal
void file_editor::fetab_settings_changed ( const QSettings *  settings)
signal

Definition at line 618 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and notice_settings().

void file_editor::fetab_toggle_bookmark ( const QWidget ID)
signal

Definition at line 701 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_toggle_bookmark().

void file_editor::fetab_toggle_breakpoint ( const QWidget ID)
signal

Definition at line 729 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_toggle_breakpoint().

void file_editor::fetab_uncomment_selected_text ( const QWidget ID)
signal

Definition at line 764 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_uncomment_selected_text().

void file_editor::fetab_unindent_selected_text ( const QWidget ID)
signal

Definition at line 778 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and request_unindent_selected_text().

void file_editor::fetab_zoom_in ( const QWidget ID)
signal

Definition at line 869 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and zoom_in().

void file_editor::fetab_zoom_normal ( const QWidget ID)
signal

Definition at line 883 of file moc-file-editor.cc.

Referenced by add_file_editor_tab(), and zoom_normal().

void file_editor::fetab_zoom_out ( const QWidget ID)
signal

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

Referenced by add_file_editor_tab(), and zoom_out().

void file_editor::file_loaded_signal ( )
signal
QWidget * file_editor::find_tab_widget ( const QString &  openFileName) const
private
void file_editor::focus ( void  )
slot
QWidget * octave_dock_widget::focusWidget ( )
protectedinherited

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

References Faddeeva::w().

Referenced by editor_tab_has_focus().

QMenu* file_editor::get_mru_menu ( void  )
inlinevirtual

Implements file_editor_interface.

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

References _mru_file_menu.

void octave_dock_widget::handle_active_dock_changed ( octave_dock_widget w_old,
octave_dock_widget w_new 
)
slotinherited
void file_editor::handle_add_filename_to_list ( const QString &  fileName,
const QString &  encoding,
QWidget ID 
)
slot

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

References editor_tab_map.

Referenced by add_file_editor_tab().

void file_editor::handle_combo_enc_current_index ( QString  new_encoding)
privateslot

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

References _file_encoding.

Referenced by request_open_file().

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

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

References request_open_file().

void file_editor::handle_edit_mfile_request ( const QString &  name,
const QString &  file,
const QString &  curr_dir,
int  line 
)
slot
void file_editor::handle_editor_state_changed ( bool  enableCopy,
bool  is_octave_file 
)
slot

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

References _copy_action, _cut_action, _run_action, _run_selection_action, and _tab_widget.

Referenced by add_file_editor_tab().

void file_editor::handle_enter_debug_mode ( void  )
virtual

Implements file_editor_interface.

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

References _run_action.

void file_editor::handle_exit_debug_mode ( void  )
virtual

Implements file_editor_interface.

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

References _run_action, and shortcut_manager::set_shortcut().

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

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

References _tab_widget.

Referenced by add_file_editor_tab().

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

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

References request_open_file().

void file_editor::handle_mru_add_file ( const QString &  file_name,
const QString &  encoding 
)
slot
void octave_dock_widget::handle_settings ( const QSettings *  settings)
slotinherited
void file_editor::handle_tab_close_request ( int  index)
slot

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

References _tab_widget, and file_editor_tab::conditional_close().

Referenced by construct().

void file_editor::handle_tab_remove_request ( void  )
slot

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

References _tab_widget, check_actions(), and focus().

Referenced by add_file_editor_tab().

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

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

References request_open_file().

void file_editor::handle_visibility ( bool  visible)
slot

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

References empty_script(), and focus().

virtual void octave_dock_widget::handle_visibility_changed ( bool  visible)
inlineprotectedvirtualslotinherited

Slot to steer changing visibility from outside.

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

References octave_dock_widget::active_changed().

Referenced by octave_dock_widget::octave_dock_widget().

void file_editor::insert_global_actions ( QList< QAction * >  shared_actions)
virtual
bool file_editor::is_editor_console_tabbed ( )
private
void file_editor::loadFile ( const QString &  fileName)
QMenu * file_editor::m_add_menu ( QMenuBar p,
QString  text 
)
private

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

References _hash_menu_text, and name.

Referenced by construct().

QMainWindow* octave_dock_widget::main_win ( )
inlineslotinherited
void octave_dock_widget::make_widget ( bool  dock = true)
inherited
void octave_dock_widget::make_window ( void  )
inherited
void file_editor::move_tab_left ( )
privateslot

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

References switch_tab().

Referenced by construct().

void file_editor::move_tab_right ( )
privateslot

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

References switch_tab().

Referenced by construct().

void file_editor::mru_menu_update ( void  )
private
void file_editor::notice_settings ( const QSettings *  settings)
slot
void file_editor::pasteClipboard ( void  )
protectedslot

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

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

void file_editor::request_close_all_files ( bool  )
slot

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

References _tab_widget, and file_editor_tab::conditional_close().

Referenced by construct().

void file_editor::request_close_file ( bool  )
slot

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

References _tab_widget, and file_editor_tab::conditional_close().

Referenced by construct().

void file_editor::request_close_other_files ( bool  )
slot

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

References _tab_widget, and file_editor_tab::conditional_close().

Referenced by construct().

void file_editor::request_comment_selected_text ( bool  )
slot

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

References _tab_widget, and fetab_comment_selected_text().

Referenced by construct().

void file_editor::request_completion ( bool  )
slot

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

References _tab_widget, and fetab_completion().

Referenced by construct().

void file_editor::request_context_doc ( bool  )
slot

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

References _tab_widget, and fetab_context_help().

Referenced by construct().

void file_editor::request_context_edit ( bool  )
slot

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

References _tab_widget, and fetab_context_edit().

Referenced by construct().

void file_editor::request_context_help ( bool  )
slot

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

References _tab_widget, and fetab_context_help().

Referenced by construct().

void file_editor::request_context_run ( bool  )
slot

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

References _tab_widget, and fetab_context_run().

Referenced by construct().

void file_editor::request_conv_eol_mac ( bool  )
slot

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

References _tab_widget, and fetab_convert_eol().

Referenced by construct().

void file_editor::request_conv_eol_unix ( bool  )
slot

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

References _tab_widget, and fetab_convert_eol().

Referenced by construct().

void file_editor::request_conv_eol_windows ( bool  )
slot

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

References _tab_widget, and fetab_convert_eol().

Referenced by construct().

void file_editor::request_copy_line ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_cut ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_cut_line ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_delete_end_line ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_delete_end_word ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_delete_line ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_delete_start_line ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_delete_start_word ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_duplicate_selection ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_find ( bool  )
slot

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

References _fetab_actions, _tab_widget, and fetab_find().

Referenced by construct().

void file_editor::request_find_next ( bool  )
slot

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

References _tab_widget, and fetab_find_next().

Referenced by construct().

void file_editor::request_find_previous ( bool  )
slot

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

References _tab_widget, and fetab_find_previous().

Referenced by construct().

void file_editor::request_goto_line ( bool  )
slot

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

References _tab_widget, and fetab_goto_line().

Referenced by construct().

void file_editor::request_indent_selected_text ( bool  )
slot

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

References _tab_widget, and fetab_indent_selected_text().

Referenced by construct().

void file_editor::request_lower_case ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_move_match_brace ( bool  )
slot

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

References _tab_widget, and fetab_move_match_brace().

Referenced by construct().

void file_editor::request_mru_open_file ( QAction *  action)
slot

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

References request_open_file().

Referenced by construct().

void file_editor::request_new_file ( const QString &  commands)
slot
void file_editor::request_new_function ( bool  triggered = true)
slot
void file_editor::request_new_script ( const QString &  commands)
slot

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

References request_new_file().

void file_editor::request_next_bookmark ( bool  )
slot

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

References _tab_widget, and fetab_next_bookmark().

Referenced by construct().

void file_editor::request_next_breakpoint ( bool  )
slot

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

References _tab_widget, and fetab_next_breakpoint().

Referenced by construct().

void file_editor::request_open_file ( void  )
slot
void file_editor::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 = "" 
)
privateslot
void file_editor::request_open_files ( const QStringList &  open_file_names)
privateslot

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

References _file_encoding, and request_open_file().

Referenced by request_open_file().

void file_editor::request_preferences ( bool  )
privateslot

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

References request_settings_dialog().

Referenced by construct().

void file_editor::request_previous_bookmark ( bool  )
slot

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

References _tab_widget, and fetab_previous_bookmark().

Referenced by construct().

void file_editor::request_previous_breakpoint ( bool  )
slot

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

References _tab_widget, and fetab_previous_breakpoint().

Referenced by construct().

void file_editor::request_print_file ( bool  )
slot

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

References _tab_widget, and fetab_print_file().

Referenced by construct().

void file_editor::request_redo ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_remove_bookmark ( bool  )
slot

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

References _tab_widget, and fetab_remove_bookmark().

Referenced by construct().

void file_editor::request_remove_breakpoint ( bool  )
slot

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

References _tab_widget, and fetab_remove_all_breakpoints().

Referenced by construct().

void file_editor::request_run_file ( bool  )
slot

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

References _tab_widget, and fetab_run_file().

Referenced by construct().

void file_editor::request_save_file ( bool  )
slot

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

References _tab_widget, and fetab_save_file().

Referenced by construct().

void file_editor::request_save_file_as ( bool  )
slot

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

References _tab_widget, and fetab_save_file_as().

Referenced by construct().

void file_editor::request_sel_match_brace ( bool  )
slot

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

References _tab_widget, and fetab_move_match_brace().

Referenced by construct().

void file_editor::request_settings_dialog ( const QString &  _t1)
signal

Definition at line 903 of file moc-file-editor.cc.

Referenced by construct(), request_preferences(), and request_styles_preferences().

void file_editor::request_styles_preferences ( bool  )
privateslot

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

References request_settings_dialog().

Referenced by construct().

void file_editor::request_toggle_bookmark ( bool  )
slot

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

References _tab_widget, and fetab_toggle_bookmark().

Referenced by construct().

void file_editor::request_toggle_breakpoint ( bool  )
slot

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

References _tab_widget, and fetab_toggle_breakpoint().

Referenced by construct().

void file_editor::request_transpose_line ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::request_uncomment_selected_text ( bool  )
slot

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

References _tab_widget, and fetab_uncomment_selected_text().

Referenced by construct().

void file_editor::request_unindent_selected_text ( bool  )
slot

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

References _tab_widget, and fetab_unindent_selected_text().

Referenced by construct().

void file_editor::request_upper_case ( bool  )
slot

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

References _tab_widget, and fetab_scintilla_command().

Referenced by construct().

void file_editor::restore_create_file_setting ( )
privateslot

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

References file_loaded_signal(), and resource_manager::get_settings().

Referenced by request_new_function().

void file_editor::restore_session ( QSettings *  settings)
private
void file_editor::save_file_as ( QWidget fetabID = 0)
private

Referenced by add_file_editor_tab().

void octave_dock_widget::save_settings ( void  )
slotinherited
void file_editor::selectAll ( void  )
protectedslot

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

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

void octave_dock_widget::set_predecessor_widget ( octave_dock_widget prev_widget)
inherited
void file_editor::set_shortcuts ( )
slot

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

References _close_action, _close_all_action, _close_others_action, _comment_selection_action, _completion_action, _context_doc_action, _context_help_action, _conv_eol_mac_action, _conv_eol_unix_action, _conv_eol_windows_action, _copy_line_action, _cut_action, _cut_line_action, _delete_end_line_action, _delete_end_word_action, _delete_line_action, _delete_start_line_action, _delete_start_word_action, _duplicate_selection_action, _edit_function_action, _find_action, _find_next_action, _find_previous_action, _goto_line_action, _indent_selection_action, _lower_case_action, _move_tab_left_action, _move_tab_right_action, _move_to_matching_brace, _next_bookmark_action, _next_breakpoint_action, _preferences_action, _previous_bookmark_action, _previous_breakpoint_action, _print_action, _redo_action, _remove_all_breakpoints_action, _remove_bookmark_action, _run_action, _run_selection_action, _save_action, _save_as_action, _sel_to_matching_brace, _show_eol_action, _show_hscrollbar_action, _show_indguide_action, _show_linenum_action, _show_longline_action, _show_statusbar_action, _show_toolbar_action, _show_whitespace_action, _styles_preferences_action, _switch_left_tab_action, _switch_right_tab_action, _toggle_bookmark_action, _toggle_breakpoint_action, _transpose_line_action, _uncomment_selection_action, _unindent_selection_action, _upper_case_action, _zoom_in_action, _zoom_normal_action, _zoom_out_action, and shortcut_manager::set_shortcut().

Referenced by notice_settings().

void octave_dock_widget::set_title ( const QString &  title)
inherited
void file_editor::show_eol_chars ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_hscrollbar ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_indent_guides ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_line_numbers ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_long_line ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_statusbar ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_toolbar ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::show_white_space ( bool  )
privateslot

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

References toggle_preference().

Referenced by construct().

void file_editor::switch_left_tab ( )
privateslot

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

References switch_tab().

Referenced by construct().

void file_editor::switch_right_tab ( )
privateslot

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

References switch_tab().

Referenced by construct().

void file_editor::switch_tab ( int  direction,
bool  movetab = false 
)
private
void file_editor::toggle_preference ( const QString &  preference,
bool  def 
)
private
QToolBar * file_editor::toolbar ( void  )
virtual

Implements file_editor_interface.

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

References _tool_bar.

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

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

References ced, and fetab_set_directory().

void file_editor::zoom_in ( bool  )
privateslot

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

References _tab_widget, and fetab_zoom_in().

Referenced by add_file_editor_tab(), and construct().

void file_editor::zoom_normal ( bool  )
privateslot

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

References _tab_widget, and fetab_zoom_normal().

Referenced by add_file_editor_tab(), and construct().

void file_editor::zoom_out ( bool  )
privateslot

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

References _tab_widget, and fetab_zoom_out().

Referenced by add_file_editor_tab(), and construct().

Member Data Documentation

QAction* file_editor::_close_action
private

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

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

QAction* file_editor::_close_all_action
private

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

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

QAction* file_editor::_close_others_action
private

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

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

QAction* file_editor::_comment_selection_action
private

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

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

QAction* file_editor::_completion_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_context_doc_action
private

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

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

QAction* file_editor::_context_help_action
private

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

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

QAction* file_editor::_conv_eol_mac_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_conv_eol_unix_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_conv_eol_windows_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_copy_action
private
QAction* file_editor::_copy_line_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_cut_action
private
QAction* file_editor::_cut_line_action
private

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

Referenced by construct(), and set_shortcuts().

QMenu* file_editor::_debug_menu
private

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

Referenced by construct(), and debug_menu().

QAction* file_editor::_delete_end_line_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_delete_end_word_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_delete_line_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_delete_start_line_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_delete_start_word_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_duplicate_selection_action
private

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

Referenced by construct(), and set_shortcuts().

QMenu* file_editor::_edit_cmd_menu
private

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

Referenced by check_actions(), and construct().

QMenu* file_editor::_edit_fmt_menu
private

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

Referenced by check_actions(), and construct().

QAction* file_editor::_edit_function_action
private

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

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

QMenu* file_editor::_edit_menu
private

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

Referenced by construct(), and insert_global_actions().

QMenu* file_editor::_edit_nav_menu
private

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

Referenced by check_actions(), and construct().

QList<QAction*> file_editor::_fetab_actions
private

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

Referenced by file_editor(), and request_find().

QString file_editor::_file_encoding
private
QMenu* file_editor::_fileMenu
private

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

Referenced by construct(), and insert_global_actions().

QAction* file_editor::_find_action
private

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

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

QAction* file_editor::_find_files_action
private

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

Referenced by insert_global_actions().

QAction* file_editor::_find_next_action
private

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

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

QAction* file_editor::_find_previous_action
private

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

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

QAction* file_editor::_goto_line_action
private

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

Referenced by construct(), and set_shortcuts().

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

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

Referenced by enable_menu_shortcuts(), and m_add_menu().

QAction* file_editor::_indent_selection_action
private

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

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

QAction* file_editor::_lower_case_action
private

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

Referenced by construct(), and set_shortcuts().

int file_editor::_marker_breakpoint
private

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

QMenuBar* file_editor::_menu_bar
private

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

Referenced by construct().

QAction* file_editor::_move_tab_left_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_move_tab_right_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_move_to_matching_brace
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_mru_file_actions[MaxMRUFiles]
private

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

Referenced by construct(), and mru_menu_update().

QMenu* file_editor::_mru_file_menu
private

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

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

QStringList file_editor::_mru_files
private

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

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

QStringList file_editor::_mru_files_encodings
private

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

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

QAction* file_editor::_new_action
private

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

QAction* file_editor::_new_function_action
private

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

QAction* file_editor::_next_bookmark_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_next_breakpoint_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_open_action
private

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

QAction* file_editor::_paste_action
private

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

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

QAction* file_editor::_popdown_mru_action
private

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

Referenced by construct(), and insert_global_actions().

QAction* file_editor::_preferences_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_previous_bookmark_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_previous_breakpoint_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_print_action
private

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

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

QAction* file_editor::_redo_action
private
QAction* file_editor::_remove_all_breakpoints_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_remove_bookmark_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_run_action
private
QAction* file_editor::_run_selection_action
private
QAction* file_editor::_save_action
private

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

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

QAction* file_editor::_save_as_action
private

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

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

QAction* file_editor::_sel_to_matching_brace
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_selectall_action
private

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

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

QAction* file_editor::_show_eol_action
private

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

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

QAction* file_editor::_show_hscrollbar_action
private

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

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

QAction* file_editor::_show_indguide_action
private

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

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

QAction* file_editor::_show_linenum_action
private

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

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

QAction* file_editor::_show_longline_action
private

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

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

QAction* file_editor::_show_statusbar_action
private

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

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

QAction* file_editor::_show_toolbar_action
private

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

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

QAction* file_editor::_show_whitespace_action
private

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

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

QAction* file_editor::_styles_preferences_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_switch_left_tab_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_switch_right_tab_action
private

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

Referenced by construct(), and set_shortcuts().

tab_widget* file_editor::_tab_widget
private

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

Referenced by active_tab_changed(), add_file_editor_tab(), check_actions(), check_closing(), check_conflict_save(), construct(), copyClipboard(), do_undo(), empty_script(), focus(), handle_delete_debugger_pointer_request(), handle_editor_state_changed(), handle_file_name_changed(), handle_tab_close_request(), handle_tab_remove_request(), notice_settings(), pasteClipboard(), request_close_all_files(), request_close_file(), request_close_other_files(), request_comment_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_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_toggle_bookmark(), request_toggle_breakpoint(), request_transpose_line(), request_uncomment_selected_text(), request_unindent_selected_text(), request_upper_case(), selectAll(), switch_tab(), zoom_in(), zoom_normal(), and zoom_out().

QAction* file_editor::_toggle_bookmark_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_toggle_breakpoint_action
private

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

Referenced by construct(), and set_shortcuts().

QToolBar* file_editor::_tool_bar
private

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

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

QAction* file_editor::_transpose_line_action
private

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

Referenced by construct(), and set_shortcuts().

QAction* file_editor::_uncomment_selection_action
private

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

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

QAction* file_editor::_undo_action
private
QAction* file_editor::_unindent_selection_action
private

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

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

QAction* file_editor::_upper_case_action
private

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

Referenced by construct(), and set_shortcuts().

QMenu* file_editor::_view_editor_menu
private

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

Referenced by check_actions(), and construct().

QAction* file_editor::_zoom_in_action
private

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

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

QAction* file_editor::_zoom_normal_action
private

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

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

QAction* file_editor::_zoom_out_action
private

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

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

QString file_editor::ced
private
std::map<QString, tab_info> file_editor::editor_tab_map
private

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