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.
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.
For what it’s worth, I have only ever known Geany to behave the way you describe as aggravating. I’ve never thought twice about it as, to me, it is intuitive for the cursor to straight down to the next line at the same horizontal space position as it was in on the upper line.
I use Geany on Windows 11 and, for me at least, it has always behaved this way.
Virgil
From: baughmankr--- via Usersmailto:users@lists.geany.org Sent: Wednesday, January 18, 2023 10:48 AM To: users@lists.geany.orgmailto:users@lists.geany.org Cc: baughmankr@gmail.commailto:baughmankr@gmail.com Subject: [Geany-Users] How to make cursor go to beginning of a new line with arrow down?
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.
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
Using Geany for linux I find the following behavior.
If I have a file with the following:
This is a test And a second line
And the second line begins with a tab. * Hitting down arrow on T and h in the first line goes to the first position on the second line * Hitting down arrow on the i or s (of "This") on the first line goes to the A on the second line * Hitting down arrow on any other character of the first line goes down one line to the corresponding position If the second line begins with spaces, hitting down arrow goes down one line to the corresponding position
Here are my indent settings. Changing the settings causes no change in behavior.
On Wed, Jan 18, 2023, at 09:45, Virgil Arrington via Users wrote:
For what it’s worth, I have only ever known Geany to behave the way you describe as aggravating. I’ve never thought twice about it as, to me, it is intuitive for the cursor to straight down to the next line at the same horizontal space position as it was in on the upper line.
I use Geany on Windows 11 and, for me at least, it has always behaved this way.
Virgil
*From: *baughmankr--- via Users mailto:users@lists.geany.org *Sent: *Wednesday, January 18, 2023 10:48 AM *To: *users@lists.geany.org *Cc: *baughmankr@gmail.com *Subject: *[Geany-Users] How to make cursor go to beginning of a new line with arrow down?
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.
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
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Hey there,
Sam via Users wrote:
Using Geany for linux I find the following behavior.
If I have a file with the following:
This is a test And a second line
And the second line begins with a tab.
- Hitting down arrow on T and h in the first line goes to the first
position on the second line
- Hitting down arrow on the i or s (of "This") on the first line
goes to the A on the second line
- Hitting down arrow on any other character of the first line goes
down one line to the corresponding position If the second line begins with spaces, hitting down arrow goes down one line to the corresponding position
I just did this test and saw the same behavior. I'll also add that pressing the up arrow after pressing the down arrow always returns me to exactly where I was on the starting line before I pressed the down arrow. All of this is as I would expect it to be, although I was fascinated by how the tabs affect which way the cursor goes depending on where you are on the starting line.
One other thing I'll add is that I use real tabs, as you did in the above test, but some people use spaces for tabs. If I set up the same example, but replace the tab with four spaces, the cursor stays in the same column when I press the down or up arrow keys anywhere on the starting line.
Hey there,
Virgil Arrington via Users wrote:
For what it’s worth, I have only ever known Geany to behave the way you describe as aggravating. I’ve never thought twice about it as, to me, it is intuitive for the cursor to straight down to the next line at the same horizontal space position as it was in on the upper line.
Same here.
I use Geany on Windows 11 and, for me at least, it has always behaved this way.
I've used Geany on Ubuntu MATE and currently on Kubuntu and it has also always behaved this way. I've never tried Arch Linux, so it's possible there's something about that environment that influenced or influences Geany's behavior.
On 2023-01-18 07:47, baughmankr--- via Users 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.
Interesting how tastes differ. My arrow goes straight down and that's exactly how I want it. I'd be as upset as you if it *did* jump to the beginning of the line. Some editors, the cursor hops back and forth to whatever column the cursor was on last time it visited that line -- I find that maddening.
Hey there,
Ray Andrews via Users wrote:
Interesting how tastes differ. My arrow goes straight down and that's exactly how I want it. I'd be as upset as you if it *did* jump to the beginning of the line. Some editors, the cursor hops back and forth to whatever column the cursor was on last time it visited that line -- I find that maddening.
I agree and I like that the cursor stays in the same column on each line. As a result, though, I can imagine how frustrating I would find it if it suddenly moved to the beginning of the next line, so I can totally understand why this current behavior is frustrating for the OP. I get very frustrated at (and will even give up on) programs that put my cursor in unwanted places, etc.
In fact, Geany did something similar that drove me nuts when I first installed it and I would have walked away if I couldn't have changed it. The default behavior for the Home and End keys in Geany is to take you to the beginning or end of the current sentence regardless of how many lines it occupies. This means that it could take you three lines up or down or whatever. My desired behavior for those two keys is to take me to the beginning or end of the current line that I'm on, so I wasn't happy. Luckily, Geany gave me the ability to customize that behavior (big hug to the developers for that) and my Home and End keys now do what I want them to do and I've got a note in my personal wiki reminding me of the instructions to follow to change that setting for any future new installations. Hopefully the OP will be able to do something similar with this issue.
On 2023-01-18 11:33, Little Girl via Users wrote:
I agree and I like that the cursor stays in the same column on each In fact, Geany did something similar that drove me nuts when I first installed it and I would have walked away if I couldn't have changed it.
Nice when the devs let YOU decide, eh? Gawd, some programs, they 'improve' something that you can't turn off. I'm thinking of Firefox removing the 'Open File' button from the menu bar. Progs should come with a 'Recent Changes' menu dialogue where you can turn off whatever it is in the latest-greatest that you don't like.
Hey there,
Ray Andrews via Users wrote:
Little Girl via Users wrote:
In fact, Geany did something similar that drove me nuts when I first installed it and I would have walked away if I couldn't have changed it.
Nice when the devs let YOU decide, eh?
Yeah. It doesn't often happen. That's why I gave the Geany devs hugs for keeping us and our choices in mind when designing the program. It's strongly appreciated.
On 2023-01-18 07:47, baughmankr--- via Users 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.
As other folks have mentioned, that's how it is supposed to work. And in fact all the GUI editors (vi as well) I've tried do the same.
However, from your description I'd guess that you are expecting to go the beginning of EMPTY lines. Is that the case? That is the expected behavior and what editors generally do, including geany. Cursor goes vertically as far as possible to the same column, but if the line doesn't extend that far, well it won't go straight down. If empty, it must go to the beginning/end of line, which are the same column.
Is it not doing that? Another guess is that you have a bunch of spaces sitting on otherwise empty lines.
You can check this by toggling "Show White Space" in the View menu. If extra whitespace is in the way, you can delete it manually. However, there is a setting to delete whitespace at the ends of lines every time you hit Enter.
Under Preferences/Editor/Features/"Newline strips trailing spaces"
I recommend anyone writing code to set this, it will reduce noise in version control commits.
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
Thanks for all the replies.
I must have been wrong and ascribed the behavior of my favorite code editor, jEdit, to Geany. My apologies.
I'm coming back to coding after a several month hiatus due to retirement so I'm getting reacquainted with old habits and programs.
I will point out, though, as I write this note online, that the cursor in this comment editor goes to the beginning of the line if you arrow down to a new line! :-)
All the best! Great community here.
On Sat, 21 Jan 2023 at 05:37, baughmankr--- via Users users@lists.geany.org wrote:
Thanks for all the replies.
I must have been wrong and ascribed the behavior of my favorite code editor, jEdit, to Geany. My apologies.
I'm coming back to coding after a several month hiatus due to retirement so I'm getting reacquainted with old habits and programs.
I will point out, though, as I write this note online, that the cursor in this comment editor goes to the beginning of the line if you arrow down to a new line! :-)
Comment editor? This is a mailing list and you are using your favourite? email program. Here in gmail in the browser the cursor behaves as it does in Geany.
All the best! Great community here. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org