Community
Participate
Working Groups
Reporter: Gao Yin Yin Language: Simplfied Chinese Build driver: eclipse-sourceBuild-srcIncluded-3.0M9 JDK Version: IBM J2SDK 1.4.1 Severity: 3 Summary: Surrogate – surrogate characters cannot be displayed correctly in the bookmarks view. Steps to recreate problem: 1. Open a bookmark view through “Window à Show View à Other… àBasicàBookmarks”; 2. Add a new bookmark, make its name contains surrogate characters, for example “newbookmark\ud840\udc00”; 3. The bookmark is added in the bookmarks list, but the surrogate character can not be displayed correctly in the “Description” column; 4. Filter the bookmarks with that surrogate character, the bookmark can be found although we cannot see that character in it. <<Error>> Surrogate characters cannot be displayed correctly in the bookmarks view. <<Expected Result>> Surrogate characters can be displayed correctly in the bookmarks view. <<Cause>> Bookmarks view does not support font setting. <<Solution>> Modify BookmarkView.java to support font setting according to “Text Font” setting in “WindowàPreference…àWorkbenchàColors and Fonts”. Add BookmarkView objects to PropertyChangeListener and add property change event handler in BookmarkView.
Created attachment 13332 [details] Modified source file with file diff
Likely the same as Bug 70179
*** This bug has been marked as a duplicate of 70179 ***