Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Strange word & line selection in the text widget?
I am using the latest CVS head (8.5.something :-)), and I have noticed
a strange behaviour with the Tk text widget. When the
widget displays non-english text (in my case gr), when I double-click
(to select a word) or tripple-click (to select a line) in the widget,
the appearence of the selected text is bizzare: from the character the
click was done the text is displayed fine, but before this character
no text is shown. Also, strange things can happen, like characters
moving around, as if text was inserted/deleted around the selection.
Anyone else seeing anything similar?

George

Report this thread to moderator Post Follow-up to this message
Old Post
George Petasis
04-19-05 01:59 AM


Re: Strange word & line selection in the text widget?
George Petasis wrote:
>
> I am using the latest CVS head (8.5.something :-)), and I have noticed
> a strange behaviour with the Tk text widget. When the
> widget displays non-english text (in my case gr), when I double-click
> (to select a word) or tripple-click (to select a line) in the widget,
> the appearence of the selected text is bizzare: from the character the
> click was done the text is displayed fine, but before this character
> no text is shown. Also, strange things can happen, like characters
> moving around, as if text was inserted/deleted around the selection.
> Anyone else seeing anything similar?
>
> George

Which happens only under unix (linux fedora core 3) when I enable
XFT support :-) Without XFT, everything is normal...

George

Report this thread to moderator Post Follow-up to this message
Old Post
George Petasis
04-19-05 01:59 AM


Re: Strange word & line selection in the text widget?
George Petasis wrote: 
>
>Which happens only under unix (linux fedora core 3) when I enable
>XFT support :-) Without XFT, everything is normal...


Filed at SourceForge, #1185640


--Joe English

Report this thread to moderator Post Follow-up to this message
Old Post
Joe English
04-19-05 08:59 AM


Re: Strange word & line selection in the text widget?
>George Petasis wrote: 
>
>Filed at SourceForge, #1185640

... and fixed, I think.  Please check current CVS HEAD
and let me know if the problem persists.

(Summary of the problem: the Xft implementation was using
a strict interpretation of UTF-8, and had a bug in the error
recovery path.)


--Joe English

Report this thread to moderator Post Follow-up to this message
Old Post
Joe English
04-19-05 08:59 AM


Re: Strange word & line selection in the text widget?
Joe English wrote: 
>
>
> ... and fixed, I think.  Please check current CVS HEAD
> and let me know if the problem persists.
>
> (Summary of the problem: the Xft implementation was using
> a strict interpretation of UTF-8, and had a bug in the error
> recovery path.)
>
>
> --Joe English

Yes, the problem is now fixed :-) Thanks :-)

George

Report this thread to moderator Post Follow-up to this message
Old Post
George Petasis
04-19-05 09:01 PM


Re: Strange word & line selection in the text widget?
Joe English wrote: 
>
>
> ... and fixed, I think.  Please check current CVS HEAD
> and let me know if the problem persists.
>
> (Summary of the problem: the Xft implementation was using
> a strict interpretation of UTF-8, and had a bug in the error
> recovery path.)
>
>
> --Joe English

Yes, the problem is now fixed :-) Thanks :-)

George

Report this thread to moderator Post Follow-up to this message
Old Post
George Petasis
04-19-05 09:01 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:17 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.