Added Autocompletion for the LuaConsole (TAB/Shift+TAB)

This commit is contained in:
Alexander Bock
2015-02-17 00:43:11 +01:00
parent 1a2c882eb0
commit 7286ba3ded
4 changed files with 83 additions and 5 deletions

View File

@@ -62,9 +62,15 @@ private:
std::vector<std::string> _commandsHistory;
size_t _activeCommand;
std::vector<std::string> _commands;
std::string _filename;
struct {
int lastAutoCompleteIndex;
bool hasInitialAutoCompleteValue;
std::string initalAutoCompleteValue;
} _autoCompleteInfo;
bool _isVisible;
};