outline/userInput.js
function createNew (e) {
      outline.UserInput.clearMenu()
      var selectedTd = outline.getSelection()[0]
      var targetdoc = selectedTd.parentNode.AJAR_statement.why
      var newTerm = kb.nextSymbol(targetdoc)
      outline.UserInput.fillInRequest('object', selectedTd, newTerm)
        // selection is changed
      outline.outlineExpand(outline.getSelection()[0], newTerm)
    }
function createNew (e) {
      outline.UserInput.clearMenu()
      var selectedTd = outline.getSelection()[0]
      var targetdoc = selectedTd.parentNode.AJAR_statement.why
      var newTerm = kb.nextSymbol(targetdoc)
      outline.UserInput.fillInRequest('object', selectedTd, newTerm)
        // selection is changed
      outline.outlineExpand(outline.getSelection()[0], newTerm)
    }
function createNew ( e ) { outline . UserInput . clearMenu ( ) var selectedTd = outline . getSelection ( ) [ 0 ] var targetdoc = selectedTd . parentNode . AJAR_statement . why var newTerm = kb . nextSymbol ( targetdoc ) outline . UserInput . fillInRequest ( 'object' , selectedTd , newTerm ) // selection is changed outline . outlineExpand ( outline . getSelection ( ) [ 0 ] , newTerm ) }
called when 'New...' is clicked(eventlistener) or enter is pressed while 'New...' is highlighted
called when New ... is clicked ( eventlistener ) or enter is pressed while New ... is highlighted