Skip to content

Commit

Permalink
0.1.0-pre7
Browse files Browse the repository at this point in the history
  • Loading branch information
Happypig375 committed Aug 16, 2018
1 parent e4d0b8d commit c692b20
Show file tree
Hide file tree
Showing 30 changed files with 225 additions and 620 deletions.
8 changes: 4 additions & 4 deletions CSharpMath.Forms/CSharpMath.Forms.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageVersion>0.1.0-pre6</PackageVersion>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
<PackageVersion>0.1.0-pre7</PackageVersion>
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
<PackageReleaseNotes>The 0.1.0 SkiaSharp Update brings the SkiaSharp and Xamarin.Forms front ends to CSharpMath.</PackageReleaseNotes>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
<RepositoryBranch>master</RepositoryBranch>
<RepositoryCommit>258769db65d722bb29110896d9356d4a88c60d38</RepositoryCommit>
<RepositoryCommit>e4d0b8d5b7c2ac29cde1bcc0438b5bf2298691c8</RepositoryCommit>
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
Expand Down
6 changes: 3 additions & 3 deletions CSharpMath.Ios/CSharpMath.Ios.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<NuGetPackageImportStamp></NuGetPackageImportStamp>
<PackOnBuild>true</PackOnBuild>
<PackageId>CSharpMath.Ios</PackageId>
<PackageVersion>0.1.0-pre6</PackageVersion>
<PackageVersion>0.1.0-pre7</PackageVersion>
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
<NeutralLanguage>en</NeutralLanguage>
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
Expand All @@ -26,9 +26,9 @@
<Copyright>CSharpMath Contributors 2018</Copyright>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
<RepositoryBranch>master</RepositoryBranch>
<RepositoryCommit>258769db65d722bb29110896d9356d4a88c60d38</RepositoryCommit>
<RepositoryCommit>e4d0b8d5b7c2ac29cde1bcc0438b5bf2298691c8</RepositoryCommit>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions CSharpMath.Rendering/CSharpMath.Rendering.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.3</TargetFramework>
<LangVersion>latest</LangVersion>
Expand All @@ -11,7 +11,7 @@
<!--NuGet Properties-->
<PackOnBuild>true</PackOnBuild>
<PackageId>CSharpMath.Rendering</PackageId>
<PackageVersion>0.1.0-pre6</PackageVersion>
<PackageVersion>0.1.0-pre7</PackageVersion>
<Authors>CSharpMath Contributors (verybadcat, Happypig375, charlesroddie, FoggyFinder)</Authors>
<PackageLicenseUrl>https://github.com/verybadcat/CSharpMath/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/verybadcat/CSharpMath</PackageProjectUrl>
Expand All @@ -21,10 +21,10 @@
<Description>Rendering interface fror CSharpMath using the Typography library.</Description>
<RepositoryType>git</RepositoryType>
<Copyright>CSharpMath Contributors 2018</Copyright>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
<RepositoryUrl>https://github.com/verybadcat/CSharpMath.git</RepositoryUrl>
<RepositoryBranch>master</RepositoryBranch>
<RepositoryCommit>258769db65d722bb29110896d9356d4a88c60d38</RepositoryCommit>
<RepositoryCommit>e4d0b8d5b7c2ac29cde1bcc0438b5bf2298691c8</RepositoryCommit>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageIconUrl>https://raw.githubusercontent.com/verybadcat/CSharpMath/master/Icon.png</PackageIconUrl>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions CSharpMath.Rendering/Text/TextAtomListBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public class TextAtomListBuilder : IReadOnlyList<TextAtom> {
public void Add(TextAtom atom, FontStyle style, int commandLength) => Add(new TextAtom.Style(atom, style, TextLength, commandLength));
public void Add(TextAtom atom, float fontSize, int commandLength) => Add(new TextAtom.Size(atom, fontSize, TextLength, commandLength));
public void Add(TextAtom atom, Structures.Color color, int commandLength) => Add(new TextAtom.Color(atom, color, TextLength, commandLength));
public string Add(string mathLaTeX, bool displayStyle) {
public Structures.Result Add(string mathLaTeX, bool displayStyle) {
var mathSource = new MathSource(mathLaTeX);
if (mathSource.ErrorMessage.IsNonEmpty()) return mathSource.ErrorMessage;
Add(new TextAtom.Math(mathSource.MathList, displayStyle, new Atoms.Range(TextLength, mathLaTeX.Length)));
return null;
return Structures.Result.Ok();
}
public void Add(IReadOnlyList<TextAtom> textAtoms) => Add(new TextAtom.List(textAtoms, TextLength));
public void Break(int sourceLength) => Add(new TextAtom.Newline(TextLength, sourceLength));
Expand Down
Loading

0 comments on commit c692b20

Please sign in to comment.