This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Create an abbreviation with multibyte name and english values. Type in abbreviation in editor and hit space (after mulibyte input has been committed and im input mode is off) - abbreviation is not placed into editor. ----------------------- In the case of using an abbreviation with ascii name but multibyte value, most of the time it seems to work but not always; I'll look into this more to see if a real issue.
This Abbreviation does not work only in Windows98 and Windows2000.It works fine in solaris8 and Linux6.2.
I'm also seeing this problem on NT and MSIME. It seems that just after committing japanese character, a fullsize space is entered by space key. Ascii space will insert abbreviation but IDE gets fullsize space. The following scenario can work even on NT, 1. commit japanese 2. turn IME off 3. space but this does not work. 1. commit japanese 2. space I think this is a spec of IDE because IDE does not register fullsize space as inputting abbreviation.
Target milestone -> 3.3.1.
Set target milestone to TBD
I think I know the solution (at least for japanese Abb.). The problem is connected with a fact that when entering space in japanese mode, the entered characted is not recognized as ' ' character. Solution is to change way how to recognize the space. When JDK isWhitespace() function is used the abbreviations works properly. I was not sucessful with reproducing any problem with english abbreviations which contains japanese text. I will attach the diff here and I would like to ask: - Mila to verify/comment it and commit it to the maintrunk - Ken to check the fix after its commited (please, also on on windows as im not able to find suitable windows system with installed japanese). - Ken to check whether this fix is sufficient and whether there is also any other relevant reproducible problem with abbreviations.
Created attachment 8699 [details] diff in -c format
fixed in [maintrunk] Honza, thanks for the patch.
Verified on Sierra RC5a_Build with patches... OS:win2k
fixed in [prj40_prototype] also
verified fix on sierra update1 with patch 113638-4. Configuration: Build:Sierra Update1 020923 JDK:1.4.0_03 Locale:ja_JP OS:win2k