tests/test-context.py.out
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
Wed, 20 Aug 2014 15:15:50 -0400
changeset 22460 c343557a8442
parent 21837 61b333b982ea
child 22914 c95db3208a33
permissions -rw-r--r--
patch: enable diff.tab markup for the color extension The following patch splits up changed lines along tabs (using re.findall), and gives them a "diff.tab" label. This can be used by the color extension for colorising tabs, like it does right now with trailing whitespace. I also provide corresponding tests.

workingfilectx.date = (1000, 0)
ASCII   : Gr?ezi!
Latin-1 : Grüezi!
UTF-8   : Grüezi!
(['foo'], [], [], [], [], [], [])
diff --git a/foo b/foo

--- a/foo
+++ b/foo
@@ -1,1 +1,2 @@
 foo
+bar