Example #1
0
        private void RefreshGlyphsOver(ITextViewLine textViewLine)
        {
            foreach (var prompt in _promptProvider.GetOverlappingPrompts(textViewLine.Extent))
            {
                SnapshotSpan span = new SnapshotSpan(prompt.Value, 0);
                ReplSpanKind kind = prompt.Key;

                if (textViewLine.End == prompt.Value || textViewLine.Extent.Contains(prompt.Value))
                {
                    _visualManager.AddGlyph(_promptProvider.GetPromptText(kind), span);
                }
            }
        }