Lazarus

Programming => General => Topic started by: pvn1 on May 16, 2019, 10:59:15 am

Title: Undo for caret position
Post by: pvn1 on May 16, 2019, 10:59:15 am
In Delphi IDE, the caret position is part of the undo history (only when position changes via mouse click) . How can I replicate this behavior in Lazarus IDE?
Title: Re: Undo for caret position
Post by: Martin_fr on May 16, 2019, 01:46:02 pm
You don't get it as part of the undo.

But there is a jump history. And if the caret was moved more than a few lines, then this is added to the jump history
IIRC default is ctrl-h, but you can map it to other keys.
You can also use the 4th/5th mouse button.
And there is a window in the "View" menu.
And the editor toolbar (install package) can offer buttons.
Title: Re: Undo for caret position
Post by: pvn1 on May 16, 2019, 02:01:20 pm
You don't get it as part of the undo.

But there is a jump history. And if the caret was moved more than a few lines, then this is added to the jump history
IIRC default is ctrl-h, but you can map it to other keys.
You can also use the 4th/5th mouse button.
And there is a window in the "View" menu.
And the editor toolbar (install package) can offer buttons.

Thanks, that is exactly what I was looking for.
TinyPortal © 2005-2018