-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
csEnclosed breaks highlighting in lambdas passed into functions, comments inside if conditions, etc
Example C# code:
public static void MakeRequest(Action<Action<ErrorCode?>> request)
{
if (
// most likely
IsValid()
// also possible
|| IsEmergency())
{
request(err => {
// Explanation for double action here. Unhighlighted except for word 'double'.
if (Time.time < response_valid_until)
{
complete(err);
}
});
}
}
Even adding csComment to csEnclosed's contains only fixes the comment. The if is still unhighlighted.
Looks like 0d9ebe2 added csEnclosed to allow something<ClassName>?
Metadata
Metadata
Assignees
Labels
No labels