Reloading page with markup misplaces cursor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Won't Fix
|
Low
|
Unassigned |
Bug Description
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:
branch: pyzim-trunk
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)
description: | updated |
Will keep the report open, but afraid this will be a "Won't Fix" for a long time. Reason is that in the pageview we do not have information from the parser, so we are not aware that the characters disappeared.