when executing the command "Select Line" (e.g. assigning it a keyboard shortcut), Geany still remembers the last X incorrectly, so Shift-Down and other keys don't work well. this PR sets the last X correctly for this case and many other cases.
the caret/anchor is also swapped for select all. previously the selection was not in the natural forward direction and therefore very strange. almost every other editor including in this textarea in most browsers has it the correct way. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/4093
-- Commit Summary --
* send SCI_SWAPMAINANCHORCARET after selecting all for a more natural selection order * send SCI_CHOOSECARETX after setting selection
-- File Changes --
M src/sciwrappers.c (5)
-- Patch Links --
https://github.com/geany/geany/pull/4093.patch https://github.com/geany/geany/pull/4093.diff