In This Article

ActiproSoftware.Text Namespace

Classes

ClassificationTypeKeys

Defines keys for built-in IClassificationType instances defined in ClassificationTypes.

ClassificationTypes

Provides access to the built-in IClassificationType instances.

NormalizedTextSnapshotRangeCollection

Represents a read-only normalized text snapshot range collection.

SyntaxLanguageChangedEventArgs

Event arguments for the ICodeDocument.LanguageChanged event.

SyntaxLanguageExtensions

Contains extension methods that make it easier to work with ISyntaxLanguage objects.

TextChangeTypes

Provides access to the built-in ITextChangeType instances, that indicate the type of ITextChange made.

TextSnapshotChangedEventArgs

Event arguments for the ITextDocument.TextChanged event.

TextSnapshotChangingEventArgs

Event arguments for the ITextDocument.TextChanging event.

TextSnapshotRangeEventArgs

Event arguments used when a change notification is needed for a TextSnapshotRange.

TextSnapshotReaderOptions

Represents options that are applied to an ITextSnapshotReader.

Structs

TextPosition

Represents an ordered pair of zero-based line and character index values that defines a position within the lines of an ITextSnapshot.

TextPositionRange

Represents a range of two TextPosition values within the lines of an ITextSnapshot.

TextRange

Represents a zero-based range of two offset values within a text document.

TextSnapshotOffset

Represents a zero-based offset value within a certain ITextSnapshot.

TextSnapshotRange

Represents a zero-based range of two normalized offset values within a certain ITextSnapshot.

Interfaces

IClassificationType

Provides the base requirements for an object that represents a classification type.

IClassificationTypeRegistry

Provides the base requirements for an object that provides a registry of IClassificationType data.

ICodeDocument

Provides the base requirements for a text document with some advanced features that relate to syntax highlighting and code parsing.

ICodeDocumentLifecycleEventSink

Provides the base requirements for an object that can be notified of when an ICodeDocument becomes associated and disassociated with a language, via events such as a language change.

ICodeDocumentPropertyChangeEventSink

Provides the base requirements for an object that can be notified of when an ICodeDocument's properties, such as ParseData or FileName, are changed.

IEditorDocument

Provides the base requirements for a code document that has advanced functionality when edited in a code editor.

IExampleTextProvider

Provides the base requirements for an object that returns example text, which can be displayed in an application to show how a language's code snippet is syntax-highlighted.

IIdProvider

Provides the base requirements for a class that provides ID's.

IIndexedTextRangeProviderCollection

Provides the base requirements for a collection of ITextRangeProvider objects.

ILineCommenter

Provides the base requirements for an object that can comment and uncomment lines for a particular language.

ISyntaxLanguage

Provides the base requirements for a syntax language that provides parsing and other functionality for a text document via registered services.

ITextBufferReader

Provides the base requirements for an object that reads characters from a fixed text buffer.

ITextChange

Provides the base requirements for a text change, which contains one or more ITextChangeOperation objects.

ITextChangeOperation

Provides the base requirements for a single replace operations within a text change.

ITextChangeOptions

Provides the base requirements for options that are applied to an ITextChange.

ITextChangeRangedOperation

Provides the base requirements for a single replace operations within a text change, but without storing the actual text inserted/deleted.

ITextChangeType

Provides the base requirements for an object that indicates the type of change made by an ITextChange.

ITextDocument

Provides the base requirements for a text document that provides access to the ITextSnapshot (via CurrentSnapshot) that contains the current text of the document, and allows for text modification.

ITextFormatter

Provides the base requirements of a language formatter that can adjust the whitespace layout of text for better readability.

ITextPositionRangeCollection

Provides the base requirements for a sorted TextPositionRange collection, with one of the entries marked as primary.

ITextPositionRangeProvider

Provides the base requirements for an object that has range of two TextPosition values within a text document.

ITextRangeProvider

Provides the base requirements for an object that has range of two offset values within a text document.

ITextSnapshot

Provides the base requirements for an immutable snapshot of an ITextDocument for a certain ITextVersion of that document.

ITextSnapshotLine

Provides the base requirements for a line in an ITextSnapshot.

ITextSnapshotLineCollection

Encapsulates a collection of ITextSnapshotLine objects.

ITextSnapshotReader

Provides the base requirements for an object that reads through characters and tokens from an ITextSnapshot.

ITextSnapshotReaderOptions

Provides the base requirements for options that are applied to an ITextSnapshotReader.

ITextStatistic

Provides the base requirements for a text statistic that is returned by an ITextStatistics.

ITextStatistics

Provides the base requirements for a class that contains numerous statistics such as line, word, character counts, and readability scores for text.

ITextStatisticsFactory

Provides the base requirements for a factory capable of creating ITextStatistics objects.

ITextVersion

Provides the base requirements for a version of an ITextDocument.

ITextVersionRange

Provides the base requirements for a zero-based range of two normalized offset values within a text document that can be translated from one version of the document to another.

IWordBreakFinder

Provides the base requirements for an object that finds word breaks within an ITextSnapshot.

Enums

CaseSensitivity

Represents the type of case sensitivity to apply.

CharacterCasing

Specifies the target case of text characters.

LineTerminator

Specifies a type of line terminator.

TextChangeOffsetDelta

Specifies how an ITextChange's ITextChangeOperation offsets are modified based on previously-added operations.

TextFormatMode

Specifies whether to format text over an entire snapshot or only for specified ranges.

TextOffsetAffinity

Specifies which direction is more important to a text offset.

TextOffsetTrackingMode

Specifies how a text offset is updated by text change operations that occur around it.

TextRangeTrackingModes

Specifies how a text range is updated by text change operations that occur at its edges.

TextScanDirection

Specifies a direction in which text will be scanned.

WhitespaceTrimModes

Specifies the modes by which whitespace is trimmed.