Skip to content
Tcl Source Code History Of Ticket 1792918
Login

History Of Ticket 1792918

Artifacts Associated With Ticket 1792918

  1. Ticket change [ff3192219d] (rid 108713) by pmmartin on 2007-09-12 05:29:01:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Windows XP; Seen in 8.5a6 and 8.5a5, but not in 8.5a2 or 8.4.15:
      
      Tk Console may render a string containing tab characters with a space, although a multi-space gap corresponding to a tab was expected. What is rendered seems to depend on the preceding string length.
      
      Tab separators are in the data, as indicated by inspecting with Notepad a plain text file of strings generated with tabs, and an Excel spreadsheet, into which the copied console output was pasted.
      
      Test case:
      # assume tab is equivalent to 8 spaces
      set x "abcdefgh 1\t2"
      set x "abcdefgh\t1\t2"
      
      in 8.4.15 (ActiveState) and 8.5a2 (AlphaTk 8.4a1):
      abcdefgh 1      2
      abcdefgh        1       2
      
      in 8.5a5 and 8.5a6:
      abcdefgh 1 2
      abcdefgh 1      2
      
      
    4. foundin initialized to: "obsolete: 8.5a6"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pmmartin"
    10. subsystem initialized to: "None"
    11. title initialized to: "Tk console may render tab in a string as a space"
    12. type initialized to: "Bug"
  2. Ticket change [950ffef478] (rid 106098) by dkf on 2007-09-12 17:47:11:

    1. closedate changed to: "2007-09-12T10:47:11"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Ah, this is a wordprocessor-style vs. typewriter-style tabs problem. See http://tip.tcl.tk/256.html for a discussion.
      
      Not a Tcl bug at all BTW.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "dkf"