This repository was archived by the owner on Apr 12, 2026. It is now read-only.
Commit 9b74de1
committed
Prevent access violations in older editors
The transition to Scintilla 4.4.6 brought with it a safer external lexer
implementation, patched in as an out-of-tree module [^1]; but N++
versions < 7.9.4 unconditionally follow a function pointer to
'GetLexerFactory', which was left out by 99b134c
----
[^1] https://github.com/notepad-plus-plus/notepad-plus-plus/blob/d7819cf601051510b7fa1640ca17fedad297e1f8/scintilla/src/ExternalLexer.cxx#L131-L1351 parent 99b134c commit 9b74de1
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments