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 (void) | |
default_command_editor (const default_command_editor &)=delete | |
~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 |
Protected Attributes | |
int | command_number |
std::string | initial_input |
bool | interrupted |
Private Attributes | |
FILE * | input_stream |
FILE * | output_stream |
Definition at line 926 of file cmd-edit.cc.
|
inherited |
Definition at line 62 of file cmd-edit.h.
|
inherited |
Definition at line 54 of file cmd-edit.h.
|
inherited |
Definition at line 56 of file cmd-edit.h.
|
inherited |
Definition at line 60 of file cmd-edit.h.
|
inherited |
Definition at line 52 of file cmd-edit.h.
|
inherited |
Definition at line 50 of file cmd-edit.h.
|
inherited |
Definition at line 58 of file cmd-edit.h.
|
inherited |
Definition at line 48 of file cmd-edit.h.
|
inherited |
Definition at line 64 of file cmd-edit.h.
|
inline |
Definition at line 931 of file cmd-edit.cc.
|
delete |
|
default |
|
staticinherited |
Definition at line 1482 of file cmd-edit.cc.
Referenced by octave::octave_cmd_exec::execute(), and octave::octave_cmd_eval::execute().
|
staticinherited |
Definition at line 1554 of file cmd-edit.cc.
References octave::event_hook_lock, and f.
Referenced by gh_manager::do_enable_event_processing(), gh_manager::do_post_event(), and octave_link::octave_link().
|
staticinherited |
Definition at line 1528 of file cmd-edit.cc.
References f.
|
staticinherited |
Definition at line 1502 of file cmd-edit.cc.
References f.
|
staticinherited |
Definition at line 1302 of file cmd-edit.cc.
Definition at line 1246 of file cmd-edit.cc.
Referenced by octave::main_window::clear_command_window_callback(), and Fclc().
|
staticinherited |
Definition at line 1495 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1274 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1267 of file cmd-edit.cc.
References s.
Referenced by octave::tree_evaluator::echo_code(), and octave::base_reader::octave_gets().
|
virtual |
Implements octave::command_editor.
Definition at line 1061 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 268 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 256 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 329 of file cmd-edit.h.
|
protectedvirtualinherited |
Definition at line 1672 of file cmd-edit.cc.
References c, i, now, octave_geteuid_wrapper(), octave_rl_prompt_end_ignore(), octave_rl_prompt_start_ignore(), retval, s, and string.
Definition at line 270 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 347 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 349 of file cmd-edit.h.
|
virtual |
Implements octave::command_editor.
Definition at line 1011 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 302 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 296 of file cmd-edit.h.
|
virtual |
Implements octave::command_editor.
Definition at line 1024 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 300 of file cmd-edit.h.
|
virtual |
Implements octave::command_editor.
Definition at line 993 of file cmd-edit.cc.
|
virtual |
Implements octave::command_editor.
Definition at line 1018 of file cmd-edit.cc.
|
virtual |
Implements octave::command_editor.
Definition at line 1005 of file cmd-edit.cc.
|
virtual |
Implements octave::command_editor.
Definition at line 1031 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 298 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 305 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 355 of file cmd-edit.h.
|
protectedinherited |
Definition at line 1899 of file cmd-edit.cc.
|
virtual |
Implements octave::command_editor.
Definition at line 1049 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 353 of file cmd-edit.h.
|
virtual |
Implements octave::command_editor.
Definition at line 1043 of file cmd-edit.cc.
|
virtual |
Implements octave::command_editor.
Definition at line 1055 of file cmd-edit.cc.
Definition at line 351 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 345 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 343 of file cmd-edit.h.
|
inlineprotectedinherited |
Definition at line 233 of file cmd-edit.h.
|
virtual |
Implements octave::command_editor.
Definition at line 978 of file cmd-edit.cc.
References fputs(), and octave_fgetl().
|
inlineprotectedvirtualinherited |
Definition at line 250 of file cmd-edit.h.
|
virtual |
Implements octave::command_editor.
Definition at line 1037 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 258 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 266 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 278 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 272 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 292 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 282 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 274 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 276 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 284 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 286 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 290 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 280 of file cmd-edit.h.
|
virtual |
|
inlineprotectedvirtualinherited |
Definition at line 231 of file cmd-edit.h.
|
virtual |
|
inlineprotectedvirtualinherited |
Definition at line 288 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 260 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 294 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 254 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 252 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 327 of file cmd-edit.h.
Definition at line 1309 of file cmd-edit.cc.
|
protectedinherited |
Definition at line 1939 of file cmd-edit.cc.
|
protectedinherited |
Definition at line 1945 of file cmd-edit.cc.
References s.
Definition at line 1598 of file cmd-edit.cc.
References arg.
Definition at line 1605 of file cmd-edit.cc.
References arg.
|
staticinherited |
Definition at line 1101 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1427 of file cmd-edit.cc.
Referenced by generate_completion().
|
staticinherited |
Definition at line 1413 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1392 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1440 of file cmd-edit.cc.
Referenced by octave::octave_cmd_exec::execute(), and octave::octave_cmd_eval::execute().
|
staticinherited |
Definition at line 1406 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1204 of file cmd-edit.cc.
Referenced by get_input_from_stdin().
|
staticinherited |
Definition at line 1434 of file cmd-edit.cc.
Referenced by find_indexed_expression(), and is_completing_dirfns().
|
staticinherited |
Definition at line 1218 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1448 of file cmd-edit.cc.
Referenced by generate_completion(), and generate_possible_completions().
|
staticinherited |
Definition at line 1399 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1420 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1288 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1115 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1468 of file cmd-edit.cc.
Definition at line 1619 of file cmd-edit.cc.
Referenced by octave::octave_cmd_debug::execute().
|
staticinherited |
Definition at line 1461 of file cmd-edit.cc.
Referenced by octave::main_window::clear_command_window_callback().
|
staticinherited |
Definition at line 1475 of file cmd-edit.cc.
|
inlineprotectedvirtualinherited |
Definition at line 264 of file cmd-edit.h.
|
delete |
Definition at line 1612 of file cmd-edit.cc.
References arg.
|
staticinherited |
Definition at line 1591 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1580 of file cmd-edit.cc.
References file, string, and octave::sys::file_ops::tilde_expand().
|
protectedinherited |
Definition at line 1917 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1173 of file cmd-edit.cc.
Referenced by gnu_readline().
|
staticinherited |
Definition at line 1181 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1225 of file cmd-edit.cc.
Referenced by octave::main_window::command_window_undo_callback(), octave::octave_cmd_exec::execute(), and octave::octave_cmd_eval::execute().
|
staticinherited |
Definition at line 1562 of file cmd-edit.cc.
References octave::event_hook_lock, f, and p.
Referenced by gh_manager::do_enable_event_processing(), and gh_manager::do_process_events().
|
staticinherited |
Definition at line 1539 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1513 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1454 of file cmd-edit.cc.
Referenced by octave::octave_cmd_exec::execute(), and octave::octave_cmd_eval::execute().
|
staticinherited |
Definition at line 1281 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1253 of file cmd-edit.cc.
Referenced by octave::main_window::resize_command_window_callback().
|
inlineprotectedvirtualinherited |
Definition at line 341 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 337 of file cmd-edit.h.
|
inlineprotectedvirtualinherited |
Definition at line 333 of file cmd-edit.h.
|
staticinherited |
Definition at line 1295 of file cmd-edit.cc.
|
staticinherited |
Definition at line 1574 of file cmd-edit.cc.
Referenced by while().
|
staticinherited |
Definition at line 1329 of file cmd-edit.cc.
References s.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1315 of file cmd-edit.cc.
References s.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1378 of file cmd-edit.cc.
References f.
|
staticinherited |
Definition at line 1343 of file cmd-edit.cc.
References s.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1322 of file cmd-edit.cc.
References s.
Referenced by initialize_command_input().
|
staticinherited |
|
staticinherited |
Definition at line 1357 of file cmd-edit.cc.
References f.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1371 of file cmd-edit.cc.
References f.
|
inlineprotectedvirtualinherited |
Definition at line 339 of file cmd-edit.h.
|
staticinherited |
Definition at line 1336 of file cmd-edit.cc.
References s.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1108 of file cmd-edit.cc.
References text.
Referenced by octave::octave_cmd_exec::execute(), and octave::octave_cmd_eval::execute().
|
staticinherited |
|
staticinherited |
Definition at line 1166 of file cmd-edit.cc.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1211 of file cmd-edit.cc.
References f.
|
inlineprotectedvirtualinherited |
Definition at line 335 of file cmd-edit.h.
|
staticinherited |
Definition at line 1364 of file cmd-edit.cc.
References f.
Referenced by initialize_command_input().
|
staticinherited |
Definition at line 1260 of file cmd-edit.cc.
Referenced by octave::main_window::set_screen_size_callback().
|
inlineprotectedvirtualinherited |
Definition at line 331 of file cmd-edit.h.
|
staticinherited |
Definition at line 1385 of file cmd-edit.cc.
References f.
|
staticinherited |
Definition at line 1239 of file cmd-edit.cc.
Referenced by string_vector::list_in_columns(), more_than_a_screenful(), octave_print_diag_matrix_internal(), octave_print_internal(), octave_print_internal_template(), and octave_print_matrix_internal().
|
staticinherited |
Definition at line 1232 of file cmd-edit.cc.
Referenced by more_than_a_screenful().
|
staticinherited |
Definition at line 1489 of file cmd-edit.cc.
Referenced by octave::main_window::command_window_undo_callback().
|
protectedinherited |
Definition at line 366 of file cmd-edit.h.
|
protectedinherited |
Definition at line 370 of file cmd-edit.h.
|
private |
Definition at line 972 of file cmd-edit.cc.
|
protectedinherited |
Definition at line 368 of file cmd-edit.h.
|
private |
Definition at line 974 of file cmd-edit.cc.