David Sherret
68b4d60fd7
fix(diff): better handling of text with only line ending differences ( #11212 )
...
Additionally fixes:
* It not displaying a diff when one text had a trailing newline and the other didn't.
* Edge case where the line number width could be incorrect if the original text had say 99 lines and the edit text had 100 lines.
2021-07-02 10:16:09 -04:00
Yusuke Tanaka
84f8b87f1b
chore: make all tests annotated with #[cfg(test)]
( #9347 )
2021-02-01 10:55:23 -05:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
KNnut
2c8439bc1e
refactor(cli+core): various cleanups in Rust ( #8336 )
2020-11-13 09:17:31 +11:00
KNnut
aaf7166a9d
refactor(cli): remove unnecessary format! calls ( #8315 )
2020-11-09 15:38:29 +01:00
Pig Fang
e4188f7dfb
fix(cli/fmt): make fmt output more readable ( #7534 )
2020-09-17 21:48:08 -04:00
Bert Belder
3da20d19a1
chore: fix clippy warnings ( #7476 )
2020-09-15 00:11:20 +02:00
Bert Belder
c821e8f2f1
Move JSON ops to deno_core ( #7336 )
2020-09-06 02:34:02 +02:00
Valentin Anger
db36857288
refactor: util functions take slices instead of heap values ( #6547 )
2020-06-29 14:17:37 +02:00
Filippo Rossi
78333f0ab3
Add diff for "deno fmt --check" ( #5599 )
2020-06-06 09:07:59 -04:00