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

In most host applications the DocumentModel can not be used to track the changes the user made to the source content. The lookup is used to adjust the offset changes makde by the user.
显示文件 Open project: acrolinx/acrolinx-sidebar-demo-dotnet Class Usage Examples

Public Methods

Method Description
Lookup ( string originalText ) : System
Lookup ( string originalText, LookupStrategy strategy ) : System
Search ( string currentText ) : IReadOnlyList
Search ( string currentText, IReadOnlyList ranges ) : IReadOnlyList

Method Details

Lookup() public method

public Lookup ( string originalText ) : System
originalText string
return System

Lookup() public method

public Lookup ( string originalText, LookupStrategy strategy ) : System
originalText string
strategy LookupStrategy
return System

Search() public method

public Search ( string currentText ) : IReadOnlyList
currentText string
return IReadOnlyList

Search() public method

public Search ( string currentText, IReadOnlyList ranges ) : IReadOnlyList
currentText string
ranges IReadOnlyList
return IReadOnlyList