       @documentString = newDocumentString
       @autoCompleteStart(newDocumentString[position - 1], position - 1)
 
+      #@autoCompleteOn = false
+
+   autoCompleteStart: (character, position) ->
       @autoCompleteOn = false
-      #populatedropDown
-
-   autoCompleteStart: (character, position) ->
       searchForSymbol = true
       results = []
       currentString = ""

         self.insertAutoCompleteItem($(this))

      $(@dropDownItem).on 'keydown', (event) ->
         console.log(self)
         currentDataIndex = parseInt($(this).attr('data-index'))
         nextDataIndex = 0
         jquerySelector = self.dropDownItem + "[data-index='" + nextDataIndex + "']"


   populateDropDown: (results)=>
      return unless results?
      return unless @autoCompleteOn
      @numDropDownItems = 0

      @dropDownContainer.empty()
