Re: [code] textadept indent to correct level

From: Mitchell <m.att.foicica.com>
Date: Wed, 11 Jun 2014 14:07:33 -0400 (Eastern Daylight Time)

Hi Tymur,

On Wed, 11 Jun 2014, Tymur Gubayev wrote:

>>
>> Here's something that I think would be really neat for textadept:
>>> "Enhanced Scope Visibility" . slightly shade the background of each
>>> "level" of indent (scope).
>>>
>>> some pictures:
>>> http://hbfs.wordpress.com/2010/02/02/features-id-like-
>>> to-see-in-my-editor/
>>> http://marketplace.eclipse.org/content/editbox
>>>
>>> Not sure how hard that would be to implement in textadept. what do you
>>> think?
>>>
>>
>> This would be extremely difficult, as each style has a background color.
>> You'd have to redefine existing styles with different shades of background
>> color and write a new lexer to make use of them.
>
>
> Aren't scintilla markers best for this job? Or am I missing something?

That is a good point; I hadn't thought of that. You won't get the "box"
effect with multi-colored indentation, but you would get the lines grouped
by background color.

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 Wed 11 Jun 2014 - 14:07:33 EDT

This archive was generated by hypermail 2.2.0 : Thu 12 Jun 2014 - 06:27:23 EDT