[BUG] sort lines loses data.
Author: boris-999Created Sep 25, 2026Updated Sep 26, 2026
Is there an existing issue (open or closed) for this?
- I have searched the existing issues
Is the issue reproducible in Notepad++ without plugin?
- I have tried Notepad++ without plugin
Is the issue reproducible in portable version of Notepad++?
- I have tried portable version of Notepad++
Does the issue affect SciTE?
- I have tried SciTE
Description of the Issue
when i do a Edit > Line Operations > Sort Lines Lexig..Ascending. it does something. then i hit save again. and my 6Meg txt file is now 268k. where did all my text data go?!
scite doesn't appear to have a Edit > Line Operations menu. I did try -noplugins.
Steps To Reproduce
- large text file.. with plenty of lines
- Edit > Line Ops > Sort Lines Lexigra..Asc
- observe lots of the file going missing
Current Behavior
My text goes missing. The sort thing is wrong.
Expected Behavior
For my text to not go missing.
Debug Information
Notepad++ v8.9.8.1 (64-bit)
Build time: Sep 25 2026 - 15:29:29
Scintilla/Lexilla included: 5.6.6/5.5.3
Boost Regex included: 1_90
pugixml included: 1.16
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: -noPlugin
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
WinGUp: present
disableNppAutoUpdate.xml: absent
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: ON
Display Info:
primary monitor: 3840x2160, scaling 125%
visible monitors count: 4
installed Display Class adapters:
0001: Description - NVIDIA GeForce GTX 960
0001: DriverVersion - 32.0.15.8266
OS Name: Windows 10 Home (64-bit)
OS Version: 22H2
OS Build: 19045.6466
Current ANSI codepage: 65001
Plugins: noneAnything else?
No response
Source: notepad-plus-plus/notepad-plus-plus