[code] [code}[textadept] elastic tabstops 'unleashed' version release

From: Peter Rolf <indiego.att.gmx.net>
Date: Tue, 21 Nov 2017 15:15:30 +0100


I just finished my code cleanup on the original "Elastic Tabstops"
module by Joshua Krämer (thanks!). This version is about 2-561 bazillion
times faster than the reference code (of course this is just a rough
approximation). If you know how to profile this module, let me know. The
best I could find was "pepperfish" for Lua 5.1 (profiling doesn't seem
popular in Lua).

Aside from the speed improvements, I added support for multi style text
elements and the level of indentation is modifiable now. There is also
an single gif which shows part of my 'init.lua'. Be sure to use a
'correct' scaling value (best at 100%, 200%, 400%...), otherwise it will
mess up the picture.

The module is not tested much (only with a hand full of texts I use) and
I also haven't read the Scintilla related part (so my understanding of
the algorithm is still limited). Let me know if you find a bug or have
suggestions for improvement.


Best wishes, Peter

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 21 Nov 2017 - 09:15:30 EST

This archive was generated by hypermail 2.2.0 : Wed 22 Nov 2017 - 06:41:05 EST