[gtksourceview: 2/5] powershell.lang: Organize definitions




commit 886a5617a0479ac58b922af8514ac8d1c2556589
Author: awsr <alexwiser outlook com>
Date:   Tue Apr 21 21:41:26 2020 +0000

    powershell.lang: Organize definitions
    
    No changes in functionality.

 data/language-specs/powershell.lang | 86 ++++++++++++++++++-------------------
 1 file changed, 43 insertions(+), 43 deletions(-)
---
diff --git a/data/language-specs/powershell.lang b/data/language-specs/powershell.lang
index 6832c5a7..a0f7f468 100644
--- a/data/language-specs/powershell.lang
+++ b/data/language-specs/powershell.lang
@@ -79,8 +79,8 @@
       <keyword>begin</keyword>
       <keyword>break</keyword>
       <keyword>case</keyword>
-      <keyword>Continue</keyword>
       <keyword>Catch</keyword>
+      <keyword>Continue</keyword>
       <keyword>Default</keyword>
       <keyword>Do</keyword>
       <keyword>Else</keyword>
@@ -88,16 +88,17 @@
       <keyword>End</keyword>
       <keyword>Exit</keyword>
       <keyword>Filter</keyword>
+      <keyword>Finally</keyword>
       <keyword>For</keyword>
       <keyword>Foreach</keyword>
       <keyword>Function</keyword>
-      <keyword>Finally</keyword>
       <keyword>If</keyword>
       <keyword>In</keyword>
+      <keyword>Parallel</keyword>
       <keyword>Param</keyword>
+      <keyword>Parameter</keyword>
       <keyword>Process</keyword>
       <keyword>Prompt</keyword>
-      <keyword>Parameter</keyword>
       <keyword>Return</keyword>
       <keyword>Switch</keyword>
       <keyword>Then</keyword>
@@ -107,31 +108,30 @@
       <keyword>Until</keyword>
       <keyword>While</keyword>
       <keyword>Workflow</keyword>
-      <keyword>Parallel</keyword>
     </context>
 
     <context id="Function-Param" style-ref="function-param">
-      <keyword>DefaultParameterSetName</keyword>
-      <keyword>ConfirmImpact</keyword>
-      <keyword>SupportsShouldProcess</keyword>
+      <keyword>Alias</keyword>
+      <keyword>AllowEmptyCollection</keyword>
+      <keyword>AllowEmptyString</keyword>
+      <keyword>AllowNull</keyword>
       <keyword>CmdletBinding</keyword>
+      <keyword>ConfirmImpact</keyword>
+      <keyword>DefaultParameterSetName</keyword>
       <keyword>Mandatory</keyword>
-      <keyword>Position</keyword>
       <keyword>ParameterSetName</keyword>
-      <keyword>ValueFromPipeline</keyword>
-      <keyword>ValueFromPipelineByPropertyName</keyword>
-      <keyword>ValueFromPipelineByPropertyName</keyword>
-      <keyword>Alias</keyword>
-      <keyword>AllowNull</keyword>
-      <keyword>AllowEmptyString</keyword>
-      <keyword>AllowEmptyCollection</keyword>
+      <keyword>Position</keyword>
+      <keyword>SupportsShouldProcess</keyword>
       <keyword>ValidateCount</keyword>
-      <keyword>ValidateSet</keyword>
+      <keyword>ValidateNotNull</keyword>
+      <keyword>ValidateNotNullOrEmpty</keyword>
       <keyword>ValidatePattern</keyword>
       <keyword>ValidateRange</keyword>
       <keyword>ValidateScript</keyword>
-      <keyword>ValidateNotNull</keyword>
-      <keyword>ValidateNotNullOrEmpty</keyword>
+      <keyword>ValidateSet</keyword>
+      <keyword>ValueFromPipeline</keyword>
+      <keyword>ValueFromPipelineByPropertyName</keyword>
+      <keyword>ValueFromPipelineByPropertyName</keyword>
     </context>
 
     <define-regex id="operator" extended="true">
@@ -214,10 +214,10 @@
       <keyword>Enter-PSSession</keyword>
       <keyword>Exit-PSSession</keyword>
       <keyword>Export-Alias</keyword>
-      <keyword>Export-CSV</keyword>
       <keyword>Export-Clixml</keyword>
       <keyword>Export-Console</keyword>
       <keyword>Export-Counter</keyword>
+      <keyword>Export-CSV</keyword>
       <keyword>Export-FormatData</keyword>
       <keyword>Export-ModuleMember</keyword>
       <keyword>Export-PSSession</keyword>
@@ -252,6 +252,8 @@
       <keyword>Get-Location</keyword>
       <keyword>Get-Member</keyword>
       <keyword>Get-Module</keyword>
+      <keyword>Get-PfxCertificate</keyword>
+      <keyword>Get-Process</keyword>
       <keyword>Get-PSBreakpoint</keyword>
       <keyword>Get-PSCallStack</keyword>
       <keyword>Get-PSDrive</keyword>
@@ -259,25 +261,23 @@
       <keyword>Get-PSSession</keyword>
       <keyword>Get-PSSessionConfiguration</keyword>
       <keyword>Get-PSSnapin</keyword>
-      <keyword>Get-PfxCertificate</keyword>
-      <keyword>Get-Process</keyword>
       <keyword>Get-Random</keyword>
       <keyword>Get-Service</keyword>
+      <keyword>Get-Services</keyword>
       <keyword>Get-TraceSource</keyword>
       <keyword>Get-Transaction</keyword>
       <keyword>Get-UICulture</keyword>
       <keyword>Get-Unique</keyword>
       <keyword>Get-Variable</keyword>
-      <keyword>Get-WSManCredSSP</keyword>
-      <keyword>Get-WSManInstance</keyword>
       <keyword>Get-WinEvent</keyword>
       <keyword>Get-WmiObject</keyword>
+      <keyword>Get-WSManCredSSP</keyword>
+      <keyword>Get-WSManInstance</keyword>
       <keyword>Group-Object</keyword>
-      <keyword>Get-Services</keyword>
       <keyword>Import-Alias</keyword>
-      <keyword>Import-CSV</keyword>
       <keyword>Import-Clixml</keyword>
       <keyword>Import-Counter</keyword>
+      <keyword>Import-CSV</keyword>
       <keyword>Import-LocalizedData</keyword>
       <keyword>Import-Module</keyword>
       <keyword>Import-PSSession</keyword>
@@ -285,8 +285,8 @@
       <keyword>Invoke-Expression</keyword>
       <keyword>Invoke-History</keyword>
       <keyword>Invoke-Item</keyword>
-      <keyword>Invoke-WSManAction</keyword>
       <keyword>Invoke-WmiMethod</keyword>
+      <keyword>Invoke-WSManAction</keyword>
       <keyword>Join-Path</keyword>
       <keyword>Limit-EventLog</keyword>
       <keyword>Measure-Command</keyword>
@@ -307,9 +307,9 @@
       <keyword>New-Service</keyword>
       <keyword>New-TimeSpan</keyword>
       <keyword>New-Variable</keyword>
+      <keyword>New-WebServiceProxy</keyword>
       <keyword>New-WSManInstance</keyword>
       <keyword>New-WSManSessionOption</keyword>
-      <keyword>New-WebServiceProxy</keyword>
       <keyword>Out-Default</keyword>
       <keyword>Out-File</keyword>
       <keyword>Out-GridView</keyword>
@@ -337,8 +337,8 @@
       <keyword>Remove-PSSession</keyword>
       <keyword>Remove-PSSnapin</keyword>
       <keyword>Remove-Variable</keyword>
-      <keyword>Remove-WSManInstance</keyword>
       <keyword>Remove-WmiObject</keyword>
+      <keyword>Remove-WSManInstance</keyword>
       <keyword>Rename-Item</keyword>
       <keyword>Rename-ItemProperty</keyword>
       <keyword>Reset-ComputerMachinePassword</keyword>
@@ -367,9 +367,9 @@
       <keyword>Set-StrictMode</keyword>
       <keyword>Set-TraceSource</keyword>
       <keyword>Set-Variable</keyword>
+      <keyword>Set-WmiInstance</keyword>
       <keyword>Set-WSManInstance</keyword>
       <keyword>Set-WSManQuickConfig</keyword>
-      <keyword>Set-WmiInstance</keyword>
       <keyword>Show-EventLog</keyword>
       <keyword>Sort-Object</keyword>
       <keyword>Split-Path</keyword>
@@ -554,31 +554,31 @@
     <context id="BuiltIn-Parameters" style-ref="builtin-parameters">
       <prefix>\-</prefix>
       <!--in common use-->
+      <keyword>Debug</keyword>
       <keyword>ErrorAction</keyword>
       <keyword>ErrorVariable</keyword>
-      <keyword>WarningAction</keyword>
-      <keyword>WarningVariable</keyword>
-      <keyword>Verbose</keyword>
-      <keyword>OutVariable</keyword>
       <keyword>OutBuffer</keyword>
-      <keyword>Debug</keyword>
+      <keyword>OutVariable</keyword>
       <keyword>PipelineVariable</keyword>
+      <keyword>Verbose</keyword>
+      <keyword>WarningAction</keyword>
+      <keyword>WarningVariable</keyword>
       <!--Other-->
-      <keyword>ForegroundColor</keyword>
       <keyword>BackgroundColor</keyword>
-      <keyword>TypeName</keyword>
-      <keyword>Object</keyword>
-      <keyword>ComObject</keyword>
-      <keyword>NoNewline</keyword>
       <keyword>Certificate</keyword>
+      <keyword>ComObject</keyword>
+      <keyword>ForegroundColor</keyword>
       <keyword>InputObject</keyword>
       <keyword>MemberType</keyword>
       <keyword>Name</keyword>
-      <keyword>Value</keyword>
+      <keyword>NoNewline</keyword>
+      <keyword>Object</keyword>
       <keyword>PassThru</keyword>
-      <keyword>Version</keyword>
-      <keyword>Seconds</keyword>
       <keyword>PassThru</keyword>
+      <keyword>Seconds</keyword>
+      <keyword>TypeName</keyword>
+      <keyword>Value</keyword>
+      <keyword>Version</keyword>
     </context>
 
     <context id="User-Function" style-ref="user-function">
@@ -597,8 +597,8 @@
       <keyword>decimal</keyword>
       <keyword>double</keyword>
       <keyword>hashtable</keyword>
-      <keyword>int</keyword>
       <keyword>int32</keyword>
+      <keyword>int</keyword>
       <keyword>long</keyword>
       <keyword>single</keyword>
       <keyword>string</keyword>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]