Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ff3192219d3e445292bc323e5a813b7ea0fa6610
Ticket: 1792918fffffffffffffffffffffffffffffffff
Tk console may render tab in a string as a space
User & Date: pmmartin on 2007-09-12 05:29:01
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "pmmartin"
  10. subsystem changed to: "None"
  11. title changed to: "Tk console may render tab in a string as a space"
  12. type changed to: "Bug"