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> 38 #include "builtin-defun-decls.h" 72 Qt::KeyboardModifiers
state);
90 bool remove_on_success);
130 const QString& cond =
"");
137 QString
load_file (
const QString& fileName);
159 void mru_add_file (
const QString& file_name,
const QString& encoding);
161 bool remove_on_success);
165 const QString&,
int);
174 int& translated_linenr,
marker*&);
231 bp_info (
const QString&
fname,
int l = 0,
const QString& cond =
"");
242 const QString& base_name);
243 void save_file (
const QString& saveFileName,
bool remove_on_success =
false,
244 bool restore_breakpoints =
true);
void handle_find_dialog_finished(int decision)
void handle_file_resave_answer(int decision)
void comment_selected_text(const QWidget *ID, bool input_str)
QString load_file(const QString &fileName)
void print_file(const QWidget *ID)
void handle_char_added(int character)
void previous_bookmark(const QWidget *ID)
void convert_eol(const QWidget *ID, QsciScintilla::EolMode)
void set_focus(const QWidget *ID)
void handle_copy_available(bool enableCopy)
For example cd octave end example noindent changes the current working directory to file
void request_remove_breakpoint_via_editor_linenr(int editor_linenr)
void remove_all_breakpoints(void)
void check_restore_breakpoints(void)
bool valid_file_name(const QString &file=QString())
void set_modified(bool modified=true)
bool check_valid_identifier(QString file_name)
void run_file(const QWidget *ID)
void edit_mfile_request(const QString &, const QString &, const QString &, int)
bool _always_reload_changed_files
QsciScintilla::EolMode _save_as_desired_eol
bp_info(const QString &fname, int l=0, const QString &cond="")
void next_breakpoint(const QWidget *ID)
void set_focus_editor_signal(QWidget *)
void editor_state_changed(bool copy_available, bool is_octave_file)
void next_bookmark(const QWidget *ID)
void handle_request_remove_breakpoint(int line)
QFileSystemWatcher _file_system_watcher
void file_has_changed(const QString &path, bool do_close=false)
void add_octave_apis(octave_value_list key_ovl)
void file_name_query(const QWidget *ID)
void handle_file_modified_answer(int decision)
void find_next(const QWidget *ID)
void scintilla_command(const QWidget *, unsigned int)
static bool was_cancelled(void)
void zoom_normal(const QWidget *ID)
void handle_save_as_filter_selected(const QString &filter)
std::string function_name
void remove_position_via_debugger_linenr(int debugger_linenr)
to define functions rather than attempting to enter them directly on the command line The block of commands is executed as soon as you exit the editor To avoid executing any simply delete all the lines from the buffer before leaving the editor When invoked with no edit the previously executed command
void update_window_title(bool modified)
void zoom_out(const QWidget *ID)
void save_apis_info(void)
void context_edit(const QWidget *ID)
void closeEvent(QCloseEvent *event)
void do_breakpoint_marker(bool insert, const QWidget *ID, int line=-1, const QString &cond="")
int check_file_modified(void)
bool conditional_close(void)
void recover_from_exit(void)
void handle_combo_enc_current_index(QString text)
void execute_command_in_terminal_signal(const QString &)
void zoom_in(const QWidget *ID)
void unindent_selected_text(const QWidget *ID)
void toggle_bookmark(const QWidget *ID)
void handle_request_add_breakpoint(int line, const QString &cond)
void do_smart_indent_line_or_selected_text(void)
void insert_debugger_pointer(const QWidget *ID, int line=-1)
file_editor_tab(const QString &directory="")
A file_editor_tab object consists of a text area and three left margins.
void mru_add_file(const QString &file_name, const QString &encoding)
void notice_settings(const QSettings *settings, bool init=false)
void move_match_brace(const QWidget *ID, bool select)
void find_previous(const QWidget *ID)
void file_name_changed(const QString &fileName, const QString &toolTip)
void handle_save_file_as_answer(const QString &fileName)
void previous_breakpoint(const QWidget *ID)
void do_indent_selected_text(bool indent)
void add_filename_to_list(const QString &, const QString &, QWidget *)
void request_find_previous(void)
void handle_double_click(int p, int l, int modifier)
void run_file_signal(const QFileInfo &info)
void smart_indent_line_or_selected_text(const QWidget *ID)
static void reset_cancel(void)
octave_qscintilla * qsci_edit_area(void)
void toggle_breakpoint(const QWidget *ID)
void handle_context_menu_edit(const QString &)
bool unchanged_or_saved(void)
find_dialog * _find_dialog
void indent_selected_text(const QWidget *ID)
void set_current_directory(const QString &dir)
QRect _find_dialog_geometry
void auto_margin_width(void)
void context_help(const QWidget *ID, bool)
MArray< T > filter(MArray< T > &b, MArray< T > &a, MArray< T > &x, MArray< T > &si, int dim=0)
void set_file_name(const QString &fileName)
void report_marker_linenr(QIntList &lines, QStringList &conditions)
void save_file_as(const QWidget *ID)
void do_comment_selected_text(bool comment, bool input_str=false)
void save_file(const QWidget *ID)
void editor_check_conflict_save(const QString &saveFileName, bool remove_on_success)
void goto_line(const QWidget *ID, int line=-1)
void delete_debugger_pointer(const QWidget *ID, int line=-1)
With real return the complex result
QsciScintilla::EolMode detect_eol_mode(void)
void context_run(const QWidget *ID)
static uint32_t state[624]
void uncomment_selected_text(const QWidget *ID)
QStringList _bp_conditions
octave_qscintilla * _edit_area
void update_eol_indicator(void)
void remove_breakpoint_callback(const bp_info &info)
void handle_lines_changed(void)
void handle_context_menu_break_condition(int linenr)
void center_current_line(bool always=true)
void remove_all_breakpoints_callback(const bp_info &info)
void remove_all_positions(void)
void handle_file_reload_answer(int decision)
void handle_cursor_moved(int line, int col)
void handle_save_file_as_answer_close(const QString &fileName)
void handle_combo_eol_current_index(int index)
bool _find_dialog_is_visible
void remove_breakpoint_via_debugger_linenr(int debugger_linenr)
bool _highlight_all_occurrences
void remove_bookmark(const QWidget *ID)
void set_encoding(const QString &new_encoding)
void request_open_file(const QString &)
bool exit_debug_and_clear(const QString &full_name, const QString &base_name)
QString get_function_name(void)
void handle_octave_result(QObject *requester, QString &command, octave_value_list &result)
void show_dialog(QDialog *dlg, bool modal)
void show_auto_completion(const QWidget *ID)
void new_file(const QString &commands=QString())
void handle_save_file_as_answer_cancel(void)
void change_editor_state(const QWidget *ID)
bool check_valid_codec(QTextCodec *codec)
void tab_remove_request(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
void update_lexer_settings(void)
void handle_margin_clicked(int line, int margin, Qt::KeyboardModifiers state)
void request_find_next(void)
void find_linenr_just_before(int linenr, int &original_linenr, int &editor_linenr)
void add_breakpoint_callback(const bp_info &info)
void check_modified_file(void)
void find_translated_line_number(int original_linenr, int &translated_linenr, marker *&)
to define functions rather than attempting to enter them directly on the command line The block of commands is executed as soon as you exit the editor To avoid executing any commands
void find(const QWidget *ID, QList< QAction *>)
nd example oindent assigns the value of the alert character(control-g, ASCII code 7) to the string variable ode
bool _line_break_comments
OCTAVE_EXPORT octave_value_list directory