1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 12:21:57 +03:00
Commit Graph

2026 Commits

Author SHA1 Message Date
joshvera
26dd51eb49 Merge remote-tracking branch 'origin/master' into line-numbers 2015-11-04 12:34:59 -05:00
joshvera
a8e378cafa ++Madness 2015-11-04 12:34:36 -05:00
Josh Vera
574ef530c4 Merge pull request #211 from github/syntax-highlighting
Syntax highlighting
2015-11-03 17:11:46 -05:00
joshvera
7f014eff8e Merge branch 'master' into syntax-highlighting 2015-11-03 17:09:06 -05:00
Rob Rix
5b23d62b48 Split mode. 2015-11-03 15:38:59 -05:00
Rob Rix
9e1ceccc77 Highlight for/in statements. 2015-11-03 15:30:34 -05:00
Rob Rix
e096881578 Rename rangeAndSyntaxToDOM. 2015-11-03 15:26:32 -05:00
Rob Rix
f5c21074c5 Don’t flatten terms. 2015-11-03 15:25:52 -05:00
Rob Rix
ea96c3d580 Highlight within patches. 2015-11-03 15:16:43 -05:00
Rob Rix
5e6c94fd75 Pass the whole annotation into rangeAndSyntaxToDOM. 2015-11-03 15:16:36 -05:00
Rob Rix
dbeb9073a3 Highlight function names. 2015-11-03 15:13:39 -05:00
Rob Rix
f38da39f86 Highlight regexps. 2015-11-03 15:12:44 -05:00
Rob Rix
94c6297026 Highlight type names. 2015-11-03 15:09:55 -05:00
Rob Rix
a33eec8c58 Highlight new. 2015-11-03 15:09:50 -05:00
Rob Rix
dbc59507e9 Highlight undefined. 2015-11-03 15:07:20 -05:00
Rob Rix
787cb679b1 Highlight null. 2015-11-03 15:07:17 -05:00
Rob Rix
1216c34d21 Highlight the operators en masse. 2015-11-03 15:06:58 -05:00
Rob Rix
fbf1704425 Highlight function calls. 2015-11-03 15:00:49 -05:00
Rob Rix
85e634dbd1 Highlight assignments. 2015-11-03 14:57:22 -05:00
Rob Rix
767aecd690 Highlight relational operators. 2015-11-03 14:56:52 -05:00
Rob Rix
50c7575ecd Highlight ternaries. 2015-11-03 14:55:51 -05:00
Rob Rix
440a7326fb Highlight true and false. 2015-11-03 14:54:28 -05:00
Rob Rix
e1a4a97c46 Highlight keys in objects. 2015-11-03 14:51:41 -05:00
Rob Rix
f006b7f95c Only match the assigned-to property with this rule. 2015-11-03 14:49:45 -05:00
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
Josh Vera
28d89241d5 Merge pull request #210 from github/benchmark-parsing-and-diffing
Benchmarks & optimization
2015-11-03 14:34:50 -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
joshvera
06c096bcbe ++Madness 2015-11-03 14:12:35 -05:00
Rob Rix
880d51ffd8 Add CSS classes for the various categories. 2015-11-03 14:08:32 -05:00
Rob Rix
547ab8d3d2 Unpack the ranges. 2015-11-03 14:03:55 -05:00
Rob Rix
4ff4f570bd We no longer use termToDOM. 2015-11-03 13:59:57 -05:00
Rob Rix
4a31774d98 Extract the correct ranges. 2015-11-03 13:58:59 -05:00
Rob Rix
ad3462b135 Terms are annotated with their categories in the JSON too. 2015-11-03 13:20:38 -05:00
Rob Rix
edcb850f93 Extract range & categories. 2015-11-03 13:20:01 -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
Rob Rix
efc90df9ee I guess this was deleted. 2015-11-03 13:09:01 -05:00
Rob Rix
75400c4065 Serialize annotations out in full. 2015-11-03 13:08:32 -05:00
Rob Rix
a7e02cf113 Merge pull request #209 from github/show-empty-space
Correlate ranges of files in the UI
2015-11-03 13:06:16 -05:00
Josh Vera
b8ceaa445e s/prevous/previous 2015-11-03 13:04:48 -05:00
joshvera
9f2d594cc9 🔥 logs 2015-11-03 12:41:08 -05:00
Rob Rix
939818bbf4 Disable safety checks in release builds. 2015-11-03 12:02:03 -05:00
Rob Rix
db614b5b16 Benchmark loading sources. 2015-11-03 11:56:01 -05:00