New issue
Advanced search Search tips

Issue 2848 link

Starred by 1 user

Issue metadata

Status: Released
Owner: ----
Closed: Aug 2014



Sign in to add a comment

C# syntax higlighting

Reported by nic...@eriksson.cc, Aug 20 2014

Issue description

************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.9

What steps will reproduce the problem?
1. Submit a patch with files containing valid C# code (.cs files).
2. Make sure to use side-by-side diff mode.
3. Open the .cs file in side-by-side diff.
4. No syntax highlighting.

What is the expected output? What do you see instead?
Syntax highlighting should work (and it does in unified diff mode).

Please provide any additional information below.
Syntax highlighting works in unified diff mode. I'm told that the same problem exists for .xaml files but haven't verified.
 
Project Member

Comment 1 by david.os...@gmail.com, Aug 21 2014

Status: Accepted
Would be trivial to add, as CM3 supports it out of the box: [1].

[1] http://codemirror.net/mode/clike
Status: Submitted
Merged @master & stable-2.9
Labels: FixedIn-2.9.1
Status: Released

Comment 6 Deleted

Comment 7 by mawink...@gmail.com, Sep 25 2017

thanks this article is helpful
http://www.khasiatmanfaatdaun.com/

Sign in to add a comment