There is strange behavior when selecting a block/paragraph (a single line of text that wraps around multiple psuedo-lines), using the shift+home/end
hotkeys.
Steps to reproduce
- Create a note with wrapping text and long paragraphs.
- Put cursor in the middle of a paragraph
- Press
shift+home
orshife+end
- You will select to the beginning or end of the line.
- Press
shift+home/end
again.
Expected result
I expect the 2nd keypress of shift+home
to select to the beginning of the block.
I expect the 2nd keypress of shift+end
to select to the end of the block.
Actual result
This 2nd press will yield different results depending on which direction you are going.
If you press shift+home
twice, then you will select all the way to the beginning of the block, as expected. This is standard behavior for most code editors.
However, if you press shift+end
twice, then you will instead select to the end of the next psuedo-line.
Expected behavior is for shift + end
to select to the end of the block, which is internally consistent with the behavior of the shift + home
hotkey in Obsidian and which is standard behavior for most code editors.
Environment
- Operating system:
Windows 10. Others on Mac report similar behavior.
- Debug info:
SYSTEM INFO:
Obsidian version: v0.13.14
Installer version: v0.10.8
Login status: logged in
Catalyst license: supporter
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: on
RECOMMENDATIONS:
Update installer: installer version too low, please download from Download - Obsidian and reinstall.