[BUG] CMD+Shift+Up/Down
and Tab
broken for moving/indenting lists and sublists in certain pages
#532
Labels
bug
Something isn't working
Describe the bug
In certain large files, with long, complicated, highly nested lists/outlines, (1)
CMD+Shift+Up/Down
fails to move list/sublist up/down, respectively, and instead highlights text through top/bottom of page, and (2)Tab
andShift+Tab
don't indent a list and its children, but rather only the bullet that I'm on. See screen recording for examples.After seeing other issues, I hypothesized that this was due to inconsistent indentation in my file, empty lines, and so on, so with python, I looked for such cases (empty lines and lines that weren't 0 mod 4, since this is my tab size). I found a case of 25 spaces, and I corrected it to 24, and I found several cases of empty lines in lists (they looked like
-
after some number of indents, ending a list), and I deleted these lines. This fixed the problem for me.To Reproduce
However, I can't actually reproduce this behavior by creating smaller lists that have the properties I had to fix in the above lists (empty lines and inconsistent indentation), so it feels like the plugin is successfully accounting for these things except in lists that are very long or complicated.
Expected behavior
I'd expect these hot keys to account for inconsistent indentation by rounding to the nearest indentation suggested by the number of spaces(e.g., consider 1 space 0 spaces, consider 3 spaces 4 spaces) and to be fine with empty lines. Indeed, they don't break the hotkeys when I manufacture small lists with the same properties.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Outliner.bug.mp4
The text was updated successfully, but these errors were encountered: