Re: [textadept] Highlight matching braces

From: mitchell <c....at.caladbolg.net>
Date: Tue, 28 Sep 2010 10:06:37 -0400 (Eastern Daylight Time)

Robert,

> currently ta highlights a brace if it is to the right of the cursor.
> To have the highlighting as well when I'm before the brace, for
> example to see which one was closed by the just inserted one
> I came up with the attached solution. There are two ways to handle
> being between two braces, for example Scite highlights the left, Gvim
> the right one. I prefer Scite's way, for the aforementioned reason.
> Would you consider this for inclusion?

I like how SciTE does it too, and I would have implemented this a long
time ago but I am concerned about performance. 'update_ui' is called A
LOT. The more API calls that are made, the slower performance is. I
haven't done a study, so maybe I'm too paranoid.

mitchell
Received on Tue 28 Sep 2010 - 10:06:37 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:52:04 EST