Merge pull request #121 from chrox/master

add go back/forward methods for credocument
fix segmentation on CJK characters when updating selection