[Tcl-bugs] [Tk] (fvogel) 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] (fvogel) 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 [75b4b92b633727328d09c37fc2be4d449c088508]
  [text widget: tag -tabs does not work properly. (textDisp-2.26)]
  By      fvogel
  For     Tk
  On      2017-07-04T19:24:34.259
  Details https://core.tcl.tk/tk/tinfo?name=75b4b92b633727328d09c37fc2be4d449c088508
  Ticket  https://core.tcl.tk/tk/tktview/a34b49f8c63aeb7736f48eba24b256158aaff022

Changed Fields
  icomment: > Francois: is the Windows version working?

            No arrows for me on Windows 7.

            Here is what I get (I had zero failures before [a69ad2fd]) when
            running the test suite however:

            <verbatim>  ==== textDisp-2.26 LayoutDLine, tabs, breaking chunks at
            tabs FAILED  ==== Contents of test case:

            .t delete 1.0 end  .t tag delete x  .t tag configure x -tabs [list 30
            60 90 120] -justify right  .t insert 1.0 "a\ b\ c\ d\ e"  .t mark set
            dummy1 1.1  .t mark set dummy2 1.2  .t tag add x 1.0 end  list [lindex
            [.t bbox 1.2] 0] [lindex [.t bbox 1.4] 0] [lindex [.t bbox 1.6] 0]
            [lindex [.t bbox 1.8] 0]

            ---- Result was:  48 78 108 138  ---- Result should have been (exact
            matching):  117 124 131 138  ==== textDisp-2.26 FAILED

            ==== textDisp-24.24 TkTextCharLayoutProc, justification and tabs
            FAILED  ==== Contents of test case:

            .t delete 1.0 end  .t tag configure x -justify center  .t insert 1.0
            aa\ bb\ cc\ dd\   .t tag add x 1.0 end  list [.t bbox 1.0] [.t bbox
            1.10]

            ---- Result was:  {10 3 7 15} {52 18 7 15}  ---- Result should have
            been (exact matching):  {45 3 7 15} {94 3 7 15}  ==== textDisp-24.24
            FAILED  </verbatim>
  login:    fvogel

------------------------------------------------------------
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