Ever since I upgraded to 4.1.1 the last document is always opened when the application opens. It doesn't matter how I set the "Remember the current session for next launch" setting.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-05-19
Checking the setting and closing Notepad++ afterwards did the trick for me. The setting won't be checked when you start Notepad++ the next time, but it won't remember the last session either.
(Worked the other way around too: If Notepad++ doesn't remember the last session, check the setting, close the application and when you restart it, the setting won't be checked but it will remember the last session.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For future reference - anyone looking for a fix -(mine was remembering a 1 G file!)
Ver 5.6.8
The last file used is retained in the %AppData%\Notepad++\Session.xml file
The line will have a filename="PATH\File"
Set that parm to filename=""
When you open the prog - clear out any other files -
File>Save Settings
CLOSE the program
Open the program - Verify you have no file or location remembered
- Settings>Preferences On the Misc Tab put checkmark in "Remember current session for next launch"
Close the program and open it
NOW, to force it to ALWAYS open blank - go back in and UNCHECK the setting "Remember current session for next launch"
and CLOSE the app.
Now you will always open a new file ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ever since I upgraded to 4.1.1 the last document is always opened when the application opens. It doesn't matter how I set the "Remember the current session for next launch" setting.
Checking the setting and closing Notepad++ afterwards did the trick for me. The setting won't be checked when you start Notepad++ the next time, but it won't remember the last session either.
(Worked the other way around too: If Notepad++ doesn't remember the last session, check the setting, close the application and when you restart it, the setting won't be checked but it will remember the last session.)
I confirm...
For future reference - anyone looking for a fix -(mine was remembering a 1 G file!)
Ver 5.6.8
The last file used is retained in the %AppData%\Notepad++\Session.xml file
The line will have a filename="PATH\File"
Set that parm to filename=""
When you open the prog - clear out any other files -
File>Save Settings
CLOSE the program
Open the program - Verify you have no file or location remembered
- Settings>Preferences On the Misc Tab put checkmark in "Remember current session for next launch"
Close the program and open it
NOW, to force it to ALWAYS open blank - go back in and UNCHECK the setting "Remember current session for next launch"
and CLOSE the app.
Now you will always open a new file ;)