ScottLogic / kdb-boothroyd

a prototype re-implementation of KDB Studio using JavaScript and Electron
Apache License 2.0
5 stars 2 forks source link

cursor jumps too much if multiple lines selected #81

Open gyorokpeter opened 2 years ago

gyorokpeter commented 2 years ago

Example:

aaa
>bbb
ccc
ddd

The > indicates the cursor. In KDB Studio, pressing shift+down twice selects the bbb and ccc lines, then pressing up makes the cursor jump to the ccc line. In KDB Studio 2 it jumps to the beginning at the selection and then moves up one more line ending up at aaa, which breaks muscle memory. Even notepad++ and the lowly windows notepad don't jump past the selection.