NO

Author Topic: Add option to make <HOME> key go to beginning of line.  (Read 3894 times)

Miki

  • Guest
Add option to make <HOME> key go to beginning of line.
« 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.

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: Add option to make <HOME> key go to beginning of line.
« Reply #1 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?
---
Stefan

Proud member of the UltraDefrag Development Team

Miki

  • Guest
Re: Add option to make <HOME> key go to beginning of line.
« Reply #2 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.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Add option to make <HOME> key go to beginning of line.
« Reply #3 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...
/Pelle