Removed redundant calls to setDisplayAutocompleteTextView in textView:doCommandBySelector:
insertSelectedCompletion no longer returns a BOOL.

If there is no selection in the table view, this method does nothing.
Cleaned up method for determining autocomplete text view and table size/origin.
updateAutocompleteTextViewContents now also sends the displaySelectedCompletion message to the autocomplete text view.

These two methods work in concert and were always called together.
Removed the editedRange instance variable.

Rather than keeping track of the edited string in the super text view, the autocomplete text view and table are calculated from the super text view selected range position (the cursor position). This position is not updated at the NSTextStorageDidProcessEditing notification, but rather in at the NSTextDidChange notification. The PLAutocompleteViewController no longer observes the two text storage notifications, but does observe the NSTextDidChange notification. Added a method updateCompletions that encapsulates all of the parsing logic, which is called in the textDidChange: method.