[Tcl-bugs] [Tk] (bll) tkt (Open): text widget: tag -tabs does not work properly. (textDisp-2.26)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Tcl-bugs] [Tk] (bll) tkt (Open): text widget: tag -tabs does not work properly. (textDisp-2.26)

akupries
Automated mail by fx, on behalf of [hidden email]

Ticket Change [efd83b7897ff30f144f1ac90695d684884304c44]
  [text widget: tag -tabs does not work properly. (textDisp-2.26)]
  By      bll
  For     Tk
  On      2017-07-04T22:57:00.663
  Details https://core.tcl.tk/tk/tinfo?name=efd83b7897ff30f144f1ac90695d684884304c44
  Ticket  https://core.tcl.tk/tk/tktview/a34b49f8c63aeb7736f48eba24b256158aaff022

Changed Fields
  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.
  login:    bll

------------------------------------------------------------
See Tcl/Tk development @ http://core.tcl.tk/
------------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs