Public Types | |
typedef int(* | char_is_quoted_fcn) (const std::string &, int) |
typedef std::string(* | completion_fcn) (const std::string &, int) |
typedef char *(* | completion_hook_fcn) () |
typedef std::string(* | dequoting_fcn) (const std::string &, int) |
typedef int(* | event_hook_fcn) (void) |
typedef int(* | pre_input_hook_fcn) (void) |
typedef std::string(* | quoting_fcn) (const std::string &, int, char) |
typedef int(* | startup_hook_fcn) (void) |
typedef void(* | user_accept_line_fcn) (const std::string &) |
Public Member Functions | |
default_command_editor (const default_command_editor &)=delete | |
default_command_editor (void) | |
~default_command_editor (void)=default | |
void | do_accept_line (void) |
string_vector | do_generate_filename_completions (const std::string &text) |
std::string | do_get_current_line (void) const |
FILE * | do_get_input_stream (void) |
std::string | do_get_line_buffer (void) const |
FILE * | do_get_output_stream (void) |
char | do_get_prev_char (int) const |
void | do_insert_text (const std::string &text) |
void | do_kill_full_line (void) |
void | do_newline (void) |
std::string | do_readline (const std::string &prompt, bool &eof) |
void | do_replace_line (const std::string &text, bool clear_undo) |
void | do_set_input_stream (FILE *f) |
void | do_set_output_stream (FILE *f) |
default_command_editor & | operator= (const default_command_editor &)=delete |
Static Public Member Functions | |
static void | accept_line (void) |
static void | add_event_hook (event_hook_fcn f) |
static void | add_pre_input_hook (pre_input_hook_fcn f) |
static void | add_startup_hook (startup_hook_fcn f) |
static void | blink_matching_paren (bool flag) |
static void | clear_screen (bool skip_redisplay=false) |
static void | clear_undo_list (void) |
static int | current_command_number (void) |
static std::string | decode_prompt_string (const std::string &s) |
static bool | erase_empty_line (bool flag) |
static bool | event_loop_interrupted (void) |
static bool | filename_completion_desired (bool) |
static bool | filename_quoting_desired (bool) |
static void | force_default_editor (void) |
static string_vector | generate_filename_completions (const std::string &text) |
static char_is_quoted_fcn | get_char_is_quoted_function (void) |
static completion_fcn | get_completion_function (void) |
static std::string | get_current_line (void) |
static dequoting_fcn | get_dequoting_function (void) |
static FILE * | get_input_stream (void) |
static std::string | get_line_buffer (void) |
static FILE * | get_output_stream (void) |
static char | get_prev_char (int) |
static quoting_fcn | get_quoting_function (void) |
static user_accept_line_fcn | get_user_accept_line_function (void) |
static void | increment_current_command_number (void) |
static int | insert_initial_input (void) |
static void | insert_text (const std::string &text) |
static bool | interrupt (bool=true) |
static void | interrupt_event_loop (bool flag=true) |
static void | kill_full_line (void) |
static void | newline (void) |
static bool | prefer_env_winsize (bool) |
static void | re_read_init_file (void) |
static void | read_init_file (const std::string &file="") |
static std::string | readline (const std::string &prompt) |
static std::string | readline (const std::string &prompt, bool &eof) |
static void | redisplay (void) |
static void | remove_event_hook (event_hook_fcn f) |
static void | remove_pre_input_hook (pre_input_hook_fcn f) |
static void | remove_startup_hook (startup_hook_fcn f) |
static void | replace_line (const std::string &text, bool clear_undo=true) |
static void | reset_current_command_number (int n) |
static void | resize_terminal (void) |
static void | restore_terminal_state (void) |
static void | run_event_hooks (void) |
static void | set_basic_quote_characters (const std::string &s) |
static void | set_basic_word_break_characters (const std::string &s) |
static void | set_char_is_quoted_function (char_is_quoted_fcn f) |
static void | set_completer_quote_characters (const std::string &s) |
static void | set_completer_word_break_characters (const std::string &s) |
static void | set_completion_append_character (char c) |
static void | set_completion_function (completion_fcn f) |
static void | set_dequoting_function (dequoting_fcn f) |
static void | set_filename_quote_characters (const std::string &s) |
static void | set_initial_input (const std::string &text) |
static void | set_input_stream (FILE *f) |
static void | set_name (const std::string &n) |
static void | set_output_stream (FILE *f) |
static void | set_quoting_function (quoting_fcn f) |
static void | set_screen_size (int ht, int wd) |
static void | set_user_accept_line_function (user_accept_line_fcn f) |
static int | terminal_cols (void) |
static int | terminal_rows (void) |
static bool | undo (void) |
Protected Attributes | |
int | m_cols |
int | m_command_number |
std::string | m_initial_input |
bool | m_interrupt_event_loop |
bool | m_interrupted |
int | m_rows |
Static Private Member Functions | |
static void | cleanup_instance (void) |
static int | event_handler (void) |
static void | handle_interrupt_signal (void) |
static bool | instance_ok (void) |
static void | make_command_editor (void) |
static int | pre_input_handler (void) |
static int | startup_handler (void) |
Private Attributes | |
FILE * | m_input_stream |
FILE * | m_output_stream |
Static Private Attributes | |
static std::set< event_hook_fcn > | m_event_hook_set |
static std::set< pre_input_hook_fcn > | m_pre_input_hook_set |
static std::set< startup_hook_fcn > | m_startup_hook_set |
static command_editor * | s_instance = nullptr |
Definition at line 931 of file cmd-edit.cc.
|
inherited |
Definition at line 67 of file cmd-edit.h.
|
inherited |
Definition at line 59 of file cmd-edit.h.
|
inherited |
Definition at line 61 of file cmd-edit.h.
|
inherited |
Definition at line 65 of file cmd-edit.h.
|
inherited |
Definition at line 57 of file cmd-edit.h.
|
inherited |
Definition at line 55 of file cmd-edit.h.
|
inherited |
Definition at line 63 of file cmd-edit.h.
|
inherited |
Definition at line 53 of file cmd-edit.h.
|
inherited |
Definition at line 69 of file cmd-edit.h.
|
inline |
Definition at line 936 of file cmd-edit.cc.
|
delete |
|
default |
|
staticinherited |
Definition at line 1489 of file cmd-edit.cc.
References command_editor::do_accept_line(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by octave_qscintilla::contextmenu_run(), main_window::execute_command_in_terminal(), and main_window::run_file_in_terminal().
|
staticinherited |
Definition at line 1561 of file cmd-edit.cc.
References event_hook_lock, f, and command_editor::m_event_hook_set.
Referenced by event_manager::event_manager(), input_system::initialize(), and interpreter::main_loop().
|
staticinherited |
Definition at line 1535 of file cmd-edit.cc.
References f, command_editor::instance_ok(), command_editor::m_pre_input_hook_set, command_editor::pre_input_handler(), command_editor::s_instance, and command_editor::set_pre_input_hook().
Referenced by command_editor::readline().
|
staticinherited |
Definition at line 1509 of file cmd-edit.cc.
References f, command_editor::instance_ok(), command_editor::m_startup_hook_set, command_editor::s_instance, command_editor::set_startup_hook(), and command_editor::startup_handler().
|
staticinherited |
Definition at line 1311 of file cmd-edit.cc.
References command_editor::do_blink_matching_paren(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by interpreter::execute().
|
inlinestaticprivateinherited |
Definition at line 222 of file cmd-edit.h.
Referenced by command_editor::instance_ok().
|
staticinherited |
Definition at line 1257 of file cmd-edit.cc.
References command_editor::do_clear_screen(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by Fclc(), and main_window::handle_clear_command_window_request().
|
staticinherited |
Definition at line 1502 of file cmd-edit.cc.
References command_editor::do_clear_undo_list(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1284 of file cmd-edit.cc.
References command_editor::instance_ok(), command_editor::m_command_number, and command_editor::s_instance.
|
staticinherited |
Definition at line 1278 of file cmd-edit.cc.
References command_editor::do_decode_prompt_string(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by tree_evaluator::echo_code(), lexer::fill_flex_buffer(), tree_evaluator::get_line_and_eval(), main_window::handle_octave_ready(), command_widget::init_command_prompt(), command_widget::process_input_line(), debugger::repl(), and push_parser::run().
|
virtual |
Implements command_editor.
Definition at line 1066 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 285 of file cmd-edit.h.
Referenced by command_editor::blink_matching_paren().
|
inlineprotectedvirtualinherited |
Definition at line 269 of file cmd-edit.h.
Referenced by command_editor::clear_screen().
|
inlineprotectedvirtualinherited |
Definition at line 350 of file cmd-edit.h.
Referenced by command_editor::clear_undo_list().
|
protectedvirtualinherited |
Definition at line 1691 of file cmd-edit.cc.
References command_history::current_number(), command_editor::m_command_number, n, command_editor::newline_chars(), octave_geteuid_wrapper(), octave_rl_prompt_end_ignore(), octave_rl_prompt_start_ignore(), and command_editor::read_octal().
Referenced by command_editor::decode_prompt_string().
|
inlineprotectedvirtualinherited |
Definition at line 287 of file cmd-edit.h.
Referenced by command_editor::erase_empty_line().
|
inlineprotectedinherited |
Definition at line 380 of file cmd-edit.h.
Referenced by command_editor::event_loop_interrupted().
|
inlineprotectedvirtualinherited |
Definition at line 368 of file cmd-edit.h.
Referenced by command_editor::filename_completion_desired().
|
inlineprotectedvirtualinherited |
Definition at line 370 of file cmd-edit.h.
Referenced by command_editor::filename_quoting_desired().
|
virtual |
Implements command_editor.
Definition at line 1016 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 322 of file cmd-edit.h.
Referenced by command_editor::get_char_is_quoted_function().
|
inlineprotectedvirtualinherited |
Definition at line 313 of file cmd-edit.h.
Referenced by command_editor::get_completion_function().
|
virtual |
Implements command_editor.
Definition at line 1029 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 319 of file cmd-edit.h.
Referenced by command_editor::get_dequoting_function().
|
virtual |
|
virtual |
Implements command_editor.
Definition at line 1023 of file cmd-edit.cc.
|
virtual |
|
virtual |
Implements command_editor.
Definition at line 1036 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 316 of file cmd-edit.h.
Referenced by command_editor::get_quoting_function().
|
inlineprotectedvirtualinherited |
Definition at line 325 of file cmd-edit.h.
Referenced by command_editor::get_user_accept_line_function().
|
inlineprotectedvirtualinherited |
Definition at line 376 of file cmd-edit.h.
Referenced by command_editor::handle_interrupt_signal().
|
protectedinherited |
Definition at line 1918 of file cmd-edit.cc.
References command_editor::do_insert_text(), command_editor::do_redisplay(), input(), and command_editor::m_initial_input.
Referenced by command_editor::insert_initial_input().
|
virtual |
Implements command_editor.
Definition at line 1054 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 374 of file cmd-edit.h.
Referenced by command_editor::interrupt().
|
inlineprotectedinherited |
Definition at line 378 of file cmd-edit.h.
Referenced by command_editor::interrupt_event_loop().
|
virtual |
Implements command_editor.
Definition at line 1048 of file cmd-edit.cc.
|
virtual |
Implements command_editor.
Definition at line 1060 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 372 of file cmd-edit.h.
Referenced by command_editor::prefer_env_winsize().
|
inlineprotectedvirtualinherited |
Definition at line 366 of file cmd-edit.h.
Referenced by command_editor::re_read_init_file().
|
inlineprotectedvirtualinherited |
Definition at line 364 of file cmd-edit.h.
Referenced by command_editor::read_init_file().
|
inlineprotectedinherited |
Definition at line 246 of file cmd-edit.h.
Referenced by command_editor::readline().
|
virtual |
Implements command_editor.
Definition at line 983 of file cmd-edit.cc.
References fgetl(), m_input_stream, and m_output_stream.
|
inlineprotectedvirtualinherited |
Definition at line 263 of file cmd-edit.h.
Referenced by command_editor::do_insert_initial_input(), and command_editor::redisplay().
|
virtual |
Implements command_editor.
Definition at line 1042 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 271 of file cmd-edit.h.
Referenced by command_editor::resize_terminal().
|
inlineprotectedvirtualinherited |
Definition at line 283 of file cmd-edit.h.
Referenced by command_editor::restore_terminal_state().
|
inlineprotectedvirtualinherited |
Definition at line 295 of file cmd-edit.h.
Referenced by command_editor::set_basic_quote_characters().
|
inlineprotectedvirtualinherited |
Definition at line 289 of file cmd-edit.h.
Referenced by command_editor::set_basic_word_break_characters().
|
inlineprotectedvirtualinherited |
Definition at line 309 of file cmd-edit.h.
Referenced by command_editor::set_char_is_quoted_function().
|
inlineprotectedvirtualinherited |
Definition at line 299 of file cmd-edit.h.
Referenced by command_editor::set_completer_quote_characters().
|
inlineprotectedvirtualinherited |
Definition at line 291 of file cmd-edit.h.
Referenced by command_editor::set_completer_word_break_characters().
|
inlineprotectedvirtualinherited |
Definition at line 293 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 301 of file cmd-edit.h.
Referenced by command_editor::set_completion_append_character().
|
inlineprotectedvirtualinherited |
Definition at line 303 of file cmd-edit.h.
Referenced by command_editor::set_completion_function().
|
inlineprotectedvirtualinherited |
Definition at line 307 of file cmd-edit.h.
Referenced by command_editor::set_dequoting_function().
|
inlineprotectedvirtualinherited |
Definition at line 297 of file cmd-edit.h.
Referenced by command_editor::set_filename_quote_characters().
|
virtual |
Implements command_editor.
Definition at line 992 of file cmd-edit.cc.
References f, and m_input_stream.
|
inlineprotectedvirtualinherited |
Definition at line 244 of file cmd-edit.h.
Referenced by command_editor::set_name().
|
virtual |
Implements command_editor.
Definition at line 1004 of file cmd-edit.cc.
References f, and m_output_stream.
|
inlineprotectedvirtualinherited |
Definition at line 305 of file cmd-edit.h.
Referenced by command_editor::set_quoting_function().
|
inlineprotectedvirtualinherited |
Definition at line 273 of file cmd-edit.h.
Referenced by command_editor::set_screen_size().
|
inlineprotectedvirtualinherited |
Definition at line 311 of file cmd-edit.h.
Referenced by command_editor::set_user_accept_line_function().
|
inlineprotectedvirtualinherited |
Definition at line 267 of file cmd-edit.h.
Referenced by command_editor::terminal_cols().
|
inlineprotectedvirtualinherited |
Definition at line 265 of file cmd-edit.h.
Referenced by command_editor::terminal_rows().
|
inlineprotectedvirtualinherited |
Definition at line 348 of file cmd-edit.h.
Referenced by command_editor::undo().
|
staticinherited |
Definition at line 1318 of file cmd-edit.cc.
References command_editor::do_erase_empty_line(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by octave_qscintilla::context_run(), octave_qscintilla::contextmenu_run(), and debugger::repl().
|
protectedinherited |
Definition at line 1964 of file cmd-edit.cc.
|
protectedinherited |
Definition at line 1958 of file cmd-edit.cc.
|
staticprivateinherited |
Definition at line 1160 of file cmd-edit.cc.
References event_hook_lock, f, command_editor::handle_interrupt_signal(), mutex::lock(), command_editor::m_event_hook_set, octave_interrupt_state, and mutex::unlock().
Referenced by command_editor::instance_ok(), and command_editor::run_event_hooks().
|
staticinherited |
Definition at line 1652 of file cmd-edit.cc.
References command_editor::do_event_loop_interrupted(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by action_container::run().
|
staticinherited |
Definition at line 1605 of file cmd-edit.cc.
References command_editor::do_filename_completion_desired(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1612 of file cmd-edit.cc.
References command_editor::do_filename_quoting_desired(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1106 of file cmd-edit.cc.
References command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1433 of file cmd-edit.cc.
References command_editor::do_generate_filename_completions(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by generate_completion().
|
staticinherited |
Definition at line 1419 of file cmd-edit.cc.
References command_editor::do_get_char_is_quoted_function(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1401 of file cmd-edit.cc.
References command_editor::do_get_completion_function(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1447 of file cmd-edit.cc.
References command_editor::do_get_current_line(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by octave_qscintilla::contextmenu_run(), main_window::execute_command_in_terminal(), and main_window::run_file_in_terminal().
|
staticinherited |
Definition at line 1413 of file cmd-edit.cc.
References command_editor::do_get_dequoting_function(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1219 of file cmd-edit.cc.
References command_editor::do_get_input_stream(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1441 of file cmd-edit.cc.
References command_editor::do_get_line_buffer(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by find_indexed_expression(), and is_completing_dirfns().
|
staticinherited |
Definition at line 1232 of file cmd-edit.cc.
References command_editor::do_get_output_stream(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1455 of file cmd-edit.cc.
References command_editor::do_get_prev_char(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by generate_completion(), and generate_possible_completions().
|
staticinherited |
Definition at line 1407 of file cmd-edit.cc.
References command_editor::do_get_quoting_function(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1426 of file cmd-edit.cc.
References command_editor::do_get_user_accept_line_function(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticprivateinherited |
Definition at line 1658 of file cmd-edit.cc.
References command_editor::do_handle_interrupt_signal(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by command_editor::event_handler().
|
staticinherited |
Definition at line 1297 of file cmd-edit.cc.
References command_editor::instance_ok(), command_editor::m_command_number, and command_editor::s_instance.
Referenced by tree_evaluator::parse_and_execute(), and tree_evaluator::repl().
|
staticinherited |
Definition at line 1120 of file cmd-edit.cc.
References command_editor::do_insert_initial_input(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by command_editor::readline().
|
staticinherited |
Definition at line 1475 of file cmd-edit.cc.
References command_editor::do_insert_text(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticprivateinherited |
Definition at line 1072 of file cmd-edit.cc.
References singleton_cleanup_list::add(), command_editor::cleanup_instance(), command_editor::event_handler(), command_editor::make_command_editor(), command_editor::s_instance, and command_editor::set_event_hook().
Referenced by command_editor::accept_line(), command_editor::add_pre_input_hook(), command_editor::add_startup_hook(), command_editor::blink_matching_paren(), command_editor::clear_screen(), command_editor::clear_undo_list(), command_editor::current_command_number(), command_editor::decode_prompt_string(), command_editor::erase_empty_line(), command_editor::event_loop_interrupted(), command_editor::filename_completion_desired(), command_editor::filename_quoting_desired(), command_editor::generate_filename_completions(), command_editor::get_char_is_quoted_function(), command_editor::get_completion_function(), command_editor::get_current_line(), command_editor::get_dequoting_function(), command_editor::get_input_stream(), command_editor::get_line_buffer(), command_editor::get_output_stream(), command_editor::get_prev_char(), command_editor::get_quoting_function(), command_editor::get_user_accept_line_function(), command_editor::handle_interrupt_signal(), command_editor::increment_current_command_number(), command_editor::insert_initial_input(), command_editor::insert_text(), command_editor::interrupt(), command_editor::interrupt_event_loop(), command_editor::kill_full_line(), command_editor::newline(), command_editor::prefer_env_winsize(), command_editor::re_read_init_file(), command_editor::read_init_file(), command_editor::readline(), command_editor::redisplay(), command_editor::remove_pre_input_hook(), command_editor::remove_startup_hook(), command_editor::replace_line(), command_editor::reset_current_command_number(), command_editor::resize_terminal(), command_editor::restore_terminal_state(), command_editor::set_basic_quote_characters(), command_editor::set_basic_word_break_characters(), command_editor::set_char_is_quoted_function(), command_editor::set_completer_quote_characters(), command_editor::set_completer_word_break_characters(), command_editor::set_completion_append_character(), command_editor::set_completion_function(), command_editor::set_dequoting_function(), command_editor::set_filename_quote_characters(), command_editor::set_initial_input(), command_editor::set_input_stream(), command_editor::set_name(), command_editor::set_output_stream(), command_editor::set_quoting_function(), command_editor::set_screen_size(), command_editor::set_user_accept_line_function(), command_editor::terminal_cols(), command_editor::terminal_rows(), and command_editor::undo().
|
staticinherited |
Definition at line 1625 of file cmd-edit.cc.
References command_editor::do_interrupt(), command_editor::instance_ok(), command_editor::m_interrupted, and command_editor::s_instance.
Referenced by file_editor_tab::confirm_dbquit_and_save(), main_window::debug_continue(), main_window::debug_quit(), main_window::debug_step_into(), main_window::debug_step_out(), main_window::debug_step_over(), and debugger::repl().
|
staticinherited |
Definition at line 1645 of file cmd-edit.cc.
References command_editor::do_interrupt_event_loop(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by octave_qscintilla::contextmenu_run(), main_window::execute_command_in_terminal(), action_container::run(), and main_window::run_file_in_terminal().
|
staticinherited |
Definition at line 1468 of file cmd-edit.cc.
References command_editor::do_kill_full_line(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by main_window::handle_clear_command_window_request().
|
staticprivateinherited |
Definition at line 1096 of file cmd-edit.cc.
References command_editor::s_instance.
Referenced by command_editor::instance_ok().
|
staticinherited |
Definition at line 1482 of file cmd-edit.cc.
References command_editor::do_newline(), command_editor::instance_ok(), and command_editor::s_instance.
|
inlineprotectedvirtualinherited |
Definition at line 281 of file cmd-edit.h.
Referenced by command_editor::do_decode_prompt_string().
|
delete |
|
staticprivateinherited |
Definition at line 1143 of file cmd-edit.cc.
References f, and command_editor::m_pre_input_hook_set.
Referenced by command_editor::add_pre_input_hook().
|
staticinherited |
Definition at line 1619 of file cmd-edit.cc.
References command_editor::do_prefer_env_winsize(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1598 of file cmd-edit.cc.
References command_editor::do_re_read_init_file(), command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1587 of file cmd-edit.cc.
References command_editor::do_read_init_file(), command_editor::instance_ok(), command_editor::s_instance, and tilde_expand().
|
protectedinherited |
Definition at line 1936 of file cmd-edit.cc.
Referenced by command_editor::do_decode_prompt_string().
|
staticinherited |
Definition at line 1188 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1196 of file cmd-edit.cc.
References command_editor::add_pre_input_hook(), command_editor::do_readline(), command_editor::insert_initial_input(), command_editor::instance_ok(), command_editor::m_initial_input, and command_editor::s_instance.
|
staticinherited |
Definition at line 1238 of file cmd-edit.cc.
References command_editor::do_redisplay(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by octave_qscintilla::contextmenu_run(), main_window::execute_command_in_terminal(), main_window::handle_undo_request(), and main_window::run_file_in_terminal().
|
staticinherited |
Definition at line 1569 of file cmd-edit.cc.
References event_hook_lock, f, and command_editor::m_event_hook_set.
|
staticinherited |
Definition at line 1546 of file cmd-edit.cc.
References f, command_editor::instance_ok(), command_editor::m_pre_input_hook_set, command_editor::restore_pre_input_hook(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1520 of file cmd-edit.cc.
References f, command_editor::instance_ok(), command_editor::m_startup_hook_set, command_editor::restore_startup_hook(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1461 of file cmd-edit.cc.
References command_editor::do_replace_line(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by octave_qscintilla::contextmenu_run(), and main_window::execute_command_in_terminal().
|
staticinherited |
Definition at line 1290 of file cmd-edit.cc.
References command_editor::instance_ok(), command_editor::m_command_number, n, and command_editor::s_instance.
|
staticinherited |
Definition at line 1264 of file cmd-edit.cc.
References command_editor::do_resize_terminal(), command_editor::instance_ok(), and command_editor::s_instance.
|
inlineprotectedvirtualinherited |
Definition at line 362 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 358 of file cmd-edit.h.
Referenced by command_editor::remove_pre_input_hook().
|
inlineprotectedvirtualinherited |
Definition at line 354 of file cmd-edit.h.
Referenced by command_editor::remove_startup_hook().
|
staticinherited |
Definition at line 1304 of file cmd-edit.cc.
References command_editor::do_restore_terminal_state(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by interpreter::shutdown().
|
staticinherited |
Definition at line 1581 of file cmd-edit.cc.
References command_editor::event_handler().
Referenced by debugger::server_loop(), and tree_evaluator::server_loop().
|
staticinherited |
Definition at line 1338 of file cmd-edit.cc.
References command_editor::do_set_basic_quote_characters(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1324 of file cmd-edit.cc.
References command_editor::do_set_basic_word_break_characters(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1387 of file cmd-edit.cc.
References command_editor::do_set_char_is_quoted_function(), f, command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1352 of file cmd-edit.cc.
References command_editor::do_set_completer_quote_characters(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1331 of file cmd-edit.cc.
References command_editor::do_set_completer_word_break_characters(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1359 of file cmd-edit.cc.
References command_editor::do_set_completion_append_character(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by generate_completion().
|
staticinherited |
Definition at line 1366 of file cmd-edit.cc.
References command_editor::do_set_completion_function(), f, command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1380 of file cmd-edit.cc.
References command_editor::do_set_dequoting_function(), f, command_editor::instance_ok(), and command_editor::s_instance.
|
inlineprotectedvirtualinherited |
Definition at line 360 of file cmd-edit.h.
Referenced by command_editor::instance_ok().
|
staticinherited |
Definition at line 1345 of file cmd-edit.cc.
References command_editor::do_set_filename_quote_characters(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1113 of file cmd-edit.cc.
References command_editor::instance_ok(), command_editor::m_initial_input, and command_editor::s_instance.
Referenced by octave_qscintilla::contextmenu_run(), main_window::execute_command_in_terminal(), and main_window::run_file_in_terminal().
|
staticinherited |
Definition at line 1212 of file cmd-edit.cc.
References command_editor::do_set_input_stream(), f, command_editor::instance_ok(), and command_editor::s_instance.
|
staticinherited |
Definition at line 1181 of file cmd-edit.cc.
References command_editor::do_set_name(), command_editor::instance_ok(), n, and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1225 of file cmd-edit.cc.
References command_editor::do_set_output_stream(), f, command_editor::instance_ok(), and command_editor::s_instance.
|
inlineprotectedvirtualinherited |
Definition at line 356 of file cmd-edit.h.
Referenced by command_editor::add_pre_input_hook().
|
staticinherited |
Definition at line 1373 of file cmd-edit.cc.
References command_editor::do_set_quoting_function(), f, command_editor::instance_ok(), and command_editor::s_instance.
Referenced by input_system::initialize().
|
staticinherited |
Definition at line 1271 of file cmd-edit.cc.
References command_editor::do_set_screen_size(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by Fterminal_size(), and main_window::set_screen_size().
|
inlineprotectedvirtualinherited |
Definition at line 352 of file cmd-edit.h.
Referenced by command_editor::add_startup_hook().
|
staticinherited |
Definition at line 1394 of file cmd-edit.cc.
References command_editor::do_set_user_accept_line_function(), f, command_editor::instance_ok(), and command_editor::s_instance.
|
staticprivateinherited |
Definition at line 1126 of file cmd-edit.cc.
References f, and command_editor::m_startup_hook_set.
Referenced by command_editor::add_startup_hook().
|
staticinherited |
Definition at line 1251 of file cmd-edit.cc.
References command_editor::do_terminal_cols(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by Fterminal_size(), and more_than_a_screenful().
|
staticinherited |
Definition at line 1245 of file cmd-edit.cc.
References command_editor::do_terminal_rows(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by Fterminal_size(), and more_than_a_screenful().
|
staticinherited |
Definition at line 1496 of file cmd-edit.cc.
References command_editor::do_undo(), command_editor::instance_ok(), and command_editor::s_instance.
Referenced by main_window::handle_undo_request().
|
protectedinherited |
Definition at line 395 of file cmd-edit.h.
|
protectedinherited |
Definition at line 392 of file cmd-edit.h.
Referenced by command_editor::current_command_number(), command_editor::do_decode_prompt_string(), command_editor::increment_current_command_number(), and command_editor::reset_current_command_number().
|
staticprivateinherited |
Definition at line 236 of file cmd-edit.h.
Referenced by command_editor::add_event_hook(), command_editor::event_handler(), and command_editor::remove_event_hook().
|
protectedinherited |
Definition at line 401 of file cmd-edit.h.
Referenced by command_editor::do_insert_initial_input(), command_editor::readline(), and command_editor::set_initial_input().
|
private |
Definition at line 977 of file cmd-edit.cc.
Referenced by do_get_input_stream(), do_readline(), and do_set_input_stream().
|
protectedinherited |
Definition at line 399 of file cmd-edit.h.
|
protectedinherited |
Definition at line 397 of file cmd-edit.h.
Referenced by command_editor::interrupt().
|
private |
Definition at line 979 of file cmd-edit.cc.
Referenced by do_get_output_stream(), do_readline(), and do_set_output_stream().
|
staticprivateinherited |
Definition at line 235 of file cmd-edit.h.
Referenced by command_editor::add_pre_input_hook(), command_editor::pre_input_handler(), and command_editor::remove_pre_input_hook().
|
protectedinherited |
Definition at line 394 of file cmd-edit.h.
|
staticprivateinherited |
Definition at line 234 of file cmd-edit.h.
Referenced by command_editor::add_startup_hook(), command_editor::remove_startup_hook(), and command_editor::startup_handler().
|
staticprivateinherited |
Definition at line 232 of file cmd-edit.h.
Referenced by command_editor::accept_line(), command_editor::add_pre_input_hook(), command_editor::add_startup_hook(), command_editor::blink_matching_paren(), command_editor::clear_screen(), command_editor::clear_undo_list(), command_editor::current_command_number(), command_editor::decode_prompt_string(), command_editor::erase_empty_line(), command_editor::event_loop_interrupted(), command_editor::filename_completion_desired(), command_editor::filename_quoting_desired(), command_editor::force_default_editor(), command_editor::generate_filename_completions(), command_editor::get_char_is_quoted_function(), command_editor::get_completion_function(), command_editor::get_current_line(), command_editor::get_dequoting_function(), command_editor::get_input_stream(), command_editor::get_line_buffer(), command_editor::get_output_stream(), command_editor::get_prev_char(), command_editor::get_quoting_function(), command_editor::get_user_accept_line_function(), command_editor::handle_interrupt_signal(), command_editor::increment_current_command_number(), command_editor::insert_initial_input(), command_editor::insert_text(), command_editor::instance_ok(), command_editor::interrupt(), command_editor::interrupt_event_loop(), command_editor::kill_full_line(), command_editor::make_command_editor(), command_editor::newline(), command_editor::prefer_env_winsize(), command_editor::re_read_init_file(), command_editor::read_init_file(), command_editor::readline(), command_editor::redisplay(), command_editor::remove_pre_input_hook(), command_editor::remove_startup_hook(), command_editor::replace_line(), command_editor::reset_current_command_number(), command_editor::resize_terminal(), command_editor::restore_terminal_state(), command_editor::set_basic_quote_characters(), command_editor::set_basic_word_break_characters(), command_editor::set_char_is_quoted_function(), command_editor::set_completer_quote_characters(), command_editor::set_completer_word_break_characters(), command_editor::set_completion_append_character(), command_editor::set_completion_function(), command_editor::set_dequoting_function(), command_editor::set_filename_quote_characters(), command_editor::set_initial_input(), command_editor::set_input_stream(), command_editor::set_name(), command_editor::set_output_stream(), command_editor::set_quoting_function(), command_editor::set_screen_size(), command_editor::set_user_accept_line_function(), command_editor::terminal_cols(), command_editor::terminal_rows(), and command_editor::undo().