@@ -1744,30 +1744,3 @@ function get-number {}
17441744# ^^^^^^^^^ keyword.other.region.end.powershell
17451745# <- comment.line
17461746# ^ meta.fold.end
1747-
1748- Add-Type - Language CSharp @"
1749- # ^^^^^^^^ support.function.powershell
1750- # ^^^^^^^^^ variable.parameter.option.powershell
1751- # ^ punctuation.definition.parameter.powershell
1752- # ^^ meta.string.interpolated.powershell string.quoted.double.powershell punctuation.definition.string.begin.powershell
1753- using System;
1754- #^^^^^^^^^^^^^^^^ meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded
1755- # ^^^^^ keyword.control.import.cs
1756- # ^^^^^^ meta.path.cs
1757- # ^ punctuation.terminator.statement.cs
1758- using System.Runtime.InteropServices;
1759- public class ClassGetForegroundWindow {
1760- #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.interpolated.powershell string.quoted.double.powershell source.cs.embedded
1761- # ^^^^^^ storage.modifier.access.cs
1762- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.class.cs
1763- # ^^^^^ keyword.declaration.class.cs
1764- # ^^^^^^^^^^^^^^^^^^^^^^^^ entity.name.class.cs
1765- # @@@@@@@@@@@@@@@@@@@@@@@@ global-definition
1766- # @@@@@@@@@@@@@@@@@@@@@@@@ local-definition
1767- # ^ meta.class.body.cs meta.block.cs punctuation.section.block.begin.cs
1768- [DllImport("user32.dll")]
1769- public static extern IntPtr GetForegroundWindow();
1770- # @@@@@@@@@@@@@@@@@@@ global-definition
1771- # @@@@@@@@@@@@@@@@@@@ local-definition " GetForegroundWindow"
1772- }
1773- "@
0 commit comments