Subject: Re: bug#59909: 29.0.60; csharp-ts-mode does not fontify escape sequences nor highlight syntax errors

From: Yuan Fu <[email-masked]>
Date: Fri, 9 Dec 2022 12:39:54 -0800

Jostein Kjønigsen <[email-masked]> writes:

> Consider the following C# code:
>
> public class Test
> {
>     public const string Foo = "test \t escape";
>     fdsfd
> }
>
> When activating csharp-ts-mode, the escape sequence on line 3 is not fontified, and the syntax error on line 4 is not
> highlighted.
>
> json-ts-mode does this, which is cool and I think csharp-ts-mode should have it too.
>
> Attached is a patch which makes csharp-ts-mode support these fontification rules.

Applied, thanks! Also, it would be nice if you can write the commit
messages in the style described in the CONTRIBUTE file under project
root. You can have a look at the commit messages of your commits that I
applied for some example.

Yuan