From: SourceForge.net <no...@so...> - 2007-09-12 10:47:07
|
Bugs item #1792918, was opened at 2007-09-12 06:29 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1792918&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: current: 8.5a6 >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Peter Martin (pmmartin) Assigned to: Nobody/Anonymous (nobody) Summary: Tk console may render tab in a string as a space Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2007-09-12 11:47 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1792918&group_id=10894 |