scala-ide/scala-ide — pull request #470 by jhaberstro (2013-07-23 09:26:28+00:00)
Title: Deprecated ScalaCodeScanner.tokenize(IDocument, Int, Int) incorrectly handled offset in generated tokens.

This fixes a bug I introduced in the ScalaCodeScanner.tokenize in this PR https://github.com/scala-ide/scala-ide/pull/462

Essentially, the API I deprecated wasn't forwarding the offset parameter to the new API.

I've also included a new test for this.