提交 3e00101e 编写于 作者: I Ivan Basov

intermediate cleanup

上级 797e4875
......@@ -40,7 +40,7 @@
<ColumnDefinition Width="400" />
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="{Binding ElementName=dialog, Path=TypeNameLabel}" />
<Border Grid.Row="0" Grid.Column="1" BorderThickness="1" Margin="6,0,0,0"> <changesignature:IntellisenseTextBlock x:Name="TypeNameTextBox" Width="300" Focusable="True" /> </Border>
<Border Grid.Row="0" Grid.Column="1" BorderThickness="1" Margin="6,0,0,0"> <ContentControl x:Name="TypeNameContentControl" Width="300" Focusable="True" /> </Border>
<Label Grid.Row="1" Grid.Column="0" Content="{Binding ElementName=dialog, Path=ParameterNameLabel}" />
<TextBox Grid.Row="1" Grid.Column="1" Width="200" Text="{Binding ParameterName}" />
<Label Grid.Row="2" Grid.Column="0" Content="{Binding ElementName=dialog, Path=CallsiteValueLabel}" />
......
......@@ -45,9 +45,9 @@ internal partial class AddParameterDialog : DialogWindow
private void AddParameterDialog_Loaded(object sender, RoutedEventArgs e)
{
this.TypeNameTextBox.TextBuffer = _textBuffer;
this.TypeNameTextBox.TextView = _textView;
this.TypeNameTextBox.WpfTextView = _wpfTextView;
IntellisenseTextBox typeNameTextBox = new IntellisenseTextBox(
_textBuffer as IVsTextLines, _textView, _wpfTextView, TypeNameContentControl);
this.TypeNameContentControl.Content = typeNameTextBox;
}
private void OK_Click(object sender, RoutedEventArgs e)
......
......@@ -3,9 +3,8 @@
using System.Windows;
using System.Windows.Media;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.ChangeSignature
namespace Microsoft.VisualStudio.LanguageServices.Implementation
{
// TODO move to utilities
internal static class DependencyObjectExtensions
{
public static DependencyObject TryGetParent(this DependencyObject obj)
......
......@@ -5,7 +5,7 @@
using Microsoft.VisualStudio.Text.Projection;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.ChangeSignature
namespace Microsoft.VisualStudio.LanguageServices.Implementation
{
internal class ElisionBufferTextViewModel : ITextViewModel
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册