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.
I am using netbeans 6.0 with Japanese MS Gothic Font. After auto completion generate word but cursor postion is not appropriate position i.e. not last charactor but one or two letter forward from last charactor. But when I typed keyboard, insertion position is working good.
It's looking like one of the problems with multibyte characters. I don't think the problem is in autocompletion. Have you tried writing the same text manually? What happened? Was the cursor at the correct position? There are some long lasting issues with japanese characters in Nb editor. I'm sorry for that. These issues might be related to your problem - issue #14549, issue #74285.
I used only single byte english charactors. After autocompletion of method, first draw using normal font and set cursor positon at most last position, but then font changed to BOLD but cursor position not changed, therefor cursor position was not keep last position. Manual ently of program is okey because cursor position is keeping most last postion.
What font are you using? Is it proportional font? Eg. try typing 'WWWW' at the beggining of a line and then the same amount of dots '....' on the line right below it. Do both texts take the same amount of space? Thanks.
I Try to use several fixed width and propotional font but results were all same. Japanese MS Gothic Fixed width, Japanese MS Gothic Propotional and Arial. Regards, Mike Shimura
Mike, I think the problem is not related to which ja fonts you use, but in using im tools to input multibyte characters vs entering ascii characters ? ken.frank@sun.com
Hello Ken, I just inpu ASCII character not Japanese Character. It seems that first cursor position is determined based on normal font but after that font changed to Bold type face but cursor position not changed. Therefore cursor is positioned forward postion than it should be position. Best regards.
I confirmed that this problem is resolved with M10. When I put string, it put with appropriate font like bold therefore cursor positon is no need to change.
Ok, closing as fixed. Next time please feel free to close issues by yourself if the reported problem is fixed.
v