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.

View | Details | Raw Unified | Return to bug 219580
Collapse All | Expand All

(-)a/editor.lib/src/org/netbeans/editor/BaseCaret.java (+3 lines)
Lines 733-738 Link Here
733
        caretUpdatePending = false;
733
        caretUpdatePending = false;
734
        JTextComponent c = component;
734
        JTextComponent c = component;
735
        if (c != null) {
735
        if (c != null) {
736
            if (!c.isValid()) {
737
                c.validate();
738
            }
736
            BaseTextUI ui = (BaseTextUI)c.getUI();
739
            BaseTextUI ui = (BaseTextUI)c.getUI();
737
            BaseDocument doc = Utilities.getDocument(c);
740
            BaseDocument doc = Utilities.getDocument(c);
738
            if (doc != null) {
741
            if (doc != null) {

Return to bug 219580