marijnh/CodeMirror — pull request #1066 by mhils (2012-12-08 19:01:51+00:00)
Title: Pass givenObjects to hint functions, add option for additional context.

This pull requests contains two changes:
The first change is that simpleHint hands the given options object over to the hinting function. This is useful if your hinting function comes with configuration options.
The second change adds an *additionalContext* option to javascriptHint. This way, autocompletion can be established for objects that are not in the *window* scope. (obviously depends on the first change)

I hope you welcome these additions.

Thanks!