Skip to content

Commit 621c66c

Browse files
committed
Add project files.
1 parent 71baa9a commit 621c66c

13 files changed

+816
-0
lines changed

RegexFileSearcher.sln

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29806.167
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RegexFileSearcher", "RegexFileSearcher\RegexFileSearcher\RegexFileSearcher.csproj", "{8C4DA06F-1CC4-4776-9A63-A5368353A5CA}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RegexFileSearcher.Gtk", "RegexFileSearcher\RegexFileSearcher.Gtk\RegexFileSearcher.Gtk.csproj", "{959BD674-649B-45FD-B811-0A801371482B}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RegexFileSearcher.Mac", "RegexFileSearcher\RegexFileSearcher.Mac\RegexFileSearcher.Mac.csproj", "{EE5F8614-937D-4074-A095-FC47FA53FEC6}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RegexFileSearcher.Wpf", "RegexFileSearcher\RegexFileSearcher.Wpf\RegexFileSearcher.Wpf.csproj", "{D646FDF6-2055-48B5-BFDF-F40273C87AF5}"
13+
EndProject
14+
Global
15+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
16+
Debug|Any CPU = Debug|Any CPU
17+
Release|Any CPU = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{8C4DA06F-1CC4-4776-9A63-A5368353A5CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{8C4DA06F-1CC4-4776-9A63-A5368353A5CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{8C4DA06F-1CC4-4776-9A63-A5368353A5CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{8C4DA06F-1CC4-4776-9A63-A5368353A5CA}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{959BD674-649B-45FD-B811-0A801371482B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{959BD674-649B-45FD-B811-0A801371482B}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{959BD674-649B-45FD-B811-0A801371482B}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{959BD674-649B-45FD-B811-0A801371482B}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{EE5F8614-937D-4074-A095-FC47FA53FEC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{EE5F8614-937D-4074-A095-FC47FA53FEC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{EE5F8614-937D-4074-A095-FC47FA53FEC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{EE5F8614-937D-4074-A095-FC47FA53FEC6}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{D646FDF6-2055-48B5-BFDF-F40273C87AF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{D646FDF6-2055-48B5-BFDF-F40273C87AF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{D646FDF6-2055-48B5-BFDF-F40273C87AF5}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{D646FDF6-2055-48B5-BFDF-F40273C87AF5}.Release|Any CPU.Build.0 = Release|Any CPU
36+
EndGlobalSection
37+
GlobalSection(SolutionProperties) = preSolution
38+
HideSolutionNode = FALSE
39+
EndGlobalSection
40+
GlobalSection(ExtensibilityGlobals) = postSolution
41+
SolutionGuid = {C1BBEE1E-E011-426F-BECC-0F2A8C368D66}
42+
EndGlobalSection
43+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace RegexFileSearcher.Gtk
5+
{
6+
class MainClass
7+
{
8+
[STAThread]
9+
public static void Main(string[] args)
10+
{
11+
new Application(Eto.Platforms.Gtk).Run(new MainForm());
12+
}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
9+
<StartAction>Project</StartAction>
10+
<ExternalConsole>false</ExternalConsole>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<ProjectReference Include="..\RegexFileSearcher\RegexFileSearcher.csproj" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<PackageReference Include="Eto.Platform.Gtk" Version="2.5.0" />
19+
</ItemGroup>
20+
21+
</Project>
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleName</key>
6+
<string>RegexFileSearcher</string>
7+
<key>CFBundleIdentifier</key>
8+
<string>com.example.RegexFileSearcher</string>
9+
<key>CFBundleShortVersionString</key>
10+
<string>1.0</string>
11+
<key>LSMinimumSystemVersion</key>
12+
<string>10.12</string>
13+
<key>CFBundleDevelopmentRegion</key>
14+
<string>en</string>
15+
<key>NSHumanReadableCopyright</key>
16+
<string></string>
17+
<key>CFBundleIconFile</key>
18+
<string>Icon.icns</string>
19+
</dict>
20+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace RegexFileSearcher.Mac
5+
{
6+
class MainClass
7+
{
8+
[STAThread]
9+
public static void Main(string[] args)
10+
{
11+
new Application(Eto.Platforms.Mac64).Run(new MainForm());
12+
}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
6+
7+
<RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<ProjectReference Include="..\RegexFileSearcher\RegexFileSearcher.csproj" />
12+
</ItemGroup>
13+
14+
<ItemGroup>
15+
<PackageReference Include="Eto.Platform.Mac64" Version="2.5.0" />
16+
</ItemGroup>
17+
18+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
using Eto.Forms;
3+
4+
namespace RegexFileSearcher.Wpf
5+
{
6+
class MainClass
7+
{
8+
[STAThread]
9+
public static void Main(string[] args)
10+
{
11+
new Application(Eto.Platforms.Wpf).Run(new MainForm());
12+
}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<ProjectReference Include="..\RegexFileSearcher\RegexFileSearcher.csproj" />
10+
</ItemGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Eto.Platform.Wpf" Version="2.5.0" />
14+
</ItemGroup>
15+
16+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Form
3+
xmlns="http://schema.picoe.ca/eto.forms"
4+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
Title="Regex File Searcher v1.0.0"
6+
ClientSize="500, 700"
7+
MinimumSize="500, 700"
8+
Padding="10"
9+
>
10+
11+
<TableLayout>
12+
<TableRow>
13+
<TableCell>
14+
<Label>Filename Regex:</Label>
15+
</TableCell>
16+
</TableRow>
17+
<TableRow>
18+
<TableCell ScaleWidth="True">
19+
<TextBox ID="txtFilenameRegex"></TextBox>
20+
</TableCell>
21+
</TableRow>
22+
<TableRow>
23+
<TableCell>
24+
<TableLayout>
25+
<TableRow>
26+
<TableCell>
27+
<StackLayout Padding="5,1,1,1" Orientation="Vertical">
28+
<CheckBox ID="chkIgnoreCase" ToolTip="Don't distinguish between upper and lower case">Ignore Case</CheckBox>
29+
<CheckBox ID="chkSingleLine" ToolTip="Make period match \n too" Checked="True" Enabled="False">Single Line</CheckBox>
30+
<CheckBox ID="chkCultureInvariant" ToolTip="Make match insensitive to the culture">Culture Invariant</CheckBox>
31+
<CheckBox ID="chkExplicitCapture" ToolTip="Capture groups only if explicitly numbered or named" Checked="True" Enabled="False">Explicit Capture</CheckBox>
32+
<CheckBox ID="chkEcmaScript" ToolTip="ECMA Script compliant, can only use with ignore case and multiline">ECMA Script</CheckBox>
33+
</StackLayout>
34+
</TableCell>
35+
<TableCell>
36+
<StackLayout Padding="5,1,1,1" Orientation="Vertical">
37+
<CheckBox ID="chkIgnoreWhite" ToolTip="Ignore unescaped whitespace, allow comments after #">Ignore White</CheckBox>
38+
<CheckBox ID="chkMultiline" ToolTip="^ and $ will match the entire string instead of lines" Checked="True" Enabled="False">Multiline</CheckBox>
39+
<CheckBox ID="chkRightToLeft" ToolTip="Search from right to left">Right to Left</CheckBox>
40+
<CheckBox ID="chkCompiled" ToolTip="Compile to assembly, slower startup, faster search" Checked="True" Enabled="False">Compiled</CheckBox>
41+
</StackLayout>
42+
</TableCell>
43+
<TableCell>
44+
<StackLayout ToolTip="Stop search after specified milliseconds" Padding="20,1,1,1" Orientation="Horizontal">
45+
<Label>Timeout</Label>
46+
<Panel Padding="5,0,5,0">
47+
<NumericStepper ID="nudTimeout"
48+
MinValue="1"
49+
MaxValue="100000"
50+
MaximumDecimalPlaces="0"
51+
Value="2000"
52+
Increment="1000"
53+
Width="120"/>
54+
</Panel>
55+
<Label>ms</Label>
56+
</StackLayout>
57+
</TableCell>
58+
</TableRow>
59+
</TableLayout>
60+
</TableCell>
61+
</TableRow>
62+
<TableRow>
63+
<TableCell>
64+
<Label>Content Regex:</Label>
65+
</TableCell>
66+
</TableRow>
67+
<TableRow>
68+
<TableCell ScaleWidth="True">
69+
<TextBox ID="txtContentRegex"></TextBox>
70+
</TableCell>
71+
</TableRow>
72+
<TableRow>
73+
<TableCell>
74+
<TableLayout>
75+
<TableRow>
76+
<TableCell>
77+
<StackLayout Padding="5,1,1,1" Orientation="Vertical">
78+
<CheckBox ID="chkContentIgnoreCase" ToolTip="Don't distinguish between upper and lower case">Ignore Case</CheckBox>
79+
<CheckBox ID="chkContentSingleLine" ToolTip="Make period match \n too">Single Line</CheckBox>
80+
<CheckBox ID="chkContentCultureInvariant" ToolTip="Make match insensitive to the culture">Culture Invariant</CheckBox>
81+
<CheckBox ID="chkContentExplicitCapture" ToolTip="Capture groups only if explicitly numbered or named" Checked="True" Enabled="False">Explicit Capture</CheckBox>
82+
<CheckBox ID="chkContentEcmaScript" ToolTip="ECMA Script compliant, can only use with ignore case and multiline">ECMA Script</CheckBox>
83+
</StackLayout>
84+
</TableCell>
85+
<TableCell>
86+
<StackLayout Padding="5,1,1,1" Orientation="Vertical">
87+
<CheckBox ID="chkContentIgnoreWhite" ToolTip="Ignore unescaped whitespace, allow comments after #">Ignore White</CheckBox>
88+
<CheckBox ID="chkContentMultiline" ToolTip="^ and $ will match the entire string instead of lines" Checked="True">Multiline</CheckBox>
89+
<CheckBox ID="chkContentRightToLeft" ToolTip="Search from right to left">Right to Left</CheckBox>
90+
<CheckBox ID="chkContentCompiled" ToolTip="Compile to assembly, slower startup, faster search" Checked="True" Enabled="False">Compiled</CheckBox>
91+
</StackLayout>
92+
</TableCell>
93+
<TableCell>
94+
<StackLayout ToolTip="Stop search after specified milliseconds" Padding="20,1,1,1" Orientation="Horizontal">
95+
<Label>Timeout</Label>
96+
<Panel Padding="5,0,5,0">
97+
<NumericStepper ID="nudContentTimeout"
98+
MinValue="1"
99+
MaxValue="100000"
100+
MaximumDecimalPlaces="0"
101+
Value="2000"
102+
Increment="1000"
103+
Width="120"/>
104+
</Panel>
105+
<Label>ms</Label>
106+
</StackLayout>
107+
</TableCell>
108+
</TableRow>
109+
</TableLayout>
110+
</TableCell>
111+
</TableRow>
112+
<TableRow>
113+
<TableCell>
114+
<Label>Path:</Label>
115+
</TableCell>
116+
</TableRow>
117+
<TableRow>
118+
<TableCell>
119+
<FilePicker ID="fpSearchPath" FileAction="SelectFolder"></FilePicker>
120+
</TableCell>
121+
</TableRow>
122+
<TableRow>
123+
<TableCell>
124+
<Button ID="btnStartSearch" Click="HandleStartSearch">Start Search</Button>
125+
</TableCell>
126+
</TableRow>
127+
<TableRow>
128+
<TableCell>
129+
<Label>Open With Editor:</Label>
130+
</TableCell>
131+
</TableRow>
132+
<TableRow>
133+
<TableCell ScaleWidth="True">
134+
<FilePicker ID="fpOpenWith" FileAction="OpenFile" />
135+
</TableCell>
136+
</TableRow>
137+
<TableRow>
138+
<TableCell>
139+
<StackLayout Orientation="Vertical">
140+
<StackLayout Orientation="Horizontal">
141+
<Button ID="btnSelectAll" Click="HandleSelectAll">Select All</Button>
142+
<Button ID="btnSelectNone" Click="HandleSelectNone">Select None</Button>
143+
<Button ID="btnInvertSelection" Click="HandleInvertSelection">Invert Selection</Button>
144+
<Button ID="btnOpenSelected" Click="HandleOpenSelected">Open Selected</Button>
145+
<Button ID="btnOrderByMatches" Click="HandleOrderByMatches">Order by Matches</Button>
146+
</StackLayout>
147+
</StackLayout>
148+
</TableCell>
149+
</TableRow>
150+
<TableRow ScaleHeight="True">
151+
<TableCell>
152+
<TreeGridView ID="tvwResultExplorer" SelectedItemChanged="HandleResultExplorerSelectedItemChanged" />
153+
</TableCell>
154+
</TableRow>
155+
<TableRow>
156+
<TableCell>
157+
<TextBox ID="txtPath" ReadOnly="True" />
158+
</TableCell>
159+
</TableRow>
160+
<TableRow>
161+
<TableCell>
162+
<Label ID="lblStatus" />
163+
</TableCell>
164+
</TableRow>
165+
</TableLayout>
166+
</Form>

0 commit comments

Comments
 (0)