GNU bug report logs - #59909
29.0.60; csharp-ts-mode does not fontify escape sequences nor highlight syntax errors

Previous Next

Package: emacs;

Reported by: jostein <at> kjonigsen.net

Date: Thu, 8 Dec 2022 19:41:01 UTC

Severity: normal

Found in version 29.0.60

Fixed in version 29.1

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Cc: jostein <at> kjonigsen.net, Theodor Thornhill <theo <at> thornhill.no>, 59909 <at> debbugs.gnu.org
Subject: bug#59909: 29.0.60; csharp-ts-mode does not fontify escape  sequences nor highlight syntax errors
Date: Fri, 9 Dec 2022 12:39:54 -0800
Jostein Kjønigsen <jostein <at> secure.kjonigsen.net> 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




This bug report was last modified 2 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.