diff --git a/src/Spectre.Console/Color.cs b/src/Spectre.Console/Color.cs index 434e7cd..7e19d68 100644 --- a/src/Spectre.Console/Color.cs +++ b/src/Spectre.Console/Color.cs @@ -138,7 +138,7 @@ namespace Spectre.Console } /// - /// Convers a to a . + /// Converts a to a . /// /// The color number to convert. public static implicit operator Color(int number) @@ -147,7 +147,7 @@ namespace Spectre.Console } /// - /// Convers a to a . + /// Converts a to a . /// /// The color to convert. public static implicit operator Color(ConsoleColor color) @@ -156,7 +156,7 @@ namespace Spectre.Console } /// - /// Convers a to a . + /// Converts a to a . /// /// The console color to convert. public static implicit operator ConsoleColor(Color color) @@ -165,7 +165,7 @@ namespace Spectre.Console } /// - /// Convers a to a . + /// Converts a to a . /// /// The color to convert. /// A representing the . @@ -207,7 +207,7 @@ namespace Spectre.Console } /// - /// Convers a color number into a . + /// Converts a color number into a . /// /// The color number. /// The color representing the specified color number. @@ -217,7 +217,7 @@ namespace Spectre.Console } /// - /// Convers a to a . + /// Converts a to a . /// /// The color to convert. /// A representing the . diff --git a/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs b/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs index 114c675..2eb4b93 100644 --- a/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs +++ b/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs @@ -44,13 +44,13 @@ namespace Spectre.Console.Internal } else if (token.Kind == MarkupTokenKind.Text) { - // Get the effecive style. + // Get the effective style. var effectiveStyle = style.Combine(stack.Reverse()); result.Append(Emoji.Replace(token.Value), effectiveStyle); } else { - throw new InvalidOperationException("Encountered unkown markup token."); + throw new InvalidOperationException("Encountered unknown markup token."); } } diff --git a/src/Spectre.Console/Internal/Text/StyleParser.cs b/src/Spectre.Console/Internal/Text/StyleParser.cs index 99a138b..e446679 100644 --- a/src/Spectre.Console/Internal/Text/StyleParser.cs +++ b/src/Spectre.Console/Internal/Text/StyleParser.cs @@ -189,7 +189,7 @@ namespace Spectre.Console.Internal var normalized = rgb ?? string.Empty; if (normalized.Length >= 3) { - // Trim parenthesises + // Trim parentheses normalized = normalized.Substring(3).Trim(); if (normalized.StartsWith("(", StringComparison.OrdinalIgnoreCase) && diff --git a/src/Spectre.Console/Rendering/Segment.cs b/src/Spectre.Console/Rendering/Segment.cs index 616b939..1b0fe0b 100644 --- a/src/Spectre.Console/Rendering/Segment.cs +++ b/src/Spectre.Console/Rendering/Segment.cs @@ -19,7 +19,7 @@ namespace Spectre.Console.Rendering public string Text { get; } /// - /// Gets a value indicating whether or not this is an expicit line break + /// Gets a value indicating whether or not this is an explicit line break /// that should be preserved. /// public bool IsLineBreak { get; }