1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +03:00
Commit Graph

247 Commits

Author SHA1 Message Date
Rob Rix
684a6f24ae Match member assignment a little more carefully. 2015-11-03 14:48:30 -05:00
Rob Rix
eca1b0e2b2 Match member access a little more carefully. 2015-11-03 14:48:22 -05:00
Rob Rix
9b78911a04 Highlight a bunch of operators and statements. 2015-11-03 14:40:37 -05:00
Rob Rix
fbeee38bd4 Highlight comments. 2015-11-03 14:35:19 -05:00
Rob Rix
4deba67404 Highlight member accesses. 2015-11-03 14:35:12 -05:00
Rob Rix
ad9e9f7a1d Don’t inherit syntax highlighting by default. 2015-11-03 14:31:36 -05:00
Rob Rix
0c9698c75d Prefix the highlighting selectors with .diff. 2015-11-03 14:31:22 -05:00
Rob Rix
2081b7447f Highlight numbers. 2015-11-03 14:12:45 -05:00
Rob Rix
2d18d653c8 Highlight strings. 2015-11-03 14:12:41 -05:00
Rob Rix
9be365ce30 Indentation. 2015-11-03 13:12:35 -05:00
Rob Rix
5d15e3c88d dom.js is gone. 2015-11-03 13:11:50 -05:00
joshvera
92feb67ae8 delete obselete code 2015-11-03 11:47:16 -05:00
joshvera
86e1e8ae8b hide the empty nodes 2015-11-03 10:48:01 -05:00
joshvera
7331e387ff insert separators before invisible elements 2015-11-02 15:39:04 -05:00
joshvera
7073a35a04 Render pure values 2015-10-29 16:27:41 -04:00
joshvera
c091289cf4 Construct both diffs at the same time 2015-10-29 15:11:18 -04:00
Rob Rix
c129fbcdcd Load the JSON from the queried path or diff.json. 2015-10-27 18:57:08 -04:00
Rob Rix
c107d9c0e2 DOM stuff is in its own file. 2015-10-27 11:12:27 -04:00
Rob Rix
f0ccfe0799 Diff is in its own file. 2015-10-27 11:11:45 -04:00
Rob Rix
9b22c3cbda Syntax is in its own file. 2015-10-27 11:10:38 -04:00
Rob Rix
2ef643cb40 Dictionary is in its own file. 2015-10-27 11:09:48 -04:00
Rob Rix
e0fda81376 Patch is in its own file. 2015-10-27 11:09:16 -04:00
Rob Rix
3270ec91c1 Term is in its own file. 2015-10-27 11:08:28 -04:00
Rob Rix
ec06db7c08 Display Fixed nodes. 2015-10-26 09:35:54 -04:00
Rob Rix
53cea24ddc Map Fixed nodes. 2015-10-26 09:35:46 -04:00
Rob Rix
9bef60f2dd Construct Fixed nodes. 2015-10-26 09:35:42 -04:00
Rob Rix
c0f9120d1b Classify replacements. 2015-10-23 21:29:21 -04:00
Rob Rix
72b97d1b3a Replacements are yellow. 2015-10-23 21:29:02 -04:00
Rob Rix
6a76b1d97e Assign classes to insertions. 2015-10-23 21:27:11 -04:00
Rob Rix
ee1d00a74c Assign classes to deletions. 2015-10-23 21:25:55 -04:00
Rob Rix
dc4fd6f659 Columns have no background colour. 2015-10-23 21:25:50 -04:00
Rob Rix
15813f38ef Allow the things to be side by side. 2015-10-23 21:22:58 -04:00
Rob Rix
4775d8e925 Apparently we pass this parameter, so let’s use it. 2015-10-23 21:22:28 -04:00
Rob Rix
28d7325647 Skip empty things. 2015-10-23 21:19:43 -04:00
Rob Rix
c01624abe9 Map ranges and stuff correctly. 2015-10-23 21:19:37 -04:00
Rob Rix
865dbe2eed Mapping into null is a bad idea. 2015-10-23 21:19:25 -04:00
Rob Rix
770e826340 Use classes to signal diffs. 2015-10-23 21:19:19 -04:00
Rob Rix
5939f3a865 Map the before and after terms separately I guess. 2015-10-23 21:05:51 -04:00
Rob Rix
fc60c75b14 Assign the range of patches. 2015-10-23 21:05:30 -04:00
Rob Rix
b7ac783e19 Get ranges for children. 2015-10-23 21:05:20 -04:00
Rob Rix
b3dfee8fc0 Terminate. 2015-10-23 20:51:31 -04:00
Rob Rix
8b1ae5f5b5 Separate Term decoding and construction. 2015-10-23 20:37:58 -04:00
Rob Rix
95cc7e7768 Diff catamorphisms. 2015-10-23 20:27:12 -04:00
Rob Rix
e152b0084c Use a term-to-DOM wrapper function. 2015-10-23 20:23:53 -04:00
Rob Rix
38ec0850c2 Default recur parameter. 2015-10-23 20:23:35 -04:00
Rob Rix
c51d66fe8d Correct how the diff is unpacked. 2015-10-23 19:25:21 -04:00
Rob Rix
fe2915a427 Try to map terms into DOM. 2015-10-23 19:24:13 -04:00
Rob Rix
7bff777b07 Attempt to correct Diff/DOM mapping. 2015-10-23 19:23:58 -04:00
Rob Rix
27853e30b1 Correct mapping diffs into DOM. 2015-10-23 19:23:38 -04:00
Rob Rix
b42d5238d1 Correct Syntax.Leaf construction. 2015-10-23 19:22:22 -04:00