Added drafts() call to CommentApi.
Added CommentBox for displaying comments.
Modified CodeMirrorDemo:
1. Implemented the algorithm and data structure that, given a line
number on one CM, return the corresponding line number on the other.
2. Added methods to display comments.
Modified some CSS styles for DiffTable.
Added wrapper for LineWidget in case we need it.
Change-Id: I9b9f6940ffa4eb1f87f79d5a655edd6beaab3b37
This fixes the name shown in the generated licenses.txt and HTML
to be "codemirror" and not "codemirror_jar".
Change-Id: Ib90d97c022c69179943dfa827f68e62fcea87825
Run any target that depends on download_file, no matter what its
name is. This allows grabbing codemirror without confusing the
__download_bin case with assuming a __download_src target exists.
Change-Id: Iaf7cc3000164aa46376314f8d24dc1f057ab06c3
The target name must end in '__download_bin' in order to be magically
picked up as a download target. Rename the target to conform to the
expected convention.
Change-Id: Ic93f58568522f442e6648be7e63630d08dcc0a16
The cache in ~/.gerritcodereview/buck-cache uses the basename of
the -o parameter to store the file. Calling it dist.zip means we
see the entry in the cache as dist.zip-${SHA1}, which is not where
a developer might expect to find codemirror. Use a naming pattern
similar to the Maven artifact case.
Change-Id: I956cb657e02a00124309896de96f449aad8d1b87
Download and package codemirror 3.13 for inclusion in the UI.
This may eventually replace the current side-by-side viewer,
as well as offer rich online editing to make small fixes to
existing changes.
Change-Id: I483fb46d9e18164d189826eca5cb96f9a1471c7e