GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "file-editor-tab.h"
Classes | |
struct | bp_info |
Public Slots | |
void | change_editor_state (const QWidget *ID) |
void | check_modified_file (void) |
void | comment_selected_text (const QWidget *ID) |
void | context_edit (const QWidget *ID) |
void | context_help (const QWidget *ID, bool) |
void | context_run (const QWidget *ID) |
void | convert_eol (const QWidget *ID, QsciScintilla::EolMode) |
void | delete_debugger_pointer (const QWidget *ID, int line=-1) |
void | do_breakpoint_marker (bool insert, const QWidget *ID, int line=-1) |
void | file_has_changed (const QString &fileName) |
void | file_name_query (const QWidget *ID) |
void | find (const QWidget *ID) |
void | goto_line (const QWidget *ID, int line=-1) |
void | handle_context_menu_edit (const QString &) |
void | handle_copy_available (bool enableCopy) |
void | handle_margin_clicked (int line, int margin, Qt::KeyboardModifiers state) |
void | indent_selected_text (const QWidget *ID) |
void | insert_debugger_pointer (const QWidget *ID, int line=-1) |
QString | load_file (const QString &fileName) |
void | move_match_brace (const QWidget *ID, bool select) |
void | new_file (const QString &commands=QString()) |
void | next_bookmark (const QWidget *ID) |
void | next_breakpoint (const QWidget *ID) |
void | notice_settings (const QSettings *settings, bool init=false) |
void | previous_bookmark (const QWidget *ID) |
void | previous_breakpoint (const QWidget *ID) |
void | print_file (const QWidget *ID) |
void | remove_all_breakpoints (const QWidget *ID) |
void | remove_bookmark (const QWidget *ID) |
void | run_file (const QWidget *ID) |
void | save_file (const QWidget *ID) |
void | save_file (const QWidget *ID, const QString &fileName, bool remove_on_success) |
void | save_file_as (const QWidget *ID) |
void | scintilla_command (const QWidget *, unsigned int) |
void | set_current_directory (const QString &dir) |
void | set_focus (const QWidget *ID) |
void | set_modified (bool modified=true) |
void | show_auto_completion (const QWidget *ID) |
void | toggle_bookmark (const QWidget *ID) |
void | toggle_breakpoint (const QWidget *ID) |
void | uncomment_selected_text (const QWidget *ID) |
void | unindent_selected_text (const QWidget *ID) |
void | update_window_title (bool modified) |
void | zoom_in (const QWidget *ID) |
void | zoom_normal (const QWidget *ID) |
void | zoom_out (const QWidget *ID) |
Signals | |
void | add_filename_to_list (const QString &, QWidget *) |
void | editor_check_conflict_save (const QString &saveFileName, bool remove_on_success) |
void | editor_state_changed (bool copy_available, bool is_octave_file) |
void | file_name_changed (const QString &fileName, const QString &toolTip) |
void | mru_add_file (const QString &file_name) |
void | request_open_file (const QString &) |
void | run_file_signal (const QFileInfo &info) |
void | set_global_edit_shortcuts_signal (bool) |
void | tab_remove_request () |
Public Member Functions | |
file_editor_tab (const QString &directory="") | |
~file_editor_tab (void) | |
bool | conditional_close (void) |
octave_qscintilla * | qsci_edit_area () |
Static Public Member Functions | |
static void | reset_cancel (void) |
static bool | was_cancelled (void) |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
void | set_file_name (const QString &fileName) |
Private Types | |
enum | editor_markers { bookmark, breakpoint, debugger_position } |
Private Slots | |
void | auto_margin_width () |
void | handle_combo_eol_current_index (int index) |
void | handle_cursor_moved (int line, int col) |
void | handle_file_modified_answer (int decision) |
void | handle_file_reload_answer (int decision) |
void | handle_file_resave_answer (int decision) |
void | handle_find_dialog_finished (int decision) |
void | handle_save_as_filter_selected (const QString &filter) |
void | handle_save_file_as_answer (const QString &fileName) |
void | handle_save_file_as_answer_cancel () |
void | handle_save_file_as_answer_close (const QString &fileName) |
void | save_apis_info () |
Private Member Functions | |
void | add_breakpoint_callback (const bp_info &info) |
void | add_octave_apis (octave_value_list key_ovl) |
void | center_current_line () |
int | check_file_modified () |
bool | check_valid_identifier (QString file_name) |
QString | comment_string (const QString &) |
QsciScintilla::EolMode | detect_eol_mode () |
void | do_comment_selected_text (bool comment) |
void | do_indent_selected_text (bool indent) |
QString | get_function_name () |
void | remove_all_breakpoints_callback (const bp_info &info) |
void | remove_breakpoint_callback (const bp_info &info) |
void | request_add_breakpoint (int line) |
void | request_remove_breakpoint (int line) |
void | save_file (const QString &saveFileName, bool remove_on_success=false) |
void | save_file_as (bool remove_on_success=false) |
void | show_dialog (QDialog *dlg, bool modal) |
void | update_eol_indicator () |
void | update_lexer () |
bool | valid_file_name (const QString &file=QString()) |
Private Attributes | |
bool | _always_reload_changed_files |
QString | _ced |
QLabel * | _col_indicator |
bool | _copy_available |
octave_qscintilla * | _edit_area |
QLabel * | _eol_indicator |
QString | _file_name |
QString | _file_name_short |
QFileSystemWatcher | _file_system_watcher |
find_dialog * | _find_dialog |
QRect | _find_dialog_geometry |
bool | _find_dialog_is_visible |
bool | _is_octave_file |
QsciAPIs * | _lexer_apis |
bool | _long_title |
QString | _prep_apis_file |
QLabel * | _row_indicator |
QsciScintilla::EolMode | _save_as_desired_eol |
QStatusBar * | _status_bar |
Static Private Attributes | |
static bool | _cancelled |
Definition at line 42 of file file-editor-tab.h.
|
private |
Enumerator | |
---|---|
bookmark | |
breakpoint | |
debugger_position |
Definition at line 179 of file file-editor-tab.h.
file_editor_tab::file_editor_tab | ( | const QString & | directory = "" | ) |
file_editor_tab::~file_editor_tab | ( | void | ) |
|
private |
|
signal |
Definition at line 341 of file moc-file-editor-tab.cc.
|
private |
|
privateslot |
|
private |
|
slot |
|
private |
|
slot |
|
private |
|
protected |
|
slot |
|
private |
bool file_editor_tab::conditional_close | ( | void | ) |
|
slot |
|
slot |
|
slot |
|
private |
|
private |
|
private |
|
signal |
Definition at line 355 of file moc-file-editor-tab.cc.
Definition at line 328 of file moc-file-editor-tab.cc.
|
slot |
|
signal |
Definition at line 321 of file moc-file-editor-tab.cc.
|
slot |
|
slot |
|
private |
|
privateslot |
|
slot |
|
slot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
slot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
slot |
|
slot |
|
signal |
Definition at line 348 of file moc-file-editor-tab.cc.
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
inline |
Definition at line 52 of file file-editor-tab.h.
References _edit_area.
|
slot |
|
private |
|
slot |
|
private |
|
private |
|
signal |
Definition at line 376 of file moc-file-editor-tab.cc.
|
private |
|
inlinestatic |
Definition at line 57 of file file-editor-tab.h.
References _cancelled.
|
slot |
|
signal |
Definition at line 362 of file moc-file-editor-tab.cc.
|
privateslot |
|
slot |
|
slot |
|
private |
|
slot |
|
private |
|
slot |
|
slot |
|
protected |
|
slot |
|
signal |
Definition at line 369 of file moc-file-editor-tab.cc.
|
slot |
|
slot |
|
signal |
Definition at line 335 of file moc-file-editor-tab.cc.
|
slot |
|
slot |
|
slot |
|
slot |
|
private |
|
private |
|
slot |
|
private |
|
inlinestatic |
Definition at line 58 of file file-editor-tab.h.
References _cancelled.
|
slot |
|
slot |
|
slot |
|
private |
Definition at line 238 of file file-editor-tab.h.
|
staticprivate |
Definition at line 249 of file file-editor-tab.h.
Referenced by reset_cancel(), and was_cancelled().
|
private |
Definition at line 233 of file file-editor-tab.h.
|
private |
Definition at line 226 of file file-editor-tab.h.
|
private |
Definition at line 236 of file file-editor-tab.h.
|
private |
Definition at line 222 of file file-editor-tab.h.
Referenced by qsci_edit_area().
|
private |
Definition at line 227 of file file-editor-tab.h.
|
private |
Definition at line 231 of file file-editor-tab.h.
|
private |
Definition at line 232 of file file-editor-tab.h.
|
private |
Definition at line 240 of file file-editor-tab.h.
|
private |
Definition at line 242 of file file-editor-tab.h.
|
private |
Definition at line 244 of file file-editor-tab.h.
|
private |
Definition at line 243 of file file-editor-tab.h.
|
private |
Definition at line 237 of file file-editor-tab.h.
|
private |
Definition at line 246 of file file-editor-tab.h.
|
private |
Definition at line 235 of file file-editor-tab.h.
|
private |
Definition at line 247 of file file-editor-tab.h.
|
private |
Definition at line 225 of file file-editor-tab.h.
|
private |
Definition at line 229 of file file-editor-tab.h.
|
private |
Definition at line 224 of file file-editor-tab.h.