Re: Help with gtktext.c/find_line_containing_point() function
- From: Mikael Hermansson <mikeh bahnhof se>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Help with gtktext.c/find_line_containing_point() function
- Date: Thu, 10 Aug 2000 15:37:37 +0200
GtkExText is NOT a subclass of GtkText. GtkExText parent is GtkEditable.
This means the specified bug will not appear in GtkExText :-)
The only reason API looks like GtkText is to make it simple convert from
GtkText -> GtkExText.
På Thu, 10 Aug 2000 02:05:04 skrev Owen Taylor:
> "Villalovos, John L" <email@example.com> writes:
> > I was wondering if there was anyone out there with knowledge of the
> > find_line_containing_point function in gtktext.c?
> > I am having a problem with it where it gets locked up in one of the while
> > loops (specifically the 1st one) and don't have much knowledge about the
> > internal workings of this function so assistance would be appreciated so a
> > fix could be developed.
> > This bug does not show up on all my systems but I have a single line
> > widget and when I enter a couple characters of text and then tab tab tab
> > until the text is off the screen and a little bit more. Then I start
> > backspacing and once it gets near the beginning of the text box it locks
> > in the while loop.
> My only advise is "good luck" - I spent a fair bit of time try to
> fix that function, at one point, apparently without completely succeeded,
> but I've since forgotten everything I learned about the text widget.
> (GtkTEut is broken, its not, IMO, fixable, so we have a replacement
> in the development version.)
> don't see any way that that loop could lock up offhand...
> You might want to check the GtkText descendents (In particular GtkExText)
> - to see if they have any fixes in this function.
> gtk-devel-list mailing list
] [Thread Prev