diff options
Diffstat (limited to 'library/demos/widget')
-rw-r--r-- | library/demos/widget | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/widget b/library/demos/widget index 58da12f..13b8d0e 100644 --- a/library/demos/widget +++ b/library/demos/widget @@ -624,7 +624,7 @@ proc showCode w { wm title $top [mc "Demo code: %s" [file join $tk_demoDirectory $file]] wm iconname $top $file set id [open [file join $tk_demoDirectory $file]] - fconfigure $id -encoding utf-8 -eofchar \032 + fconfigure $id -encoding utf-8 -eofchar "\032 {}" $top.f.text delete 1.0 end $top.f.text insert 1.0 [read $id] $top.f.text mark set insert 1.0 |