gerrit/polygerrit-ui/app/elements/diff
Wyatt Allen 650c529276 Syntax highlighting
Introduces the gr-syntax-layer element. This element works as an
annotation layer that is configured with the diff and asynchronously
computes/applies syntax for the diff.

Introduces a custom build of Highlight.js which gr-syntax-layer makes
use of. Building the script is documented in
scripts/vendor/highlight/building.md.

The layer is connected to the annotation pipeline in gr-diff-builder as
the lowest layer and syntax processing is triggered only after a diff
has been completely rendered.

A number of styles are added to the gr-diff element for syntax markers.
Tests added for gr-syntax-layer.

Bug: Issue 3916
Change-Id: Ic33e40f4fe39dfce1a62de133cfaf32be5e3f25a
2016-07-25 13:47:30 -07:00
..
gr-diff Syntax highlighting 2016-07-25 13:47:30 -07:00
gr-diff-builder Syntax highlighting 2016-07-25 13:47:30 -07:00
gr-diff-comment Establish annotation pipeline 2016-07-20 12:25:40 -07:00
gr-diff-comment-thread Fix issues detected by 'JSHint' and 'JSCS' 2016-07-15 20:32:27 +02:00
gr-diff-cursor Moved mock-diff-response and fix flaky tests 2016-07-18 10:12:59 -07:00
gr-diff-highlight Syntax highlighting 2016-07-25 13:47:30 -07:00
gr-diff-preferences Release range comments 2016-07-14 14:45:15 -07:00
gr-diff-processor Fix issues detected by 'JSHint' and 'JSCS' 2016-07-15 20:32:27 +02:00
gr-diff-selection Gr-diff-selection tests to work in Safari 2016-06-13 14:32:24 -07:00
gr-diff-view Fix issues detected by 'JSHint' and 'JSCS' 2016-07-15 20:32:27 +02:00
gr-patch-range-select Refactor directory structure of components 2016-03-04 18:02:24 -05:00
gr-ranged-comment-layer Establish annotation pipeline 2016-07-20 12:25:40 -07:00
gr-selection-action-box Range comments select-to-create 2016-06-27 10:21:27 -07:00
gr-syntax-layer Syntax highlighting 2016-07-25 13:47:30 -07:00