cappuccino/cappuccino — pull request #1569 by aljungberg (2012-06-21 17:06:13+00:00)
Title: Token field improved autocomplete, key bindings support, clean up

These updates rewrite the internals of `CPTokenField` to be more Cappuccino like with support for `CPKeyBindings`, usage of Cappuccino event handling, a separate cleaned up and much improved autocomplete, less code and less deeply nested code, better support for subclassing and better adherence to expectations set by its `CPTextField` superclass.

Other selected updates:

* The autocomplete menu now shows more than 3 completions, and displays all options in a more space efficient manner.
* The autocomplete menu has a more standard Cappuccino look and adapts its width automatically.
* If a token is selected, typing anything overwrites that token.
* Keyboard handling bug fixes for some browsers.
* `CPTokenField`'s support for represented objects was improved and fixed to match Cocoa behaviour.

For full list see the commits.