-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
I opened two text files in notepad++ and splitted the view vertically. One file is displayed on the left side, the other one on the right side. After deleting both files, notepad++ becomes unusable.
Steps To Reproduce
Open two text files in notepad++ and view them side by side:

On the file system, delete both files. Result:

Click "No" to not keep the file b.txt. Result:

Click "No" to not keep the file a.txt.
As shown in the following screenshot, the entire editing area is grey. I cannot edit in notepad++ anymore

Click on "new file" several times.
Result: All tabs are named "neu 1" and none of the files can be edited, because the entire editing area is grey here as well:

Current Behavior
See "Steps To Reproduce"
Expected Behavior
notepad++ should be usable even if files are deleted which were viewed in split-mode
Debug Information
Notepad++ v8.7.4 (64-bit)
Build time : Dec 4 2024 - 23:50:05
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : OFF
Placeholders : OFF
DirectWrite : ON
Multi-instance Mode : monoInst
File Status Auto-Detection : cdEnabledNew (for current file/tab only)
Dark Mode : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5131
Current ANSI codepage : 1252
Plugins : noneAnything else?
No response