Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 16f48ec623149debe4ba6d1d515de554d6a04fb2
Ticket: 5f61f1a6d0993a933c3ef83f6c0363e2cfd679e4
line wrap with space at the end should not display the space at the beginning of the next line
User & Date: bll 2017-07-03 18:05:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    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"
    
  5. foundin changed to: "revised_text"
  6. is_private changed to: "0"
  7. login: "bll"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "bll"
  13. subsystem changed to: "18. [text]"
  14. title changed to:
    line wrap with space at the end should not display the space at the beginning of the next line
    
  15. type changed to: "Bug"