62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
if {$p eq ""} {
set ::ProcEditor(args) ""
$::ProcEditor(bodyW) delete 1.0 end
return
}
if {$p ne $::ProcEditor(proc)} {
after idle [list set ::ProcEditor(proc) $p]
after idle [list $::ProcEditor(procW) selection range insert end]
}
after idle ProcEditorSelected
}
proc ProcEditorSelected {} {
|
|
|
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
if {$p eq ""} {
set ::ProcEditor(args) ""
$::ProcEditor(bodyW) delete 1.0 end
return
}
if {$p ne $::ProcEditor(proc)} {
after idle [list set "::ProcEditor(proc)" $p]
after idle [list $::ProcEditor(procW) selection range insert end]
}
after idle ProcEditorSelected
}
proc ProcEditorSelected {} {
|