marijnh/CodeMirror2 — pull request #521 by metzen (2012-05-01 02:34:42+00:00)
Title: Fix for Python mode: Tokenize variables separately from . or @ prefix

Greetings!

I'd like to propose the following fix for Issue #520 (https://github.com/marijnh/CodeMirror2/issues/520)

I'm new to the codebase, so let me know if the approach of messing around with the stream.pos is acceptable, or whether a larger refactoring would be needed to accomplish this in a cleaner manner.

Thanks.