RFA: Fix editing.
Fernando Nasser
fnasser@cygnus.com
Thu Mar 30 11:57:00 GMT 2000
The following patch fixed the editing problem some people were seeing.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
ChangeLog:
* variables.tcl (edit): Remove call to close, which caused editing
of variables to fail.
Index: variables.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/variables.tcl,v
retrieving revision 1.1.1.1
diff -c -p -r1.1.1.1 variables.tcl
*** variables.tcl 2000/02/07 00:19:42 1.1.1.1
--- variables.tcl 2000/03/30 19:50:21
*************** class VariableWin {
*** 425,431 ****
# Find out what the previous entry is
set previous [getPrevious $variable]
! close $variable
$Hlist delete entry $variable
set cmd [format { \
--- 425,435 ----
# Find out what the previous entry is
set previous [getPrevious $variable]
! # I don't know why we would need to do this here as it seems
! # that the "delete entry" operation will do that.
! # Perhaps this was to account to some old widget bug.
! # But we cannot call close here because it calls UnEdit. FN
! #close $variable
$Hlist delete entry $variable
set cmd [format { \
More information about the Insight
mailing list