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.
@Override
protected void replaceSelection(JTextComponent target, int dotPos, Caret caret,
String str, boolean overwrite) throws BadLocationException {
if (str.equals("")) {
return;
}
char insertedChar = str.charAt(0);
Document document = target.getDocument();