Author Topic: Clear the modified lines highlight on a specific file  (Read 3360 times)

jimbo333

  • Community Member
  • Posts: 58
  • Hero Points: 3
Clear the modified lines highlight on a specific file
« on: June 22, 2011, 05:16:40 PM »
I would like to know if there is a way to clear the memory of which lines were modified on a specific file?  My usage is if I restore a file from backup, it shows that I have modified the entire file.  Ideally, it would restore the lines I modified from that backup :)  But I would be happy if I would have the buffer cleared in stead of it showing every single line was modified.

I have Auto restore line modify set to true.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Clear the modified lines highlight on a specific file
« Reply #1 on: June 22, 2011, 09:03:59 PM »
There is a command to reset modified lines for a file: reset_modified_lines, which can be called from the SlickEdit command-line.  We don't have a way to restore modified lines from a backup or other file location unfortunately.

jimbo333

  • Community Member
  • Posts: 58
  • Hero Points: 3
Re: Clear the modified lines highlight on a specific file
« Reply #2 on: June 22, 2011, 11:54:24 PM »
Works perfectly, thanks!