Mike 8.3.2010

  • Still working on the autocomplete text area with a number of headaches arising
  • Created a function for grabbing the compare string out of the text which can then be passed to the filterFunction, unfortunately there is apparently a decent delay between when a user types in a character and when it is actually added to the textField so I was constantly one character behind for awhile until I learned about the “callLater(function)”.  Ah event based programming…
  • Keys a user would usually use for navigating the and selecting from the drop-down list also move the text cursor around and add carriage returns so I put in functions to undo the adverse effects after they’ve completed.  Unfortunately I believe these will only work with word-wrap off which is fine for a code/script editor.
  • After that was done everything seems to be working fine except for the positioning of the pop-up is still in the top right corner and not near the cursor