Is there an exposed method for string diff'ing?

SyntaxEditor for WPF Forum

Posted 8 years ago by Craig - Varigence, Inc.
Version: 11.2.0552
Avatar

Do any of the Actipro assemblies provide an API that performs diff's on strings, or diff's between mutliple snapshots? I ask since the SyntaxEditor documentation mentions that document snapshots share data as much as possible, which leads me to suspect you're creating diff's to find common elements. 

Thanks,

-Craig

Comments (1)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Craig,

Sorry but we don't have anything like that.  Snapshots common to the same document do share text data when possible, but it's not an exact difference like what you want (some ranges of common text might still be duplicated).  It's designed to perform fast while balancing that with greatly reduced memory usage.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.