private TextSpan GetTextSpan(ICodeActionRequest request, SourceText sourceText)
        {
            if (request.Selection != null)
            {
                return(sourceText.GetSpanFromRange(request.Selection));
            }

            var position = sourceText.GetPositionFromLineAndOffset(request.Line, request.Column);

            return(new TextSpan(position, length: 0));
        }