Пример #1
0
        DocumentLocation IReadonlyTextDocument.OffsetToLocation(int offset)
        {
            var loc = snapshot.OffsetToLocation(offset);

            return(new MonoDevelop.Ide.Editor.DocumentLocation(loc.Line, loc.Column));
        }