From 558ce124eb9787beae314effe12b3c17568625e1 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Wed, 30 Jun 2010 05:02:46 +0000 Subject: Add a source file completer to the CommandCompleters. Add a way for the completers to say whether the completed argument should have a space inserted after is or not. Added the file name completer to the "file" command. llvm-svn: 107247 --- lldb/source/Interpreter/CommandObject.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/source/Interpreter/CommandObject.cpp') diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index 2813ac16366..7ee9137b0e1 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -304,6 +304,7 @@ CommandObject::HandleCompletion int &cursor_char_position, int match_start_point, int max_return_elements, + bool &word_complete, StringList &matches ) { @@ -345,6 +346,7 @@ CommandObject::HandleCompletion cursor_char_position, match_start_point, max_return_elements, + word_complete, matches); if (handled_by_options) return matches.GetSize(); @@ -358,6 +360,7 @@ CommandObject::HandleCompletion opt_element_vector, match_start_point, max_return_elements, + word_complete, matches); } } -- cgit v1.2.3