joshvera
8dae819bcd
Set the index of the inserted term as the state and return its own index in insertion
2016-09-14 11:20:24 -04:00
joshvera
cc91bc27d5
Advance the index of the other side of the diffs twice when inserting an insertion or a deletion
2016-09-14 11:19:56 -04:00
joshvera
f6a3cbfa4f
Start index state from 0
2016-09-14 11:19:29 -04:00
Rob Rix
98c2d550f6
Merge branch 'master' into markdown
2016-09-14 10:52:52 -04:00
Rob Rix
d206928b66
Merge pull request #828 from github/icu-tests
...
Add extra-libraries to text-icu for darwin
2016-09-14 10:48:18 -04:00
joshvera
07737280e2
Merge branch 'icu-tests' into rws-large-diffs
2016-09-14 09:25:02 -04:00
joshvera
e7c83eeeab
Merge branch 'master' into rws-large-diffs
2016-09-14 09:24:57 -04:00
joshvera
783355427a
++text-icu
2016-09-14 09:16:54 -04:00
Rob Rix
86d2a3950f
Revert " 🔥 a redundant import."
...
This reverts commit dc5698979818d0057eb558ec3ce2d8e09c941f44.
2016-09-14 02:44:26 -04:00
Rob Rix
85bb9d577a
Revert "Move totalSpan into Source."
...
This reverts commit 3085a4efe5b6b3e8807df6a05db784afccab58e2.
2016-09-14 02:41:28 -04:00
Rob Rix
25306dba99
🔥 a redundant import.
2016-09-14 02:19:24 -04:00
Rob Rix
6b65574193
Correct the end column.
...
Oy vey.
2016-09-14 02:18:57 -04:00
Rob Rix
979abfefab
Avoid repeated Range computations.
2016-09-14 02:10:30 -04:00
Rob Rix
4a06d76054
Move cmarkParser to its own module.
2016-09-14 02:08:27 -04:00
Rob Rix
88865f2c09
Traverse nodes within their parent spans.
2016-09-14 02:04:38 -04:00
Rob Rix
da19d6672e
Use totalSpan to define errorNode.
2016-09-14 01:58:38 -04:00
Rob Rix
6317228466
Move totalSpan into Source.
2016-09-14 01:57:51 -04:00
Rob Rix
f30fe7b358
Trim out nodes without positions.
2016-09-14 01:56:25 -04:00
Rob Rix
89a769ca35
Convert between 0- and 1-indexed spans.
2016-09-14 01:45:17 -04:00
Rob Rix
27d4cc0775
🔥 an obsolete comment.
2016-09-14 01:44:52 -04:00
Rob Rix
56fd38d9d3
Merge branch 'master' into markdown
2016-09-14 00:12:50 -04:00
Rick Winfrey
8ccf703f5f
Update identifiable term to include MethodCall and DoWhile syntaxes constructors
...
- Unifies isIdentifiable and identifiable functions because
isIdentifiable is never applied on its own.
- Use lambda case and return partially constructed Identifiables.
2016-09-13 17:54:05 -05:00
Rick Winfrey
b9015c3ef5
Merge branch 'master' into do-while-diff-summaries
2016-09-13 16:11:07 -05:00
Rob Rix
5f771deb33
Merge branch 'master' into summarizing-pairs
2016-09-13 16:45:13 -04:00
Rob Rix
9e36a53f07
Merge pull request #825 from github/icu-fixes
...
ICU fixes
2016-09-13 16:44:51 -04:00
joshvera
c1e09c3c00
Merge remote-tracking branch 'origin/icu-fixes' into rws-large-diffs
2016-09-13 15:56:16 -04:00
Timothy Clem
8762f6352a
Merge remote-tracking branch 'origin/master' into summarizing-pairs
2016-09-13 12:48:51 -07:00
joshvera
c9d86fc930
++text-icu
2016-09-13 15:45:44 -04:00
Timothy Clem
5caee16318
Use ellipsis for Unidentifiable too
2016-09-13 12:45:00 -07:00
Rob Rix
baba6eec73
🔥 the unused outputPath field from DiffArguments.
2016-09-13 15:40:53 -04:00
Rob Rix
12302e17ed
Compute a Range for Markdown nodes.
2016-09-13 15:17:27 -04:00
Rob Rix
a6633a5351
🔥 a redundant binding.
2016-09-13 15:10:49 -04:00
Rob Rix
953bf3ba58
Stop hiding ++
, Source doesn’t export it any more.
2016-09-13 15:09:55 -04:00
Rob Rix
85fdc3a807
Correct the computation of the end index.
2016-09-13 15:04:25 -04:00
Rob Rix
1c335df1f0
Verify that sourceSpanToRange computes correct ranges within lines.
2016-09-13 15:04:17 -04:00
Rob Rix
e6f4db8ee8
Compute the insetting of SourceSpans & Ranges.
2016-09-13 15:03:58 -04:00
joshvera
b4a94e27a1
++text-icu
2016-09-13 15:00:40 -04:00
joshvera
e4a0980cf9
++text-icu
2016-09-13 14:47:06 -04:00
Rob Rix
50e5f8a411
Verify that sourceSpanToRange computes multi-line ranges.
2016-09-13 14:27:52 -04:00
Rob Rix
8de562b88e
Verify that totalSpan covers multiple lines.
2016-09-13 14:27:36 -04:00
Rob Rix
1b890bcde4
Verify that totalSpan covers single lines.
2016-09-13 14:27:29 -04:00
Rob Rix
8bdf162874
Rename the line-by-line test.
2016-09-13 14:27:15 -04:00
Rob Rix
c157962785
Add a helper to compute the total span of some source.
2016-09-13 14:27:05 -04:00
joshvera
37925939ea
++text-icu
2016-09-13 13:51:19 -04:00
joshvera
ac313a6b08
++text-icu
2016-09-13 13:46:18 -04:00
Rob Rix
6ce0ce5e26
Indentation.
2016-09-13 13:14:02 -04:00
joshvera
ed7778ae18
++text-icu
2016-09-13 12:43:34 -04:00
Rob Rix
c5fed4ac25
Test sourceSpanToRange across arbitrary sources.
2016-09-13 12:37:59 -04:00
Rob Rix
61dd23789d
Rename the test.
2016-09-13 12:32:28 -04:00
Rob Rix
03f3cc01d3
Abstract how lengths are summed.
2016-09-13 12:25:55 -04:00