docs: @Override
  	public void insertString(FilterBypass fb, int offset, String string, AttributeSet attr)
  		throws BadLocationException
  	{
  		Document doc = fb.getDocument();
  		StringBuilder sb = new StringBuilder();
  		sb.append(doc.getText(0, doc.getLength()));
  		sb.insert(offset, string);
  
  		if (validate(sb.toString()))
  		{
  			super.insertString(fb, offset, string, attr);
  		}
  		else
  		{
  			onValidationError(sb.toString());
  		}
  	}