Skip to content

C# syntax highlighting doesn't close properly #34

Description

@addisonlynch

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions