Notepad++ official repository
Go to file
xomx 126505180f Fix potential crash when crossing the 2GB file size threshold
To be able to work with 2GB+ files, we have to use the Scintilla SC_DOCUMENTOPTION_TEXT_LARGE flag.

Until now, this flag was only used if a file > 2GB was to be loaded. For files smaller than 2GB or newly created empty ones, it was not used. This left the room for a Notepad++ crash situation because of the user has been left the possibility to cross this threshold (e.g. by pasting a data which in sum with the already existing ones in the Notepad++ filebuffer exceeds that 2GB...)

So one has two options: either a complex monitoring of the Notepad++ filebuffers size and reloading these with that large-flag when reaching the 2GB or simply using that large-flag as the default one from the start (which is what this patch does...).

Fix #14981, close #14982
2024-04-14 14:35:26 +02:00
.github Use newer version of make and show it correctly 2024-04-13 12:05:04 +02:00
PowerEditor Fix potential crash when crossing the 2GB file size threshold 2024-04-14 14:35:26 +02:00
boostregex Code enhancement: fix clang warnings 2023-02-21 02:24:33 +01:00
lexilla Fix gcc compiler warnings\errors 2024-04-07 12:19:52 +02:00
scintilla Update to scintilla 5.4.3 (from 5.4.1) & Lexilla 5.3.1 2024-03-11 04:13:10 +01:00
.gitignore Notepad++ v8.5.2 release 2023-04-06 14:12:52 +02:00
BUILD.md [XML] Update minimal MSVC version prerequisite 2023-04-30 06:15:24 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2024-02-03 15:04:34 +01:00
LICENSE Fix LICENSE text display problem in installer 2021-08-15 02:18:22 +02:00
README.md Update Release Key Expiration Date 2024-03-14 04:33:24 +01:00
SUPPORTED_SYSTEM.md Update SUPPORTED_SYSTEM.md 2024-02-01 16:28:17 +01:00
appveyor.yml Reduce Appveyor building time 2023-11-03 23:26:44 +01:00
nppGpgPub.asc Update nppGpgPub.asc 2024-03-13 00:32:57 +01:00

README.md

What is Notepad++ ?

GitHub release    Build Status     Join the discussions at https://community.notepad-plus-plus.org/

Notepad++ is a free (free as in both "free speech" and "free beer") source code editor and Notepad replacement that supports several programming languages and natural languages. Running in the MS Windows environment, its use is governed by GPL License.

See the Notepad++ official site for more information.

Notepad++ Release Key

Since the release of version 7.6.5 Notepad++ is signed using GPG with the following key:

  • Signer: Notepad++
  • E-mail: don.h@free.fr
  • Key ID: 0x8D84F46E
  • Key fingerprint: 14BC E436 2749 B2B5 1F8C 7122 6C42 9F1D 8D84 F46E
  • Key type: RSA 4096/4096
  • Created: 2019-03-11
  • Expires: 2027-03-13

https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/nppGpgPub.asc

Supported OS

All the Windows systems still supported by Microsoft are supported by Notepad++. However, not all Notepad++ users can or want to use the newest system. Here is the Supported systems information you may need in case you are one of them.

Build Notepad++

Please follow build guide to build Notepad++ from source.

Contribution

Contributions are welcome. Be mindful of our Contribution Rules to increase the likelihood of your contribution getting accepted.

Notepad++ Contributors