New Classes, Properties, Methods and Events

In TX Spell 5.0 the following new classes, properties, methods and events have been added:

Classes

Class Description
TXTextControl.Proofing.LanguageScope The LanguageScope class represents a text scope with a specific language.
TXTextControl.Proofing.LanguageScopeCollection An instance of the LanguageScopeCollection class contains all detected language scopes for a specific text.

Properties

Property Description
TXTextControl.Proofing.LanguageScope.Index Gets the index of the language scope to the corresponding collection.
TXTextControl.Proofing.LanguageScope.Language Gets the culture of the language scope.
TXTextControl.Proofing.LanguageScope.Length Gets the length of the language scope.
TXTextControl.Proofing.LanguageScope.Start Gets the starting position of a language scope.
TXTextControl.Proofing.LanguageScopeCollection.Item Gets an object of type LanguageScope from the collection.
TXTextControl.Proofing.TXSpell.DetectableLanguageScopes Gets or sets a list of all languages that are used to detect language scopes in a text.
TXTextControl.Proofing.TXSpell.LanguageScopes Gets a collection of all detected language scopes.
TXTextControl.Proofing.TXSpellChecker.DetectableLanguageScopes Gets or sets a list of all languages that are used to detect language scopes in a text.
TXTextControl.Proofing.TXSpellChecker.LanguageScopes Gets a collection of all detected language scopes.

Methods

Method Description
TXTextControl.Proofing.LanguageScopeCollection.GetItem Gets a particular item from the collection.
TXTextControl.Proofing.TXSpell.DetectLanguageScopes Detects language scopes in a text and fills the results into the LanguageScopeCollection at TXSpell.LanguageScopes.
TXTextControl.Proofing.TXSpellChecker.DetectLanguageScopes Detects language scopes in a text and fills the results into the LanguageScopeCollection at TXSpellChecker.LanguageScopes.