Re: Help with gtktext.c/find_line_containing_point() function
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: Re: Help with gtktext.c/find_line_containing_point() function
- Date: 09 Aug 2000 20:05:04 -0400
"Villalovos, John L" <john.l.villalovos@intel.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 GtkText
> 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 up
> 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.)
I
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.
Regard,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]