Bug 69541 [Dialogs] TVT3.0: Task List Description text entry widget truncated in Korean
Must fix: Yes Severity: 3 Build date: 20040707 Blocking: No Language: KOR 1) Enter a Korean locale and install Language Pack 2) Run Eclipse 3) Right click in the Task List View and select Add Task 4) With a resolution of 1024x768, the text entry widget for the Description is truncated.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
*/
    protected void updateDialogForNewMarker() {
        if (resource != null && resourceText != null && folderText != null) {
            resourceText.setText(resource.getName());
            IPath path = resource.getFullPath();
            int n = path.segmentCount() - 1; 
            if (n > 0) {
                int len = 0;
                for (int i = 0; i < n; ++i)
                    len += path.segment(i).length();
                
                if (n > 1)
                    len += n - 1;
                StringBuffer sb = new StringBuffer(len);
                for (int i = 0; i < n; ++i) {
                    if (i != 0)
                        sb.append('/');
                    sb.append(path.segment(i));
                }
                folderText.setText(sb.toString());
            }
        }
        if (initialAttributes != null) {
            Object description = initialAttributes.get(IMarker.MESSAGE);
            if (description != null && description instanceof String)
                descriptionText.setText((String) description);
            descriptionText.selectAll();
            Object line = initialAttributes.get(IMarker.LINE_NUMBER);
            if (line != null && line instanceof Integer && locationText != null)
                locationText.setText(Messages.format(