attrAddedByOther = sd.addStyle(STYLE_ADDED_BY_OTHER, attrNormal);
StyleConstants.setForeground(attrAddedByOther, Color.RED);
StyleConstants.setBold(attrAddedByOther, true);
attrRemovedByOther = sd.addStyle(STYLE_REMOVED_BY_OTHER, attrNormal);
StyleConstants.setForeground(attrRemovedByOther, Color.RED);
StyleConstants.setStrikeThrough(attrRemovedByOther, true);
StyleConstants.setBold(attrRemovedByOther, true);
attrRemovedLocally = sd.addStyle(STYLE_REMOVED_LOCALLY, attrNormal);