Simplify highlight drawing code.

No need to translate, we can just add some numbers together.
Merge pull request #34 from csmith/textpane

Simplify highlight drawing code.