Author Topic: Diff and deleted file  (Read 193 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2615
  • Hero Points: 210
  • Text
Diff and deleted file
« on: August 18, 2022, 05:30:18 pm »
1 Copy file.txt file2.txt
2 echo THIS >> file2.txt
3 VS.exe file.txt file2.txt
4 In Slick, diff the two files.

5 From outside slick, delete File2.txt
6 Go back to slick.

7 Slick prompts to Save Deleted Files
8 Click Close Selected.
9 Slick prompts
Quote
---------------------------
SlickEdit Pro
---------------------------
You cannot close this file because it is being diffed.
---------------------------
OK   
---------------------------

Now, everytime I try to activate the diff window I get the prompt to save deleted files, then complaining that I cannot close files being diffed.
After closing Diff, the deleted file is still a buffer in Slickedit, but it doesn't show as modified - typically files that have been deleted from disk show as modified in slickedit.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: Diff and deleted file
« Reply #1 on: August 18, 2022, 06:27:11 pm »
I'm going to be looking into this.  The solution is probably not to allow closing the file if it is being diffed.