Re: [code] [textadept] Textadept 11.0 alpha

From: Robert Gieseke <rob.g.att.web.de>
Date: Thu, 2 Apr 2020 13:35:35 +0200

And another question on _SCINTILLA.constants:

Is there another way to access the STYLE_LINENUMBER?

Now i have to `+1` to get the right one:

local line_number_back =
    buffer.style_back[_SCINTILLA.constants.STYLE_LINENUMBER + 1]

I use this for highlighting the currently active buffer by coloring the
line number margin background differently:

https://github.com/rgieseke/ta-common/blob/master/highlight.lua

Thanks!
Robert

-- 
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 Thu 02 Apr 2020 - 07:35:35 EDT

This archive was generated by hypermail 2.2.0 : Fri 03 Apr 2020 - 06:29:04 EDT