C# Class Acrolinx.Sdk.Sidebar.Util.Changetracking.DocumentModel

DocumentModel helps to keep track of the the changes the sidebar made to the text.
Show file Open project: acrolinx/acrolinx-sidebar-demo-dotnet Class Usage Examples

Public Methods

Method Description
DocumentModel ( ) : System
DocumentModel ( string originalContent ) : System
OriginalToModifiedRange ( IRange originalRange ) : IRange
Update ( IRange originalRange, string content ) : void

Method Details

DocumentModel() public method

public DocumentModel ( ) : System
return System

DocumentModel() public method

public DocumentModel ( string originalContent ) : System
originalContent string
return System

OriginalToModifiedRange() public method

public OriginalToModifiedRange ( IRange originalRange ) : IRange
originalRange IRange
return IRange

Update() public method

public Update ( IRange originalRange, string content ) : void
originalRange IRange
content string
return void