Skip to content

Commit e009ac7

Browse files
committed
Merge branch 'next' of https://github.com/rubberduck-vba/Rubberduck into Prep
2 parents 9f2b96b + 1f1b1a3 commit e009ac7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+461
-449
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ All references to any identifier, whether defined in your project or any of its
5151

5252
### Static Code Analysis, Refactorings
5353

54-
Rubberduck analyses your code in various configurable ways and can help avoiding beginner mistakes, keeping a consistent programming style, and finding all sorts of potential bugs and problems. Many code inspections were implemented as a result of frequently-asked [VBA questions on Stack Overflow](https://stackoverflow.com/questions/tagged/vba), and in many occasions an automatic quick-fix is available.
54+
Rubberduck analyses your code in various configurable ways and can help avoid beginner mistakes, keep a consistent programming style, and find all sorts of potential bugs and problems. Many code inspections were implemented due to frequently-asked [VBA questions on Stack Overflow](https://stackoverflow.com/questions/tagged/vba), and on many occasions, an automatic quick-fix is available.
5555

56-
Rename variables to meaningful identifiers without worrying about breaking something. Promote local variables to parameters, extract interfaces and methods out of a selection, encapsulate fields into properties; reorder and/or delete parameters, and automatically update all callers.
56+
Rename variables to meaningful identifiers without worrying about breaking something. Promote local variables to parameters, extract interfaces and methods from a selection, encapsulate fields into properties, reorder and/or delete parameters, and automatically update all callers.
5757

5858
### Unit Testing
5959

Rubberduck.Core/UI/CodeExplorer/CodeExplorerControl.xaml

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

Rubberduck.Core/UI/CodeMetrics/CodeMetricsControl.xaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
<TreeView x:Name="ProjectTree"
4040
Grid.RowSpan="2" Grid.Column="0"
41-
Background="{StaticResource BackgroundLightBrush}"
41+
Background="{DynamicResource BackgroundLightBrush}"
4242
HorizontalContentAlignment="Stretch"
4343
ItemsSource="{Binding Projects}"
4444
BorderThickness="0,1"
@@ -54,14 +54,14 @@
5454
<Setter Property="HorizontalAlignment" Value="Left" />
5555
<Style.Triggers>
5656
<Trigger Property="IsSelected" Value="True">
57-
<Setter Property="BorderBrush" Value="{StaticResource HighlightBorderActiveBrush}"/>
57+
<Setter Property="BorderBrush" Value="{DynamicResource HighlightBorderActiveBrush}"/>
5858
</Trigger>
5959
<MultiTrigger>
6060
<MultiTrigger.Conditions>
6161
<Condition Property="IsSelected" Value="True"/>
6262
<Condition Property="IsSelectionActive" Value="False"/>
6363
</MultiTrigger.Conditions>
64-
<Setter Property="BorderBrush" Value="{StaticResource HighlightInactiveBorderBrush}"/>
64+
<Setter Property="BorderBrush" Value="{DynamicResource HighlightInactiveBorderBrush}"/>
6565
</MultiTrigger>
6666
</Style.Triggers>
6767
<Style.Resources>
@@ -72,15 +72,15 @@
7272
</Style>
7373
</HierarchicalDataTemplate.ItemContainerStyle>
7474
<HierarchicalDataTemplate.Resources>
75-
<Style x:Key="TreeViewItemStyleModified" TargetType="{x:Type TextBlock}" BasedOn="{StaticResource TreeViewItemStyle}">
75+
<Style x:Key="TreeViewItemStyleModified" TargetType="{x:Type TextBlock}" BasedOn="{DynamicResource TreeViewItemStyle}">
7676
<Setter Property="Text" Value="{Binding NameWithSignature}" />
7777
</Style>
7878
</HierarchicalDataTemplate.Resources>
7979
<StackPanel Orientation="Horizontal">
8080
<Grid>
81-
<Image Style="{StaticResource ToolbarIconStyle}">
81+
<Image Style="{DynamicResource ToolbarIconStyle}">
8282
<Image.Source>
83-
<MultiBinding Converter="{StaticResource NodeToIcon}">
83+
<MultiBinding Converter="{DynamicResource NodeToIcon}">
8484
<MultiBinding.Bindings>
8585
<Binding RelativeSource="{RelativeSource Self}" Path="DataContext"/>
8686
<Binding Path="Declaration" />
@@ -89,9 +89,9 @@
8989
</MultiBinding>
9090
</Image.Source>
9191
</Image>
92-
<Image Source="{Binding Declaration, Converter={StaticResource AccessibilityToIcon}}" Style="{StaticResource ToolbarIconStyle}" />
92+
<Image Source="{Binding Declaration, Converter={StaticResource AccessibilityToIcon}}" Style="{DynamicResource ToolbarIconStyle}" />
9393
</Grid>
94-
<TextBlock Style="{StaticResource TreeViewItemStyleModified}" />
94+
<TextBlock Style="{DynamicResource TreeViewItemStyleModified}" />
9595
</StackPanel>
9696
</HierarchicalDataTemplate>
9797
</TreeView.ItemTemplate>

0 commit comments

Comments
 (0)