Ejemplo n.º 1
0
        async Task Rebuild(ITextSnapshot snapshot)
        {
            if (buffer.CurrentSnapshot == snapshot)
            {
                await session.UpdateEditorContent(relativePath);

                foreach (var thread in file.InlineCommentThreads)
                {
                    if (thread.LineNumber == -1)
                    {
                        trackingPoints.Remove(thread);
                    }
                }

                if (buffer.CurrentSnapshot == snapshot)
                {
                    NotifyTagsChanged();
                }
            }
        }