Mercurial > octave
view .dir-locals.el @ 31080:56ee6a223c51
use QScintilla instead of QTextEdit for new terminal widget
* command-widget.cc (ctor): pass qobj to console;
(insert_interpreter_output): just append output message to console text;
(console::console): initialize QScintilla, remove obsolete document;
(console::new_command_line): append new line, add prompt, remember current
cursor pos for later use, append possibly given command string;
(console::accept_command_line): just get last line, and append a new line;
(console::append_block): removed;
(console::append_string): new function appending a string and moving
cursor to the end;
(console::keyPressEvent): process QsciScintilla::keyPressEvent
* command-widget.h: include Qsci/qsciscintilla.h, console inherits from
QsciScintilla and gets oct_qobj for later use, new function
append_string, new class variable m_command_position for storing
the begin of the active command line
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Tue, 07 Jun 2022 23:03:11 +0200 |
parents | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))