diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-05-24 16:00:29 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-05-24 16:00:29 +0300 |
| commit | 2a0905a1f57519b0cd33594a3a7fcb3f5f860d74 (patch) | |
| tree | acc6c2440edd6b45cd08f8e1a219feb091ea6836 /Software/Visual_Studio/Scripting/Tango.Scripting.Editors | |
| parent | 6ae7da3b6de24d374153456e20882570ed7905b4 (diff) | |
| parent | 9d0f379104fa1e4d064e43a0b969dff5b206a90a (diff) | |
| download | Tango-2a0905a1f57519b0cd33594a3a7fcb3f5f860d74.tar.gz Tango-2a0905a1f57519b0cd33594a3a7fcb3f5f860d74.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting.Editors')
| -rw-r--r-- | Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml | 94 |
1 files changed, 5 insertions, 89 deletions
diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml index 6455b8fcb..e8e5ffb91 100644 --- a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml +++ b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml @@ -54,6 +54,11 @@ <converters:BooleanToVisibilityInversedConverter x:Key="BooleanToVisibilityInversedConverter" /> <Style TargetType="{x:Type completion:CompletionList}"> + <Style.Resources> + <Style TargetType="ToolTip"> + + </Style> + </Style.Resources> <Setter Property="Background" Value="{StaticResource CompletionBackgroundBrush}"></Setter> <Setter Property="BorderThickness" Value="0"></Setter> @@ -84,95 +89,6 @@ <Setter.Value> <DataTemplate> <Border Background="{StaticResource CompletionToolTipBackgroundBrush}" CornerRadius="3" BorderThickness="0.5" BorderBrush="#434343" Padding="10 5" TextElement.Foreground="{StaticResource ScriptForegroundBrush}" TextElement.FontSize="12"> - <!--<ContentControl Content="{Binding}"> - <ContentControl.Style> - <Style TargetType="ContentControl"> - <Setter Property="ContentTemplate"> - <Setter.Value> - <DataTemplate> - <ContentPresenter Content="{Binding PopupControl}" /> - </DataTemplate> - </Setter.Value> - </Setter> - <Style.Triggers> - <DataTrigger Binding="{Binding Type}" Value="method"> - <Setter Property="ContentTemplate"> - <Setter.Value> - <DataTemplate> - <StackPanel> - <StackPanel Orientation="Horizontal"> - <TextBlock Text="{Binding ReturnType}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock> - <TextBlock Margin="5 0 0 0" Text="{Binding Class}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock> - <TextBlock>.</TextBlock> - <TextBlock Text="{Binding Text}"></TextBlock> - <TextBlock>(</TextBlock> - <ItemsControl ItemsSource="{Binding Parameters}"> - <ItemsControl.ItemsPanel> - <ItemsPanelTemplate> - <StackPanel Orientation="Horizontal"></StackPanel> - </ItemsPanelTemplate> - </ItemsControl.ItemsPanel> - <ItemsControl.ItemTemplate> - <DataTemplate> - <StackPanel Orientation="Horizontal"> - <TextBlock Text="{Binding Type.Name}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock> - <TextBlock Margin="5 0 0 0" Text="{Binding Name}"></TextBlock> - <TextBlock Margin="0 0 5 0" Text="," Visibility="{Binding IsLast,Converter={StaticResource BooleanToVisibilityInversedConverter}}"></TextBlock> - </StackPanel> - </DataTemplate> - </ItemsControl.ItemTemplate> - </ItemsControl> - <TextBlock>)</TextBlock> - - <StackPanel Margin="5 0 0 0" Orientation="Horizontal" Visibility="{Binding HasOverloads,Converter={StaticResource BooleanToVisibilityConverter}}"> - <TextBlock>(+</TextBlock> - <TextBlock Margin="2 0" Text="{Binding Overloads}"></TextBlock> - <TextBlock>overloads)</TextBlock> - </StackPanel> - </StackPanel> - - <TextBlock Text="{Binding Description}"></TextBlock> - </StackPanel> - </DataTemplate> - </Setter.Value> - </Setter> - </DataTrigger> - - <DataTrigger Binding="{Binding Type}" Value="property"> - <Setter Property="ContentTemplate"> - <Setter.Value> - <DataTemplate> - <StackPanel> - <StackPanel Orientation="Horizontal"> - <TextBlock Text="{Binding ReturnType}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock> - <TextBlock Margin="5 0 0 0" Text="{Binding Class}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock> - <TextBlock>.</TextBlock> - <TextBlock Text="{Binding Text}"></TextBlock> - <TextBlock Margin="5 0 0 0"> - <Run>{</Run> - <Run Foreground="{StaticResource ScriptKeywordBrush}">get</Run><Run>;</Run> - <Run Foreground="{StaticResource ScriptKeywordBrush}">set</Run><Run>;</Run> - <Run>}</Run> - </TextBlock> - </StackPanel> - - <TextBlock Text="{Binding Description}"></TextBlock> - </StackPanel> - </DataTemplate> - </Setter.Value> - </Setter> - </DataTrigger> - </Style.Triggers> - </Style> - </ContentControl.Style> - - <ContentControl.ContentTemplate> - <DataTemplate> - <ContentPresenter Content="{Binding PopupControl}" /> - </DataTemplate> - </ContentControl.ContentTemplate> - </ContentControl>--> - <ContentPresenter DataContext="{Binding}" Content="{Binding PopupControl}" /> </Border> </DataTemplate> |
