Re: [textadept] Textadept 3.6

From: mitchell <c....at.caladbolg.net>
Date: Sun, 9 Jan 2011 21:18:05 -0500 (EST)

Brian,

> On Sat, Jan 1, 2011 at 11:14 AM, mitchell <c....at.caladbolg.net> wrote:
>> � �* Do not emit buffer_new event when splitting the view.
>
> Are buffer.edge_column and buffer.edge_mode set in buffer_new? Those
> attributes seem to not be set properly in split views.

No; they should be set in view_new (via your theme).

In modules/textadept/mime_types.lua what if you change

   events.connect('view_new', restore_lexer)

with

   events.connect('view_new', restore_lexer, 1)

?

I think this at least fixes a bug I introduced that has to do with the
line number margin when splitting the view.

mitchell
Received on Sun 09 Jan 2011 - 21:18:05 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:58:05 EST