Re: [code] Re: Textadept: often no buffer.UPDATE_CONTENT firing on certain modifications:

From: Phil S. <accountz.att.mailbox.org>
Date: Tue, 6 Nov 2018 15:24:37 +0100

Dang, of course, I forgot about the bitmasks! Thanks & sorry for the
time-waste =)

On 11/6/18 3:26 PM, Mitchell wrote:
> Hi Phil,
>
> On Tue, 6 Nov 2018, Phil S. wrote:
>
>> Well there seem to be more undocumented UPDATE_UI enumerants now that
>> I print
>> all unknown to me: 6, 7, 10 and 14 so far. Probably some forward
>> Scintilla
>> internals that we scripters usually don't need to know about?
>
> The documentation[1] for `events.UPDATE_UI` mentions that it's composed
> of a bitmask of changes. You'll have to bitwise-`&` the flags you are
> interested in.
>
> Cheers,
> Mitchell
>
> [1]: https://foicica.com/textadept/api.html#events.UPDATE_UI

-- 
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 06 Nov 2018 - 09:24:37 EST

This archive was generated by hypermail 2.2.0 : Wed 07 Nov 2018 - 06:30:33 EST