void createCommentHistoryRecord(Address address, CommentType commentType, String oldComment,
			String newComment) {
		if (oldComment == null) {
			oldComment = "";
		}
		if (newComment == null) {
			newComment = "";
		}

		StringDiff[] diffs = StringDiffUtils.getLineDiffs(newComment, oldComment);

		long date = System.currentTimeMillis();
		long addr = addrMap.getKey(address, true);
		try {
			for (StringDiff diff : diffs) {
				historyAdapter.createRecord(addr, (byte) commentType.ordinal(), diff.start,
					diff.end, diff.text, date);
			}
		}
		catch (IOException e) {
			dbError(e);
		}
	}
Set the comment for the given comment type at the specified address.

@param address the address of the comment.
@param commentType either EOL_COMMENT, PRE_COMMENT, POST_COMMENT, PLATE_COMMENT, or 
REPEATABLE_COMMENT
@param comment comment to set at the address
@throws IllegalArgumentException if type is not one of the types of comments supported
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java