On Thu, 19 Jan 2023 at 01:48, baughmankr--- via Users users@lists.geany.org wrote:
Until a few weeks ago, the default behavior when using "arrow down" to go to the next line, the cursor would jump to the beginning of the line. Now it goes to the space right underneath the cursor on the previous line. I find this so aggravating, I'm starting to look at new text editors. But I don't want to leave Geany.
The default behaviour of down arrow is to go to the nearest legal visual column position. As several correspondents noted, tabs use up more than one character position and the legal cursor positions are at the start or at the end of the tab, which the cursor goes to depends which the position on the line above is nearest to. As spaces use only one position when indents use spaces the cursor can stay in the same position on down arrow. If the current position is past the end of the next line then down arrow will go to the end of the line, since thats the closest legal position (by default, but see below).
The only time the cursor will go to the start of the line is if its a tab and the position on the current line is closer to the start than the end of the tab, or if the line is blank. Unless you simply omitted to mention that the next line was blank, then the behavior of going to the start of the line is something somebody outside the Scintilla/Geany project had added.
There is however a setting that fills past the end of lines with "virtual" spaces (Edit->Preferences->Editor->Display->Virtual Spaces). The default is for rectangular selections only, but if it is set to "always" then all positions past the end of lines become valid due to the virtual spaces, so the cursor no longer has to go back to the end of short/empty lines so will move directly down. You should check that setting.
Cheers Lex
I've fiddled with all sorts of settings, "word wrap", etc.
How can I recover the behavior of old? I uninstalled geany-plugins, then uninstalled and reinstalled Geany but the behavior persists.
I use Linux and am running the latest version of Arch.
Thanks in advance. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org