Hello.
I have released tmplugin that supports CJK input. http://hetima.com/textmate/index-e.html
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
Screenshot is here. http://www.flickr.com/photos/hetima/293699370/
thanks.
-- hetima
On Nov 10, 2006, at 2:36 PM, hetima wrote:
Hello.
I have released tmplugin that supports CJK input. http://hetima.com/textmate/index-e.html
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
Screenshot is here. http://www.flickr.com/photos/hetima/293699370/
That's really cool :) Thanks a lot
Niels
I have released tmplugin that supports CJK input. http://hetima.com/textmate/index-e.html
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
Screenshot is here. http://www.flickr.com/photos/hetima/293699370/
That's really cool :) Thanks a lot
Indeed, yes it is very cool. !!!!!
But, I already wrote Hetima about a bug. I was not able to type Chinese. If I switched to Pinyin CJKinput automatically switched to Japanese Hiragana.
BUT... Now I'm home and I tried it at my Mac at home. Here I started with Pinyin and it worked!!? Then I wrote some German and switched to Japanese Hiragana, but then CJKinput keeps Pinyin.
Can anyone verify the same behavior?
In other words, CJKinput allows "only" one input method and remembers it per session.
That would be ok for I guess 80% of all cases, but I often write Japanese, Chinese, and other languages within one document.
All the best and many thanks to Hetima!!
Hans
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Nov 10, 2006, at 7:21 PM, Hans-Joerg Bibiko wrote:
I have released tmplugin that supports CJK input. http://hetima.com/textmate/index-e.html
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
Screenshot is here. http://www.flickr.com/photos/hetima/293699370/
That's really cool :) Thanks a lot
Indeed, yes it is very cool. !!!!!
But, I already wrote Hetima about a bug. I was not able to type Chinese. If I switched to Pinyin CJKinput automatically switched to Japanese Hiragana.
BUT... Now I'm home and I tried it at my Mac at home. Here I started with Pinyin and it worked!!? Then I wrote some German and switched to Japanese Hiragana, but then CJKinput keeps Pinyin.
Can anyone verify the same behavior?
In other words, CJKinput allows "only" one input method and remembers it per session.
That would be ok for I guess 80% of all cases, but I often write Japanese, Chinese, and other languages within one document.
You should be able to switch back to Chinese - at least it works for Korean input (I'm using HNC romaja) when I switch with the keyboard shortcut to switch between input methods. Actually it remembers in the beginning the last used input method. Here's an example: Let's say you quit the program using Kotoeri. The next time you open TextMate and switch to Japanese you will be able to do a direct input. Now you switch to Chinese, when you do the input it switches back to the last used language in the input window (which was Japanese[1]), now you can switch to the wished language. Next time you'll do the input, it remembers the last used language - normal behaviour in Mac OS X.
[1] and that's unfortunately quite a normal behaviour in Mac OS X- apps -- I fight with it all the time when I try to translate korean stuff via Korean -> Japanese -> English through web-dictionaries and JEdict or the other way around which works quite good because Korean and Japanese are so similar. The applications remember by itself what the last used language in it was and it seems that for "input" the plugin counts as an extra app and not as TextMate.
Niels
On Nov 10, 2006, at 7:21 PM, Hans-Joerg Bibiko wrote:
I have released tmplugin that supports CJK input. http://hetima.com/textmate/index-e.html
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
Screenshot is here. http://www.flickr.com/photos/hetima/293699370/
That's really cool :) Thanks a lot
Indeed, yes it is very cool. !!!!!
But, I already wrote Hetima about a bug. I was not able to type Chinese. If I switched to Pinyin CJKinput automatically switched to Japanese Hiragana.
<snip "bug" - it's actually not a bug but a feature of the OS itself as it seems>
Go to System Preferences -> International -> Input Menu and change from "Allow a different input source for each document" to "Use one input source in all documents" to get rid of this behaviour.
Niels
Quoting Niels Kobschätzki n.kobschaetzki@googlemail.com:
Go to System Preferences -> International -> Input Menu and change from "Allow a different input source for each document" to "Use one input source in all documents" to get rid of this behaviour.
Niels
Yes, I just did this before I read your mail. It is not my favorite but now Hetima's plugin saves much time for me ;)
Thanks again to you and Hetima!!
????
Hans
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Go to System Preferences -> International -> Input Menu and change from "Allow a different input source for each document" to "Use one input source in all documents" to get rid of this behaviour.
Niels
Yes, I just did this before I read your mail. It is not my favorite but now Hetima's plugin saves much time for me ;)
Thanks again to you and Hetima!!
????
Hans
Just for clarification:
The 4 question marks should be: 自他共栄
Unfortunately my client sent it wrong. So, there were no questions ;)
Hans
I have released tmplugin that supports CJK input. http://hetima.com/textmate/index-e.html
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
There is a side effect installing CJKinput. I guess it is only related to non US keyboards. If I type e.g. tilde by pressing option+n, or ´ to enter e.g. é etc. CJKinput also comes up. It works in that case also perfectly. It just needs getting used to.
Cheers,
Hans
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Nov 10, 2006, at 3:36 AM, hetima wrote:
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
This makes my day, seriously. It does seem that the full-pitch characters of kanji and kana of Japanese get sort of squished together; is there any way to avoid this, or is simply a function of TextMate's rendering methods not expecting wider characters?
In any case, this is a wonderful stopgap until we get built-in multilingual support -- thank you so much!
--p.
P. Tuttle Starr 808.291.8923 pts@midaregami.net http://www.midaregami.net/log/
On Nov 11, 2006, at 3:23 AM, Paul Starr wrote:
On Nov 10, 2006, at 3:36 AM, hetima wrote:
It detects input mode correctly. No action to activate required. I have tested only Japanese. But it will works with other language that uses Input Method as well.
This makes my day, seriously. It does seem that the full-pitch characters of kanji and kana of Japanese get sort of squished together; is there any way to avoid this, or is simply a function of TextMate's rendering methods not expecting wider characters?
This is TextMate not able handling the wider characters. You should load the font with half-width characters from Hetimas site: http:// d.hatena.ne.jp/hetima/20061102/1162435711
Niels