C# Class dnSpy.Text.Operations.WordParser

显示文件 Open project: 0xd4d/dnSpy Class Usage Examples

Public Methods

Method Description
GetWordSpan ( SnapshotPoint currentPosition, WordKind &kind ) : SnapshotSpan

Private Methods

Method Description
GetEndSpanAfter ( ITextSnapshotLine line, int column, WordKind kind ) : SnapshotPoint
GetStartSpanBefore ( ITextSnapshotLine line, int column, WordKind kind ) : SnapshotPoint
GetWordKind ( SnapshotPoint currentPosition ) : WordKind
GetWordKind ( char c ) : WordKind

Method Details

GetWordSpan() public static method

public static GetWordSpan ( SnapshotPoint currentPosition, WordKind &kind ) : SnapshotSpan
currentPosition SnapshotPoint
kind WordKind
return SnapshotSpan