Merge pull request #122 from chrox/master

fix segmentation on CJK characters when updating selection
Merge pull request #123 from chrox/master

add getTextFromPositions method for credocument
fix highlight offset in scroll mode