[Tcl-bugs] [Tk] (bll) tkt (New): line wrap with space at the end should not display the space at the beginning of the next line

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 (New): line wrap with space at the end should not display the space at the beginning of the next line

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

Ticket Change [16f48ec623149debe4ba6d1d515de554d6a04fb2]
  [line wrap with space at the end should not display the space at the beginning of the next line]
  By      bll
  For     Tk
  On      2017-07-03T18:05:48.820
  Details https://core.tcl.tk/tk/tinfo?name=16f48ec623149debe4ba6d1d515de554d6a04fb2
  Ticket  https://core.tcl.tk/tk/tktview/5f61f1a6d0993a933c3ef83f6c0363e2cfd679e4

Changed Fields
  assignee:   nobody
  closer:     nobody
  comment:    Regression from the original text widget.

              text configure -wrap char (probably -wrap word also)

              tests: textDisp-24.8, textDisp-24.9, et.al.

              revised_text:  When there is not enough room, a wrapped line with a
              space at the end always  displays the space on the next line.  "a b c"
              (wrap)  " d e f"

              8.6.6:  When there is not enough room, a wrapped line with a space at
              the end does  not display the space.  "a b c " (wrap, the space is
              hidden)  "d e f"

              An improvement could be made:

              When there are zero pixels available, both versions move the space to
              the next  line. In this case, the space does not need to be displayed.
              Have:  "a b c" (zero pixels available for next character)  " d e f"
              (current display)  Want:  "a b c " (space is hidden)  "d e f"
  foundin:    revised_text
  is_private: 0
  login:      bll
  priority:   5 Medium
  resolution: None
  severity:   Minor
  status:     Open
  submitter:  bll
  subsystem:  18. [text]
  title:      line wrap with space at the end should not display the space at the
              beginning of the next line
  type:       Bug

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