|
From: SourceForge.net <no...@so...> - 2006-09-15 19:59:12
|
Patches item #1555403, was opened at 2006-09-09 09:33 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1555403&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Kazutoshi Satoda (k_satoda) Assigned to: Nobody/Anonymous (nobody) Summary: Add input method support to JEditTextArea Initial Comment: This patch adds input method support to JEditTextArea. Without this, since JEditTextArea is not a sub class of JTextComponent (which has default input method support), editing via a input method behaves badly. Because input method support is a requirement for most CJK people, this can help to widen the user (and/or developer) community much. Of cource, *I* need this. Basic ideas of implementation comes from following URLs (with pathes for old versions which is not submitted). http://ww2.wt.tiki.ne.jp/~shiroyagi/software/jedit_im_e n.html http://homepage1.nifty.com/dangan/en/Content/Program/Ja va/jEdit/jEditPatch.html Tested with: Windwos XP (Japanese) JDK 1.5.0_08 jEdit 4.3pre7(r6907) This is my first patch for jEdit. So please tell me if I violates conventions. I'll learn and fix it, and resubmit a revised patch. ---------------------------------------------------------------------- >Comment By: Nobody/Anonymous (nobody) Date: 2006-09-15 12:59 Message: Logged In: NO Ping. I found that this patch will close following issue. https://sourceforge.net/support/tracker.php?aid=735962 ---------------------------------------------------------------------- Comment By: Kazutoshi Satoda (k_satoda) Date: 2006-09-09 13:52 Message: Logged In: YES user_id=1483238 Sorry. A major bug was found. Please replace the patch. Following is the changes from previous patch. * Fix a bug * getTextLocation() for composed text sometimes works, sometimes doesn't. getLocationOffset() seemed to have the same problem. * Minor changes. * Restructure import block without '*'. * Remove meaningless 'public' specifier from class InputMethodSupport. * Pass the committed character count as the capacity of StringBuffer to build committing text. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1555403&group_id=588 |