File: dont-highlight-complete-lines.riff-output

package info (click to toggle)
rust-riffdiff 3.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 5,784 kB
  • sloc: sh: 206; python: 132; makefile: 11
file content (10 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
--- before.txt  2023-09-24 16:22:05
+++ after.txt   2023-09-24 16:22:42
@@ -1,1 +1,6 @@
-        let tokens = std::mem::take(&mut self.tokens);
+        let mut tokens = std::mem::take(&mut self.tokens);
+
+        // FIXME: Maybe do highlight_space_between_words() before this one? And
+        // not do that for each line?
+        cancel_multiline_highlights(&mut tokens);
+