Commit 779a0e3
Disregard "Auto Newline" user setting and always assume auto newline in FileReader
This may not be the proper place to fix this but it works nicely at least as a temporary measure. The alternative is a potential DoS when trying to open large files as discussed in #352.
Now FileReader always splits on newlines regardless of what the user selected for "Auto Newline" option from the menu. Fixes #352.1 parent d3743e5 commit 779a0e3
File tree
2 files changed
+6
-0
lines changed- application
- DebugViewppLib
- include/DebugViewppLib
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments