mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
The edit tool wrote the whole file back with the first line ending it found, so mixed CRLF/LF files and lone CRs were rewritten. Replacements are now mapped from the LF-normalized text back to the original and spliced in; new line breaks use the ending of the replaced line. The diff and patch were computed after writing and diffed the whole file, which ran out of memory on large files after the write. They are now computed before writing, and files larger than 5 MB get a notice instead of a diff (empty patch). fixes #8544 |
||
|---|---|---|
| .. | ||
| renderers | ||
| bash.ts | ||
| edit-diff.ts | ||
| edit.ts | ||
| file-mutation-queue.ts | ||
| find.ts | ||
| grep.ts | ||
| index.ts | ||
| ls.ts | ||
| output-accumulator.ts | ||
| path-utils.ts | ||
| powershell.ts | ||
| read.ts | ||
| render-utils.ts | ||
| tool-definition-wrapper.ts | ||
| truncate.ts | ||
| write.ts | ||