Re: [code] [textadept] LexerLPeg's references to Scintilla?

From: Chris Emerson <c-ta.att.mail.nosreme.org>
Date: Sun, 8 Sep 2013 08:19:15 +0100

Hi Mitchell,

On Fri, Sep 06, 2013 at 11:11:01PM -0400, Mitchell wrote:
> I've seen this before[1]. When the Scintilla object held by
> LexerLPeg is deleted, you have to update the reference to an
> existing one using the `private_lexer_call(SETDIRECTPOINTER,
> buffer.direct_pointer)` Scintillua API. You just have to add the
> same line in the referenced changeset to the `VIEW_AFTER_SWITCH`
> event too in `core/gui.lua`.

Aha, thanks - that seems to have fixed it! I'm glad I asked - that
would have taken me a while.

> What you are doing is awesome!

I had a good starting point. :-)

Chris

-- 
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 Sun 08 Sep 2013 - 03:19:15 EDT

This archive was generated by hypermail 2.2.0 : Sun 08 Sep 2013 - 06:35:53 EDT