Skip to content

C# syntax highlighting doesn't close properly #34

@addisonlynch

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.

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