2012-11-27 01:24:30 |
Joel Pettersson |
description |
1. Enter the following text (excluding <cursor>) into a page:
Zim //markup// <cursor>feature is great.
2. Place marker 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_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
branch: pyzim-trunk
revision: 533 jaap.karssenberg@gmail.com-20120402200722-gdcw1ef3icbs49qe
date: 2012-04-02 22:07:22 +0200
DEBUG: Gtk version is (2, 24, 13)
DEBUG: Pygtk version is (2, 24, 0) |
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_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
branch: pyzim-trunk
revision: 533 jaap.karssenberg@gmail.com-20120402200722-gdcw1ef3icbs49qe
date: 2012-04-02 22:07:22 +0200
DEBUG: Gtk version is (2, 24, 13)
DEBUG: Pygtk version is (2, 24, 0) |
|