Notepad++ © Don Ho and contributors. Lexilla and Scintilla © Neil Hodgson and contributors.
Notepad++ GPL v3 license · Lexilla license · Scintilla license
Complete pinned upstream source · Adapted viewer source and build scripts · Standalone viewer
Avalytica viewer adaptation — modified 2026-10-10 GPL-3.0-only for this adaptation; upstream component licenses remain in force. Notepad++: Copyright Don Ho and contributors. Lexilla and Scintilla: Copyright Neil Hodgson and contributors. Pinned upstream commit: 946f0022b1da9fd08982ef04162f77f52ef1d059 Official source: https://github.com/notepad-plus-plus/notepad-plus-plus/tree/946f0022b1da9fd08982ef04162f77f52ef1d059 Changes: WebAssembly adapter using TestDocument with bounds matching Scintilla; omit Windows-only user-defined lexer from the registry; extract built-in language names, keyword lists, default style values, lexer properties and API completions; add a browser language picker, line/fold controls, indentation, completion, text download and JavaScript find/replace. Native Windows UI is not included. Default built-in languages are bundled; desktop user definitions/plugins/settings are not imported. Build engine: obtain Emscripten 6.0.12 (https://github.com/emscripten-core/emsdk), install and activate it; unzip notepad-source.zip; run python scripts/build-npp-engine.py <Notepad++ checkout> <emsdk directory>. The build writes compiled assets, original XML, licenses and generated catalogue/completions in public/viewer/npp. No upstream lexer bodies are modified. Browser adapter source: public/viewer/npp/client.mjs and lib/*.mjs. Serve generated demo.html at /viewer/npp/demo.html with the public directory as web root to use the viewer independently. It uses the same functions as the site card. Regular expressions use JavaScript syntax. Find/replace and the editing UI are browser adaptations, not the Windows Scintilla widget. Generate source download and standalone demo: node scripts/build-npp-sources.mjs. This source packager uses only Node built-ins and needs the pinned archive in vendor/notepad/notepad-source.zip. Distributed without warranty; see NOTEPAD-LICENSE.txt for full license terms.