23 #if !defined (octave_file_editor_tab_h)
24 #define octave_file_editor_tab_h 1
27 #include <QCloseEvent>
28 #include <QFileSystemWatcher>
31 #include <Qsci/qsciapis.h>
65 Qt::KeyboardModifiers
state);
83 bool remove_on_success);
123 QString
load_file (
const QString& fileName);
124 void new_file (
const QString& commands = QString ());
138 bool remove_on_success);
188 bp_info (
const QString& fname,
int l = 0);
197 void save_file (
const QString& saveFileName,
bool remove_on_success =
false);
void handle_file_resave_answer(int decision)
void file_has_changed(const QString &fileName)
void closeEvent(QCloseEvent *event)
void update_window_title(bool modified)
void remove_breakpoint_callback(const bp_info &info)
void convert_eol(const QWidget *ID, QsciScintilla::EolMode)
void previous_bookmark(const QWidget *ID)
bool _find_dialog_is_visible
void indent_selected_text(const QWidget *ID)
void context_help(const QWidget *ID, bool)
void add_filename_to_list(const QString &, QWidget *)
void set_file_name(const QString &fileName)
bp_info(const QString &fname, int l=0)
void set_global_edit_shortcuts_signal(bool)
void find(const QWidget *ID)
static uint32_t state[624]
find_dialog * _find_dialog
QFileSystemWatcher _file_system_watcher
void handle_save_file_as_answer_close(const QString &fileName)
void zoom_normal(const QWidget *ID)
void handle_combo_eol_current_index(int index)
void zoom_out(const QWidget *ID)
std::string function_name
void file_name_query(const QWidget *ID)
void toggle_breakpoint(const QWidget *ID)
void add_breakpoint_callback(const bp_info &info)
void handle_copy_available(bool enableCopy)
void request_add_breakpoint(int line)
void do_breakpoint_marker(bool insert, const QWidget *ID, int line=-1)
void remove_all_breakpoints(const QWidget *ID)
void handle_cursor_moved(int line, int col)
void update_eol_indicator()
void handle_find_dialog_finished(int decision)
void check_modified_file(void)
void save_file_as(const QWidget *ID)
void set_focus(const QWidget *ID)
void file_name_changed(const QString &fileName, const QString &toolTip)
octave_qscintilla * qsci_edit_area()
void insert_debugger_pointer(const QWidget *ID, int line=-1)
void notice_settings(const QSettings *settings, bool init=false)
void print_file(const QWidget *ID)
MArray< double > filter(MArray< double > &, MArray< double > &, MArray< double > &, int dim)
void change_editor_state(const QWidget *ID)
void center_current_line()
void goto_line(const QWidget *ID, int line=-1)
void do_comment_selected_text(bool comment)
void request_remove_breakpoint(int line)
void handle_margin_clicked(int line, int margin, Qt::KeyboardModifiers state)
void next_bookmark(const QWidget *ID)
void save_file(const QWidget *ID)
void move_match_brace(const QWidget *ID, bool select)
void context_run(const QWidget *ID)
void remove_bookmark(const QWidget *ID)
void unindent_selected_text(const QWidget *ID)
void set_current_directory(const QString &dir)
void handle_file_modified_answer(int decision)
void handle_context_menu_edit(const QString &)
void handle_file_reload_answer(int decision)
void delete_debugger_pointer(const QWidget *ID, int line=-1)
QString get_function_name()
octave_qscintilla * _edit_area
void show_dialog(QDialog *dlg, bool modal)
void toggle_bookmark(const QWidget *ID)
bool check_valid_identifier(QString file_name)
void handle_save_file_as_answer(const QString &fileName)
void context_edit(const QWidget *ID)
void do_indent_selected_text(bool indent)
static bool was_cancelled(void)
void remove_all_breakpoints_callback(const bp_info &info)
void next_breakpoint(const QWidget *ID)
bool _always_reload_changed_files
QString comment_string(const QString &)
void handle_save_as_filter_selected(const QString &filter)
void mru_add_file(const QString &file_name)
QRect _find_dialog_geometry
void previous_breakpoint(const QWidget *ID)
QsciScintilla::EolMode detect_eol_mode()
int check_file_modified()
void uncomment_selected_text(const QWidget *ID)
void add_octave_apis(octave_value_list key_ovl)
void handle_save_file_as_answer_cancel()
bool conditional_close(void)
void editor_check_conflict_save(const QString &saveFileName, bool remove_on_success)
QString load_file(const QString &fileName)
QsciScintilla::EolMode _save_as_desired_eol
void show_auto_completion(const QWidget *ID)
static void reset_cancel(void)
void scintilla_command(const QWidget *, unsigned int)
void zoom_in(const QWidget *ID)
void run_file(const QWidget *ID)
void comment_selected_text(const QWidget *ID)
void set_modified(bool modified=true)
void tab_remove_request()
void new_file(const QString &commands=QString())
void run_file_signal(const QFileInfo &info)
void editor_state_changed(bool copy_available, bool is_octave_file)
void request_open_file(const QString &)
bool valid_file_name(const QString &file=QString())
file_editor_tab(const QString &directory="")