Re: [code] [textadept] highlighting dates and hours

From: Robert Gieseke <rob.g.att.web.de>
Date: Tue, 4 Apr 2017 19:53:52 +0200

Hi Mitchell,

Am 04/04/17 um 19:42 schrieb Mitchell:
> Hi Robert,
>
> On Tue, 4 Apr 2017, Robert Gieseke wrote:
>
>> Am 04/04/17 um 19:36 schrieb Mitchell:
>>>> and secondly, is it possible to disable syntax highlighting, especially on
>>>> xml language, without losing folding ?
>>>
>>> No, this is not possible.
>>
>> But maybe one could create a lexer derivate which does not style but
>> only fold, right?
>
> Perhaps at a low level, but that could be error-prone. High level folding
> (e.g. via a lexer's `_foldsymbols` table) inherently depends on styling
> information to be available, and that comes only from the lexer.

thanks for the explanation, I hadn't thought of that - a simper theme
might then be a simpler option ...

Cheers,
Robert

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 04 Apr 2017 - 13:53:52 EDT

This archive was generated by hypermail 2.2.0 : Wed 05 Apr 2017 - 06:37:41 EDT