Author Topic: Any short key or method to go to last edit location  (Read 3325 times)

chgmxx

  • Community Member
  • Posts: 10
  • Hero Points: 0
Any short key or method to go to last edit location
« on: January 17, 2015, 07:46:02 AM »
Dear friends:
Anyone who knows how to go to last edit location. without set bookmark.
I couldn't find it from tools.
Thanks

Graeme

  • Senior Community Member
  • Posts: 2793
  • Hero Points: 347

chgmxx

  • Community Member
  • Posts: 10
  • Hero Points: 0
Re: Any short key or method to go to last edit location
« Reply #2 on: January 17, 2015, 01:36:03 PM »
Thanks for your help.
Is there any method without loading macro? It seems not compatible with modifiled color line feature.

Thanks again.

Graeme

  • Senior Community Member
  • Posts: 2793
  • Hero Points: 347
Re: Any short key or method to go to last edit location
« Reply #3 on: January 18, 2015, 01:53:22 AM »
Maybe the next_modified_line and prev_modified_line commands.  They look in the current buffer only.  You could also try undo_cursor but there might be a risk that it actually undoes a change you made.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Any short key or method to go to last edit location
« Reply #4 on: January 18, 2015, 01:44:49 PM »
With the default settings, the "undo" command will move the cursor to the last edit location in the current file (not another file).

chgmxx

  • Community Member
  • Posts: 10
  • Hero Points: 0
Re: Any short key or method to go to last edit location
« Reply #5 on: January 19, 2015, 09:09:41 AM »
With the default settings, the "undo" command will move the cursor to the last edit location in the current file (not another file).
As it's quite an useful feature. I think the sc should have this command.
I will test it soon.
Thanks