Skip to content

Empty files are not saved #10667

@mikhaelkh

Description

@mikhaelkh

Steps to Reproduce the Issue

  1. Open a non-empty text file
  2. Empty the file and save it
  3. Reload from Disk

Expected Behavior

After Step 3 the file is empty

Actual Behavior

After Step 3 the file is reloaded to its last non-empty version

Debug Information

Notepad++ v8.1.6   (64-bit)
Build time : Oct 10 2021 - 14:10:29
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : ON
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise 2016 LTSB (64-bit) 
OS Version : 1607
OS Build : 14393.4651
Current ANSI codepage : 1251
Plugins : JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions