[dokuwiki] Re: Entering table data - any 'helpers' available?

  • From: Chris G <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 14 Oct 2011 17:36:33 +0100

On Fri, Oct 14, 2011 at 06:10:18PM +0200, Michael Hamann wrote:
> Hi,
> 
> On Fri, Oct 14, 2011 at 5:00 PM, Chris G <cl@xxxxxxxx> wrote:
> > However the editor doesn't offer any help when entering tables so it can
> > get quite laborious and messy when creating big tables.  Are there any
> > plans to add ways of, for example, entering some sort of TAB to allow
> > aligning of the ^ and | characters in tables to make them more readable
> > when entering data?  ... or are there any plugins which might help that
> > I've missed?
> 
> Tab handling is difficult as a) one tab might no be enough and b) if
> you modify the behavior of the tab key, the user interface becomes
> less usable for those using the keyboard. Are you aware of the
> edittable plugin [0] - or are you looking for something different?
> 
I was wondering whether to try the edittable plugin, I will take a look.

I'd suggest not using the TAB key itself for this function, use a new
combination, for example CTRL-T (you can see my vi background!).  The
tab stops could maybe be set by the first (heading) line of the table. 
The CTRL-T then takes you to the *next* tab stop rather than the next
multiple of 8 (or whatever) columns.

E.g. I enter the first line of the table as:-

^ Column Number One     ^ Col 2 ^

and tab stops are set to 16 and 24, so the first CTRL-T I hit takes me
to column 16 and the second takes me to column 24.  This avoids the "one
tab is not enough" problem as long as one plans things properly.

-- 
Chris Green
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: