Recent

Author Topic: Undo for caret position  (Read 857 times)

pvn1

  • Newbie
  • Posts: 5
Undo for caret position
« 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?
« Last Edit: May 16, 2019, 11:34:22 am by pvn1 »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Undo for caret position
« Reply #1 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.

pvn1

  • Newbie
  • Posts: 5
Re: Undo for caret position
« Reply #2 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