Pelles C forum

Pelles C => Feature requests => Topic started by: Miki on July 14, 2014, 04:57:28 PM

Title: Add option to make <HOME> key go to beginning of line.
Post by: Miki on July 14, 2014, 04:57:28 PM
Hi All,
Currently, pressing the <HOME> key in the source code edit window causes the cursor to stop at the first whitespace character it encounters.
This means that the <HOME> key must be pressed twice to set the caret to the beginning of the line.

Would it be possible to add the ability to turn this on or off? (i.e. a "<Home> stops at first whitespace" checkbox in options)

Thanks for reading this.

:Miki.
Title: Re: Add option to make <HOME> key go to beginning of line.
Post by: Stefan Pendl on July 14, 2014, 09:19:40 PM
This is generally the way many code editors are acting on the home/pos1 key.

Source code is indented to make it more readable, so the first character in a line is seldom at column 1.

Have you tried if you get the same behavior with auto indent set to none?
Title: Re: Add option to make <HOME> key go to beginning of line.
Post by: Miki on July 15, 2014, 01:25:39 AM
Hi Stefan,
Thanks for your reply. I'm currently using Code:Blocks for C++ and it has the ability to turn that functionality off (Which I promptly do.)
There are other IDEs that provide the same option.

I have turned Auto-Indent off to no avail.

:Miki.
Title: Re: Add option to make <HOME> key go to beginning of line.
Post by: Pelle on July 15, 2014, 11:28:30 AM
I want to release version 8.0, not add new features, so maybe in a future version. I will think about it...