[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock-syntactic-keywords obsolet?

From: Dmitry Gutov
Subject: Re: font-lock-syntactic-keywords obsolet?
Date: Mon, 20 Jun 2016 14:50:49 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 06/20/2016 01:22 PM, Alan Mackenzie wrote:

The code for raw strings is actually very new - it was only committed a
week and a half ago.  By their very nature, unterminated raw strings are
a problem, since the terminating delimiter could occur anywhere later in
the buffer.  The trick has got to be to apply some artificial limit for
after-change processing until that terminating delimiter is inserted.

So what if you have a literal that's longer than your chosen limit? A s-p-f could handle that. Your solution is basically a kludge. You're lucky raw strings are rare in C++ now; in many other languages, a normal string is not limited to a single line.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]