-
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
When we hide already hidden lines, Notepad++ freezes/crash. It's not systematic, and I mostly feel that the issue occurs when the End of File (EoF) is included in the hidden section.
Steps To Reproduce
1/ Download a Notepad++ Portable Minimalist version to ensure there are no unwanted plugins.
2/ Extract it.
3/ Launch Notepad++
4/ Write the following lines:
{
// sample
// sample
}
{
// sample
// sample
}
5/ Highlight the last 4 lines (lines 8 to 5) and press ALT + H to hide them.
6/ Now, you should only see this:
{
// sample
// sample
}
}
With the fold markers on line 4 (>) and line 8 (<).
7/ Highlight all 5 lines (lines 8 to 1, including lines 5, 6, and 7, which are hidden) and press ALT + H to hide them.
8/ Notepad++ freezes.
Current Behavior
Notepad++ Freeze.
Expected Behavior
I expect the lines to hide and unhide normally while respecting previous fixes that ensure hidden lines remain hidden when folding or unfolding.
I'm a beginner programmer, and I acknowledge that understanding the logic behind what should be hidden or not, keeping track of what needs to remain hidden, and managing overlapping 'un/hide line' and 'un/fold line' operations can be quite a headache.
I would fully understand and accept that this bug is not fixable in order to avoid breaking the rest of Notepad++'s code.
Debug Information
Notepad++ v8.6.9 (64-bit)
Build time : Jul 12 2024 - 05:09:25
Path : C:\Downloads\npp.8.6.9.portable.minimalist.x64\notepad++.exe
Command Line : C:\Downloads\npp.8.6.9.portable.minimalist.x64\bug.txt
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 8.1 (64-bit)
OS Build : 9600.20045
Current ANSI codepage : 1252
Plugins : noneAnything else?
Related issues ?




