Skip to content

ITextStudioTextSource

InterfaceTextStudioTextStudio
public interface ITextStudioTextSource

Text source interface for canonical text input. Sources provide text with version tracking for dirty detection.

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.

uint GetVersion()

Gets a monotonically changing value used to detect source mutations without comparing text.

Returns

System.UInt32

event Action Changed

Occurs after canonical text or its effective interpretation changes.

Returns

System.Action