[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extension to XIM support
From: |
Alexander Malmberg |
Subject: |
Re: Extension to XIM support |
Date: |
Thu, 10 Jul 2003 23:28:00 +0200 |
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
- Extension to XIM support, Kazunobu Kuriyama, 2003/07/10
- Re: Extension to XIM support, Adam Fedor, 2003/07/10
- Re: Extension to XIM support,
Alexander Malmberg <=
- Re: Extension to XIM support, Kazunobu Kuriyama, 2003/07/11
- Re: Extension to XIM support, Alexander Malmberg, 2003/07/11
- Re: Extension to XIM support, Kazunobu Kuriyama, 2003/07/11
- Re: Extension to XIM support, Alexander Malmberg, 2003/07/11
- Re: Extension to XIM support, Adam Fedor, 2003/07/11
- Re: Extension to XIM support, Alexander Malmberg, 2003/07/11
- Re: Extension to XIM support, Kazunobu Kuriyama, 2003/07/11
- Re: Extension to XIM support, Kazunobu Kuriyama, 2003/07/11
- Re: Extension to XIM support, Alexander Malmberg, 2003/07/12