Mercurial > octave
diff liboctave/cmd-edit.h @ 9485:3cee58bf4acf
selectively complete filenames in some cases
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Aug 2009 16:31:15 -0400 |
parents | 9b87aeb24ea9 |
children | 4c0cdbe0acca |
line wrap: on
line diff
--- a/liboctave/cmd-edit.h Tue Aug 04 15:32:14 2009 -0400 +++ b/liboctave/cmd-edit.h Tue Aug 04 16:31:15 2009 -0400 @@ -120,6 +120,8 @@ static string_vector generate_filename_completions (const std::string& text); + static std::string get_line_buffer (void); + static void insert_text (const std::string& text); static void newline (void); @@ -256,6 +258,8 @@ virtual string_vector do_generate_filename_completions (const std::string& text) = 0; + virtual std::string do_get_line_buffer (void) const = 0; + virtual void do_insert_text (const std::string&) = 0; virtual void do_newline (void) = 0;