[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43454] Problem with Continuous Spell Checking
From: |
Fred Kiefer |
Subject: |
[bug #43454] Problem with Continuous Spell Checking |
Date: |
Sun, 09 Nov 2014 22:53:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
Follow-up Comment #7, bug #43454 (project gnustep):
I now seem to have an idea what might cause the problem. With the selection
not properly adjusted the text view tries to highlight behind the end of the
text. This results in a glyoh past the end of the text being requested and
this somehow leads to an infinit loop.
This will require two fixes. One for the calling method (_acceptGuess:), which
is fairly simple. But we also need to fix the low level glyph code. It should
never go into a loop, even when wrong numbers are given. What should happen is
that "complete" gets set to 1 on the top level glyph run. But this doesn't
happen and to understand why I need some more information.
In GSLayoutManager.m you see the commented out lines 732 and 734. Could you
please activate them and run your example again? It will result in loads of
output. What I am interested in is the first output after your last
breakpoint. I think it is best to set another breakpoint on line 756 and have
it execute exactly once.
Sorry to make it so complicated. I will add the simple fix after we understand
what is going on here.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43454>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/