ITextStudioTextSource
public interface ITextStudioTextSourceText source interface for canonical text input. Sources provide text with version tracking for dirty detection.
Methods
Section titled “Methods”
GetCanonicalText()
Section titled “GetCanonicalText()”string GetCanonicalText()Gets the complete canonical markup represented by the source.
Returns
System.String: Current markup. Implementations should return an empty string instead of null.
GetVersion()
Section titled “GetVersion()”uint GetVersion()Gets a monotonically changing value used to detect source mutations without comparing text.
Returns
System.UInt32
Events
Section titled “Events”
Changed
Section titled “Changed”event Action ChangedOccurs after canonical text or its effective interpretation changes.
Returns
System.Action