Fix typos

This commit is contained in:
Cam Sinclair
2024-07-19 12:47:43 +10:00
parent 7c0a3be549
commit 952fc49709
65 changed files with 187 additions and 188 deletions

View File

@@ -105,7 +105,7 @@ public class AppendAutocomplete : AutocompleteBase
return;
}
// draw it like its selected even though its not
// draw it like it's selected, even though it's not
Application.Driver.SetAttribute (
new Attribute (
ColorScheme.Normal.Foreground,

View File

@@ -322,7 +322,7 @@ public abstract partial class PopupAutocomplete : AutocompleteBase
if (PopupInsideContainer)
{
// don't overspill horizontally, let's see if can be displayed on the left
// don't overspill horizontally, let's see if it can be displayed on the left
if (width > HostControl.Viewport.Width - renderAt.X)
{
// Verifies that the left limit available is greater than the right limit
@@ -339,7 +339,7 @@ public abstract partial class PopupAutocomplete : AutocompleteBase
}
else
{
// don't overspill horizontally, let's see if can be displayed on the left
// don't overspill horizontally, let's see if it can be displayed on the left
if (width > top.Viewport.Width - (renderAt.X + HostControl.Frame.X))
{
// Verifies that the left limit available is greater than the right limit
@@ -408,7 +408,7 @@ public abstract partial class PopupAutocomplete : AutocompleteBase
/// <summary>
/// Called when the user confirms a selection at the current cursor location in the <see cref="HostControl"/>. The
/// <paramref name="accepted"/> string is the full autocomplete word to be inserted. Typically a host will have to
/// <paramref name="accepted"/> string is the full autocomplete word to be inserted. Typically, a host will have to
/// remove some characters such that the <paramref name="accepted"/> string completes the word instead of simply being
/// appended.
/// </summary>

View File

@@ -1743,7 +1743,7 @@ public class TextFormatter
/// (uses <see cref="StringExtensions.GetColumns"/>). <paramref name="text"/> if it contains newlines.
/// </summary>
/// <remarks>
/// This API will return incorrect results if the text includes glyphs who's width is dependent on surrounding
/// This API will return incorrect results if the text includes glyphs whose width is dependent on surrounding
/// glyphs (e.g. Arabic).
/// </remarks>
/// <param name="text">Text, may contain newlines.</param>
@@ -1761,7 +1761,7 @@ public class TextFormatter
/// <paramref name="length"/>.
/// </summary>
/// <remarks>
/// This API will return incorrect results if the text includes glyphs who's width is dependent on surrounding
/// This API will return incorrect results if the text includes glyphs whose width is dependent on surrounding
/// glyphs (e.g. Arabic).
/// </remarks>
/// <param name="text">The text.</param>
@@ -1786,7 +1786,7 @@ public class TextFormatter
/// <summary>Gets the number of the Runes in the text that will fit in <paramref name="width"/>.</summary>
/// <remarks>
/// This API will return incorrect results if the text includes glyphs who's width is dependent on surrounding
/// This API will return incorrect results if the text includes glyphs whose width is dependent on surrounding
/// glyphs (e.g. Arabic).
/// </remarks>
/// <param name="text">The text.</param>
@@ -1801,7 +1801,7 @@ public class TextFormatter
/// <summary>Gets the number of the Runes in a list of Runes that will fit in <paramref name="width"/>.</summary>
/// <remarks>
/// This API will return incorrect results if the text includes glyphs who's width is dependent on surrounding
/// This API will return incorrect results if the text includes glyphs whose width is dependent on surrounding
/// glyphs (e.g. Arabic).
/// </remarks>
/// <param name="runes">The list of runes.</param>
@@ -1856,7 +1856,7 @@ public class TextFormatter
/// <summary>Gets the index position from the list based on the <paramref name="width"/>.</summary>
/// <remarks>
/// This API will return incorrect results if the text includes glyphs who's width is dependent on surrounding
/// This API will return incorrect results if the text includes glyphs whose width is dependent on surrounding
/// glyphs (e.g. Arabic).
/// </remarks>
/// <param name="lines">The lines.</param>
@@ -1889,7 +1889,7 @@ public class TextFormatter
/// <summary>Calculates the rectangle required to hold text, assuming no word wrapping or alignment.</summary>
/// <remarks>
/// This API will return incorrect results if the text includes glyphs who's width is dependent on surrounding
/// This API will return incorrect results if the text includes glyphs whose width is dependent on surrounding
/// glyphs (e.g. Arabic).
/// </remarks>
/// <param name="x">The x location of the rectangle</param>