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 179
179
<Compile Include =" UI\Windows\GoToLineWindow.xaml.cs" >
180
180
<DependentUpon >GoToLineWindow.xaml</DependentUpon >
181
181
</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 >
184
184
</Compile >
185
185
<Compile Include =" UI\Windows\NewFileWindow.xaml.cs" >
186
186
<DependentUpon >NewFileWindow.xaml</DependentUpon >
268
268
<Generator >MSBuild:Compile</Generator >
269
269
<SubType >Designer</SubType >
270
270
</Page >
271
- <Page Include =" UI\Windows\FindReplaceWindow .xaml" >
271
+ <Page Include =" UI\Windows\SearchWindow .xaml" >
272
272
<SubType >Designer</SubType >
273
273
<Generator >MSBuild:Compile</Generator >
274
274
</Page >
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ private void Command_FindReplace()
296
296
297
297
foreach ( Window win in Application . Current . Windows )
298
298
{
299
- if ( win is FindReplaceWindow findWin )
299
+ if ( win is SearchWindow findWin )
300
300
{
301
301
findWin . Activate ( ) ;
302
302
findWin . FindBox . Text = selection ;
@@ -305,7 +305,7 @@ private void Command_FindReplace()
305
305
return ;
306
306
}
307
307
}
308
- var findWindow = new FindReplaceWindow ( selection ) { Owner = this } ;
308
+ var findWindow = new SearchWindow ( selection ) { Owner = this } ;
309
309
findWindow . Show ( ) ;
310
310
findWindow . FindBox . Focus ( ) ;
311
311
}
Original file line number Diff line number Diff line change 1
1
<controls : MetroWindow xmlns : controls =" http://metro.mahapps.com/winfx/xaml/controls"
2
2
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
3
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4
- x : Class =" SPCode.UI.Windows.FindReplaceWindow "
4
+ x : Class =" SPCode.UI.Windows.SearchWindow "
5
5
WindowStartupLocation =" Manual"
6
6
GlowBrush =" {DynamicResource AccentColorBrush}"
7
7
Background =" {DynamicResource WhiteBrush}"
Original file line number Diff line number Diff line change 14
14
15
15
namespace SPCode . UI . Windows
16
16
{
17
- public partial class FindReplaceWindow
17
+ public partial class SearchWindow
18
18
{
19
19
#region Variables
20
20
private EditorElement _editor ;
@@ -47,7 +47,7 @@ private enum DocumentType
47
47
#endregion
48
48
49
49
#region Constructors
50
- public FindReplaceWindow ( string searchTerm = "" )
50
+ public SearchWindow ( string searchTerm = "" )
51
51
{
52
52
InitializeComponent ( ) ;
53
53
if ( Program . OptionsObject . Program_AccentColor != "Red" || Program . OptionsObject . Program_Theme != "BaseDark" )
You can’t perform that action at this time.
0 commit comments