[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15212: 24.3.50; c++-mode doesn't support raw string literals
From: |
Alan Mackenzie |
Subject: |
bug#15212: 24.3.50; c++-mode doesn't support raw string literals |
Date: |
Tue, 31 May 2016 22:21:35 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Hello, yet again, Ivan!
On Tue, May 31, 2016 at 08:22:07AM -0600, Ivan Andrus wrote:
> On May 29, 2016, at 3:36 PM, Alan Mackenzie <acm@muc.de> wrote:
[ .... ]
> Moreover, I was somehow able to get it into a bad state where changing the
> delimiters wouldn’t update fontification. I’ll see if I can come up with a
> recipe for how to reproduce it reliably.
The following gets it into a bad state:
(i) Set up two separate valid raw strings with the same delimiter in
both.
(ii) "Damage" the closing delimiter of the first string. There is now
just one raw string which extends to what used to be the end of the
second raw string.
(iii) Restore the closing delimiter of the first string. The
syntax-table text properties and fontifications are now broken, and, I
think, need the mode reinitialising to recover.
[ .... ]
> -Ivan
--
Alan Mackenzie (Nuremberg, Germany).