Unplanned
Last Updated: 24 Feb 2025 15:58 by Martin Ivanov
Martin Ivanov
Created on: 24 Feb 2025 15:58
Category: SyntaxEditor
Type: Bug Report
0
SyntaxEditor: Wrong tagging/coloring of multiline comments with the CSharpTagger
The CSharpTagger matches the following character combination as a multiline comment start - / * (slash and a start with a whitespace between). This causes wrong tags creation in scenarios where the * character is a part of a single line comment. The correct comment start and end should be /* and */.

In the following example, the beginning of the first single line comment is considered a multiline comment start, but since nothing closes it, the entire text is tagged and colored as a comment.

// ***********************************************************************
// some other content here
// some other content here
// ***********************************************************************

public class TestClass
{
}

0 comments