Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 4055
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: (text instead of -text in gedi
In Tk804.025_beta1.tar.gz text is used in place of -text all over the place in gedi
To: bug-Tk [...] rt.cpan.org, ptk [...] lists.stanford.edu
Subject: Re: [cpan #4055] (text instead of -text in gedi
Date: Thu, 09 Oct 2003 22:36:52 +0100
From: Nick Ing-Simmons <>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=4055 > > >In Tk804.025_beta1.tar.gz >text is used in place of -text all over the place in gedi
My proposed fix is to delete gedi.
Date: Tue, 14 Oct 2003 17:40:58 -0400
Subject: Re: Nonmember submission: Re: [cpan #4055] (text instead of -text in gedi
CC: bug-Tk [...] rt.cpan.org, ptk [...] lists.Stanford.EDU
To: Nick Ing-Simmons <nick [...] ing-simmons.net>
From: Steve Lidie <sol0 [...] Lehigh.EDU>
RT-Send-Cc:
On Thursday, October 9, 2003, at 05:36 PM, bbense@networking.stanford.edu wrote: Show quoted text
> Guest via RT <bug-Tk@rt.cpan.org> writes:
>> This message about Tk was sent to you by guest <> via rt.cpan.org >> >> Full context and any attached attachments can be found at: >> <URL: https://rt.cpan.org/Ticket/Display.html?id=4055 > >> >> In Tk804.025_beta1.tar.gz >> text is used in place of -text all over the place in gedi
> > My proposed fix is to delete gedi. >
I patched all those way back when 804 first came out (; Wonder what happened?
Subject: Re: Nonmember submission: Re: [cpan #4055] (text instead of -text in gedi
To: bug-Tk [...] rt.cpan.org, sol0 [...] lehigh.edu
Date: Wed, 15 Oct 2003 10:26:22 +0100
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Steve Lidie via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
> >I patched all those way back when 804 first came out (; Wonder what >happened?
Most likely a merge of .pm patches from Slaven's patched Tk800.
Here is a patch
--- gedi 2003-07-19 01:39:09.000000000 -0700 +++ G:\perl\bin\gedi 2003-10-27 02:32:39.953125000 -0800 @@ -71,7 +71,7 @@ # my $menu_frame = $top->Frame->pack(-anchor=>'nw'); my $text_frame = $top->Frame->pack - (-anchor=>'nw', expand=>'yes', -fill => 'both'); # autosizing + (-anchor=>'nw', -expand=>'yes', -fill => 'both'); # autosizing my $counter_frame = $top->Frame->pack(-anchor=>'nw'); ############################################## @@ -114,36 +114,36 @@ ############################################## ############################################## my $current_line_label = $counter_frame - -> Label(text=>'line: 1') + -> Label(-text=>'line: 1') -> grid(-row=>1,-column=>1, -sticky=>'nw' ); my $total_line_label = $counter_frame - -> Label(text=>'total lines: 1') + -> Label(-text=>'total lines: 1') -> grid(-row=>2,-column=>1, -sticky=>'nw' ); my $current_column_label = $counter_frame - -> Label(text=>'column: 0') + -> Label(-text=>'column: 0') -> grid(-row=>3,-column=>1, -sticky=>'nw' ); my $insert_overstrike_mode_label = $counter_frame - -> Label(text=>' ') + -> Label(-text=>' ') -> grid(-row=>5,-column=>1, -sticky=>'nw' ); sub update_indicators { my ($line,$column)= split(/\./,$textwindow->index('insert')); - $current_line_label->configure (text=> "line: $line"); - $current_column_label->configure (text=> "column: $column"); + $current_line_label->configure (-text=> "line: $line"); + $current_column_label->configure (-text=> "column: $column"); my ($last_line,$last_col) = split(/\./,$textwindow->index('end')); - $total_line_label->configure (text=> "total lines: $last_line"); + $total_line_label->configure (-text=> "total lines: $last_line"); my $mode = $textwindow->OverstrikeMode; my $overstrke_insert='Insert Mode'; if ($mode) {$overstrke_insert='Overstrike Mode';} $insert_overstrike_mode_label->configure - (text=> "$overstrke_insert"); + (-text=> "$overstrke_insert"); my $filename = $textwindow->FileName; $filename = 'NoName' unless(defined($filename)); @@ -184,19 +184,19 @@ my $pop = $top->Toplevel(); $pop->title("About"); - $pop->Label(text=>"Gedi (Gregs EDItor)")->pack(); - $pop->Label(text=>"Ver. 1.0")->pack(); - $pop->Label(text=>"Copyright 1999")->pack(); - $pop->Label(text=>"Greg London")->pack(); - $pop->Label(text=>"All Rights Reserved.")->pack(); - $pop->Label(text=>"This program is free software.")->pack(); - $pop->Label(text=>"You can redistribute it and/or")->pack(); - $pop->Label(text=>"modify it under the same terms")->pack(); - $pop->Label(text=>"as Perl itself.")->pack(); - $pop->Label(text=>"Special Thanks to")->pack(); - $pop->Label(text=>"Nick Ing-Simmons.")->pack(); + $pop->Label(-text=>"Gedi (Gregs EDItor)")->pack(); + $pop->Label(-text=>"Ver. 1.0")->pack(); + $pop->Label(-text=>"Copyright 1999")->pack(); + $pop->Label(-text=>"Greg London")->pack(); + $pop->Label(-text=>"All Rights Reserved.")->pack(); + $pop->Label(-text=>"This program is free software.")->pack(); + $pop->Label(-text=>"You can redistribute it and/or")->pack(); + $pop->Label(-text=>"modify it under the same terms")->pack(); + $pop->Label(-text=>"as Perl itself.")->pack(); + $pop->Label(-text=>"Special Thanks to")->pack(); + $pop->Label(-text=>"Nick Ing-Simmons.")->pack(); - my $button_ok = $pop->Button(text=>'OK', + my $button_ok = $pop->Button(-text=>'OK', command => sub {$pop->destroy(); $about_pop_up_reference = undef; } )