Reloading page with markup misplaces cursor
1. Enter the following text (excluding <cursor>) into a page:
Zim //markup// <cursor>feature is great.
2. Place cursor at the position indicated by <cursor>, that is, just before the word "feature".
3. Reload page.
Expected result: The word "markup" is in italic, the two pairs of "//" are gone, AND the cursor is still positioned just before "feature".
Actual result: The word "markup" is in italic, the two pairs of "//" are gone, BUT the cursor is *not* positioned before "feature", but instead in the middle of "feature".
It seems that the removed characters used for markup are not accounted for when positioning the cursor after a page reload.
I am running Zim 0.56 on Ubuntu 12.10:
INFO: This is zim 0.56
DEBUG: Python version is sys.version_
DEBUG: Platform is posix
DEBUG: Zim revision is:
revision: 533 <email address hidden>
date: 2012-04-02 22:07:22 +0200
DEBUG: Gtk version is (2, 24, 13)
DEBUG: Pygtk version is (2, 24, 0)