private void resetToDefaultParagraphAttributes(int position) {
		StyledDocument doc = getStyledDocument();
		if (doc == null)
			return;
		Element elem = doc.getParagraphElement(position);
		if (elem == null)
			return;
		AttributeSet a = elem.getAttributes();
		SimpleAttributeSet sas = new SimpleAttributeSet(a);
		StyleConstants.setAlignment(sas, StyleConstants.ALIGN_LEFT);
		StyleConstants.setFirstLineIndent(sas, 0);
		StyleConstants.setLeftIndent(sas, 0);
		StyleConstants.setRightIndent(sas, 0);
		StyleConstants.setSpaceAbove(sas, 0);
		StyleConstants.setSpaceBelow(sas, 0);
		doc.setParagraphAttributes(position, 1, sas, true);
	}