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 209019
Collapse All | Expand All

(-)a/html.editor/src/org/netbeans/modules/html/editor/api/HtmlKit.java (+3 lines)
Lines 459-464 Link Here
459
        @Override
459
        @Override
460
        protected void replaceSelection(JTextComponent target, int dotPos, Caret caret,
460
        protected void replaceSelection(JTextComponent target, int dotPos, Caret caret,
461
                String str, boolean overwrite) throws BadLocationException {
461
                String str, boolean overwrite) throws BadLocationException {
462
            if (str.equals("")) {
463
                return;
464
            }
462
            char insertedChar = str.charAt(0);
465
            char insertedChar = str.charAt(0);
463
            Document document = target.getDocument();
466
            Document document = target.getDocument();
464
467

Return to bug 209019