Re: [textadept] Simple Pattern-Based Folding in Lexers

From: Robert <ro....at.web.de>
Date: Wed, 18 May 2011 19:22:31 +0200

So, extra folding code in the lexers is only needed for languages with
a high probability of badly indented code, for example css or html?

Robert

On Tue, May 17, 2011 at 4:28 AM, mitchell <c....at.caladbolg.net> wrote:
> On Mon, 16 May 2011, mitchell wrote:
>
>> Robert,
>>
>> On Mon, 16 May 2011, Robert wrote:
>>
>>>  On Mon, May 16, 2011 at 3:48 PM, mitchell <c....at.caladbolg.net> wrote:
>>> >  Robert,
>>> > >  On Mon, 16 May 2011, Robert wrote:
>>> > > >  Another issue:
>>> > >  when I switch the lexer and back to the Lua lexer, the lines aren't
>>> > > > >  drawn.
>>> > >  What line? I'm having trouble reproducing.
>>> >
>>>  I switch the lexer (e.g. to Io) and then back to Lua. After the switch
>>>  the lines in the
>>>  folding margin aren't drawn.
>>
>> Probably a side effect of the fold.by.indentation. Until folders are
>> written for all lexers or fold.by.indentation can be magically fixed, this
>> won't go away.
>
> I was wrong. This changeset fixes the bug:
>
> http://code.google.com/p/scintillua/source/detail?r=8002ef6ad3ece8198446d590d675b30d8ecf40f9
>
> mitchell
>
> --
> You received this message because you are subscribed to the Google Groups
> "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to
> textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/textadept?hl=en.
>
>
Received on Wed 18 May 2011 - 13:22:31 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:07:34 EST