private void rpRenameXamlNamespacePrefix_PreparePreview(object sender, PrepareContentPreviewEventArgs ea) { IEnumerable <TagPrefix> tagPrefixes = GetTagPrefixes(ea.Element); foreach (TagPrefix tagPrefix in tagPrefixes) { ea.AddBrushStrokeHighlighter(tagPrefix.Range, RefactorColors.ChangeCode); } }
public void ShowPreview(PrepareContentPreviewEventArgs ea) { if (ea.TextView != null) { foreach (PreviewRange range in this) { range.ShowArrow(ea); } foreach (PreviewRange range2 in this) { ea.AddBrushStrokeHighlighter(range2.Range, RefactorColors.MoveCode); } this._PreviewShown = true; } }
public void ShowPreview(PrepareContentPreviewEventArgs ea) { if (ea.TextView != null) { foreach (PreviewRange range in this) { range.ShowArrow(ea); } foreach (PreviewRange range2 in this) { ea.AddBrushStrokeHighlighter(range2.Range, RefactorColors.MoveCode); } this._PreviewShown = true; } }
private void rpRenameXamlNamespacePrefix_PreparePreview(object sender, PrepareContentPreviewEventArgs ea) { IEnumerable<TagPrefix> tagPrefixes = GetTagPrefixes(ea.Element); foreach (TagPrefix tagPrefix in tagPrefixes) ea.AddBrushStrokeHighlighter(tagPrefix.Range, RefactorColors.ChangeCode); }