Re: [code] Table Mode

From: juh <juh+textadept.att.mailbox.org>
Date: Thu, 2 Apr 2020 18:10:12 +0200

Am 02.04.20 um 16:30 schrieb rhkramer.att.gmail.com:
> On Thursday, April 02, 2020 10:09:17 AM Mitchell wrote:
>> On Thu, 2 Apr 2020, juh wrote:
>>> Is there a table mode for Textadept?
>>
>> I am not aware of one.
>
> I'm curious to know what table mode is / does, I can imagine it is (or could
> be) a function of the lexer for a given language.
>
> (In TWiki / Foswiki you can use various markup (I forget most of it -- I think
> it is mainly vertical bars "|" that you use to separate fields, and then in
> TWiki / Foswiki the text between bars is displayed as entries in a table (and
> each line as a new row.)
>
> I am working (or dreaming ;-) on a (scintilla) lexer for the Foswiki (my
> preferred name) markup language that might, in the future, try to display the
> same kind of markup as a table, maybe using tabs between fields -- is that the
> kind of thing you'r looking for?
>

Exactly. Some simplified markup languages like restructured text or
markdown support tables written like this:

https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html#tables

Table modes help to write these tables in plain text eg. by auto
adjusting the columns after inserts.

juh

-- 
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 Thu 02 Apr 2020 - 12:10:12 EDT

This archive was generated by hypermail 2.2.0 : Fri 03 Apr 2020 - 06:30:26 EDT