sublime-notes icon indicating copy to clipboard operation
sublime-notes copied to clipboard

C# syntax highlighting doesn't close properly

Open addisonlynch opened this issue 7 years ago • 1 comments

Consider the following:

[csharp] public void TestSomething() { Test(delegate { Debug.WriteLine("Test"); }); } [end]

Here, the syntax highlighting does not stop at "[end]"

Yet in the case of:

[csharp] namespace TestNamespace { class Program { public void TestSomething() { Test(delegate { Debug.WriteLine("Test"); }); } } } [end]

The end block is caught correctly.

addisonlynch avatar Sep 05 '18 18:09 addisonlynch

I'm also suffering with this issue, it would be nice if it were solved.

EduYukio avatar Nov 09 '20 07:11 EduYukio