Skip to content

Instantly share code, notes, and snippets.

@cromica
Created June 2, 2015 12:23
Show Gist options
  • Save cromica/363b895641c7443c1bdf to your computer and use it in GitHub Desktop.
Save cromica/363b895641c7443c1bdf to your computer and use it in GitHub Desktop.
sample code showing how to delete all comments on a segment using integration API
var editorController = GetEditorController();
var segmentId = editorController.ActiveDocument.ActiveSegmentPair.Properties.Id.Id;
editorController.ActiveDocument.DeleteAllCommentsOnSegment(segmentId);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment