Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: efd83b7897ff30f144f1ac90695d684884304c44
Ticket: a34b49f8c63aeb7736f48eba24b256158aaff022
Revised [text]: (textDisp-2.26 and 24.24) tag -tabs does not work properly
User & Date: bll 2017-07-04 22:57:00
Changes

  1. icomment:
    There is no particular definition of what happens when -tabs is combined
    with -justify right.
    
    I think the implementation as is is correct as that should be what a
    right-to-left language would expect.
    
    There will be people that expect -tabs and -justify right to act like:
       -tabs [list 4 right 8 right 12 right] -justify left
    but that is incorrect.
    
    I have the rewritten test 2.26 working on Linux and Mac OS X.
    
    For 24.24:
    I have no idea how the combination of -tabs and -justify center is supposed
    to act (where is the first tab's anchor and what is a first tab in this case?),
    so all I can do is match the implementation.
    
    In general, for left-to-right languages, these combinations are not
    that useful.  It is more important to make sure that the:
     -justify left -tabs [4 center 8 numeric 12 left 16 left 20 right] 
    style works properly.
    
    A right-to-left language should be able to use -justify right and tabs should work exactly backwards.
    
  2. login: "bll"
  3. mimetype: "text/plain"