Re: [code] [textadept] Missing features in textadept-ncurses?

From: Mitchell <m.att.foicica.com>
Date: Tue, 9 Apr 2013 22:43:22 -0400 (EDT)

Chris,

On Sat, 6 Apr 2013, Chris Emerson wrote:

> Hi,
>
> On Sun, Mar 10, 2013 at 12:29:53AM -0500, Mitchell wrote:
>> Scinterm now supports INDIC_ROUNDBOX and INDIC_STRAIGHTBOX (but
>> without translucent drawing and rounded corners) in hg[1].
>>
>> Textadept hg[2] takes advantage of it now if you'd like an example.
>
> Thanks again!
>
> I got it working (once I worked out that markers fill the line if the
> marker column width is zero!).
>
> One thing that's a bit strange is that the foreground colour of text using
> the indicators isn't consistent, and sometimes is the same colour as the
> box, so unreadable. Would it be possible to control the foreground colour
> (which I realise doesn't exactly fit with the "draw a box" API), or at
> least make sure the foreground colour contrasts?
>
> I've attached some screenshots showing the effect:
>
> textadept_indic_none.png:
> The plain buffer
>
> textadept_indic_local.png:
> Highlighting "local" using highlight_word(). The different instances
> have different foreground colours. In general it's not an alternating
> pattern - I've had different visible colours in some cases.
>
> And it may or not be related, but I noticed that highlight_word() didn't
> work on "local" in this file if it was on line 1
> (textadept_highlight_word_issue.png).

Both of these issues should now be fixed in Scinterm hg and Textadept hg.

Cheers,
Mitchell

-- 
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 09 Apr 2013 - 22:43:22 EDT

This archive was generated by hypermail 2.2.0 : Wed 10 Apr 2013 - 06:49:44 EDT