[code] Re: [textadept] Feature request: Elastic tabstops

From: Joshua Krämer <joshua.kraemer.att.gmail.com>
Date: Sun, 15 Feb 2015 00:58:38 +0100

Hi Mitchell,

I have finally had the time to port the Elastic tabstops algorithm. It
is only a quick-and-dirty conversion at the moment, but it works. A
module file with the code is attached.

Now I have two questions:

The reset function recalculates the tabstops in a given text area. Is
it possible to run this reset function whenever a change in a buffer
occurs on the changed area? I could not find a corresponding event.

Whenever a buffer is switched, the fixed-width tabstops are restored.
Can this be disabled, so the calculated tabstops are made permanent?

Thanks and kind regards,
Joshua

-- 
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 Sat 14 Feb 2015 - 18:58:38 EST

This archive was generated by hypermail 2.2.0 : Sun 15 Feb 2015 - 06:45:40 EST