Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fixed the debug backdoor. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
8f9bb7ad9712c9182438d38c38543bc5 |
User & Date: | peter 2015-03-19 23:06:45.045 |
Context
2015-03-19
| ||
23:36 | Restructured dependencies in Makefile check-in: 365bb9b0a5 user: peter tags: trunk | |
23:06 | Fixed the debug backdoor. check-in: 8f9bb7ad97 user: peter tags: trunk | |
22:31 | Syntax check caught up with latest changes check-in: 398b37698c user: peter tags: trunk | |
Changes
Changes to src/eskil.tcl.
︙ | ︙ | |||
2912 2913 2914 2915 2916 2917 2918 | doDiff $top } # A thing to easily get to debug mode proc backDoor {top a} { append ::eskil(backdoor) $a set ::eskil(backdoor) [string range $::eskil(backdoor) end-9 end] | | | 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 | doDiff $top } # A thing to easily get to debug mode proc backDoor {top a} { append ::eskil(backdoor) $a set ::eskil(backdoor) [string range $::eskil(backdoor) end-9 end] if {$::eskil(backdoor) eq "EskilDebug"} { set ::eskil(debug) 1 catch {console show} set ::eskil(backdoor) "" AddDebugMenu $top } } |
︙ | ︙ | |||
3296 3297 3298 3299 3300 3301 3302 | bind $top <Key-g> [list scrollText $top yview moveto 0] bind $top <Key-End> [list scrollText $top yview moveto 1] # Go out to toplevel with escape, whereever you are bind $top <Key-Escape> [list focus $top] if {$::eskil(debug) == 0} { | > > > > > | | 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 | bind $top <Key-g> [list scrollText $top yview moveto 0] bind $top <Key-End> [list scrollText $top yview moveto 1] # Go out to toplevel with escape, whereever you are bind $top <Key-Escape> [list focus $top] if {$::eskil(debug) == 0} { set val [bindtags $top] lappend val backDoor$top bindtags $top $val # Keep this binding on a separate tag, so that other key # bindings on the top does not steal the keys bind backDoor$top <Key> "backDoor $top %A" } pack $top.bfn -in $top.f -side right -padx {3 6} pack $top.bfp $top.bcm $top.brv $top.blg \ $top.er2 $top.lr2 $top.er1 $top.lr1 \ -in $top.f -side right -padx 3 pack $top.bfn $top.bfp $top.bcm -ipadx 15 |
︙ | ︙ |