Author Topic: close next-error buffer "like automatically close visited files"  (Read 3367 times)

ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
hi

when i look at my errors from a build operation i use next-error to open the code buffer do my fix and go to next error, is there a way to have next-error close previously opened buffer before opening the next ?

any guidance apprecaited : )

thanks and my regards
ehab

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3860
  • Hero Points: 509
Re: close next-error buffer "like automatically close visited files"
« Reply #1 on: April 27, 2009, 04:06:03 pm »
The automatically close visited files feature does work with next-error, however, as it true in other cases such as search results or references, it will not close a "visited" file which you have modified.  This is why it appears that the feature is not working, although it really is.  We could add logic to automatically close visited files to prompt if you want to save a file which you have modified before closing it, but the intrusiveness of prompting in those cases would probably make that more annoying that useful.

ehab

  • Senior Community Member
  • Posts: 285
  • Hero Points: 15
  • coding with SE is like playing music
Re: close next-error buffer "like automatically close visited files"
« Reply #2 on: April 27, 2009, 05:33:20 pm »
... it will not close a "visited" file which you have modified...

But i haven't modified anything! on the visited file. In fact the file was a compiler generated!

..We could add logic to automatically close visited files to prompt if you want to save a file which you have modified before closing it...

If you can the please also add an option such

Code: [Select]
set-var def_undo_past_save_prompt 0

would be just fine!

Thanks Dennis for any input