Skip to content

Commit

Permalink
Make the app use CRLF instead of LF
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary-Rude committed Dec 19, 2021
1 parent 25f5907 commit 3126ab8
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Binary file not shown.
Binary file modified Text Editor Setup/Text Editor Setup-cache/cacheIndex.txt
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions Text Editor Setup/Text Editor Setup.aip
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install [|ProductName]." ValueLocId="*"/>
<ROW Property="ARPPRODUCTICON" Value="icon72.exe" Type="8"/>
<ROW Property="Manufacturer" Value="Zach, Inc."/>
<ROW Property="ProductCode" Value="1033:{2C39E84D-4784-46EC-BDE7-1453512F0D8B} " Type="16"/>
<ROW Property="ProductCode" Value="1033:{C86960F8-1F34-4CA1-9CBD-9A943F255625} " Type="16"/>
<ROW Property="ProductLanguage" Value="1033"/>
<ROW Property="ProductName" Value="Text Editor"/>
<ROW Property="ProductVersion" Value="1.0.2" Type="32"/>
<ROW Property="ProductVersion" Value="1.0.3" Type="32"/>
<ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
<ROW Property="UpgradeCode" Value="{6F659083-3442-43A7-8DA3-D7192D778487}"/>
<ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
Expand Down Expand Up @@ -55,7 +55,7 @@
<ROW BootstrOptKey="GlobalOptions" DownloadFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\prerequisites" Options="2"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFileName="Text_Editor_1_0_2_Setup" Languages="en" InstallationType="4" UseLargeSchema="true"/>
<ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFileName="Text_Editor_1_0_3_Setup" Languages="en" InstallationType="4" UseLargeSchema="true"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
<ROW Path="&lt;AI_DICTS&gt;ui.ail"/>
Expand Down
2 changes: 1 addition & 1 deletion Text Editor/AboutForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Text Editor/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private async void menuItem5_Click(object sender, EventArgs e)
path = sfd.FileName;
using (StreamWriter sw = new StreamWriter(sfd.FileName))
{
await sw.WriteLineAsync(mainEditor.Text);//Write data to text file
await sw.WriteLineAsync(mainEditor.Rtf);//Write data to text file
this.Text = Path.GetFileName(sfd.FileName) + " - Text Editor";
}
}
Expand All @@ -93,7 +93,7 @@ private async void menuItem5_Click(object sender, EventArgs e)
{
using (StreamWriter sw = new StreamWriter(path))
{
await sw.WriteLineAsync(mainEditor.Text);//Write data to text file
await sw.WriteLineAsync(mainEditor.Rtf);//Write data to text file
}
}
catch (Exception ex)
Expand All @@ -114,7 +114,7 @@ private async void menuItem6_Click(object sender, EventArgs e)
path = sfd.FileName;
using (StreamWriter sw = new StreamWriter(sfd.FileName))
{
await sw.WriteLineAsync(mainEditor.Text);//Write data to text file
await sw.WriteLineAsync(mainEditor.Rtf);//Write data to text file
this.Text = Path.GetFileName(sfd.FileName) + " - Text Editor";
}
}
Expand Down

0 comments on commit 3126ab8

Please sign in to comment.