[]
        
(Showing Draft Content)

C1.WPF.SpellChecker.CharRange

CharRange Class

Class that represents a character range within a string. This is used by the C1SpellChecker control to represent the spelling mistakes found in text.

Inheritance
CharRange
Implements
ICharRange
Namespace: C1.WPF.SpellChecker
Assembly: C1.WPF.SpellChecker.4.6.2.dll
Syntax
public class CharRange : ICharRange

Constructors

Name Description
CharRange(string, int, bool)

Initializes a new instance of a CharRange.

Properties

Name Description
Duplicate

Gets whether this CharRange contains the same string as the previous one.

End

Gets the end index of the string represented by this CharRange.

Length

Gets the length of the string represented by this CharRange.

Start

Gets the starting index of the string represented by this CharRange within the text.

Text

Gets the string represented by this CharRange.

Methods

Name Description
Equals(object)

Determines whether this CharRange is equal to another.

ExpandOverWhitespace(string, CharRange)

Extends a CharRange over whitespace.

GetHashCode()

Serves as a hash function for the CharRange type.

GetNextWord(string, int, IgnoreOptions, string)

Gets the next word in a string, starting from a given position.

GetWordAt(string, int, IgnoreOptions)

Gets the word at a given position in the string.

IsWordCharacter(char)

Determines whether a character is spell-checkable.