This repository was archived by the owner on Sep 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 179179 <Compile Include =" UI\Windows\GoToLineWindow.xaml.cs" >
180180 <DependentUpon >GoToLineWindow.xaml</DependentUpon >
181181 </Compile >
182- <Compile Include =" UI\Windows\FindReplaceWindow .xaml.cs" >
183- <DependentUpon >FindReplaceWindow .xaml</DependentUpon >
182+ <Compile Include =" UI\Windows\SearchWindow .xaml.cs" >
183+ <DependentUpon >SearchWindow .xaml</DependentUpon >
184184 </Compile >
185185 <Compile Include =" UI\Windows\NewFileWindow.xaml.cs" >
186186 <DependentUpon >NewFileWindow.xaml</DependentUpon >
268268 <Generator >MSBuild:Compile</Generator >
269269 <SubType >Designer</SubType >
270270 </Page >
271- <Page Include =" UI\Windows\FindReplaceWindow .xaml" >
271+ <Page Include =" UI\Windows\SearchWindow .xaml" >
272272 <SubType >Designer</SubType >
273273 <Generator >MSBuild:Compile</Generator >
274274 </Page >
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ private void Command_FindReplace()
296296
297297 foreach ( Window win in Application . Current . Windows )
298298 {
299- if ( win is FindReplaceWindow findWin )
299+ if ( win is SearchWindow findWin )
300300 {
301301 findWin . Activate ( ) ;
302302 findWin . FindBox . Text = selection ;
@@ -305,7 +305,7 @@ private void Command_FindReplace()
305305 return ;
306306 }
307307 }
308- var findWindow = new FindReplaceWindow ( selection ) { Owner = this } ;
308+ var findWindow = new SearchWindow ( selection ) { Owner = this } ;
309309 findWindow . Show ( ) ;
310310 findWindow . FindBox . Focus ( ) ;
311311 }
Original file line number Diff line number Diff line change 11<controls : MetroWindow xmlns : controls =" http://metro.mahapps.com/winfx/xaml/controls"
22 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4- x : Class =" SPCode.UI.Windows.FindReplaceWindow "
4+ x : Class =" SPCode.UI.Windows.SearchWindow "
55 WindowStartupLocation =" Manual"
66 GlowBrush =" {DynamicResource AccentColorBrush}"
77 Background =" {DynamicResource WhiteBrush}"
Original file line number Diff line number Diff line change 1414
1515namespace SPCode . UI . Windows
1616{
17- public partial class FindReplaceWindow
17+ public partial class SearchWindow
1818 {
1919 #region Variables
2020 private EditorElement _editor ;
@@ -47,7 +47,7 @@ private enum DocumentType
4747 #endregion
4848
4949 #region Constructors
50- public FindReplaceWindow ( string searchTerm = "" )
50+ public SearchWindow ( string searchTerm = "" )
5151 {
5252 InitializeComponent ( ) ;
5353 if ( Program . OptionsObject . Program_AccentColor != "Red" || Program . OptionsObject . Program_Theme != "BaseDark" )
You can’t perform that action at this time.
0 commit comments