ComponentOne GridView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1Editor.C1SpellChecker Namespace / CharRange Class / ExpandOverWhitespace Method
String that contains the CharRange.
CharRange that will be expanded.

In This Topic
    ExpandOverWhitespace Method
    In This Topic
    Extends a CharRange over whitespace.
    Syntax
    'Declaration
     
    Public Shared Function ExpandOverWhitespace( _
       ByVal text As System.String, _
       ByVal error As CharRange _
    ) As CharRange
    public static CharRange ExpandOverWhitespace( 
       System.string text,
       CharRange error
    )

    Parameters

    text
    String that contains the CharRange.
    error
    CharRange that will be expanded.

    Return Value

    Expanded CharRange.
    Remarks

    The method returns a new CharRange object that includes the original error plus any whitespace that immediately follows it. If there is no whitespace after the original error, then the returned value is extended to include any whitespace that precedes the original error.

    This method is used to extend editor selections before deleting duplicate words.

    See Also