##// END OF EJS Templates
hgk: enable selected patch text on Windows...
Andrew Shadura -
r20764:d9378bfa default
parent child Browse files
Show More
@@ -795,8 +795,8 b' proc bindkey {ev script} {'
795 # set the focus back to the toplevel for any click outside
795 # set the focus back to the toplevel for any click outside
796 # the entry widgets
796 # the entry widgets
797 proc click {w} {
797 proc click {w} {
798 global entries
798 global ctext entries
799 foreach e $entries {
799 foreach e [concat $entries $ctext] {
800 if {$w == $e} return
800 if {$w == $e} return
801 }
801 }
802 focus .
802 focus .
@@ -2546,6 +2546,7 b' proc selectline {l isnew} {'
2546
2546
2547 proc selnextline {dir} {
2547 proc selnextline {dir} {
2548 global selectedline
2548 global selectedline
2549 focus .
2549 if {![info exists selectedline]} return
2550 if {![info exists selectedline]} return
2550 set l [expr $selectedline + $dir]
2551 set l [expr $selectedline + $dir]
2551 unmarkmatches
2552 unmarkmatches
@@ -2583,6 +2584,7 b' proc addtohistory {cmd} {'
2583
2584
2584 proc goback {} {
2585 proc goback {} {
2585 global history historyindex
2586 global history historyindex
2587 focus .
2586
2588
2587 if {$historyindex > 1} {
2589 if {$historyindex > 1} {
2588 incr historyindex -1
2590 incr historyindex -1
@@ -2597,6 +2599,7 b' proc goback {} {'
2597
2599
2598 proc goforw {} {
2600 proc goforw {} {
2599 global history historyindex
2601 global history historyindex
2602 focus .
2600
2603
2601 if {$historyindex < [llength $history]} {
2604 if {$historyindex < [llength $history]} {
2602 set cmd [lindex $history $historyindex]
2605 set cmd [lindex $history $historyindex]
General Comments 0
You need to be logged in to leave comments. Login now