Whitespace highlighting now uses an overlay mode, which restores compatibility with CodeMirror 3.
Many thanks to Lance Campbell (@lkcampbell) for getting this started on the Brackets mailing list and getting the necessary hint from the CodeMirror team (see https://github.com/marijnh/CodeMirror/pull/1281/commits)!
Restored compatibility with CodeMirror 2, which doesn't have addOverlay
Added support for trailing and leading whitespace
Merge pull request #6 from lkcampbell/fix_issue_04

Added support for trailing and leading whitespace
Restored support for inline editors and cleaned up the code