GNU bug report logs - #75580
30.0.93; statements inside string interpolation for csharp modes are fontified incorrectly

Previous Next

Package: emacs;

Reported by: Sami Batuhan Basmaz Ölmez <sb.basmazolmez <at> gmail.com>

Date: Wed, 15 Jan 2025 14:37:01 UTC

Severity: minor

Found in version 30.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 75580 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sami Batuhan Basmaz Ölmez <sb.basmazolmez <at> gmail.com>,
 Yuan Fu <casouri <at> gmail.com>
Cc: 75580 <at> debbugs.gnu.org
Subject: Re: bug#75580: 30.0.93;
 statements inside string interpolation for csharp modes
 are fontified incorrectly
Date: Thu, 16 Jan 2025 17:42:13 +0200
> From: Sami Batuhan Basmaz Ölmez <sb.basmazolmez <at> gmail.com>
> Date: Wed, 15 Jan 2025 08:02:50 +0000
> 
> An interpolated string `$"string content {myFunction(myVariable)}
> another string content"` are highlighted incorrectly as expressions
> inside brackets are also fontified with string face for csharp-mode and
> csharp-ts-mode. They should be fontified like statements.
> Interpolation occurs inside curly braces.

Thank, but could you please post a minimal C# source file that
exhibits this behavior?

Yuan, any comments about this?




This bug report was last modified 160 days ago.

Previous Next


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