Commit 8b88786c authored by IMJoyJ's avatar IMJoyJ

didn't notice there is already a reReturn function :(

and .NET framework from 4.5->4.7.2
parent 1fd5720d
...@@ -77,9 +77,6 @@ public static string subString(string content, string tag) ...@@ -77,9 +77,6 @@ public static string subString(string content, string tag)
public static Dictionary<long, string> Read(string content) public static Dictionary<long, string> Read(string content)
{ {
string text = reReturn(content); string text = reReturn(content);
//MacOS & Linux适配(?)
text = text.Replace("\r", "\n");
text = text.Replace("\n\n", "\n");
return Read(text.Split('\n')); return Read(text.Split('\n'));
} }
/// <summary> /// <summary>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<RootNamespace>DataEditorX</RootNamespace> <RootNamespace>DataEditorX</RootNamespace>
<AssemblyName>DataEditorX</AssemblyName> <AssemblyName>DataEditorX</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<StartupObject>DataEditorX.Program</StartupObject> <StartupObject>DataEditorX.Program</StartupObject>
<ApplicationIcon>icon.ico</ApplicationIcon> <ApplicationIcon>icon.ico</ApplicationIcon>
......
...@@ -53,4 +53,4 @@ ...@@ -53,4 +53,4 @@
<!-- 1024 : 40--> <!-- 1024 : 40-->
<add key="autolength" value="37"/> <add key="autolength" value="37"/>
</appSettings> </appSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment