Numbered list indentation and cursor position
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Committed
|
Low
|
Unassigned |
Bug Description
When tab or shift+tab is used to indent or deindent a numbered list, the cursor position after the indent or deindent is before the number (or letter) instead of after.
For example:
1. abc
2. def
3. | <- pressing tab here gives
1. abc
2. def
| a.
instead of
1. abc
2. def
a. |
where '|' represents the cursor.
This can be solved by moving the cursor to the end (of the) line every time an indent or dedent is issued. There might be a more elegant solution, though.
This is with Zim .60 installed on Arch through the AUR
Edit:
I'm running KDE (though I doubt that matters)
On inspection of the code, it appears that this function is carried out by iter_forward_
This is not being executed / is failing on indentation of numbered lists (but is executed and succeeding on indentation of bullet lists)
Thanks
description: | updated |
description: | updated |
description: | updated |
Changed in zim: | |
assignee: | nobody → Harshad Srinivasan (harshad1) |
Changed in zim: | |
assignee: | Harshad Srinivasan (harshad1) → nobody |
Changed in zim: | |
status: | Confirmed → Fix Committed |
Will take along when refactoring this widget.
No high prio for now since as soon as you start typing the cursor jumps to the right place.
Regards,
Jaap