Actualy, Notepad++ current behaviour is correct. The message should be displayed if the file doesn't exist anymore (Notepad++ checks for this condition every time it gets focus). If you don't want to loose the contents - save it. If you don't need the contents - close it without saving. Simple.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
>> Actualy, Notepad++ current behaviour is correct. The message should be
>> displayed if the file doesn't exist anymore (Notepad++ checks for this
>> condition every time it gets focus). If you don't want to loose the
>> contents - save it. If you don't need the contents - close it without
>> saving. Simple.
I don't want to loose the content while the editor is still open (I can alway re-FTP it if power goes down) but I definitely don't want to save it either. What's wrong with keeping it in the editor without bothering me every time the focus is changed?
The behavior is definitely wrong. No sensibly UI will open a message box on each change of focus!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is an recent option to "Update Silently", perhaps this could either
a) go under the same option switch, or
b) have a new similar 'silent' toggle control.
a) is probably simplest - comments ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While having the option to turn monitoring on or off is nice, this is not solving the misbehavior here.
In the case where the edited file disappears (gets deleted) it does make sense to get some notification but the current situation does not make sense: when an edited file gets deleted you get asked repeatedly whether you want to keep it or not. This message repeats every time Notepad++ looses and regains focus.
Solving this problem by turning off file monitoring is not a good idea since one looses the ability to track the underlying file. A much better and less annoying approach would be to mark this file as changed (silently even). This will make sure you get asked if you want to save it or not when you exit Notepad++ when you will be notified that the file was deleted and be asked whether to save it or not. Another approach would be to ask but only once - after all, what will be the percentage of users who are expected to keep the file 3 times and then close it?
Regards,
Dror
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. This message should only be displayed once, not everytime fabulatastic np++ gets focus....!
I think the behavior should be based on whether it was deleted or changed:
if changed:
show the message everytime the tab containing the file in np++ gets focus, not np++ itself as a whole
if deleted:
show the message once, when the tab gets focus
Actualy, Notepad++ current behaviour is correct. The message should be displayed if the file doesn't exist anymore (Notepad++ checks for this condition every time it gets focus). If you don't want to loose the contents - save it. If you don't need the contents - close it without saving. Simple.
Paulius wrote:
>> Actualy, Notepad++ current behaviour is correct. The message should be
>> displayed if the file doesn't exist anymore (Notepad++ checks for this
>> condition every time it gets focus). If you don't want to loose the
>> contents - save it. If you don't need the contents - close it without
>> saving. Simple.
I don't want to loose the content while the editor is still open (I can alway re-FTP it if power goes down) but I definitely don't want to save it either. What's wrong with keeping it in the editor without bothering me every time the focus is changed?
The behavior is definitely wrong. No sensibly UI will open a message box on each change of focus!
There is an recent option to "Update Silently", perhaps this could either
a) go under the same option switch, or
b) have a new similar 'silent' toggle control.
a) is probably simplest - comments ?
While having the option to turn monitoring on or off is nice, this is not solving the misbehavior here.
In the case where the edited file disappears (gets deleted) it does make sense to get some notification but the current situation does not make sense: when an edited file gets deleted you get asked repeatedly whether you want to keep it or not. This message repeats every time Notepad++ looses and regains focus.
Solving this problem by turning off file monitoring is not a good idea since one looses the ability to track the underlying file. A much better and less annoying approach would be to mark this file as changed (silently even). This will make sure you get asked if you want to save it or not when you exit Notepad++ when you will be notified that the file was deleted and be asked whether to save it or not. Another approach would be to ask but only once - after all, what will be the percentage of users who are expected to keep the file 3 times and then close it?
Regards,
Dror