How to forget cursor column?

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 4
Joined: Mon Oct 14, 2024 7:18 am

How to forget cursor column?

Post by Zook »

AkelPad has this behavior where if the cursor is in a particular column, and you move it up or down to a shorter line, it remembers its last column position and restores it when moved to a longer line.

Is there a way to disable this and have it act like Notepad, where it does not store a memory of its column position?

Offline
Posts: 4
Joined: Mon Oct 14, 2024 7:18 am

Re: How to forget cursor column?

Post by Zook »

I have solved this by commenting out the line "ae->nCaretHorzIndent=nCaretHorzIndent;" in AkelEdit.c and building from source. Perhaps this could be an option included in a future release?

Offline
Site Admin
Posts: 6411
Joined: Thu Jul 06, 2006 7:20 am

Re: How to forget cursor column?

Post by Instructor »

Zook
In Akelpad 4.9.9 you can use manual flag 16 in the parameter "CaretOptions".

Offline
Posts: 4
Joined: Mon Oct 14, 2024 7:18 am

Re: How to forget cursor column?

Post by Zook »

Nice, thanks

Offline
Posts: 4
Joined: Mon Oct 14, 2024 7:18 am

Re: How to forget cursor column?

Post by Zook »

Oh I see you just released it. Did you add that in at my request? Very cool
Post Reply