Mercurial > octave-nkf
changeset 15807:37104cd70d0f
Add command-line completion for method names of Java object.
* libinterp/interpfcn/variables.cc(generate_struct_completions). Generate
completions for structs (is_map) and for Java objects (is_java).
author | Rik <rik@octave.org> |
---|---|
date | Mon, 17 Dec 2012 13:32:33 -0800 |
parents | 01d4f742d75d |
children | 68919cd4cd45 |
files | libinterp/interpfcn/variables.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/interpfcn/variables.cc Mon Dec 17 10:23:43 2012 -0800 +++ b/libinterp/interpfcn/variables.cc Mon Dec 17 13:32:33 2012 -0800 @@ -282,7 +282,7 @@ frame.run (); - if (tmp.is_defined () && tmp.is_map ()) + if (tmp.is_defined () && (tmp.is_map () || tmp.is_java ())) names = tmp.map_keys (); } }