26 #if ! defined (octave_octave_qscintilla_h)
27 #define octave_octave_qscintilla_h 1
29 #include <QContextMenuEvent>
33 #include <Qsci/qsciscintilla.h>
34 #include <QTemporaryFile>
74 void smart_indent (
bool do_smart_indent,
int do_auto_close,
75 int line,
int ind_char_width);
85 void replace_all (
const QString& o_str,
const QString& n_str,
86 bool re,
bool cs,
bool wo);
100 QTemporaryFile *,
bool,
bool);
135 bool event (QEvent *e);
144 const QString& line, QString& first_word);
Base class for Octave interfaces that use Qt.
void get_current_position(int *pos, int *line, int *col)
bool get_actual_word(void)
void contextmenu_edit(bool)
void contextmenu_break_once(const QPoint &)
void ctx_menu_run_finished_signal(bool, int, QTemporaryFile *, QTemporaryFile *, bool, bool)
void show_replace_action_tooltip(void)
void auto_close(int auto_endif, int l, const QString &line, QString &first_word)
void ctx_menu_run_finished(bool, int, QTemporaryFile *, QTemporaryFile *, bool, bool)
octave_qscintilla(QWidget *p, base_qobject &oct_qobj)
void smart_indent(bool do_smart_indent, int do_auto_close, int line, int ind_char_width)
void context_menu_break_once(int)
void context_help_doc(bool)
void focus_console_after_command_signal(void)
void set_word_selection(const QString &word=QString())
void show_selection_markers(int l1, int c1, int l2, int c2)
void contextmenu_break_condition(bool)
void context_menu_break_condition_signal(int)
void contextmenu_help(bool)
void smart_indent_line_or_selected_text(int lineFrom, int lineTo)
base_qobject & m_octave_qobj
void cursor_position_changed(int, int)
void dragEnterEvent(QDragEnterEvent *e)
virtual void setCursorPosition(int line, int col)
void qsci_has_focus_signal(bool)
virtual void contextMenuEvent(QContextMenuEvent *e)
void status_update(bool, bool)
void contextmenu_help_doc(bool)
void contextmenu_doc(bool)
void execute_command_in_terminal_signal(const QString &)
void context_menu_edit_signal(const QString &)
QString m_selection_replacement
void set_selection_marker_color(const QColor &c)
void focusInEvent(QFocusEvent *focusEvent)
void handle_exit_debug_mode(void)
void show_doc_signal(const QString &)
void interpreter_event(const fcn_callback &fcn)
void clear_selection_markers(void)
void handle_enter_debug_mode(void)
void get_global_textcursor_pos(QPoint *global_pos, QPoint *local_pos)
void contextmenu_run(bool)
void create_context_menu_signal(QMenu *)
void interpreter_event(const meth_callback &meth)
~octave_qscintilla(void)=default
QStringList comment_string(bool comment=true)
int get_style(int pos=-1)
void contextmenu_run_temp_error(void)
int is_style_comment(int pos=-1)
void keyPressEvent(QKeyEvent *e)
void replace_all(const QString &o_str, const QString &n_str, bool re, bool cs, bool wo)
void update_rowcol_indicator_signal(int line, int col)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::function< void(void)> fcn_callback
std::function< void(interpreter &)> meth_callback