#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <algorithm>
#include <iostream>
#include <queue>
#include <sstream>
#include <string>
#include "cmd-edit.h"
#include "file-ops.h"
#include "iconv-wrappers.h"
#include "localcharset-wrapper.h"
#include "oct-env.h"
#include "oct-string.h"
#include "quit.h"
#include "str-vec.h"
#include "uniconv-wrappers.h"
#include "builtin-defun-decls.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "event-manager.h"
#include "help.h"
#include "hook-fcn.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "octave.h"
#include "oct-map.h"
#include "oct-hist.h"
#include "ovl.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pt-eval.h"
#include "pt-stmt.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
Go to the source code of this file.
Functions | |
static std::string | find_indexed_expression (const std::string &text) |
static std::string | generate_completion (const std::string &text, int state) |
static string_vector | generate_possible_completions (const std::string &text, std::string &prefix, std::string &hint, bool &deemed_struct) |
static string_vector | generate_struct_completions (const std::string &text, std::string &prefix, std::string &hint) |
static int | internal_input_event_hook_fcn (void) |
static bool | is_completing_dirfns (void) |
static bool | looks_like_struct (const std::string &text, char prev_char) |
static std::string | quoting_filename (const std::string &text, int, char quote) |
Variables | |
bool | octave_completion_matches_called = false |
bool | Vdrawnow_requested = false |
octave::sys::time | Vlast_prompt_time = 0.0 |
|
static |
Definition at line 109 of file input.cc.
References command_editor::get_line_buffer().
Referenced by generate_struct_completions().
|
static |
Definition at line 286 of file input.cc.
References __get_input_system__(), string_vector::append(), input_system::completion_append_char(), command_editor::generate_filename_completions(), generate_possible_completions(), command_editor::get_prev_char(), is_completing_dirfns(), looks_like_struct(), string_vector::numel(), command_editor::set_completion_append_character(), and state.
Referenced by input_system::initialize().
|
static |
Definition at line 239 of file input.cc.
References generate_struct_completions(), command_editor::get_prev_char(), looks_like_struct(), make_name_list(), and string_vector::sort().
Referenced by generate_completion().
|
static |
Definition at line 152 of file input.cc.
References __get_interpreter__(), action_container::add(), error_system::discard_warning_messages(), interpreter::eval_string(), find_indexed_expression(), interpreter::get_error_system(), octave_value::is_classdef_object(), octave_value::is_defined(), interpreter::is_variable(), octave_value::isjava(), octave_value::isstruct(), octave_value::map_keys(), interpreter::recover_from_exception(), action_container::run(), and error_system::set_discard_warning_messages().
Referenced by generate_possible_completions().
|
static |
Definition at line 389 of file input.cc.
References __get_input_system__(), and input_system::run_input_event_hooks().
Referenced by input_system::initialize().
|
static |
Definition at line 262 of file input.cc.
References command_editor::get_line_buffer().
Referenced by generate_completion().
|
static |
Definition at line 225 of file input.cc.
References dir_sep_chars.
Referenced by generate_completion(), and generate_possible_completions().
|
static |
Definition at line 96 of file input.cc.
Referenced by input_system::initialize().
bool octave_completion_matches_called = false |
Definition at line 87 of file input.cc.
Referenced by tree_evaluator::eval(), and debugger::repl().
bool Vdrawnow_requested = false |
Definition at line 91 of file input.cc.
Referenced by delete_graphics_object(), F__fltk_check__(), F__zoom__(), Fdrawnow(), Freset(), Fset(), and make_graphics_object().
octave::sys::time Vlast_prompt_time = 0.0 |
Definition at line 84 of file input.cc.
Referenced by out_of_date_check(), tree_evaluator::parse_and_execute(), rehash_internal(), and file_editor::request_run_file().