Kazunobu Kuriyama wrote: [snip] > Because off-the-spot and over-the-spot need to interact with a text drawing > object, I have to put some code in -gui.
This sound useful, but I think you've added this code in the wrong place, which is bad (it can only be used from NSTextView, it adds backend-specific code to -gui, and it doesn't fit in the documented input architecture). Text input (in NSTextView, but potentially also in other classes) works by using NSInputManager and the NSTextInput protocol, so I think what you should do is implement this in NSInputManager. Depending on how extensively you need to change it, it might be necessary to implement part of it in the backend. Note that the marked text methods in NSTextInput aren't implemented in NSTextView yet. If you need them, tell me and I'll hurry up and implement the necessary parts in the text system (can be done easily but a bit ugly using copy&paste). - Alexander Malmberg _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
