Thetype exposes the following members.
Returns the ITextSnapshot behind this SourceText, or null if it wasn't created from one. Note that multiple ITextSnapshots may map to the same SourceText instance if ITextSnapshot.Version.ReiteratedVersionNumber doesn't change.
Gets the Document from the corresponding CurrentSolution that is associated with the ITextSnapshot's buffer in its current project context, updated to contain the same text as the snapshot if necessary. There may be multiple Documents associated with the buffer if it is linked into multiple projects or is part of a Shared Project. In this case, the Workspace is responsible for keeping track of which of these Documents is in the current project context.
Gets the Documents from the corresponding CurrentSolution that are associated with the ITextSnapshot's buffer, updated to contain the same text as the snapshot if necessary. There may be multiple Documents associated with the buffer if the file is linked into multiple projects or is part of a Shared Project.
Gets the workspace corresponding to the text buffer.