Alsing.Windows.Forms.SyntaxBox.Caret.CurrentSegment C# (CSharp) Method

CurrentSegment() public method

Gets the word that the caret is placed on. This only applies if the active row is fully parsed.
public CurrentSegment ( ) : Span
return Alsing.SourceCode.Span
        public Span CurrentSegment()
        {
            return Control.Document.GetSegmentFromPos(Position);
        }