Incorrect M-f, M-b handling - problem located



Hello. I now have more information about the problem I have had with
M-f doing end-of-line, M-b beginning-of-line, and I also know why it
works as expected in the Text widget, but not in the Entry widget.

The problem seems to be in the multibyte code, which is not used in
the Text functions, but in Entry ones. When I set gtk_use_mb to 0 in
gtkmain.c, they work as expected. I am happy with my kludge fix above
(ie force multibyte to be off) since I really don't know how to solve
the problem in any other way (I don't need mb anyway).

It's possible that it might be a bug in my libc (5.4.23). That would
explain why no one else saw the problem (ie different libc).

I hope this helps in finding a better fix (if it's a libc-bug, a
better word would be work-around, like a configure test or something).

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
USENET would be a better laboratory is there were more labor and less oratory.
		-- Elizabeth Haley



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]