Skip to content

Commit

Permalink
Small Update with Supported files
Browse files Browse the repository at this point in the history
Added Saving as a range of file types

fixed incorrect app name shown in the about screen that i shamefully missed
  • Loading branch information
Empyreal96 committed Sep 2, 2022
1 parent 3eea880 commit 18fdd18
Show file tree
Hide file tree
Showing 11 changed files with 79 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion MarkdownUWP/MarkdownUWP/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@

<!-- About -->
<RelativePanel x:Name="AboutPane" Margin="20,20,20,20" BorderBrush="Black" BorderThickness="1,1,1,1" Background="#FF1E1E1E">
<TextBlock x:Name="AboutHeader" Text="Minidump Editor UWP" RelativePanel.AlignHorizontalCenterWithPanel="True" Margin="0,16,0,0" FontSize="18"/>
<TextBlock x:Name="AboutHeader" Text="Markdown Editor UWP" RelativePanel.AlignHorizontalCenterWithPanel="True" Margin="0,16,0,0" FontSize="18"/>
<TextBlock x:Name="AboutText" RelativePanel.Below="AboutHeader" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" Margin="5,5,5,5" TextWrapping="Wrap" FontSize="16"/>
<Grid x:Name="DlGrid"
RelativePanel.AlignBottomWithPanel="True"
Expand Down
72 changes: 70 additions & 2 deletions MarkdownUWP/MarkdownUWP/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,33 @@ await Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatch
{
fileTypeBox = new ComboBox();
fileTypeBox.Items.Add(".md");
fileTypeBox.Items.Add(".txt");
fileTypeBox.Items.Add(".markdown");
fileTypeBox.Items.Add(".cs");
fileTypeBox.Items.Add(".c");
fileTypeBox.Items.Add(".h");
fileTypeBox.Items.Add(".txt");
fileTypeBox.Items.Add(".cpp");
fileTypeBox.Items.Add(".xml");
fileTypeBox.Items.Add(".xaml");
fileTypeBox.Items.Add(".cvs");
fileTypeBox.Items.Add(".ini");
fileTypeBox.Items.Add(".bat");
fileTypeBox.Items.Add(".inf");
fileTypeBox.Items.Add(".pl");
fileTypeBox.Items.Add(".csproj");
fileTypeBox.Items.Add(".patch");
fileTypeBox.Items.Add(".diff");
fileTypeBox.Items.Add(".asm");
fileTypeBox.Items.Add(".html");
fileTypeBox.Items.Add(".cmake");
fileTypeBox.Items.Add(".shtml");
fileTypeBox.Items.Add(".htm");
fileTypeBox.Items.Add(".ps1");
fileTypeBox.Items.Add(".nfo");
fileTypeBox.Items.Add(".lua");
fileTypeBox.Items.Add(".json");
fileTypeBox.Items.Add(".js");
fileTypeBox.Items.Add(".reg");
fileTypeBox.Items.Add(".*");
fileTypeBox.SelectedIndex = 0;
fileTypeBox.Height = 40;
Expand Down Expand Up @@ -494,6 +517,28 @@ await Windows.ApplicationModel.Core.CoreApplication.MainView.CoreWindow.Dispatch
saveFolder.FileTypeFilter.Add(".c");
saveFolder.FileTypeFilter.Add(".h");
saveFolder.FileTypeFilter.Add(".txt");
saveFolder.FileTypeFilter.Add(".cpp");
saveFolder.FileTypeFilter.Add(".xml");
saveFolder.FileTypeFilter.Add(".xaml");
saveFolder.FileTypeFilter.Add(".cvs");
saveFolder.FileTypeFilter.Add(".ini");
saveFolder.FileTypeFilter.Add(".bat");
saveFolder.FileTypeFilter.Add(".inf");
saveFolder.FileTypeFilter.Add(".pl");
saveFolder.FileTypeFilter.Add(".csproj");
saveFolder.FileTypeFilter.Add(".patch");
saveFolder.FileTypeFilter.Add(".diff");
saveFolder.FileTypeFilter.Add(".asm");
saveFolder.FileTypeFilter.Add(".html");
saveFolder.FileTypeFilter.Add(".cmake");
saveFolder.FileTypeFilter.Add(".shtml");
saveFolder.FileTypeFilter.Add(".htm");
saveFolder.FileTypeFilter.Add(".ps1");
saveFolder.FileTypeFilter.Add(".nfo");
saveFolder.FileTypeFilter.Add(".lua");
saveFolder.FileTypeFilter.Add(".json");
saveFolder.FileTypeFilter.Add(".js");
saveFolder.FileTypeFilter.Add(".reg");
folder = await saveFolder.PickSingleFolderAsync();
if (folder == null)
{
Expand Down Expand Up @@ -553,10 +598,33 @@ public async void SaveAsFile()
{
fileTypeBox = new ComboBox();
fileTypeBox.Items.Add(".md");
fileTypeBox.Items.Add(".txt");
fileTypeBox.Items.Add(".markdown");
fileTypeBox.Items.Add(".cs");
fileTypeBox.Items.Add(".c");
fileTypeBox.Items.Add(".h");
fileTypeBox.Items.Add(".txt");
fileTypeBox.Items.Add(".cpp");
fileTypeBox.Items.Add(".xml");
fileTypeBox.Items.Add(".xaml");
fileTypeBox.Items.Add(".cvs");
fileTypeBox.Items.Add(".ini");
fileTypeBox.Items.Add(".bat");
fileTypeBox.Items.Add(".inf");
fileTypeBox.Items.Add(".pl");
fileTypeBox.Items.Add(".csproj");
fileTypeBox.Items.Add(".patch");
fileTypeBox.Items.Add(".diff");
fileTypeBox.Items.Add(".asm");
fileTypeBox.Items.Add(".html");
fileTypeBox.Items.Add(".cmake");
fileTypeBox.Items.Add(".shtml");
fileTypeBox.Items.Add(".htm");
fileTypeBox.Items.Add(".ps1");
fileTypeBox.Items.Add(".nfo");
fileTypeBox.Items.Add(".lua");
fileTypeBox.Items.Add(".json");
fileTypeBox.Items.Add(".js");
fileTypeBox.Items.Add(".reg");
fileTypeBox.Items.Add(".*");
fileTypeBox.SelectedIndex = 0;
fileTypeBox.Height = 40;
Expand Down
7 changes: 7 additions & 0 deletions MarkdownUWP/MarkdownUWP/MarkdownUWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -144,23 +144,28 @@
<Content Include="Assets\LargeTile.scale-125.png" />
<Content Include="Assets\LargeTile.scale-150.png" />
<Content Include="Assets\LargeTile.scale-200.png" />
<Content Include="Assets\LargeTile.scale-400.png" />
<Content Include="Assets\SmallTile.scale-100.png" />
<Content Include="Assets\SmallTile.scale-125.png" />
<Content Include="Assets\SmallTile.scale-150.png" />
<Content Include="Assets\SmallTile.scale-200.png" />
<Content Include="Assets\SmallTile.scale-400.png" />
<Content Include="Assets\SplashScreen.scale-100.png" />
<Content Include="Assets\SplashScreen.scale-125.png" />
<Content Include="Assets\SplashScreen.scale-150.png" />
<Content Include="Assets\SplashScreen.scale-400.png" />
<Content Include="Assets\Square150x150Logo.scale-100.png" />
<Content Include="Assets\Square150x150Logo.scale-125.png" />
<Content Include="Assets\Square150x150Logo.scale-150.png" />
<Content Include="Assets\Square150x150Logo.scale-400.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-16.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-256.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-32.png" />
<Content Include="Assets\Square44x44Logo.altform-unplated_targetsize-48.png" />
<Content Include="Assets\Square44x44Logo.scale-100.png" />
<Content Include="Assets\Square44x44Logo.scale-125.png" />
<Content Include="Assets\Square44x44Logo.scale-150.png" />
<Content Include="Assets\Square44x44Logo.scale-400.png" />
<Content Include="Assets\Square44x44Logo.targetsize-16.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24.png" />
<Content Include="Assets\Square44x44Logo.targetsize-256.png" />
Expand All @@ -170,9 +175,11 @@
<Content Include="Assets\StoreLogo.scale-125.png" />
<Content Include="Assets\StoreLogo.scale-150.png" />
<Content Include="Assets\StoreLogo.scale-200.png" />
<Content Include="Assets\StoreLogo.scale-400.png" />
<Content Include="Assets\Wide310x150Logo.scale-100.png" />
<Content Include="Assets\Wide310x150Logo.scale-125.png" />
<Content Include="Assets\Wide310x150Logo.scale-150.png" />
<Content Include="Assets\Wide310x150Logo.scale-400.png" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
Expand Down
2 changes: 1 addition & 1 deletion MarkdownUWP/MarkdownUWP/MarkdownUWP.csproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<UapAppxPackageBuildMode>SideloadOnly</UapAppxPackageBuildMode>
<AppxShowAllApps>False</AppxShowAllApps>
<AppxBuildConfigurationSelection>x86|x64|arm</AppxBuildConfigurationSelection>
<PackageOptionalProjectsInIdeBuilds>False</PackageOptionalProjectsInIdeBuilds>
<PackageOptionalProjectsInIdeBuilds>True</PackageOptionalProjectsInIdeBuilds>
<Source>C:\Users\Empyreal96\Pictures\MarkdownUWP.png</Source>
<SmallTileSource>C:\Users\Empyreal96\Pictures\MarkdownUWP.png</SmallTileSource>
<MediumTileSource>C:\Users\Empyreal96\Pictures\MarkdownUWP.png</MediumTileSource>
Expand Down

0 comments on commit 18fdd18

Please sign in to comment.