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

From: Chris Emerson <>
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. :-)


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
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