used modified textview to set text selection differently
removed extra comments and whitespace
disable autocompletion and fix cursor placement
use a hashmap to store setting names, and place cursor before closing parenthesis for useful editing