create new tag
, view all tags

Feature Proposal: Harmonize Text Area Definition


It is super frustrating that in some parts of TWiki text areas are defined by 5x20 but in others by 20x5, for a height of 5 and a width of 20, as example.

Description and Documentation

This is difficult as any harmonization will cause backwards incompatability, but this difference is just plain silly.



WhatDoesItAffect: Usability


-- Contributors: ThomasWeigert - 2010-09-11


Yes, this is silly. Idea how to solve without breaking compatibility? May be use different syntax but support old syntax as an undocumented feature?

-- PeterThoeny - 2010-09-14

Unless we change both syntaxes to something else, which maybe more unintuitive, there is no way out...

-- ThomasWeigert - 2010-09-15

Let's be concrete:

  • TWikiForms defines texarea size field as columns x rows, such as 80x6
  • EditTablePlugin defines text area field as: textarea, <rows>x<columns>, <initial value>
  • EditRowPlugin defines text area field as: textarea, <rows>x<columns>, <initial value>

Somewhat related syntaxes:

IMHO, columns x rows looks more natural than rows x columns. If we change the syntax we need to find one that has two numbers in one field, e.g. we could replace the 'x' with something else. In any case, for the foreseeable future we need to support the old syntax as a deprecated syntax. Ideas for new syntax:

  • 80 col 6 row
  • 80c 6r
  • 80*6

None of these look good. May be we need to live with what we have?

-- PeterThoeny - 2010-09-15

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2010-09-15 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.