mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Fix typos
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user