mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Spelling comments (#2066)
* spelling: comments in src/Microsoft.Management.Infrastructure.CimCmdlets * spelling: comments in src/Microsoft.PackageManagement.ArchiverProviders * spelling: comments in src/Microsoft.PackageManagement.CoreProviders * spelling: comments in src/Microsoft.PackageManagement.MetaProvider.PowerShell * spelling: comments in src/Microsoft.PackageManagement.MsiProvider * spelling: comments in src/Microsoft.PackageManagement.MsuProvider * spelling: comments in src/Microsoft.PackageManagement.NuGetProvider * spelling: comments in src/Microsoft.PackageManagement.PackageSourceListProvider * spelling: comments in src/Microsoft.PackageManagement * spelling: comments in src/Microsoft.PowerShell.Activities * spelling: comments in src/Microsoft.PowerShell.Commands.Diagnostics * spelling: comments in src/Microsoft.PowerShell.Commands.Management * spelling: comments in src/Microsoft.PowerShell.Commands.Utility * spelling: comments in src/Microsoft.PowerShell.ConsoleHost * spelling: comments in src/Microsoft.PowerShell.Core.Activities * spelling: comments in src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext * spelling: comments in src/Microsoft.PowerShell.CoreCLR.Eventing * spelling: comments in src/Microsoft.PowerShell.Diagnostics.Activities * spelling: comments in src/Microsoft.PowerShell.GraphicalHost * spelling: comments in src/Microsoft.PowerShell.LocalAccounts * spelling: comments in src/Microsoft.PowerShell.Management.Activities * spelling: comments in src/Microsoft.PowerShell.PSReadLine * spelling: comments in src/Microsoft.PowerShell.PackageManagement * spelling: comments in src/Microsoft.PowerShell.ScheduledJob * spelling: comments in src/Microsoft.PowerShell.Security.Activities * spelling: comments in src/Microsoft.PowerShell.Security * spelling: comments in src/Microsoft.PowerShell.Utility.Activities * spelling: comments in src/Microsoft.PowerShell.Workflow.ServiceCore * spelling: comments in src/Microsoft.WSMan.Management.Activities * spelling: comments in src/Modules * spelling: comments in src/Schemas * spelling: comments in src/libpsl-native * spelling: comments in src/powershell-native * spelling: comments in build.psm1 * spelling: comments in src/System.Management.Automation/CoreCLR * spelling: comments in src/System.Management.Automation/DscSupport * spelling: comments in src/System.Management.Automation/cimSupport * spelling: comments in src/System.Management.Automation/commands * spelling: comments in src/System.Management.Automation/engine/Modules
This commit is contained in:
1 parent
e4f3f8fd69
commit
eb3fd7ae6c
532 files changed
+1091
-1091
No files matched your search
@@ -86,12 +86,12 @@ namespace Microsoft.Management.UI.Internal
|
||||
/// <summary>
|
||||
/// Called after all the AddText calls have been made to build the paragraph
|
||||
/// based on the current text.
|
||||
/// This method goes over 3 collections simultaneouslly:
|
||||
/// This method goes over 3 collections simultaneously:
|
||||
/// 1) characters in this.textBuilder
|
||||
/// 2) spans in this.boldSpans
|
||||
/// 3) spans in this.highlightedSpans
|
||||
/// And adds the minimal number of Inlines to the paragraph so that all
|
||||
/// characters that should be bold and/or highlighed are.
|
||||
/// characters that should be bold and/or highlighted are.
|
||||
/// </summary>
|
||||
internal void BuildParagraph()
|
||||
{
|
||||
@@ -134,7 +134,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Highlights all ocurrences of <paramref name="search"/>.
|
||||
/// Highlights all occurrences of <paramref name="search"/>.
|
||||
/// This is called after all calls to AddText have been made
|
||||
/// </summary>
|
||||
/// <param name="search">search string</param>
|
||||
@@ -246,9 +246,9 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is an auxiliar method in BuildParagraph to move the current bold or highlighed spans
|
||||
/// This is an auxiliar method in BuildParagraph to move the current bold or highlighted spans
|
||||
/// according to the <paramref name="caracterPosition"/>
|
||||
/// The current bold and higlighed span should be ending ahead of the current position.
|
||||
/// The current bold and highlighted span should be ending ahead of the current position.
|
||||
/// Moves <paramref name="currentSpanIndex"/> and <paramref name="currentSpan"/> to the
|
||||
/// propper span in <paramref name="allSpans"/> according to the <paramref name="caracterPosition"/>
|
||||
/// This is an auxiliar method in BuildParagraph.
|
||||
@@ -276,7 +276,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
// there is no span ending ahead of current position, so
|
||||
// we set the current span to null to prevent unecessary comparisons against the currentSpan
|
||||
// we set the current span to null to prevent unnecessary comparisons against the currentSpan
|
||||
currentSpan = null;
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called internally to notify when a proiperty changed
|
||||
/// Called internally to notify when a property changed
|
||||
/// </summary>
|
||||
/// <param name="propertyName">property name</param>
|
||||
private void OnNotifyPropertyChanged(string propertyName)
|
||||
@@ -315,7 +315,7 @@ namespace Microsoft.Management.UI.Internal
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A text span used to mark bold and highlighed segments
|
||||
/// A text span used to mark bold and highlighted segments
|
||||
/// </summary>
|
||||
internal struct TextSpan
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user