-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
STR:
Preferences -> Performance.
Set "Define Large File Size" to 3000.
Exit NPP.
Restart NPP.
Preferences -> Performance.
Result:
"Custom Large File Size" is 4096.
Exit NPP.
Restart NPP.
Preferences -> Performance.
Result:
"Custom Large File Size" is 200.
Suggestion:
Replace
notepad-plus-plus/PowerEditor/src/Parameters.cpp
Line 5734 in 081e8ad
| if (fileSizeLimit4StylingMB > 0 && fileSizeLimit4StylingMB < 4096) |
with
if (fileSizeLimit4StylingMB > 0 && fileSizeLimit4StylingMB <= 4096)
_nppGUI._largeFileRestriction._largeFileSizeDefInByte = (static_cast<int64_t>(fileSizeLimit4StylingMB) * 1024) * 1024;
Notepad++ v8.4.9 (64-bit)
Build time : Feb 25 2023 - 18:00:24
Path : C---\Notepad++.x64.Release.exe
Command Line :
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 20H2
OS Build : 19042.985
Current ANSI codepage : 1255
Plugins :
ComparePlus (1.1)
HTMLTag (1.3.6)
MenuIcons (2.0.2)
PythonScript (2)
_CustomizeToolbar (4.2)