Commit 5546f98
committed
add non-ASCII ANSI support; fix GetCurLine bug
FIX: As mentioned in this forum post (https://community.notepad-plus-plus.org/post/102725),
this plugin pack was previously assuming that Notepad++ internally represented every document as UTF-8,
regardless of the encoding of that document on the hard drive.
This assumption appears to have been correct for every document encoding EXCEPT ANSI,
which meant that non-ASCII text in ANSI documents would previously be garbled by this plugin.
This issue has now been fixed.
FIX: I *believe* that issue #16 has now been resolved,
by adding a new parameter to GetNullStrippedStringFromMessageThatReturnsLength.
ADD: Add a new popup notification when changing the lexer language
for "new 1"-type buffers whose names begin with "lexer test CSharpPluginPack".
This notification mostly exists to verify that the fixes for both of the above bugs actually work.1 parent 4e7f123 commit 5546f98
File tree
4 files changed
+126
-77
lines changed- NppCSharpPluginPack
- PluginInfrastructure
- Properties
4 files changed
+126
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
| |||
0 commit comments