Updated Lua Auto-Completion and added CodeEditor::setMode