Condividi tramite


WordSplitBehavior Enumeration

Behavior to use while splitting words in string differencing.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Dichiarazione
Public Enumeration WordSplitBehavior
public enum WordSplitBehavior
public enum class WordSplitBehavior
type WordSplitBehavior
public enum WordSplitBehavior

Members

Member name Description
Default Split words by CharacterClass.
CharacterClass Split words by character class.
WhiteSpace Split the text into words by whitespace only.
WhiteSpaceAndPunctuation Split the text into words by whitespace and punctuation/symbols.
LanguageAppropriate

Remarks

Word split logic uses the following character classes: 1) whitespace and control characters, 2) numbers/digits, 3) punctuation/symbols, 4) letters.

See Also

Reference

Microsoft.VisualStudio.Text.Differencing Namespace