When I compared 2 document, position of comment on surround words was broken. http://joxi.ru/4Ak00oKFodgoxr
Document doc = new Document("..\\test.docx");
Document doc2 = new Document("..\\test2.docx");
doc.acceptAllRevisions();
doc2.acceptAllRevisions();
doc.compare(doc2, "3", new Date());
doc.save("..\\test3.docx");
I attached zip archive of test documentscomment-bug.zip (47.5 KB)