outline/userInput.js
function startFillInText (selectedTd) {
      switch (this.whatSortOfEditCell(selectedTd)) {
        case 'DatatypeProperty-like':
                // this.clearMenu();
                // selectedTd.className='';
          UI.utils.emptyNode(selectedTd)
          this.lastModified = this.createInputBoxIn(selectedTd, ' (Please Input) ')
          this.lastModified.isNew = false

          this.lastModified.select()
          break
        case 'predicate':
                // the goal is to bring back all the menus (with autocomplete functionality
                // this.performAutoCompleteEdit(selectedTd,['PredicateAutoComplete',
                //                        this.choiceQuery('SuggestPredicateByDomain')]);
          this.performAutoCompleteEdit(selectedTd, 'PredicateAutoComplete')
          break
        case 'ObjectProperty-like':
        case 'no-idea':
                // menu should be either function that
          this.performAutoCompleteEdit(selectedTd, 'GeneralAutoComplete')

                /*
                //<code time="original">
                emptyNode(selectedTd);
                this.lastModified=this.createInputBoxIn(selectedTd,"");
                this.lastModified.select();
                this.lastModified.addEventListener('keypress',this.AutoComplete,false);
                //this pops up the autocomplete menu
                this.AutoComplete(1);
                //</code>
                */
      }
    }
function startFillInText (selectedTd) {
      switch (this.whatSortOfEditCell(selectedTd)) {
        case 'DatatypeProperty-like':
                // this.clearMenu();
                // selectedTd.className='';
          UI.utils.emptyNode(selectedTd)
          this.lastModified = this.createInputBoxIn(selectedTd, ' (Please Input) ')
          this.lastModified.isNew = false

          this.lastModified.select()
          break
        case 'predicate':
                // the goal is to bring back all the menus (with autocomplete functionality
                // this.performAutoCompleteEdit(selectedTd,['PredicateAutoComplete',
                //                        this.choiceQuery('SuggestPredicateByDomain')]);
          this.performAutoCompleteEdit(selectedTd, 'PredicateAutoComplete')
          break
        case 'ObjectProperty-like':
        case 'no-idea':
                // menu should be either function that
          this.performAutoCompleteEdit(selectedTd, 'GeneralAutoComplete')

                /*
                //<code time="original">
                emptyNode(selectedTd);
                this.lastModified=this.createInputBoxIn(selectedTd,"");
                this.lastModified.select();
                this.lastModified.addEventListener('keypress',this.AutoComplete,false);
                //this pops up the autocomplete menu
                this.AutoComplete(1);
                //</code>
                */
      }
    }
a general entry point for any event except Click&Enter(goes to literalModification) do a little inference to pick the right input box