SideBySide2: Allow the user to select the syntax highlighter

This can be useful if Gerrit does not magically recognize a
particular file format. Temporarily forcing on a single mode
may make it easier to review the file.

Change-Id: I61af2841bdc76cb29b124f10b0946b39c804d823
This commit is contained in:
Shawn Pearce
2014-04-25 16:16:31 -07:00
parent 5b35f87dd9
commit a00346bd7a
4 changed files with 99 additions and 0 deletions

View File

@@ -203,6 +203,10 @@ limitations under the License.
<g:downFace><ui:msg>Show</ui:msg></g:downFace>
</g:ToggleButton></td>
</tr>
<tr>
<th><ui:msg>Language</ui:msg></th>
<td><g:ListBox ui:field='mode'/></td>
</tr>
<tr>
<th><ui:msg>Whitespace Errors</ui:msg></th>
<td><g:ToggleButton ui:field='whitespaceErrors'>