Author Topic: save-named-state load-named-state loads multiple copies of files  (Read 360 times)

Graeme

  • Senior Community Member
  • Posts: 2359
  • Hero Points: 310
save-named-state load-named-state loads multiple copies of files
« on: September 29, 2018, 01:02:06 am »
If I use load-named state repeatedly, each time it is used, it loads a "new copy" of each file (I think).  The file tabs show multiple windows for the same buffer.  I have "one file per window" set.  I think load-named-state is not closing files that were open when the command was executed.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4896
  • Hero Points: 399
Re: save-named-state load-named-state loads multiple copies of files
« Reply #1 on: September 29, 2018, 01:29:45 am »
Change line 1948 in restore.e to the following:

Code: [Select]
   if (save_files) {