[TxMt] Re: [TM2] Japanese-support not correctly working

Allan Odgaard mailinglist at textmate.org
Thu Dec 15 10:29:33 UTC 2011

On 15 Dec 2011, at 03:33, Kevin Griffin wrote:

> I noticed this too […]

Anyone having issues with an input mode please write tm-support at macromates.come with name of input mode and exact steps to reproduce + expected / actual results.

I am aware of issues, the problem for me is that there are 10 or so different input modes and they all have slightly different behavior and there is pretty much no documentation on how I should implement this — my fix for one of the Chinese input modes is what seems to have introduced this “return overwrites the glyphs”, but overtyping was required for the Chinese one.

So the only way I can really “fix” these issues is to document the input modes’ behavior and come up with a heuristic that please them all — but they are too alien for me to figure out how they are supposed to work without some help from users.

As for the rest of the system, my guess is that they (NSTextView) are handling this outside Cocoa (more low-level) because I pretty much has been through exactly the same with deciphering Cocoa key events and supporting different keymaps — here I also ended up with a heuristic I had to alter multiple times as I learned about new keymaps for which the old heuristic failed — even Apple was unable to provide me with code that could correctly handle the problem (I used a paid support incident).

OK, this was a bit of a rant… just so you guys know that lack of fully functioning CJK is by no means because I don’t think it’s important.

More information about the textmate mailing list