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>
72 void smart_indent (
bool do_smart_indent,
int do_auto_close,
73 int line,
int ind_char_width);
95 QTemporaryFile*,
bool,
bool);
129 const QString&
line, QString& first_word);
Base class for Octave interfaces that use Qt.
void focus_console_after_command_signal(void)
void keyPressEvent(QKeyEvent *e)
void contextmenu_edit(bool)
void dragEnterEvent(QDragEnterEvent *e)
void contextmenu_help(bool)
void get_current_position(int *pos, int *line, int *col)
void interpreter_event(const meth_callback &meth)
void contextmenu_break_once(const QPoint &)
void ctx_menu_run_finished_signal(bool, int, QTemporaryFile *, QTemporaryFile *, bool, bool)
void contextmenu_help_doc(bool)
void smart_indent_line_or_selected_text(int lineFrom, int lineTo)
base_qobject & m_octave_qobj
octave_qscintilla(QWidget *p, base_qobject &oct_qobj)
void status_update(bool, bool)
void get_global_textcursor_pos(QPoint *global_pos, QPoint *local_pos)
void contextmenu_run(bool)
~octave_qscintilla(void)=default
int get_style(int pos=-1)
void set_selection_marker_color(const QColor &c)
void auto_close(int auto_endif, int l, const QString &line, QString &first_word)
void show_replace_action_tooltip(void)
bool get_actual_word(void)
void show_doc_signal(const QString &)
void context_menu_break_once(int)
void smart_indent(bool do_smart_indent, int do_auto_close, int line, int ind_char_width)
virtual void contextMenuEvent(QContextMenuEvent *e)
void contextmenu_break_condition(bool)
void set_word_selection(const QString &word=QString())
QStringList comment_string(bool comment=true)
void qsci_has_focus_signal(bool)
void cursor_position_changed(int, int)
void focusInEvent(QFocusEvent *focusEvent)
void context_menu_break_condition_signal(int)
void context_menu_edit_signal(const QString &)
void show_selection_markers(int l1, int c1, int l2, int c2)
void contextmenu_run_temp_error(void)
QString m_selection_replacement
void clear_selection_markers(void)
void contextmenu_doc(bool)
int is_style_comment(int pos=-1)
void create_context_menu_signal(QMenu *)
void context_help_doc(bool)
void ctx_menu_run_finished(bool, int, QTemporaryFile *, QTemporaryFile *, bool, bool)
void execute_command_in_terminal_signal(const QString &)
std::function< void(octave::interpreter &)> meth_callback