Pos1 Changing

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Pos1 Changing

Post by Capricorn »

Example: I've got this code

Code: Select all

function(dsd){
  "blabla";
}
and my cursor is behind the ; . When I now use the Pos1 Key, the cursor jumps to the beginning of the line:

Code: Select all

function(dsd){
|  "blabla";
}
But wouldn't it be smarter if the cursor jumps to the beginning of the "blabla" string first:

Code: Select all

function(dsd){
  |"blabla";
}
If than the Pos1 gets pressed again, the cursor jumps to the "real" beginning of the line, if pressed another time it jumps back to the "blabla" string and so on.

It would be a great feature for me because I'm an excessive user of Pos1 and End Keys.

Hope you understand what I mean and don't fall off your chair because of my bad english ;-)

Capricorn
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Pos1 Changing

Post by Gatis »

Hi,

This is possible.
Go to Main Menu; Options; Preferences; option group "Text Editor"; General, and then enable the check-box "Constraint cursor to text".
Kind regards,
Gatis Avots
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Re: Pos1 Changing

Post by Capricorn »

Hi,

yes, I already activated this, but it just prevents the cursor from beeing placed like this:

Code: Select all

function(dsd){
  "blabla";          |
}
But if I press Pos1 it still jumps to the first position in line, not to the left of the first character in line.

Capricorn
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Pos1 Changing

Post by Gatis »

But if I press Pos1 it still jumps to the first position in line, not to the left of the first character in line.
Not sure what is "Pos1", but if you press key-board button "Home", then in normal situation it should place the cursor like this

Code: Select all

function(dsd){
  |"blabla";
}
if you press it once again, then cursor is positioned like this:

Code: Select all

function(dsd){
|  "blabla";
}
You can repeat this many times, and the cursor will jump between these two positions.
Kind regards,
Gatis Avots
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Re: Pos1 Changing

Post by Capricorn »

OK, that's exactly what I want. I bow know that the "Home"-Key of English keyboards is similar to the "Pos1"-Key (Position 1) of German keyboards.

If the option "Home springt hinter erstes Leerzeichen" / "Home-key jumps to first non-space char" is activated it work's perfectly. Maybe you could change this in the German translation because we do not have a "Home-key", it is named Pos1.

Capricorn
Post Reply