What are elastic tabstops?
The elastic tabstops mechanism positions tabstops automatically to fit the text between them and to align them with matching tabstops on adjacent lines. This means only a single tab has to be inserted between elements (columns), rather than inserting manually the required number of spaces or tabs to align elements on adjacent lines.
Elastic tabstops have been invented by Nick Gravgaard in 2006. More informations are available on his website: http://nickgravgaard.com/elastic-tabstops/.
About this module
This Textadept module was ported by Joshua Krämer from the implementation for Scintilla available here: https://github.com/nickgravgaard/ElasticTabstopsForScintilla.
This image (taken from Nick Gravgaard’s website) shows the automatic re-alignment of tabstops:
Those are screenshots of Textadept with the Elastic tabstops module:
Download this file: init.lua (version 2015-05-16).
Create the folder
~/.textadept/modules/elastic_tabstops/ and place the downloaded file
init.lua in it.
Then add the following line to
Restart Textadept. The Elastic tabstops mechanism will now be applied to all buffers.