Re: [textadept] set_lexer does not always work

From: Robert <ro....at.web.de>
Date: Sat, 5 Feb 2011 11:18:02 +0100

Thanks for looking into this, I already build a version with the lines
switched and will test it.

Robert

On Sat, Feb 5, 2011 at 4:58 AM, mitchell <c....at.caladbolg.net> wrote:
> Hi Robert,
>
>> Sorry to bring this up again, but it seems that issue 135 [1] is still
>> not solved.
>> I'm using a version compiled from recent hg.
>> Starting Textadept I open the command entry and type
>> set_lexer('python')
>> Only after inserting a char the lexer updates from 'container' to
>> 'python'.
>> Before that I can't use a key command from the Python module but the
>> status bar updates when I have a different tab setting in the
>> set_buffer_properties function.
>
> This appears to be a Scintillua issue.
>
> Switch LexLPeg.cxx:501 and 502 so 'reinit = true' is before PropertySet.
> This appears to fix the issue. I'm not sure of the consequences though. I'm
> not sure what I was thinking when putting 'reinit = true' after, but surely
> I had a reason... I need to test this more thoroughly; maybe you can help.
>
> Thanks for your patience.
>
> mitchell
>
Received on Sat 05 Feb 2011 - 05:18:02 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:59:23 EST