Nonmember submission: RE: Text widget bug 
Author Message
 Nonmember submission: RE: Text widget bug

Quote:

>Hi,

>The attached patch seems to fix the bug. I'm not very sure whether it has
>any other side-effects, though

I think the correct fix is:

==== //depot/Tkutf8/Text/Text.pm#11 - /home/p4work/Tkutf8/Text/Text.pm ====
--- /tmp/tmp.1949.0     Tue Oct  8 10:05:06 2002

 sub InsertKeypress
 {

+ return unless length $char;
  if ($w->OverstrikeMode)
   {
    my $current=$w->get('insert');

Quote:

>Sreeji


>> > "Ins" key toggles Text widget between "insert" and "override" modes.
>> > I've noticed that single press of "Ctrl", "Shift" eats one
>> > character on a line.

>> Of course, I meant in "override" mode and forgot to mention it.

>> > Even "Alt" key eats one character, but slightly in a different manner.
>> > However it does not eats newline character.

>> > I've tried Win32 and SunOS, Tk800.022

>> > Even simpliest:

>> > perl -MTk -we 'MainWindow->new->Text->pack;MainLoop'

>> > However, "ptked" does not behaves so.

>> > Does anyone have any comments?

>> > Seems like correction patch should be suggested.
>> -++**==--++**==--++**==--++**==--++**==--++**==--++**==
>> This message was posted through the Stanford campus mailing list
>> server.  If you wish to unsubscribe from this mailing list, send the


--
Nick Ing-Simmons
http://www.*-*-*.com/

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the



Sun, 27 Mar 2005 02:27:57 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Nonmember submission: Re: Tk-core suggestion for Text Widget

2. Nonmember submission: Need some help with the Text Widget and more

3. Nonmember submission: Re: Nonmember submission: perl/Tk on RedHat 9

4. Nonmember submission: Re: Nonmember submission: re linux/tk/button memory leak

5. Nonmember submission: Re: Nonmember submission: Display an image

6. Nonmember submission: Re: destroying large Tk widgets

7. Nonmember submission: threads and widget updates

8. Nonmember submission: MListbox bug..

9. Nonmember submission: Re: serious bug in perlTk + Solaris 2.8

10. Nonmember submission: Re: Tk-core TIP Submissions

11. Nonmember submission: Re: Nonmember submission: Chinese support for Perl/TK?

12. Nonmember submission: Re: Nonmember submission: printing a Perl Tk Window...

 

 
Powered by phpBB® Forum Software