Skip to content

A Swiss Army knife for developers.

[DevToys 2.0] Use WPF Blazor on Windows, MAUI Blazor on Mac. Removed WASDK and Uno app. (#817)

Etienne BAUDOUX2c5c405940da
diff --git a/.gitignore b/.gitignore
index 9c35c5399..c2d1ef8b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -430,7 +430,7 @@ package-lock.json
mono_crash.*
# Monaco Dependency (Download from https://microsoft.github.io/monaco-editor/)
-src/app/dev/DevToys.MonacoEditor/monaco-editor
+src/app/dev/DevToys.Blazor/wwwroot/lib/monaco-editor
# Highlight.js dependency https://highlightjs.org/
!highlight.min.js
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 16c1fd2ea..d5b9dedd4 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -8,7 +8,7 @@
"name": "Debug (MAUI Blazor desktop app)",
"type": "coreclr",
"request": "attach",
- "processName": "DevToys.MauiBlazor",
+ "processName": "DevToys.MacOS",
"preLaunchTask": "Run",
}
]
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index f3cd3397c..f85eea719 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -6,10 +6,10 @@
// in vscode.
"id": "project",
"type": "pickString",
- "default": "${workspaceFolder}/src/app/dev/platforms/desktop/DevToys.MauiBlazor/DevToys.MauiBlazor.csproj",
+ "default": "${workspaceFolder}/src/app/dev/platforms/desktop/DevToys.MacOS/DevToys.MacOS.csproj",
"description": "Pick the Project you want to build.",
"options": [
- "${workspaceFolder}/src/app/dev/platforms/desktop/DevToys.MauiBlazor/DevToys.MauiBlazor.csproj",
+ "${workspaceFolder}/src/app/dev/platforms/desktop/DevToys.MacOS/DevToys.MacOS.csproj",
]
},
{
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d5dc4e687..48c69bb12 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -16,9 +16,7 @@ You can contribute to DevToys app by:
1. Install [Visual Studio 2022 17.3 or later](https://visualstudio.microsoft.com/vs/) installed with the following Workloads, or import the [vs2022.vsconfig](vs2022.vsconfig) file.
* ASP.NET and web development
* Node.js development
- * .NET Multi-Platform App UI development
* .NET desktop development
- * Universal Windows Platform development
### Finalize your environment
1. Clone this repository.
@@ -34,8 +32,9 @@ You can contribute to DevToys app by:
### Build, Run & Debug
1. Open `src/DevToys-Windows.sln` with Visual Studio.
-1. In Visual Studio, set `app/dev/platforms/web/DevToys.Wasm` or `app/dev/platforms/desktop/windows/DevToys.Wasdk` or `app/dev/platforms/desktop/DevToys.CLI` as startup project.
+1. In Visual Studio, set `app/dev/platforms/desktop/DevToys.Windows` or `app/dev/platforms/desktop/DevToys.CLI` as startup project.
1. Now you should be able to build and run DevToys on your machine by pressing `F5`.
+1. Most of the `DevToys.Windows` app runs in a web browser (WebView2). Press `F12` to open the web developer tools.
## From macOS
@@ -67,7 +66,7 @@ You can contribute to DevToys app by:
### Build, Run & Debug
#### If you are using Visual Studio for Mac or JetBains Rider:
1. Open `src/DevToys-MacOS.sln` with Visual Studio for Mac or JetBrains Rider.
-1. Set `app/dev/platforms/web/DevToys.Wasm` or `app/dev/platforms/desktop/macos/DevToys.MacOS` or `app/dev/platforms/desktop/DevToys.CLI` as startup project.
+1. Set `app/dev/platforms/desktop/DevToys.MacOS` or `app/dev/platforms/desktop/DevToys.CLI` as startup project.
1. Now you should be able to build and run DevToys on your machine.
#### If you are using Visual Studio Code:
@@ -75,11 +74,11 @@ You can contribute to DevToys app by:
2. Install the `C#` extension.
1. In `Run and Debug`, select `Debug (macOS dektop app)` and press Start.
-#### Special note for `DevToys.MauiBlazor`
-In order to access the Safari developer tools with macOS to debug the HTML/CSS/JS of the Maui Blazor app, follow the following instructions:
+#### Special note for `DevToys.MacOS`
+Most of the `DevToys.MacOS` app runs in a web browser (Safari). In order to access the Safari developer tools with macOS to debug the HTML/CSS/JS of the Maui Blazor app, follow the following instructions:
1. Open desktop Safari.
2. Select the Safari > Preferences > Advanced > Show Develop menu in the menu bar checkbox.
-3. Run the `DevToys.MauiBlazor` app in macOS.
+3. Run the `DevToys.MacOS` app in macOS.
4. Return to Safari. Select Develop > {REMOTE INSPECTION TARGET} > 0.0.0.0, where the {REMOTE INSPECTION TARGET} placeholder is either the devices's plain name (for example, MacBook Pro) or the device's serial number (for example XMVM7VFF10). If multiple entries for 0.0.0.0 are present, select the entry that highlights the BlazorWebView. The BlazorWebView is highlighted in blue in macOS when the correct 0.0.0.0 entry is selected.
5. The Web Inspector window appears for the BlazorWebView.
diff --git a/global.json b/global.json
index b6038be01..bfd89f4c6 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,8 @@
{
"sdk": {
"version": "7.0.101",
- "rollForward": "latestFeature"
+ "rollForward": "latestMinor",
+ "allowPrerelease": false
},
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "3.0.44"
diff --git a/init.ps1 b/init.ps1
index 105398719..e0567d4ea 100644
--- a/init.ps1
+++ b/init.ps1
@@ -3,34 +3,6 @@ function ExecSafe([scriptblock] $cmd) {
if ($LASTEXITCODE) { exit $LASTEXITCODE }
}
-Function Get-MsBuildPath($useVsPreview) {
- if (-not (Test-Path "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"))
- {
- Throw "Unable to find 'vswhere.exe'. Is Visual Studio installed?"
- }
-
- $path = ""
- try {
- if ($useVsPreview)
- {
- $path = & "${env:ProgramFiles(x86)}\microsoft visual studio\installer\vswhere.exe" -latest -prerelease -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1
- }
- else
- {
- $path = & "${env:ProgramFiles(x86)}\microsoft visual studio\installer\vswhere.exe" -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe | select-object -first 1
- }
- }
- catch {
- }
-
- if (!$path)
- {
- Write-Error "Unable to find MSBuild. Try importing './.vsconfig' into Visual Studio Installer."
- }
-
- return $path
-}
-
Set-StrictMode -Version 2.0; $ErrorActionPreference = "Stop"; $ConfirmPreference = "None"; trap { Write-Error $_ -ErrorAction Continue; exit 1 }
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
@@ -42,18 +14,7 @@ Write-Host "Restoring all dependencies"
Get-ChildItem $PSScriptRoot\src\ -rec |? { $_.FullName.EndsWith('DevToys-Windows.sln') } |% {
$SolutionPath = $_.FullName;
Write-Host "Restoring packages for $($SolutionPath)..."
- ExecSafe { & $env:DOTNET_EXE restore -p:PublishReadyToRun=true -v:quiet $SolutionPath }
-
- # If we run on Windows
- if ([System.Boolean](Get-CimInstance -ClassName Win32_OperatingSystem -ErrorAction SilentlyContinue)) {
- $MSBuildPath = Get-MsBuildPath true
- ExecSafe { & "$MSBuildPath" $SolutionPath /t:restore /p:PublishReadyToRun=true /p:Configuration=Release /p:platform=x86 /v:Quiet }
- ExecSafe { & "$MSBuildPath" $SolutionPath /t:restore /p:PublishReadyToRun=true /p:Configuration=Release /p:platform=x64 /v:Quiet }
- ExecSafe { & "$MSBuildPath" $SolutionPath /t:restore /p:PublishReadyToRun=true /p:Configuration=Release /p:platform=arm64 /v:Quiet }
- ExecSafe { & "$MSBuildPath" $SolutionPath /t:restore /p:PublishReadyToRun=true /p:Configuration=Debug /p:platform=x86 /v:Quiet }
- ExecSafe { & "$MSBuildPath" $SolutionPath /t:restore /p:PublishReadyToRun=true /p:Configuration=Debug /p:platform=x64 /v:Quiet }
- ExecSafe { & "$MSBuildPath" $SolutionPath /t:restore /p:PublishReadyToRun=true /p:Configuration=Debug /p:platform=arm64 /v:Quiet }
- }
+ ExecSafe { & $env:DOTNET_EXE restore -p:RestoreNpm=true -p:PublishReadyToRun=true -v:quiet $SolutionPath }
}
Write-Host "Done."
diff --git a/init.sh b/init.sh
index a1eef43ab..82f7dd299 100644
--- a/init.sh
+++ b/init.sh
@@ -14,7 +14,7 @@ xattr -cr ./src/
# Install .NET workloads
echo "Installing .NET workloads"
-sudo dotnet workload install maccatalyst
+sudo dotnet workload install maui-maccatalyst --from-rollback-file rollback.json
# Restore NuGet solution dependencies
echo "Restoring all dependencies"
@@ -22,7 +22,7 @@ SOLUTIONS=$(find ./src/ -iname "*DevToys-MacOS.sln" -print)
for SOLUTION_FILE in $SOLUTIONS
do
echo "Restoring packages for $SOLUTION_FILE..."
- "$DOTNET_EXE" restore -p:PublishReadyToRun=true -v:quiet $SOLUTION_FILE
+ "$DOTNET_EXE" restore -p:RestoreNpm=true -p:PublishReadyToRun=true -v:quiet $SOLUTION_FILE
done
echo "Done."
diff --git a/rollback.json b/rollback.json
new file mode 100644
index 000000000..9befe8f3a
--- /dev/null
+++ b/rollback.json
@@ -0,0 +1,4 @@
+{
+ "microsoft.net.sdk.ios": "16.2.2054/7.0.100",
+ "microsoft.net.sdk.maccatalyst": "16.2.2054/7.0.100"
+ }
\ No newline at end of file
diff --git a/src/DevToys-MacOS.sln b/src/DevToys-MacOS.sln
index 5f40df1d9..dbcd74245 100644
--- a/src/DevToys-MacOS.sln
+++ b/src/DevToys-MacOS.sln
@@ -36,10 +36,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "desktops", "desktops", "{22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "macos", "macos", "{8B003389-15D4-4466-A40E-50FC0D603BF6}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "web", "web", "{04F9E03E-B519-49C5-BC6A-2131ED9BADC0}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.CLI", "app\dev\platforms\desktop\DevToys.CLI\DevToys.CLI.csproj", "{8C72D38A-658D-4C9D-B0AD-2DA975BE7826}"
ProjectSection(ProjectDependencies) = postProject
{B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
@@ -55,24 +51,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Tools", "app\dev\De
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Core", "app\dev\DevToys.Core\DevToys.Core.csproj", "{A730FA8A-3713-4F7A-915D-79098CA12DF0}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.UI.Framework", "app\dev\DevToys.UI.Framework\DevToys.UI.Framework.csproj", "{723A3D71-2425-49EE-B669-1A0DF3A8B486}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.UI", "app\dev\DevToys.UI\DevToys.UI.csproj", "{104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.MonacoEditor", "app\dev\DevToys.MonacoEditor\DevToys.MonacoEditor.csproj", "{CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Wasm", "app\dev\platforms\web\DevToys.Wasm\DevToys.Wasm.csproj", "{9E59352A-836D-47DE-AB02-F404A8345242}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.MacOS", "app\dev\platforms\desktop\macos\DevToys.MacOS\DevToys.MacOS.csproj", "{E3E689D3-FC5E-48B4-961E-DD5C0DB62DAF}"
- ProjectSection(ProjectDependencies) = postProject
- {B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
- EndProjectSection
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.MauiBlazor", "app\dev\platforms\desktop\DevToys.MauiBlazor\DevToys.MauiBlazor.csproj", "{77A35152-832A-47FA-B7B8-2B0E113E8B29}"
- ProjectSection(ProjectDependencies) = postProject
- {B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
- EndProjectSection
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "generators", "generators", "{1713A47C-7BCA-4240-8CD6-7A047E377801}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ResxHelperGenerator", "generators\ResxHelperGenerator\ResxHelperGenerator.csproj", "{F404CCE2-597A-485A-B70A-C119E5CC12ED}"
@@ -84,6 +62,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Localization", "app
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Business", "app\dev\DevToys.Business\DevToys.Business.csproj", "{AC565EE5-BF5F-4D14-8F40-DFB3E06D9724}"
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.MacOS", "app\dev\platforms\desktop\DevToys.MacOS\DevToys.MacOS.csproj", "{2EBD314E-B862-41B8-AB9E-F6371EB50666}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Blazor", "app\dev\DevToys.Blazor\DevToys.Blazor.csproj", "{608B24BF-8491-4167-932F-9CF23C97FDEE}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|AnyCPU = Debug|AnyCPU
@@ -114,31 +96,6 @@ Global
{A730FA8A-3713-4F7A-915D-79098CA12DF0}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{A730FA8A-3713-4F7A-915D-79098CA12DF0}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{A730FA8A-3713-4F7A-915D-79098CA12DF0}.Release|AnyCPU.Build.0 = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|AnyCPU.Build.0 = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|AnyCPU.ActiveCfg = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|AnyCPU.Build.0 = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|AnyCPU.Build.0 = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|AnyCPU.ActiveCfg = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|AnyCPU.Build.0 = Release|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|AnyCPU.Build.0 = Debug|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|AnyCPU.ActiveCfg = Release|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|AnyCPU.Build.0 = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|AnyCPU.Build.0 = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|AnyCPU.ActiveCfg = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|AnyCPU.Build.0 = Release|Any CPU
- {E3E689D3-FC5E-48B4-961E-DD5C0DB62DAF}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
- {E3E689D3-FC5E-48B4-961E-DD5C0DB62DAF}.Debug|AnyCPU.Build.0 = Debug|Any CPU
- {E3E689D3-FC5E-48B4-961E-DD5C0DB62DAF}.Release|AnyCPU.ActiveCfg = Release|Any CPU
- {E3E689D3-FC5E-48B4-961E-DD5C0DB62DAF}.Release|AnyCPU.Build.0 = Release|Any CPU
- {77A35152-832A-47FA-B7B8-2B0E113E8B29}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
- {77A35152-832A-47FA-B7B8-2B0E113E8B29}.Debug|AnyCPU.Build.0 = Debug|Any CPU
- {77A35152-832A-47FA-B7B8-2B0E113E8B29}.Debug|AnyCPU.Deploy.0 = Debug|Any CPU
- {77A35152-832A-47FA-B7B8-2B0E113E8B29}.Release|AnyCPU.ActiveCfg = Release|Any CPU
- {77A35152-832A-47FA-B7B8-2B0E113E8B29}.Release|AnyCPU.Build.0 = Release|Any CPU
{F404CCE2-597A-485A-B70A-C119E5CC12ED}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{F404CCE2-597A-485A-B70A-C119E5CC12ED}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{F404CCE2-597A-485A-B70A-C119E5CC12ED}.Release|AnyCPU.ActiveCfg = Release|Any CPU
@@ -151,6 +108,14 @@ Global
{AC565EE5-BF5F-4D14-8F40-DFB3E06D9724}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{AC565EE5-BF5F-4D14-8F40-DFB3E06D9724}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{AC565EE5-BF5F-4D14-8F40-DFB3E06D9724}.Release|AnyCPU.Build.0 = Release|Any CPU
+ {2EBD314E-B862-41B8-AB9E-F6371EB50666}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
+ {2EBD314E-B862-41B8-AB9E-F6371EB50666}.Debug|AnyCPU.Build.0 = Debug|Any CPU
+ {2EBD314E-B862-41B8-AB9E-F6371EB50666}.Release|AnyCPU.ActiveCfg = Release|Any CPU
+ {2EBD314E-B862-41B8-AB9E-F6371EB50666}.Release|AnyCPU.Build.0 = Release|Any CPU
+ {608B24BF-8491-4167-932F-9CF23C97FDEE}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
+ {608B24BF-8491-4167-932F-9CF23C97FDEE}.Debug|AnyCPU.Build.0 = Debug|Any CPU
+ {608B24BF-8491-4167-932F-9CF23C97FDEE}.Release|AnyCPU.ActiveCfg = Release|Any CPU
+ {608B24BF-8491-4167-932F-9CF23C97FDEE}.Release|AnyCPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -161,23 +126,17 @@ Global
{3D2285D5-0E44-4B1A-9B74-2BBE3108D5B7} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{9771D1F8-D331-4B26-8E96-6024893009F4} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{22EE9386-CEFA-47D8-97B2-09A63EDF7F2E} = {3D2285D5-0E44-4B1A-9B74-2BBE3108D5B7}
- {8B003389-15D4-4466-A40E-50FC0D603BF6} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
- {04F9E03E-B519-49C5-BC6A-2131ED9BADC0} = {3D2285D5-0E44-4B1A-9B74-2BBE3108D5B7}
{8C72D38A-658D-4C9D-B0AD-2DA975BE7826} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
{745FD4CA-84CC-45D8-A3E2-814A0B9C16C4} = {0AC87D9B-BBEC-4DCE-A9D4-82A159E5E7C1}
{89A4D88F-5AC0-436A-8EC5-8E98728CA89E} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{CCAB7530-4341-4C24-B4E8-28679BB6C4FB} = {4C40BF47-315A-4B60-9ED6-8D65B5E79C2C}
{B6D48157-5257-4B60-B065-3B231B610A54} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{A730FA8A-3713-4F7A-915D-79098CA12DF0} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {723A3D71-2425-49EE-B669-1A0DF3A8B486} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {9E59352A-836D-47DE-AB02-F404A8345242} = {04F9E03E-B519-49C5-BC6A-2131ED9BADC0}
- {E3E689D3-FC5E-48B4-961E-DD5C0DB62DAF} = {8B003389-15D4-4466-A40E-50FC0D603BF6}
- {77A35152-832A-47FA-B7B8-2B0E113E8B29} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
{F404CCE2-597A-485A-B70A-C119E5CC12ED} = {1713A47C-7BCA-4240-8CD6-7A047E377801}
{A3ABEA5E-48FB-45D5-98D4-042D3DEA53E7} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{AC565EE5-BF5F-4D14-8F40-DFB3E06D9724} = {B20E4027-0777-4A75-A848-609594E9A6B0}
+ {2EBD314E-B862-41B8-AB9E-F6371EB50666} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
+ {608B24BF-8491-4167-932F-9CF23C97FDEE} = {B20E4027-0777-4A75-A848-609594E9A6B0}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C2C953F5-F97F-4198-B15C-4947A886050F}
diff --git a/src/DevToys-Windows.sln b/src/DevToys-Windows.sln
index ed6adc3ec..9dea81d62 100644
--- a/src/DevToys-Windows.sln
+++ b/src/DevToys-Windows.sln
@@ -32,14 +32,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Directory.Build.targets = Directory.Build.targets
Directory.Packages.props = Directory.Packages.props
Environment.props = Environment.props
+ spellcheckerexclusion.dic = spellcheckerexclusion.dic
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "desktops", "desktops", "{22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "windows", "windows", "{AFE37797-0A43-4838-8C1E-4D2D1446499C}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "web", "web", "{04F9E03E-B519-49C5-BC6A-2131ED9BADC0}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.CLI", "app\dev\platforms\desktop\DevToys.CLI\DevToys.CLI.csproj", "{8C72D38A-658D-4C9D-B0AD-2DA975BE7826}"
ProjectSection(ProjectDependencies) = postProject
{B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
@@ -55,27 +52,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Tools", "app\dev\De
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Core", "app\dev\DevToys.Core\DevToys.Core.csproj", "{A730FA8A-3713-4F7A-915D-79098CA12DF0}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.UI.Framework", "app\dev\DevToys.UI.Framework\DevToys.UI.Framework.csproj", "{723A3D71-2425-49EE-B669-1A0DF3A8B486}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.UI", "app\dev\DevToys.UI\DevToys.UI.csproj", "{104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.MonacoEditor", "app\dev\DevToys.MonacoEditor\DevToys.MonacoEditor.csproj", "{CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Wasm", "app\dev\platforms\web\DevToys.Wasm\DevToys.Wasm.csproj", "{9E59352A-836D-47DE-AB02-F404A8345242}"
- ProjectSection(ProjectDependencies) = postProject
- {B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
- EndProjectSection
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.MauiBlazor", "app\dev\platforms\desktop\DevToys.MauiBlazor\DevToys.MauiBlazor.csproj", "{64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}"
- ProjectSection(ProjectDependencies) = postProject
- {B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
- EndProjectSection
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Wasdk", "app\dev\platforms\desktop\windows\DevToys.Wasdk\DevToys.Wasdk.csproj", "{804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}"
- ProjectSection(ProjectDependencies) = postProject
- {B6D48157-5257-4B60-B065-3B231B610A54} = {B6D48157-5257-4B60-B065-3B231B610A54}
- EndProjectSection
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Localization", "app\dev\DevToys.Localization\DevToys.Localization.csproj", "{12A1461D-3357-4007-BE15-9622E9513D09}"
ProjectSection(ProjectDependencies) = postProject
{DB6B033B-584E-43CF-AC96-4F6548C96ECA} = {DB6B033B-584E-43CF-AC96-4F6548C96ECA}
@@ -91,6 +67,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ResxHelperGenerator", "gene
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Business", "app\dev\DevToys.Business\DevToys.Business.csproj", "{1C5D0B77-8509-4DA4-ADEC-359CC1A9E952}"
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevToys.Blazor", "app\dev\DevToys.Blazor\DevToys.Blazor.csproj", "{565D2497-6078-4558-911C-EA7D3A25AB16}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevToys.Windows", "app\dev\platforms\desktop\DevToys.Windows\DevToys.Windows.csproj", "{48531D2E-83C6-49F2-9ADD-C9490386718B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -199,117 +179,6 @@ Global
{A730FA8A-3713-4F7A-915D-79098CA12DF0}.Release|x64.Build.0 = Release|Any CPU
{A730FA8A-3713-4F7A-915D-79098CA12DF0}.Release|x86.ActiveCfg = Release|Any CPU
{A730FA8A-3713-4F7A-915D-79098CA12DF0}.Release|x86.Build.0 = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|ARM64.Build.0 = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|x64.ActiveCfg = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|x64.Build.0 = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|x86.ActiveCfg = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Debug|x86.Build.0 = Debug|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|Any CPU.Build.0 = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|ARM64.ActiveCfg = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|ARM64.Build.0 = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|x64.ActiveCfg = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|x64.Build.0 = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|x86.ActiveCfg = Release|Any CPU
- {723A3D71-2425-49EE-B669-1A0DF3A8B486}.Release|x86.Build.0 = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|ARM64.Build.0 = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|x64.ActiveCfg = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|x64.Build.0 = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|x86.ActiveCfg = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Debug|x86.Build.0 = Debug|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|Any CPU.Build.0 = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|ARM64.ActiveCfg = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|ARM64.Build.0 = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|x64.ActiveCfg = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|x64.Build.0 = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|x86.ActiveCfg = Release|Any CPU
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A}.Release|x86.Build.0 = Release|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|ARM64.ActiveCfg = Debug|arm64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|ARM64.Build.0 = Debug|arm64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|x64.ActiveCfg = Debug|x64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|x64.Build.0 = Debug|x64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|x86.ActiveCfg = Debug|x86
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Debug|x86.Build.0 = Debug|x86
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|Any CPU.Build.0 = Release|Any CPU
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|ARM64.ActiveCfg = Release|arm64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|ARM64.Build.0 = Release|arm64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|x64.ActiveCfg = Release|x64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|x64.Build.0 = Release|x64
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|x86.ActiveCfg = Release|x86
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8}.Release|x86.Build.0 = Release|x86
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|ARM64.Build.0 = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|x64.ActiveCfg = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|x64.Build.0 = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|x86.ActiveCfg = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Debug|x86.Build.0 = Debug|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|Any CPU.Build.0 = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|ARM64.ActiveCfg = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|ARM64.Build.0 = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|x64.ActiveCfg = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|x64.Build.0 = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|x86.ActiveCfg = Release|Any CPU
- {9E59352A-836D-47DE-AB02-F404A8345242}.Release|x86.Build.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|ARM64.ActiveCfg = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|ARM64.Build.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|ARM64.Deploy.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|x64.ActiveCfg = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|x64.Build.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|x64.Deploy.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|x86.ActiveCfg = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|x86.Build.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Debug|x86.Deploy.0 = Debug|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|Any CPU.Build.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|ARM64.ActiveCfg = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|ARM64.Build.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|ARM64.Deploy.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|x64.ActiveCfg = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|x64.Build.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|x64.Deploy.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|x86.ActiveCfg = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|x86.Build.0 = Release|Any CPU
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262}.Release|x86.Deploy.0 = Release|Any CPU
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|Any CPU.ActiveCfg = Debug|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|Any CPU.Build.0 = Debug|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|Any CPU.Deploy.0 = Debug|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|ARM64.ActiveCfg = Debug|ARM64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|ARM64.Build.0 = Debug|ARM64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|ARM64.Deploy.0 = Debug|ARM64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|x64.ActiveCfg = Debug|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|x64.Build.0 = Debug|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|x64.Deploy.0 = Debug|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|x86.ActiveCfg = Debug|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|x86.Build.0 = Debug|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Debug|x86.Deploy.0 = Debug|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|Any CPU.ActiveCfg = Release|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|Any CPU.Build.0 = Release|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|Any CPU.Deploy.0 = Release|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|ARM64.ActiveCfg = Release|ARM64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|ARM64.Build.0 = Release|ARM64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|ARM64.Deploy.0 = Release|ARM64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|x64.ActiveCfg = Release|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|x64.Build.0 = Release|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|x64.Deploy.0 = Release|x64
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|x86.ActiveCfg = Release|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|x86.Build.0 = Release|x86
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F}.Release|x86.Deploy.0 = Release|x86
{12A1461D-3357-4007-BE15-9622E9513D09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{12A1461D-3357-4007-BE15-9622E9513D09}.Debug|Any CPU.Build.0 = Debug|Any CPU
{12A1461D-3357-4007-BE15-9622E9513D09}.Debug|ARM64.ActiveCfg = Debug|Any CPU
@@ -358,6 +227,38 @@ Global
{1C5D0B77-8509-4DA4-ADEC-359CC1A9E952}.Release|x64.Build.0 = Release|Any CPU
{1C5D0B77-8509-4DA4-ADEC-359CC1A9E952}.Release|x86.ActiveCfg = Release|Any CPU
{1C5D0B77-8509-4DA4-ADEC-359CC1A9E952}.Release|x86.Build.0 = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|x64.Build.0 = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Debug|x86.Build.0 = Debug|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|Any CPU.Build.0 = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|ARM64.Build.0 = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|x64.ActiveCfg = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|x64.Build.0 = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|x86.ActiveCfg = Release|Any CPU
+ {565D2497-6078-4558-911C-EA7D3A25AB16}.Release|x86.Build.0 = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|ARM64.ActiveCfg = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|ARM64.Build.0 = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|x64.Build.0 = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Debug|x86.Build.0 = Debug|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|ARM64.ActiveCfg = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|ARM64.Build.0 = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|x64.ActiveCfg = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|x64.Build.0 = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|x86.ActiveCfg = Release|Any CPU
+ {48531D2E-83C6-49F2-9ADD-C9490386718B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -368,23 +269,17 @@ Global
{3D2285D5-0E44-4B1A-9B74-2BBE3108D5B7} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{9771D1F8-D331-4B26-8E96-6024893009F4} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{22EE9386-CEFA-47D8-97B2-09A63EDF7F2E} = {3D2285D5-0E44-4B1A-9B74-2BBE3108D5B7}
- {AFE37797-0A43-4838-8C1E-4D2D1446499C} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
- {04F9E03E-B519-49C5-BC6A-2131ED9BADC0} = {3D2285D5-0E44-4B1A-9B74-2BBE3108D5B7}
{8C72D38A-658D-4C9D-B0AD-2DA975BE7826} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
{745FD4CA-84CC-45D8-A3E2-814A0B9C16C4} = {0AC87D9B-BBEC-4DCE-A9D4-82A159E5E7C1}
{89A4D88F-5AC0-436A-8EC5-8E98728CA89E} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{CCAB7530-4341-4C24-B4E8-28679BB6C4FB} = {4C40BF47-315A-4B60-9ED6-8D65B5E79C2C}
{B6D48157-5257-4B60-B065-3B231B610A54} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{A730FA8A-3713-4F7A-915D-79098CA12DF0} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {723A3D71-2425-49EE-B669-1A0DF3A8B486} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {104F1E4B-E0D3-4D87-9DA0-3FE82FE2573A} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {CDD8B469-ACA6-4A7D-91A0-66ADB0563AE8} = {B20E4027-0777-4A75-A848-609594E9A6B0}
- {9E59352A-836D-47DE-AB02-F404A8345242} = {04F9E03E-B519-49C5-BC6A-2131ED9BADC0}
- {64B8DB6D-3168-48DE-95BD-BBE7BAB3A262} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
- {804DBC7B-FBF4-4B2E-AAE9-D74C32985D3F} = {AFE37797-0A43-4838-8C1E-4D2D1446499C}
{12A1461D-3357-4007-BE15-9622E9513D09} = {B20E4027-0777-4A75-A848-609594E9A6B0}
{DB6B033B-584E-43CF-AC96-4F6548C96ECA} = {FA3821C4-74BB-4927-ABCC-0D0A12E097A2}
{1C5D0B77-8509-4DA4-ADEC-359CC1A9E952} = {B20E4027-0777-4A75-A848-609594E9A6B0}
+ {565D2497-6078-4558-911C-EA7D3A25AB16} = {B20E4027-0777-4A75-A848-609594E9A6B0}
+ {48531D2E-83C6-49F2-9ADD-C9490386718B} = {22EE9386-CEFA-47D8-97B2-09A63EDF7F2E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C2C953F5-F97F-4198-B15C-4947A886050F}
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 2730049a1..f42b20271 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -9,7 +9,8 @@
<Windows10MinSDKVersion>$(Windows10MinSDKVersionTrimmed).0</Windows10MinSDKVersion>
<NetCore>net7.0</NetCore>
- <NetCoreWindows>$(NetCore)-windows$(Windows10MinSDKVersionTrimmed)</NetCoreWindows>
+ <NetCoreWindows10>$(NetCore)-windows$(Windows10MinSDKVersionTrimmed)</NetCoreWindows10>
+ <NetCoreWindows>$(NetCore)-windows</NetCoreWindows>
<NetMacCatalyst>$(NetCore)-maccatalyst</NetMacCatalyst>
<NetMacOS>$(NetCore)-macos</NetMacOS>
diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props
index 40bedea1b..773b723f5 100644
--- a/src/Directory.Packages.props
+++ b/src/Directory.Packages.props
@@ -1,67 +1,32 @@
<Project>
<PropertyGroup>
- <!--
- Central Package Management isn't supported by Razor Sdk project type. We keep the version of some packages in variables below so we can reuse
- them in projects explicitely so we keep consistent package version number across the repository.
- -->
<CommunityToolkitVersion>8.1.0</CommunityToolkitVersion>
- <CommunityToolkitWinUINuGetVersion>7.1.2</CommunityToolkitWinUINuGetVersion>
<DotNetVersion>7.0.0</DotNetVersion>
- <UnoVersion>4.7.37</UnoVersion>
- <UnoCommunityToolkitWinUINuGetVersion>7.1.100</UnoCommunityToolkitWinUINuGetVersion>
- <UnoWasmBootstrapVersion>8.0.0-dev.65</UnoWasmBootstrapVersion>
- <MicrosoftTypeScriptMSBuildVersion>4.9.4</MicrosoftTypeScriptMSBuildVersion>
- <SixLaborsImageSharpVersion>3.0.0</SixLaborsImageSharpVersion>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="CommunityToolkit.Common" Version="$(CommunityToolkitVersion)" />
<PackageVersion Include="CommunityToolkit.Diagnostics" Version="$(CommunityToolkitVersion)" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="$(CommunityToolkitVersion)" />
- <PackageVersion Include="CommunityToolkit.WinUI.UI" Version="$(CommunityToolkitWinUINuGetVersion)" />
- <PackageVersion Include="CommunityToolkit.WinUI.UI.Animations" Version="$(CommunityToolkitWinUINuGetVersion)" />
<PackageVersion Include="coverlet.collector" Version="3.1.2" />
<PackageVersion Include="FuzzySharp" Version="2.0.2" />
+ <PackageVersion Include="Microsoft.AspNetCore.Components.Web" Version="$(DotNetVersion)" />
+ <PackageVersion Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="7.0.86" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
- <PackageVersion Include="Microsoft.Extensions.Logging" Version="$(DotNetVersion)" />
- <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNetVersion)" />
- <PackageVersion Include="Microsoft.Extensions.Logging.Configuration" Version="$(DotNetVersion)" />
- <PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="$(DotNetVersion)" />
- <PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="$(DotNetVersion)" />
- <PackageVersion Include="Microsoft.Graphics.Win2D" Version="1.0.4" />
+ <PackageVersion Include="Microsoft.Extensions.Logging" Version="$(DotNetVersion)" Condition="'$(UseMaui)' != 'true'" />
+ <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="$(DotNetVersion)" Condition="'$(UseMaui)' != 'true'" />
+ <PackageVersion Include="Microsoft.Extensions.Logging.Debug" Version="$(DotNetVersion)" Condition="'$(UseMaui)' != 'true'" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
- <PackageVersion Include="Microsoft.TypeScript.MSBuild" Version="$(MicrosoftTypeScriptMSBuildVersion)" />
- <PackageVersion Include="Microsoft.UI.Xaml" Version="2.8.1" />
- <PackageVersion Include="Microsoft.Web.WebView2" Version="1.0.1462.37" />
- <PackageVersion Include="Microsoft.Windows.Compatibility" Version="$(DotNetVersion)" />
- <PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.2.188-beta" />
- <PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
- <PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.2.230313.1" />
- <PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9"/>
+ <PackageVersion Include="Microsoft.TypeScript.MSBuild" Version="4.9.4" />
<PackageVersion Include="Moq" Version="4.18.2" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.1" />
<PackageVersion Include="Nuke.Common" Version="6.2.1" />
- <PackageVersion Include="SixLabors.ImageSharp" Version="$(SixLaborsImageSharpVersion)"/>
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageVersion Include="System.ComponentModel.Composition" Version="$(DotNetVersion)" />
<PackageVersion Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
- <PackageVersion Include="System.Runtime.InteropServices.WindowsRuntime" Version="4.3.0" />
- <PackageVersion Include="Uno.CommunityToolkit.WinUI.UI" Version="$(UnoCommunityToolkitWinUINuGetVersion)" />
- <PackageVersion Include="Uno.CommunityToolkit.WinUI.UI.Animations" Version="$(UnoCommunityToolkitWinUINuGetVersion)" />
<PackageVersion Include="Uno.Core.Extensions.Logging" Version="4.0.1" />
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.0.1" />
- <PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.4.0" />
- <PackageVersion Include="Uno.Extensions.Logging.WebAssembly.Console" Version="1.4.0" />
- <PackageVersion Include="Uno.Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.3.0" />
- <PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="$(UnoVersion)" />
- <PackageVersion Include="Uno.Wasm.Bootstrap" Version="$(UnoWasmBootstrapVersion)" />
- <PackageVersion Include="Uno.Wasm.Bootstrap.DevServer" Version="$(UnoWasmBootstrapVersion)" />
- <PackageVersion Include="Uno.WinUI" Version="$(UnoVersion)" />
- <PackageVersion Include="Uno.WinUI.Lottie" Version="$(UnoVersion)" />
- <PackageVersion Include="Uno.WinUI.RemoteControl" Version="$(UnoVersion)" />
- <PackageVersion Include="Uno.WinUI.Runtime.WebAssembly" Version="$(UnoVersion)" />
- <PackageVersion Include="Uno.WinUI.WebAssembly" Version="$(UnoVersion)" />
<PackageVersion Include="xunit" Version="2.4.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.5" />
</ItemGroup>
diff --git a/src/app/dev/DevToys.Api/Core/IClipboard.cs b/src/app/dev/DevToys.Api/Core/IClipboard.cs
index b8824ea81..046d60a07 100644
--- a/src/app/dev/DevToys.Api/Core/IClipboard.cs
+++ b/src/app/dev/DevToys.Api/Core/IClipboard.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core;
+namespace DevToys.Api;
/// <summary>
/// Provides a platform agnostic way to interact with the clipboard of the operating system the app is running on.
diff --git a/src/app/dev/DevToys.Api/Core/IFileStorage.cs b/src/app/dev/DevToys.Api/Core/IFileStorage.cs
index b6ba02ce9..2064b9bcf 100644
--- a/src/app/dev/DevToys.Api/Core/IFileStorage.cs
+++ b/src/app/dev/DevToys.Api/Core/IFileStorage.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core;
+namespace DevToys.Api;
/// <summary>
/// Provides a platform agnostic way to interact with the file system of the operating system the app is running on.
diff --git a/src/app/dev/DevToys.Api/Core/IFontProvider.cs b/src/app/dev/DevToys.Api/Core/IFontProvider.cs
index 6ba923d9c..327cc0f24 100644
--- a/src/app/dev/DevToys.Api/Core/IFontProvider.cs
+++ b/src/app/dev/DevToys.Api/Core/IFontProvider.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core;
+namespace DevToys.Api;
/// <summary>
/// Provides a platform agnostic way to retrieve information about fonts installed on the operating system.
diff --git a/src/app/dev/DevToys.Api/Core/ObservableCollectionExtensions.cs b/src/app/dev/DevToys.Api/Core/ObservableCollectionExtensions.cs
index e704b8358..379b4d990 100644
--- a/src/app/dev/DevToys.Api/Core/ObservableCollectionExtensions.cs
+++ b/src/app/dev/DevToys.Api/Core/ObservableCollectionExtensions.cs
@@ -1,6 +1,6 @@
using System.Collections.ObjectModel;
-namespace DevToys.Api.Core;
+namespace DevToys.Api;
public static class ObservableCollectionExtensions
{
diff --git a/src/app/dev/DevToys.Api/Core/ObservableHashSet.cs b/src/app/dev/DevToys.Api/Core/ObservableHashSet.cs
index 12aa580df..0c3874d8a 100644
--- a/src/app/dev/DevToys.Api/Core/ObservableHashSet.cs
+++ b/src/app/dev/DevToys.Api/Core/ObservableHashSet.cs
@@ -1,7 +1,7 @@
using System.Collections;
using System.Collections.Specialized;
-namespace DevToys.Api.Core;
+namespace DevToys.Api;
/// <summary>
/// COPY FROM https://github.com/dotnet/efcore/blob/2d7c4a407e3ae8b1fab38500465e37619786d362/src/EFCore/ChangeTracking/ObservableHashSet.cs
diff --git a/src/app/dev/DevToys.Api/Core/Theme/ApplicationTheme.cs b/src/app/dev/DevToys.Api/Core/Theme/ApplicationTheme.cs
index ca2e86464..aa89f9e8d 100644
--- a/src/app/dev/DevToys.Api/Core/Theme/ApplicationTheme.cs
+++ b/src/app/dev/DevToys.Api/Core/Theme/ApplicationTheme.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core.Theme;
+namespace DevToys.Api;
/// <summary>
/// Specifies a UI theme that should be used for individual UIElement parts of an app UI.
diff --git a/src/app/dev/DevToys.Api/Core/Theme/AvailableApplicationTheme.cs b/src/app/dev/DevToys.Api/Core/Theme/AvailableApplicationTheme.cs
index a8ec7b6ed..6ed7db778 100644
--- a/src/app/dev/DevToys.Api/Core/Theme/AvailableApplicationTheme.cs
+++ b/src/app/dev/DevToys.Api/Core/Theme/AvailableApplicationTheme.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core.Theme;
+namespace DevToys.Api;
/// <summary>
/// Specifies a UI theme that should be used for individual UIElement parts of an app UI.
diff --git a/src/app/dev/DevToys.Api/Core/Theme/IThemeListener.cs b/src/app/dev/DevToys.Api/Core/Theme/IThemeListener.cs
index 6ada2d459..35c44e642 100644
--- a/src/app/dev/DevToys.Api/Core/Theme/IThemeListener.cs
+++ b/src/app/dev/DevToys.Api/Core/Theme/IThemeListener.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core.Theme;
+namespace DevToys.Api;
/// <summary>
/// Provides information about the application theme.
@@ -39,9 +39,4 @@ public interface IThemeListener
/// Change the color theme of the app based on <see cref="CurrentSystemTheme"/> and <see cref="CurrentAppTheme"/>.
/// </summary>
void ApplyDesiredColorTheme();
-
- /// <summary>
- /// Evaluates whether the theme should automatically be updated or not, based on app and operating system settings.
- /// </summary>
- void UpdateThemeIfNeeded();
}
diff --git a/src/app/dev/DevToys.Api/Core/Threading/AsyncLazy.cs b/src/app/dev/DevToys.Api/Core/Threading/AsyncLazy.cs
index d9ffec316..84e1aeb36 100644
--- a/src/app/dev/DevToys.Api/Core/Threading/AsyncLazy.cs
+++ b/src/app/dev/DevToys.Api/Core/Threading/AsyncLazy.cs
@@ -1,4 +1,4 @@
-namespace DevToys.Api.Core.Threading;
+namespace DevToys.Api;
[DebuggerDisplay($"IsValueCreated = {{{nameof(IsValueCreated)}}}")]
public class AsyncLazy<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>
diff --git a/src/app/dev/DevToys.Api/Tool/GUI/Components/IUIMultilineLineTextInput.cs b/src/app/dev/DevToys.Api/Tool/GUI/Components/IUIMultilineLineTextInput.cs
index c047ba532..d182a9f35 100644
--- a/src/app/dev/DevToys.Api/Tool/GUI/Components/IUIMultilineLineTextInput.cs
+++ b/src/app/dev/DevToys.Api/Tool/GUI/Components/IUIMultilineLineTextInput.cs
@@ -1,7 +1,4 @@
-using System;
-using static System.Net.Mime.MediaTypeNames;
-
-namespace DevToys.Api;
+namespace DevToys.Api;
/// <summary>
/// A component that can be used to display or edit unformatted text on multiple lines.
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/.eslintrc.json b/src/app/dev/DevToys.Blazor/.eslintrc.json
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/.eslintrc.json
rename to src/app/dev/DevToys.Blazor/.eslintrc.json
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/javascript/dom.js b/src/app/dev/DevToys.Blazor/Assets/javascript/dom.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/javascript/dom.js
rename to src/app/dev/DevToys.Blazor/Assets/javascript/dom.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/javascript/index.esm.js b/src/app/dev/DevToys.Blazor/Assets/javascript/index.esm.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/javascript/index.esm.js
rename to src/app/dev/DevToys.Blazor/Assets/javascript/index.esm.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_layout.scss b/src/app/dev/DevToys.Blazor/Assets/sass/_layout.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_layout.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/_layout.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_transitions.scss b/src/app/dev/DevToys.Blazor/Assets/sass/_transitions.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_transitions.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/_transitions.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_typography.scss b/src/app/dev/DevToys.Blazor/Assets/sass/_typography.scss
similarity index 88%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_typography.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/_typography.scss
index 4299b8de7..c045fb6c1 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/_typography.scss
+++ b/src/app/dev/DevToys.Blazor/Assets/sass/_typography.scss
@@ -10,7 +10,7 @@ i[class^="FluentSystemIcons"]:before, i[class*=" FluentSystemIcons"]:before {
font-variant: normal;
text-transform: none;
line-height: 1;
- -webkit-font-smoothing: subpixel-antialiased;
+ -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@@ -20,10 +20,13 @@ i[class^="FluentSystemIcons"]:before, i[class*=" FluentSystemIcons"]:before {
@mixin typography-body {
user-select: none;
+ -webkit-user-select: none;
+ cursor: default;
font: {
family: var(--font-family-text);
size: var(--font-size-body);
+ optical-sizing: none;
weight: normal;
}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/devtoys.scss b/src/app/dev/DevToys.Blazor/Assets/sass/devtoys.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/devtoys.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/devtoys.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/_default.scss b/src/app/dev/DevToys.Blazor/Assets/sass/theme/_default.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/_default.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/theme/_default.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/windows/dark.scss b/src/app/dev/DevToys.Blazor/Assets/sass/theme/macos/dark.scss
similarity index 99%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/windows/dark.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/theme/macos/dark.scss
index 74b0e10d4..a58a23d0f 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/windows/dark.scss
+++ b/src/app/dev/DevToys.Blazor/Assets/sass/theme/macos/dark.scss
@@ -1,4 +1,4 @@
-@mixin windows-dark {
+@mixin macos-dark {
/* Accent Colors (rgb) */
--accent-light-3: 154, 236, 254;
--accent-light-2: 98, 205, 254;
@@ -51,7 +51,7 @@
--subtle-fill-disabled: transparent;
/* Background */
- --background-color: rgba(32, 32, 32, 1);
+ --background-color: rgb(32, 32, 32);
--layer-fill-color-default: rgba(58, 58, 58, 0.3);
/* Borders */
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/macos/light.scss b/src/app/dev/DevToys.Blazor/Assets/sass/theme/macos/light.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/macos/light.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/theme/macos/light.scss
diff --git a/src/app/dev/DevToys.Blazor/Assets/sass/theme/windows/dark.scss b/src/app/dev/DevToys.Blazor/Assets/sass/theme/windows/dark.scss
new file mode 100644
index 000000000..e93bd685f
--- /dev/null
+++ b/src/app/dev/DevToys.Blazor/Assets/sass/theme/windows/dark.scss
@@ -0,0 +1,169 @@
+@mixin windows-dark {
+ /* Accent Colors (rgb) */
+ --accent-light-3: 154, 236, 254;
+ --accent-light-2: 98, 205, 254;
+ --accent-light-1: 0, 146, 250;
+ --accent-base: 0, 121, 214;
+ --accent-dark-1: 0, 95, 184;
+ --accent-dark-2: 0, 62, 148;
+ --accent-dark-3: 0, 24, 102;
+ --accent-default: rgba(var(--accent-light-2));
+ --accent-secondary: rgba(var(--accent-light-2), 0.9);
+ --accent-tertiary: rgba(var(--accent-light-2), 0.8);
+ --accent-disabled: rgba(255, 255, 255, 0.158);
+
+ /* Text on Accent */
+ --text-on-accent-primary: rgb(0, 0, 0);
+ --text-on-accent-secondary: rgba(0, 0, 0, 0.5);
+ --text-on-accent-disabled: rgba(255, 255, 255, 0.53);
+ --text-on-accent-selected: rgb(255, 255, 255);
+
+ /* Focus Stroke */
+ --focus-stroke-outer: rgb(255, 255, 255);
+ --focus-stroke-inner: rgba(0, 0, 0, 0.7);
+
+ /* Text */
+ --text-fill-color-primary: rgba(255, 255, 255, 1);
+ --text-fill-color-secondary: rgba(255, 255, 255, 0.77);
+ --text-fill-color-tertiary: rgba(255, 255, 255, 0.53);
+ --text-fill-color-disabled: rgba(255, 255, 255, 0.36);
+ --text-fill-color-inverse: rgba(0, 0, 0, 0.89);
+
+ /* Control Fill */
+ --control-fill-color-default: rgba(255, 255, 255, 0.059);
+ --control-fill-color-secondary: rgba(255, 255, 255, 0.082);
+ --control-fill-color-tertiary: rgba(255, 255, 255, 0.031);
+ --control-fill-color-disabled: rgba(255, 255, 255, 0.043);
+ --control-fill-color-transparent: rgba(255, 255, 255, 0);
+ --control-fill-color-input-active: rgba(30, 30, 30, 0.702);
+
+ /* Control Stroke */
+ --control-stroke-color-default: rgba(255, 255, 255, 0.071);
+ --control-stroke-color-secondary: rgba(255, 255, 255, 0.094);
+ --control-stroke-on-accent-default: hsla(0, 0%, 100%, 8%);
+ --control-stroke-on-accent-secondary: hsla(0, 0%, 0%, 14%);
+ --control-strong-stroke-default: rgba(255, 255, 255, 0.544);
+
+ /* Subtle Fill */
+ --subtle-fill-transparent: transparent;
+ --subtle-fill-secondary: rgba(255, 255, 255, 0.061);
+ --subtle-fill-tertiary: rgba(255, 255, 255, 0.042);
+ --subtle-fill-disabled: transparent;
+
+ /* Background */
+ --background-color: transparent;
+ --layer-fill-color-default: rgba(58, 58, 58, 0.3);
+
+ /* Borders */
+ --control-border-color-default:
+ var(--control-stroke-color-secondary)
+ var(--control-stroke-color-default)
+ var(--control-stroke-color-default)
+ var(--control-stroke-color-default);
+ --accent-control-border-color-default:
+ var(--control-stroke-on-accent-default)
+ var(--control-stroke-on-accent-secondary)
+ var(--control-stroke-on-accent-secondary)
+ var(--control-stroke-on-accent-secondary);
+
+ /* Card */
+ --card-stroke-color-default: rgba(0, 0, 0, 0.06);
+ --card-background-color: rgba(255, 255, 255, 0.05);
+ --card-hover-background-color: rgba(255, 255, 255, 0.06);
+
+ /* Button */
+ --button-background: var(--control-fill-color-default);
+ --button-background-pointer-over: var(--control-fill-color-secondary);
+ --button-background-pressed: var(--control-fill-color-tertiary);
+ --button-background-disabled: var(--control-fill-color-disabled);
+ --button-foreground: var(--text-fill-color-primary);
+ --button-foreground-pointer-over: var(--text-fill-color-primary);
+ --button-foreground-pressed: var(--text-fill-color-secondary);
+ --button-foreground-disabled: var(--text-fill-color-disabled);
+ --button-border: var(--control-border-color-default);
+ --button-border-pointer-over: var(--control-border-color-default);
+ --button-border-pressed: var(--control-stroke-color-default);
+ --button-border-disabled: var(--control-stroke-color-default);
+ --button-border-thickness: 1px solid;
+
+ --accent-button-background: var(--accent-default);
+ --accent-button-background-pointer-over: var(--accent-secondary);
+ --accent-button-background-pressed: var(--accent-tertiary);
+ --accent-button-background-disabled: var(--accent-disabled);
+ --accent-button-foreground: var(--text-on-accent-primary);
+ --accent-button-foreground-pointer-over: var(--text-on-accent-primary);
+ --accent-button-foreground-pressed: var(--text-on-accent-secondary);
+ --accent-button-foreground-disabled: var(--text-on-accent-disabled);
+ --accent-button-border: var(--accent-control-border-color-default);
+ --accent-button-border-pointer-over: var(--accent-control-border-color-default);
+ --accent-button-border-pressed: var(--control-fill-color-transparent);
+ --accent-button-border-disabled: var(--control-fill-color-transparent);
+ --accent-button-border-thickness: 1px solid;
+
+ --stealth-button-background: var(--control-fill-color-transparent);
+ --stealth-button-background-pointer-over: var(--control-fill-color-secondary);
+ --stealth-button-background-pressed: var(--control-fill-color-tertiary);
+ --stealth-button-background-disabled: var(--control-fill-color-transparent);
+ --stealth-button-foreground: var(--text-fill-color-primary);
+ --stealth-button-foreground-pointer-over: var(--text-fill-color-primary);
+ --stealth-button-foreground-pressed: var(--text-fill-color-secondary);
+ --stealth-button-foreground-disabled: var(--text-fill-color-disabled);
+ --stealth-button-border: var(--control-fill-color-transparent);
+ --stealth-button-border-pointer-over: var(--control-border-color-default);
+ --stealth-button-border-pressed: var(--control-stroke-color-default);
+ --stealth-button-border-disabled: var(--control-fill-color-transparent);
+ --stealth-button-border-thickness: 1px solid;
+
+ /* GridView */
+ --grid-view-header-border-line: rgba(255, 255, 255, 0.2);
+ --grid-view-item-background: var(--card-background-color);
+ --grid-view-item-background-hover: var(--card-hover-background-color);
+ --grid-view-item-stroke: rgba(0, 0, 0, 0.3);
+
+ /* NavBar */
+ --navigation-view-content-background: var(--layer-fill-color-default);
+ --navigation-view-content-grid-border: var(--card-stroke-color-default);
+ --navigation-view-content-grid-border-thickness: 1px solid;
+ --navigation-view-flyout-border-color: var(--control-stroke-color-secondary);
+ --navigation-view-flyout-background-color: rgba(32, 32, 32, 1); // Could be semi-transparent if we didn't have Mica
+ --navigation-view-flyout-backdrop-filter: blur(50px) saturate(125%);
+ --navigation-view-separator-color: rgba(255, 255, 255, 0.0605);
+
+ /* List Box */
+ --list-box-item-background: var(--subtle-fill-transparent);
+ --list-box-item-background-disabled: var(--subtle-fill-transparent);
+ --list-box-item-background-pointer-over: var(--subtle-fill-secondary);
+ --list-box-item-background-selected: var(--subtle-fill-secondary);
+ --list-box-item-background-selected-disabled: var(--subtle-fill-secondary);
+ --list-box-item-background-active: var(--subtle-fill-tertiary);
+ --list-box-item-foreground: var(--text-fill-color-primary);
+ --list-box-item-foreground-active: var(--text-fill-color-secondary);
+ --list-box-item-foreground-disabled: var(--text-fill-color-disabled);
+
+ /* Text Box */
+ --text-box-background: var(--control-fill-color-default);
+ --text-box-background-pointer-over: var(--control-fill-color-secondary);
+ --text-box-background-focused: var(--control-fill-color-input-active);
+ --text-box-background-disabled: var(--control-fill-color-disabled);
+ --text-box-border: var(--control-stroke-color-default);
+ --text-box-border-pointer-over: var(--control-stroke-color-default);
+ --text-box-border-focused: var(--control-stroke-color-default);
+ --text-box-border-disabled: var(--control-stroke-color-default);
+ --text-box-foreground: var(--text-fill-color-primary);
+ --text-box-foreground-pointer-over: var(--text-fill-color-primary);
+ --text-box-foreground-focused: var(--text-fill-color-primary);
+ --text-box-foreground-disabled: var(--text-fill-color-disabled);
+ --text-box-placeholder-foreground: var(--text-fill-color-secondary);
+ --text-box-placeholder-foreground-pointer-over: var(--text-fill-color-secondary);
+ --text-box-placeholder-foreground-focused: var(--text-fill-color-tertiary);
+ --text-box-placeholder-foreground-disabled: var(--text-fill-color-disabled);
+ --text-box-selection-highlight-color: rgb(var(--accent-base));
+
+ /* Scrollbars */
+ --scrollbar-track-background-color: transparent;
+ --scrollbar-track-background-color-hover: rgba(44, 44, 44, 0.96);
+ --scrollbar-thumb-border-color: transparent;
+ --scrollbar-thumb-border-color-hover: rgba(44, 44, 44, 0.96);
+ --scrollbar-thumb-background-color: rgba(255, 255, 255, 0.5442);
+ --scrollbar-thumb-background-color-hover: rgba(255, 255, 255, 0.5442);
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/windows/light.scss b/src/app/dev/DevToys.Blazor/Assets/sass/theme/windows/light.scss
similarity index 50%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/windows/light.scss
rename to src/app/dev/DevToys.Blazor/Assets/sass/theme/windows/light.scss
index e29300cd9..42ccf9fa0 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/windows/light.scss
+++ b/src/app/dev/DevToys.Blazor/Assets/sass/theme/windows/light.scss
@@ -1,4 +1,4 @@
@mixin windows-light {
--text-fill-color-primary: rgba(0, 0, 0, 1);
- --background-color: rgba(255, 255, 255, 1); // not sure if good. TODO
+ --background-color: transparent;
}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor b/src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor
similarity index 92%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor
rename to src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor
index 657afe7f0..a57898157 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor
+++ b/src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits StyledComponentBase
<CascadingValue Value="this" IsFixed="true">
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor.cs b/src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor.cs
similarity index 94%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor.cs
index 4f512afd2..c1a35997b 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class AutoSuggestBox : StyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor.scss b/src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/AutoSuggestBox/AutoSuggestBox.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/AutoSuggestBox/AutoSuggestBox.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor b/src/app/dev/DevToys.Blazor/Components/Button/Button.razor
similarity index 83%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor
rename to src/app/dev/DevToys.Blazor/Components/Button/Button.razor
index c0a423af3..8be2fb83f 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor
+++ b/src/app/dev/DevToys.Blazor/Components/Button/Button.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits JSStyledComponentBase
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor.cs b/src/app/dev/DevToys.Blazor/Components/Button/Button.razor.cs
similarity index 95%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/Button/Button.razor.cs
index 5f3e12774..5f14c29d3 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/Button/Button.razor.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class Button : JSStyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor.scss b/src/app/dev/DevToys.Blazor/Components/Button/Button.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/Button.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/Button/Button.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/ButtonAppearance.cs b/src/app/dev/DevToys.Blazor/Components/Button/ButtonAppearance.cs
similarity index 90%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/ButtonAppearance.cs
rename to src/app/dev/DevToys.Blazor/Components/Button/ButtonAppearance.cs
index c394a99ba..4b9484ff7 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Button/ButtonAppearance.cs
+++ b/src/app/dev/DevToys.Blazor/Components/Button/ButtonAppearance.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public sealed class ButtonAppearance
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor b/src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor
similarity index 92%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor
rename to src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor
index 52a7caaf9..6bfc25131 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor
+++ b/src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits JSStyledComponentBase
<CascadingValue Value="this" IsFixed="true">
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor.cs b/src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor.cs
similarity index 91%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor.cs
index 7cda054dd..34d285d5c 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class ContextMenuItem : JSStyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor.scss b/src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ContextMenu/ContextMenuItem.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/ContextMenu/ContextMenuItem.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor b/src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor
similarity index 80%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor
rename to src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor
index 57267cf22..0ebf7536f 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor
+++ b/src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits StyledComponentBase
<CascadingValue Value="this" IsFixed="true">
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor.cs b/src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor.cs
similarity index 88%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor.cs
index 06898c9a1..bdffc5b98 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class FontIcon : StyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor.scss b/src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor.scss
similarity index 91%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor.scss
index 3cce813b9..21b5d6498 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/FontIcon/FontIcon.razor.scss
+++ b/src/app/dev/DevToys.Blazor/Components/FontIcon/FontIcon.razor.scss
@@ -2,6 +2,7 @@
display: block;
color: currentColor;
user-select: none;
+ -webkit-user-select: none;
/* Center the icon in its parent */
margin: 0;
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor
similarity index 96%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor
rename to src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor
index 4d4a4eb69..5f7467f1a 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor
+++ b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits JSStyledComponentBase
@typeparam TKey
@typeparam TElement
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.cs b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.cs
similarity index 89%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.cs
index f6fb110ef..55cdcda0e 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.cs
@@ -1,10 +1,10 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class GridView<TKey, TElement> : JSStyledComponentBase
{
private ScrollViewer? _scrollViewer = default!;
- protected override string? JavaScriptFile => "./Components/GridView/GridView.razor.js";
+ protected override string? JavaScriptFile => "./_content/DevToys.Blazor/Components/GridView/GridView.razor.js";
[Parameter]
public RenderFragment? Header { get; set; }
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.js b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.js
rename to src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.scss b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.ts b/src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.ts
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/GridView/GridView.razor.ts
rename to src/app/dev/DevToys.Blazor/Components/GridView/GridView.razor.ts
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/JSStyledComponentBase.cs b/src/app/dev/DevToys.Blazor/Components/JSStyledComponentBase.cs
similarity index 95%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/JSStyledComponentBase.cs
rename to src/app/dev/DevToys.Blazor/Components/JSStyledComponentBase.cs
index 5b18eac4f..9fe10b218 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/JSStyledComponentBase.cs
+++ b/src/app/dev/DevToys.Blazor/Components/JSStyledComponentBase.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public abstract class JSStyledComponentBase : StyledComponentBase, IAsyncDisposable
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor b/src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor
similarity index 82%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor
rename to src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor
index d9e11a6b8..8718398a8 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor
+++ b/src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits StyledComponentBase
<CascadingValue Value="this" IsFixed="true">
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor.cs b/src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor.cs
similarity index 95%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor.cs
index b998fe802..2ad342d3c 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class ListBoxItem : StyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor.scss b/src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor.scss
similarity index 98%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor.scss
index f805b935e..2e7f99d33 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ListBox/ListBoxItem.razor.scss
+++ b/src/app/dev/DevToys.Blazor/Components/ListBox/ListBoxItem.razor.scss
@@ -15,6 +15,7 @@
text-decoration: none;
cursor: default;
user-select: none;
+ -webkit-user-select: none;
block-size: 34px;
text-decoration: none;
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MefComponentBase.cs b/src/app/dev/DevToys.Blazor/Components/MefComponentBase.cs
similarity index 87%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MefComponentBase.cs
rename to src/app/dev/DevToys.Blazor/Components/MefComponentBase.cs
index fd9d943c7..26a1e00ba 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MefComponentBase.cs
+++ b/src/app/dev/DevToys.Blazor/Components/MefComponentBase.cs
@@ -1,6 +1,6 @@
using DevToys.Api;
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public abstract class MefComponentBase : StyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor b/src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor
rename to src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor.cs b/src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor.cs
similarity index 93%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor.cs
index b46dad1ab..b1eef0546 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor.cs
@@ -1,9 +1,9 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class MonacoEditor : JSStyledComponentBase, IAsyncDisposable
{
- private const string JAVASCRIPT_FILE = "./Components/MonacoEditor.razor.js";
- private const string MONACO_VS_PATH = "./lib/monaco-editor/min/vs";
+ private const string JAVASCRIPT_FILE = "./_content/DevToys.Blazor/Components/MonacoEditor.razor.js";
+ private const string MONACO_VS_PATH = "./_content/DevToys.Blazor/lib/monaco-editor/min/vs";
private DotNetObjectReference<MonacoEditor>? _objRef = null;
private string _value = """
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor.js b/src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/MonacoEditor.razor.js
rename to src/app/dev/DevToys.Blazor/Components/MonacoEditor.razor.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor
index 03e62ba32..f721e8df7 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor
+++ b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@using DevToys.Core.Tools.ViewItems;
@using DevToys.Core;
@@ -36,7 +36,9 @@
</Button>
}
- @Header
+ <div style="margin-left: 4px; display: inline;">
+ @Header
+ </div>
</div>
<!-- Sidebar -->
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.cs b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.cs
similarity index 82%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.cs
index b862bb542..b0d78b738 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.cs
@@ -1,17 +1,16 @@
using System.Collections.ObjectModel;
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class NavBar<TElement> : JSStyledComponentBase where TElement : class
{
-
private readonly NavBarState _sidebarState = new();
private DotNetObjectReference<NavBar<TElement>>? _objRef;
private AutoSuggestBox _autoSuggestBox = default!;
public string NavId { get; } = NewId();
- protected override string? JavaScriptFile => "./Components/NavBar/NavBar.razor.js";
+ protected override string? JavaScriptFile => "./_content/DevToys.Blazor/Components/NavBar/NavBar.razor.js";
[Parameter]
public RenderFragment<TElement> NavBarItemTitleTemplate { get; set; } = default!;
@@ -61,6 +60,17 @@ public partial class NavBar<TElement> : JSStyledComponentBase where TElement : c
[Parameter]
public RenderFragment? Header { get; set; }
+ /// <summary>
+ /// Raised when the NavBar goes and leave the hidden state.
+ /// </summary>
+ [Parameter]
+ public EventCallback<bool> OnHiddenStateChanged { get; set; }
+
+ public NavBar()
+ {
+ _sidebarState.IsHiddenChanged += SidebarState_IsHiddenChanged;
+ }
+
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
@@ -74,6 +84,7 @@ public partial class NavBar<TElement> : JSStyledComponentBase where TElement : c
public override ValueTask DisposeAsync()
{
+ _sidebarState.IsHiddenChanged -= SidebarState_IsHiddenChanged;
_objRef?.Dispose();
return base.DisposeAsync();
}
@@ -116,4 +127,9 @@ public partial class NavBar<TElement> : JSStyledComponentBase where TElement : c
SelectedItem = item;
return SelectedItemChanged.InvokeAsync(item);
}
+
+ private void SidebarState_IsHiddenChanged(object? sender, EventArgs e)
+ {
+ OnHiddenStateChanged.InvokeAsync(_sidebarState.IsHidden);
+ }
}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.js b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.js
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.scss b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.ts b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.ts
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBar.razor.ts
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBar.razor.ts
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor
index 6a2f5b9a6..5f021d816 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor
+++ b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@using DevToys.Core;
@inherits StyledComponentBase
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor.cs b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor.cs
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor.cs
index 44435a1a7..412221ef6 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor.cs
@@ -1,6 +1,6 @@
using DevToys.Core;
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class NavBarItem<TElement> : StyledComponentBase where TElement : class
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor.scss b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarItem.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBarItem.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarSidebarStates.cs b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarSidebarStates.cs
similarity index 73%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarSidebarStates.cs
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBarSidebarStates.cs
index 18c4a9281..29e5df808 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarSidebarStates.cs
+++ b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarSidebarStates.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
[Flags]
internal enum NavBarSidebarStates
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarState.cs b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarState.cs
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarState.cs
rename to src/app/dev/DevToys.Blazor/Components/NavBar/NavBarState.cs
index 2d7a80558..ae26bb942 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/NavBar/NavBarState.cs
+++ b/src/app/dev/DevToys.Blazor/Components/NavBar/NavBarState.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
// TODO: Write unit tests
internal sealed class NavBarState
@@ -16,6 +16,8 @@ internal sealed class NavBarState
internal bool IsCollapsed { get; private set; }
+ internal event EventHandler? IsHiddenChanged;
+
internal bool WidthUpdated(int width, int hiddenThreshold, int collapsedThreshold)
{
bool stateChanged;
@@ -160,7 +162,8 @@ internal sealed class NavBarState
NavBarClassNames = cssBuilder.ToString();
IsExpandedOverlay = userRequestExpandOverlay;
- IsHidden = _widthBasedState == NavBarSidebarStates.Hidden;
IsCollapsed = isCollapsed;
+ IsHidden = _widthBasedState == NavBarSidebarStates.Hidden;
+ IsHiddenChanged?.Invoke(this, EventArgs.Empty);
}
}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Orientation.cs b/src/app/dev/DevToys.Blazor/Components/Orientation.cs
similarity index 60%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Orientation.cs
rename to src/app/dev/DevToys.Blazor/Components/Orientation.cs
index 56c20a0a7..eb57c10ae 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/Orientation.cs
+++ b/src/app/dev/DevToys.Blazor/Components/Orientation.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
[Flags]
public enum Orientation
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor
similarity index 82%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor
rename to src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor
index 24316144f..8a9b226d8 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor
+++ b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits JSStyledComponentBase
<CascadingValue Value="this" IsFixed="true">
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.cs b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.cs
similarity index 89%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.cs
index 8df96469a..b6b705dc4 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.cs
@@ -1,8 +1,8 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class ScrollViewer : JSStyledComponentBase
{
- protected override string JavaScriptFile => "./Components/ScrollViewer/ScrollViewer.razor.js";
+ protected override string JavaScriptFile => "./_content/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.js";
/// <summary>
/// Gets or set the orientation in which the content can be scrolled.
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.js b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.js
rename to src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.scss b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.scss
similarity index 99%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.scss
index 6d2dd2f38..41d893534 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.scss
+++ b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.scss
@@ -26,20 +26,17 @@
border-color: var(--scrollbar-thumb-border-color);
background-color: var(--scrollbar-thumb-background-color);
}
-
// By default, scrollbar is invisible.
&::-webkit-scrollbar {
width: 0px;
transition: all 0.2s ease-in-out;
}
-
// When mouse is over the control, shows the scrollbar in small.
&:hover {
&::-webkit-scrollbar {
width: 3px;
}
}
-
// When the mouse cursor is close from the scrollbar, enlarge it.
&.on-hover {
&::-webkit-scrollbar {
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.ts b/src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.ts
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/ScrollViewer/ScrollViewer.razor.ts
rename to src/app/dev/DevToys.Blazor/Components/ScrollViewer/ScrollViewer.razor.ts
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor b/src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor
similarity index 72%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor
rename to src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor
index bcc303cf1..a0fcab1e5 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor
+++ b/src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits StyledComponentBase
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor.cs b/src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor.cs
similarity index 99%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor.cs
index 6b036b386..2bc436154 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor.cs
@@ -1,6 +1,6 @@
// Remember to replace the namespace below with your own project's namespace..
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
/// <summary>
/// Determines the horizontal alignment of the content within the <see cref="StackPanel"/>.
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor.css b/src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor.css
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StackPanel/StackPanel.razor.css
rename to src/app/dev/DevToys.Blazor/Components/StackPanel/StackPanel.razor.css
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StyledComponentBase.cs b/src/app/dev/DevToys.Blazor/Components/StyledComponentBase.cs
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StyledComponentBase.cs
rename to src/app/dev/DevToys.Blazor/Components/StyledComponentBase.cs
index 9b4e4da4d..0220e132c 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/StyledComponentBase.cs
+++ b/src/app/dev/DevToys.Blazor/Components/StyledComponentBase.cs
@@ -1,6 +1,6 @@
-using DevToys.Api.Core;
+using DevToys.Api;
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public abstract class StyledComponentBase : ComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlock.razor.cs b/src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlock.razor.cs
similarity index 95%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlock.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlock.razor.cs
index 3ef058471..1c65f6e0d 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlock.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlock.razor.cs
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Components.Rendering;
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public class TextBlock : StyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlock.razor.scss b/src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlock.razor.scss
similarity index 94%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlock.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlock.razor.scss
index bdb5b2b77..af25a462b 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlock.razor.scss
+++ b/src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlock.razor.scss
@@ -3,8 +3,10 @@
display: inline-block;
margin: 0;
padding: 0;
+ cursor: default;
user-select: none;
- -webkit-font-smoothing: subpixel-antialiased;
+ -webkit-user-select: none;
+ -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&.type- {
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlockStyle.cs b/src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlockStyle.cs
similarity index 95%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlockStyle.cs
rename to src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlockStyle.cs
index 81c36c162..060bcd96d 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBlock/TextBlockStyle.cs
+++ b/src/app/dev/DevToys.Blazor/Components/TextBlock/TextBlockStyle.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public sealed class TextBlockAppearance
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor
rename to src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor
index 6e3605541..491511f57 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor
+++ b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor
@@ -1,4 +1,4 @@
-@namespace DevToys.MauiBlazor.Components
+@namespace DevToys.Blazor.Components
@inherits JSStyledComponentBase
<CascadingValue Value="this" IsFixed="true">
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor.cs b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor.cs
similarity index 95%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor.cs
rename to src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor.cs
index 6b9cc4aa7..9790ae59f 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public partial class TextBox : JSStyledComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor.scss b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor.scss
similarity index 99%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor.scss
rename to src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor.scss
index 9887132ea..b319791f7 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBox.razor.scss
+++ b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBox.razor.scss
@@ -17,6 +17,7 @@
&::placeholder {
user-select: none;
+ -webkit-user-select: none;
color: var(--text-box-placeholder-foreground);
}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBoxTypes.cs b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBoxTypes.cs
similarity index 63%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBoxTypes.cs
rename to src/app/dev/DevToys.Blazor/Components/TextBox/TextBoxTypes.cs
index bce1e10bc..df934839b 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Components/TextBox/TextBoxTypes.cs
+++ b/src/app/dev/DevToys.Blazor/Components/TextBox/TextBoxTypes.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Components;
+namespace DevToys.Blazor.Components;
public enum TextBoxTypes
{
diff --git a/src/app/dev/DevToys.Blazor/Core/Languages/FlowDirection.cs b/src/app/dev/DevToys.Blazor/Core/Languages/FlowDirection.cs
new file mode 100644
index 000000000..93a620115
--- /dev/null
+++ b/src/app/dev/DevToys.Blazor/Core/Languages/FlowDirection.cs
@@ -0,0 +1,24 @@
+namespace DevToys.Blazor.Core.Languages;
+
+/// <summary>
+/// The 'flow-direction' property specifies whether the primary text advance
+/// direction shall be left-to-right or right-to-left.
+/// </summary>
+public enum FlowDirection
+{
+ /// <internalonly>
+ /// Sets the primary text advance direction to left-to-right, and the line
+ /// progression direction to top-to-bottom as is common in most Roman-based
+ /// documents. For most characters, the current text position is advanced
+ /// from left to right after each glyph is rendered. The 'direction' property
+ /// is set to 'ltr'.
+ /// </internalonly>
+ LeftToRight,
+
+ /// <internalonly>
+ /// Sets the primary text advance direction to right-to-left, and the line
+ /// progression direction to top-to-bottom as is common in Arabic or Hebrew
+ /// scripts. The direction property is set to 'rtl'.
+ /// </internalonly>
+ RightToLeft
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Languages/LanguageDefinition.cs b/src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.cs
similarity index 96%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Languages/LanguageDefinition.cs
rename to src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.cs
index 8f72c858b..74d7978e6 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Languages/LanguageDefinition.cs
+++ b/src/app/dev/DevToys.Blazor/Core/Languages/LanguageDefinition.cs
@@ -1,6 +1,6 @@
using System.Globalization;
-namespace DevToys.MauiBlazor.Core.Languages;
+namespace DevToys.Blazor.Core.Languages;
/// <summary>
/// Represents un language supported by the app.
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Languages/LanguageManager.cs b/src/app/dev/DevToys.Blazor/Core/Languages/LanguageManager.cs
similarity index 97%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Languages/LanguageManager.cs
rename to src/app/dev/DevToys.Blazor/Core/Languages/LanguageManager.cs
index 11e2cd050..8036ca477 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Languages/LanguageManager.cs
+++ b/src/app/dev/DevToys.Blazor/Core/Languages/LanguageManager.cs
@@ -1,6 +1,6 @@
using System.Globalization;
-namespace DevToys.MauiBlazor.Core.Languages;
+namespace DevToys.Blazor.Core.Languages;
public sealed class LanguageManager
{
diff --git a/src/app/dev/DevToys.Blazor/DevToys.Blazor.csproj b/src/app/dev/DevToys.Blazor/DevToys.Blazor.csproj
new file mode 100644
index 000000000..c4b38011a
--- /dev/null
+++ b/src/app/dev/DevToys.Blazor/DevToys.Blazor.csproj
@@ -0,0 +1,65 @@
+<Project Sdk="Microsoft.NET.Sdk.Razor">
+
+ <PropertyGroup>
+ <TargetFramework>$(NetCore)</TargetFramework>
+ <RootNamespace>DevToys.Blazor</RootNamespace>
+ <EnableDefaultCssItems>false</EnableDefaultCssItems>
+ <TypeScriptTarget>ES6</TypeScriptTarget>
+
+ <!-- Only needed on Mac? -->
+ <PrepareForBuildDependsOn>CompileTypeScript;GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)</PrepareForBuildDependsOn>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Microsoft.AspNetCore.Components.Web" />
+ <PackageReference Include="Microsoft.Extensions.Logging.Debug" />
+ <PackageReference Include="Microsoft.TypeScript.MSBuild">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ </PackageReference>
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\DevToys.Api\DevToys.Api.csproj" />
+ <ProjectReference Include="..\DevToys.Business\DevToys.Business.csproj" />
+ <ProjectReference Include="..\DevToys.Core\DevToys.Core.csproj" />
+ <ProjectReference Include="..\DevToys.Localization\DevToys.Localization.csproj" />
+ <ProjectReference Include="..\DevToys.Tools\DevToys.Tools.csproj" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <!-- TypeScript -->
+ <ConfigFiles Include="tsconfig.json" />
+ <Content Update="tsconfig.json" PublishFolderType="None" />
+ <Content Update="package.json" PublishFolderType="None" ExcludeFromBundleResources="true" />
+ <TypeScriptCompile Remove="**\*.ts" />
+ <None Include="**\*.ts" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <None Remove="node_modules\**" />
+ <TypeScriptCompile Remove="node_modules\**" />
+ <TypeScriptCompile Remove="wwwroot\lib\monaco-editor\**\*.*" />
+ </ItemGroup>
+
+ <!-- Target ran on `dotnet restore -p:RestoreNpm=true` -->
+ <Target Name="NodeJsRestoreTarget" AfterTargets="_GenerateRestoreProjectSpec" Condition="$(RestoreNpm) == 'true'">
+ <!-- Verify that Node.JS is installed. -->
+ <Exec Command="node --version" ContinueOnError="true">
+ <Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
+ </Exec>
+ <Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
+
+ <!-- Restore Node.JS dependencies. -->
+ <Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
+ <Exec WorkingDirectory="$(ProjectDir)" Command="npm install" />
+ </Target>
+
+ <!-- Target ran on `dotnet build` -->
+ <Target Name="GulpPrecompileTarget" AfterTargets="PrepareForBuild">
+ <!-- Run the Gulp tasks. -->
+ <Message Importance="high" Text="Generating CSS and JavaScript..." />
+ <Exec WorkingDirectory="$(ProjectDir)" Command="node_modules\.bin\gulp devtoysJavaScript" />
+ <Exec WorkingDirectory="$(ProjectDir)" Command="node_modules\.bin\gulp devtoysSass" />
+ </Target>
+</Project>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/CssBuilder.cs b/src/app/dev/DevToys.Blazor/Helpers/CssBuilder.cs
similarity index 99%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/CssBuilder.cs
rename to src/app/dev/DevToys.Blazor/Helpers/CssBuilder.cs
index 1408bd2eb..3506c6b85 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/CssBuilder.cs
+++ b/src/app/dev/DevToys.Blazor/Helpers/CssBuilder.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Core.Helpers;
+namespace DevToys.Blazor.Core.Helpers;
// TODO: Add unit tests from https://github.com/EdCharbeneau/BlazorComponentUtilities/blob/master/BlazorComponentUtilities.Tests/CssBuilderTests.cs
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/StyleBuilder.cs b/src/app/dev/DevToys.Blazor/Helpers/StyleBuilder.cs
similarity index 99%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/StyleBuilder.cs
rename to src/app/dev/DevToys.Blazor/Helpers/StyleBuilder.cs
index 877b026bc..5eaf0dbda 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/StyleBuilder.cs
+++ b/src/app/dev/DevToys.Blazor/Helpers/StyleBuilder.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Core.Helpers;
+namespace DevToys.Blazor.Core.Helpers;
public struct StyleBuilder
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/ValueBuilder.cs b/src/app/dev/DevToys.Blazor/Helpers/ValueBuilder.cs
similarity index 94%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/ValueBuilder.cs
rename to src/app/dev/DevToys.Blazor/Helpers/ValueBuilder.cs
index 2f82a0f23..edb5cf14b 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Helpers/ValueBuilder.cs
+++ b/src/app/dev/DevToys.Blazor/Helpers/ValueBuilder.cs
@@ -1,4 +1,4 @@
-namespace DevToys.MauiBlazor.Core.Helpers;
+namespace DevToys.Blazor.Core.Helpers;
public class ValueBuilder
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Main.razor b/src/app/dev/DevToys.Blazor/Main.razor
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Main.razor
rename to src/app/dev/DevToys.Blazor/Main.razor
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/Index.razor b/src/app/dev/DevToys.Blazor/Pages/Index.razor
similarity index 94%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/Index.razor
rename to src/app/dev/DevToys.Blazor/Pages/Index.razor
index 17d8eb5f4..99f48d7e8 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/Index.razor
+++ b/src/app/dev/DevToys.Blazor/Pages/Index.razor
@@ -1,7 +1,8 @@
@page "/"
+@using DevToys.Blazor.Pages.SubPages
@using DevToys.Core.Tools.ViewItems;
-
+@namespace DevToys.Blazor.Pages
@inherits MefComponentBase
<NavBar TElement="INotifyPropertyChanged"
@@ -9,7 +10,8 @@
FooterMenuItemsSource="@ViewModel.FooterToolViewItems"
CanGoBack="@ViewModel.CanGoBack"
@bind-SelectedItem="ViewModel.SelectedMenuItem"
- OnBackButtonClicked="OnBackButtonClicked">
+ OnBackButtonClicked="OnBackButtonClicked"
+ OnHiddenStateChanged="OnHiddenStateChanged">
<!-- Header -->
<Header>
<TextBlock>DevToys</TextBlock>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/Index.razor.cs b/src/app/dev/DevToys.Blazor/Pages/Index.razor.cs
similarity index 66%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/Index.razor.cs
rename to src/app/dev/DevToys.Blazor/Pages/Index.razor.cs
index defd46a06..eec24cbf5 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/Index.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Pages/Index.razor.cs
@@ -1,18 +1,25 @@
-using DevToys.Business.ViewModels;
+using DevToys.Blazor.Components;
+using DevToys.Business.ViewModels;
+using DevToys.Core;
using DevToys.Core.Tools;
using DevToys.Core.Tools.ViewItems;
-using DevToys.MauiBlazor.Components;
-namespace DevToys.MauiBlazor.Pages;
+namespace DevToys.Blazor.Pages;
public partial class Index : MefComponentBase
{
+ private const int TitleBarMarginLeftWhenNavBarHidden = 87;
+ private const int TitleBarMarginLeftWhenNavBarNotHidden = 47;
+
[Import]
internal MainWindowViewModel ViewModel { get; set; } = default!;
[Import]
internal GuiToolProvider GuiToolProvider { get; set; } = default!;
+ [Import]
+ internal TitleBarMarginProvider TitleBarMarginProvider { get; set; } = default!;
+
/// <summary>
/// Indicates whether we're transitioning to another selected menu item.
/// </summary>
@@ -38,6 +45,18 @@ public partial class Index : MefComponentBase
ViewModel.GoBack();
}
+ private void OnHiddenStateChanged(bool isHidden)
+ {
+ if (isHidden)
+ {
+ TitleBarMarginProvider.TitleBarMarginLeft = TitleBarMarginLeftWhenNavBarHidden;
+ }
+ else
+ {
+ TitleBarMarginProvider.TitleBarMarginLeft = TitleBarMarginLeftWhenNavBarNotHidden;
+ }
+ }
+
internal void OnSetFavorite()
{
// WARNING: This should be done in ToolPageViewModel. Doing it here just for demo.
@@ -50,6 +69,15 @@ public partial class Index : MefComponentBase
protected override void OnAfterRender(bool firstRender)
{
+ if (firstRender)
+ {
+ // TODO: Focus on the Search Box.
+
+ // TODO:
+ // Start Smart Detection
+ // ViewModel.RunSmartDetectionAsync(IsInCompactOverlay).Forget();
+ }
+
if (IsTransitioning)
{
// This will force the page content to re-populate.
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor b/src/app/dev/DevToys.Blazor/Pages/MainLayout.razor
similarity index 52%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor
rename to src/app/dev/DevToys.Blazor/Pages/MainLayout.razor
index 5a79af7d5..a127b5939 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor
+++ b/src/app/dev/DevToys.Blazor/Pages/MainLayout.razor
@@ -1,4 +1,5 @@
-@inherits LayoutComponentBase
+@namespace DevToys.Blazor.Pages
+@inherits LayoutComponentBase
<div class="main-layout @(Class)"
data-theme="@ThemeName">
diff --git a/src/app/dev/DevToys.Blazor/Pages/MainLayout.razor.cs b/src/app/dev/DevToys.Blazor/Pages/MainLayout.razor.cs
new file mode 100644
index 000000000..58baaab6f
--- /dev/null
+++ b/src/app/dev/DevToys.Blazor/Pages/MainLayout.razor.cs
@@ -0,0 +1,107 @@
+using DevToys.Api;
+
+namespace DevToys.Blazor.Pages;
+
+public partial class MainLayout : LayoutComponentBase
+{
+ [Inject]
+ protected IMefProvider MefProvider { get; set; } = default!;
+
+ [Import]
+ private IThemeListener ThemeListener { get; set; } = default!;
+
+ [Import]
+ private ISettingsProvider SettingsProvider { get; set; } = default!;
+
+ [Import]
+ private IFontProvider FontProvider { get; set; } = default!;
+
+ [Parameter]
+ public string ThemeName { get; set; } = default!;
+
+ [Parameter]
+ public string Class { get; set; } = default!;
+
+ protected override void OnInitialized()
+ {
+ MefProvider.SatisfyImports(this);
+ base.OnInitialized();
+
+ SetDefaultTextEditorFont();
+ }
+
+ protected override async Task OnAfterRenderAsync(bool firstRender)
+ {
+ if (firstRender)
+ {
+ ThemeListener.ThemeChanged += ThemeListener_ThemeChanged;
+
+ ApplyTheme();
+ }
+
+ await base.OnAfterRenderAsync(firstRender);
+ }
+
+ private void ThemeListener_ThemeChanged(object? sender, EventArgs e)
+ {
+ ApplyTheme();
+ }
+
+ private void ApplyTheme()
+ {
+ Class = "theme-transition";
+
+ string themeName;
+ if (ThemeListener.ActualAppTheme == ApplicationTheme.Dark)
+ {
+ if (OperatingSystem.IsWindows())
+ {
+ themeName = "windows-dark-theme";
+ }
+ else
+ {
+ themeName = "macos-dark-theme";
+ }
+ }
+ else
+ {
+ if (OperatingSystem.IsWindows())
+ {
+ themeName = "windows-light-theme";
+ }
+ else
+ {
+ themeName = "macos-light-theme";
+ }
+ }
+
+ ThemeName = themeName;
+ StateHasChanged();
+
+ Task.Delay(1000).ContinueWith(t =>
+ {
+ InvokeAsync(() =>
+ {
+ Class = "";
+ StateHasChanged();
+ });
+ });
+ }
+
+ private void SetDefaultTextEditorFont()
+ {
+ string? currentFontName = SettingsProvider.GetSetting(PredefinedSettings.TextEditorFont); // By default, the value is null.
+ string[] systemFontFamilies = FontProvider.GetFontFamilies();
+ if (!systemFontFamilies.Contains(currentFontName))
+ {
+ for (int i = 0; i < PredefinedSettings.DefaultFonts.Length; i++)
+ {
+ if (systemFontFamilies.Contains(PredefinedSettings.DefaultFonts[i]))
+ {
+ SettingsProvider.SetSetting(PredefinedSettings.TextEditorFont, PredefinedSettings.DefaultFonts[i]);
+ return;
+ }
+ }
+ }
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor.scss b/src/app/dev/DevToys.Blazor/Pages/MainLayout.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor.scss
rename to src/app/dev/DevToys.Blazor/Pages/MainLayout.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor
similarity index 94%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor
rename to src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor
index 9c9159db3..f3dfcd651 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor
+++ b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor
@@ -1,4 +1,5 @@
-@inherits MefComponentBase
+@namespace DevToys.Blazor.Pages.SubPages
+@inherits MefComponentBase
<CascadingValue Value="this" IsFixed="true">
<GridView Class="entrance-theme-transition"
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor.cs b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.cs
similarity index 91%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor.cs
rename to src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.cs
index ae30301ea..b935bede9 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor.cs
+++ b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.cs
@@ -1,9 +1,9 @@
using DevToys.Business.ViewModels;
using DevToys.Core.Tools;
using DevToys.Core.Tools.ViewItems;
-using DevToys.MauiBlazor.Components;
+using DevToys.Blazor.Components;
-namespace DevToys.MauiBlazor.Pages;
+namespace DevToys.Blazor.Pages.SubPages;
public partial class ToolGroup : MefComponentBase
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor.scss b/src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.scss
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Pages/ToolGroup.razor.scss
rename to src/app/dev/DevToys.Blazor/Pages/SubPages/ToolGroup.razor.scss
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Properties/AdditionGlobalUsings.cs b/src/app/dev/DevToys.Blazor/Properties/AdditionGlobalUsings.cs
similarity index 73%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Properties/AdditionGlobalUsings.cs
rename to src/app/dev/DevToys.Blazor/Properties/AdditionGlobalUsings.cs
index c18f3eda1..d2e8cbfd6 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Properties/AdditionGlobalUsings.cs
+++ b/src/app/dev/DevToys.Blazor/Properties/AdditionGlobalUsings.cs
@@ -3,4 +3,4 @@
global using Microsoft.AspNetCore.Components;
global using Microsoft.JSInterop;
-global using DevToys.MauiBlazor.Core.Helpers;
+global using DevToys.Blazor.Core.Helpers;
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/_Imports.razor b/src/app/dev/DevToys.Blazor/_Imports.razor
similarity index 72%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/_Imports.razor
rename to src/app/dev/DevToys.Blazor/_Imports.razor
index e2beb1571..7fe013964 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/_Imports.razor
+++ b/src/app/dev/DevToys.Blazor/_Imports.razor
@@ -5,6 +5,6 @@
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
-@using DevToys.MauiBlazor
-@using DevToys.MauiBlazor.Components
-@using DevToys.MauiBlazor.Shared
+@using DevToys.Blazor
+@using DevToys.Blazor.Components
+@using DevToys.Blazor.Pages
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/gulpfile.js b/src/app/dev/DevToys.Blazor/gulpfile.js
similarity index 98%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/gulpfile.js
rename to src/app/dev/DevToys.Blazor/gulpfile.js
index 0ea908a35..aca318e1c 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/gulpfile.js
+++ b/src/app/dev/DevToys.Blazor/gulpfile.js
@@ -21,7 +21,7 @@ var nodeResolve = require('@rollup/plugin-node-resolve');
// Cache needs to be initialized outside of the Gulp task
var devtoysCache;
const paths = {
- devtoysScss: ['./Assets/sass/**/*.scss', './Components/**/*.scss', './Pages/**/*.scss', './Shared/**/*.scss'],
+ devtoysScss: ['./Assets/sass/**/*.scss', './Components/**/*.scss', './Pages/**/*.scss'],
devtoysScssOut: './wwwroot/css',
devtoysJavascript: './Assets/javascript',
devtoysJavascriptOut: './wwwroot/js'
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/package.json b/src/app/dev/DevToys.Blazor/package.json
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/package.json
rename to src/app/dev/DevToys.Blazor/package.json
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/tsconfig.json b/src/app/dev/DevToys.Blazor/tsconfig.json
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/tsconfig.json
rename to src/app/dev/DevToys.Blazor/tsconfig.json
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/css/app.css b/src/app/dev/DevToys.Blazor/wwwroot/css/app.css
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/css/app.css
rename to src/app/dev/DevToys.Blazor/wwwroot/css/app.css
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/favicon.ico b/src/app/dev/DevToys.Blazor/wwwroot/favicon.ico
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/favicon.ico
rename to src/app/dev/DevToys.Blazor/wwwroot/favicon.ico
diff --git a/src/app/dev/DevToys.UI.Framework/Assets/FluentSystemIcons-Regular.ttf b/src/app/dev/DevToys.Blazor/wwwroot/fonts/FluentSystemIcons-Regular.ttf
similarity index 100%
rename from src/app/dev/DevToys.UI.Framework/Assets/FluentSystemIcons-Regular.ttf
rename to src/app/dev/DevToys.Blazor/wwwroot/fonts/FluentSystemIcons-Regular.ttf
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.woff b/src/app/dev/DevToys.Blazor/wwwroot/fonts/FluentSystemIcons-Regular.woff
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.woff
rename to src/app/dev/DevToys.Blazor/wwwroot/fonts/FluentSystemIcons-Regular.woff
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.woff2 b/src/app/dev/DevToys.Blazor/wwwroot/fonts/FluentSystemIcons-Regular.woff2
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.woff2
rename to src/app/dev/DevToys.Blazor/wwwroot/fonts/FluentSystemIcons-Regular.woff2
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/js/devtoys.js b/src/app/dev/DevToys.Blazor/wwwroot/js/devtoys.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/js/devtoys.js
rename to src/app/dev/DevToys.Blazor/wwwroot/js/devtoys.js
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/js/require.js b/src/app/dev/DevToys.Blazor/wwwroot/js/require.js
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/js/require.js
rename to src/app/dev/DevToys.Blazor/wwwroot/js/require.js
diff --git a/src/app/dev/DevToys.Business/Properties/AssemblyInfo.cs b/src/app/dev/DevToys.Business/Properties/AssemblyInfo.cs
index 8eed48c70..b18f41250 100644
--- a/src/app/dev/DevToys.Business/Properties/AssemblyInfo.cs
+++ b/src/app/dev/DevToys.Business/Properties/AssemblyInfo.cs
@@ -1,7 +1,5 @@
using System.Runtime.CompilerServices;
-[assembly: InternalsVisibleTo("DevToys.UI")]
-[assembly: InternalsVisibleTo("DevToys.MauiBlazor")]
-[assembly: InternalsVisibleTo("DevToys.Wasdk")]
+[assembly: InternalsVisibleTo("DevToys.Blazor")]
+[assembly: InternalsVisibleTo("DevToys.Windows")]
[assembly: InternalsVisibleTo("DevToys.MacOS")]
-[assembly: InternalsVisibleTo("DevToys.Wasm")]
diff --git a/src/app/dev/DevToys.Business/ViewModels/MainWindowViewModel.cs b/src/app/dev/DevToys.Business/ViewModels/MainWindowViewModel.cs
index 0522b5ffe..2e62f06c8 100644
--- a/src/app/dev/DevToys.Business/ViewModels/MainWindowViewModel.cs
+++ b/src/app/dev/DevToys.Business/ViewModels/MainWindowViewModel.cs
@@ -3,7 +3,6 @@ using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using CommunityToolkit.Mvvm.Messaging;
using DevToys.Api;
-using DevToys.Api.Core;
using DevToys.Business.Models;
using DevToys.Core.Models;
using DevToys.Core.Tools;
@@ -322,7 +321,9 @@ internal sealed partial class MainWindowViewModel : ObservableRecipient
}
}
- return HeaderAndBodyToolViewItems[0];
+ var firstItem = HeaderAndBodyToolViewItems[0];
+ Guard.IsNotNull(firstItem);
+ return firstItem;
}
private void OnChangeSelectedMenuItemMessageReceived(MainWindowViewModel vm, ChangeSelectedMenuItemMessage message)
diff --git a/src/app/dev/DevToys.Core/Logging/FileLoggerProvider.cs b/src/app/dev/DevToys.Core/Logging/FileLoggerProvider.cs
index 1afb58e24..82ab0745d 100644
--- a/src/app/dev/DevToys.Core/Logging/FileLoggerProvider.cs
+++ b/src/app/dev/DevToys.Core/Logging/FileLoggerProvider.cs
@@ -1,6 +1,5 @@
using System.Collections.Concurrent;
-using DevToys.Api.Core;
-using DevToys.Api.Core.Threading;
+using DevToys.Api;
using Microsoft.Extensions.Logging;
namespace DevToys.Core.Logging;
@@ -43,7 +42,7 @@ internal sealed class FileLoggerProvider : ILoggerProvider
_entryQueue.CompleteAdding();
try
{
- _processQueueTask.Wait(1500); // the same as in ConsoleLogger
+ _processQueueTask.Wait(1500); // the same as in ConsoleLogger
}
catch (TaskCanceledException) { }
catch (AggregateException ex) when (ex.InnerExceptions.Count == 1 && ex.InnerExceptions[0] is TaskCanceledException) { }
diff --git a/src/app/dev/DevToys.Core/Logging/LoggingBuilderExtensions.cs b/src/app/dev/DevToys.Core/Logging/LoggingBuilderExtensions.cs
index 1d0c0b88c..f42f370e0 100644
--- a/src/app/dev/DevToys.Core/Logging/LoggingBuilderExtensions.cs
+++ b/src/app/dev/DevToys.Core/Logging/LoggingBuilderExtensions.cs
@@ -1,4 +1,4 @@
-using DevToys.Api.Core;
+using DevToys.Api;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
diff --git a/src/app/dev/DevToys.Core/OSHelper.cs b/src/app/dev/DevToys.Core/OSHelper.cs
index 4607d8cd4..a0282d8e5 100644
--- a/src/app/dev/DevToys.Core/OSHelper.cs
+++ b/src/app/dev/DevToys.Core/OSHelper.cs
@@ -1,5 +1,4 @@
-using System.Runtime.InteropServices;
-using DevToys.Api;
+using DevToys.Api;
namespace DevToys.Core;
diff --git a/src/app/dev/DevToys.Core/Settings/PredefinedSettings.cs b/src/app/dev/DevToys.Core/Settings/PredefinedSettings.cs
index b715b0e08..98c769c50 100644
--- a/src/app/dev/DevToys.Core/Settings/PredefinedSettings.cs
+++ b/src/app/dev/DevToys.Core/Settings/PredefinedSettings.cs
@@ -1,5 +1,4 @@
using DevToys.Api;
-using DevToys.Api.Core.Theme;
namespace DevToys.Core.Settings;
diff --git a/src/app/dev/DevToys.Core/TitleBarMarginProvider.cs b/src/app/dev/DevToys.Core/TitleBarMarginProvider.cs
new file mode 100644
index 000000000..4e5800a81
--- /dev/null
+++ b/src/app/dev/DevToys.Core/TitleBarMarginProvider.cs
@@ -0,0 +1,19 @@
+using CommunityToolkit.Mvvm.ComponentModel;
+
+namespace DevToys.Core;
+
+[Export]
+public sealed partial class TitleBarMarginProvider : ObservableObject
+{
+ /// <summary>
+ /// Gets or sets margin of the title bar on the left.
+ /// </summary>
+ [ObservableProperty]
+ private int _titleBarMarginLeft = 0;
+
+ /// <summary>
+ /// Gets or sets margin of the title bar on the right.
+ /// </summary>
+ [ObservableProperty]
+ private int _titleBarMarginRight = 0;
+}
diff --git a/src/app/dev/DevToys.Core/Tools/GuiToolProvider.cs b/src/app/dev/DevToys.Core/Tools/GuiToolProvider.cs
index d4a097df8..266b68dc1 100644
--- a/src/app/dev/DevToys.Core/Tools/GuiToolProvider.cs
+++ b/src/app/dev/DevToys.Core/Tools/GuiToolProvider.cs
@@ -1,7 +1,6 @@
using System.Collections.ObjectModel;
using System.Reflection;
using DevToys.Api;
-using DevToys.Api.Core;
using DevToys.Core.Tools.Metadata;
using DevToys.Core.Tools.ViewItems;
using DevToys.Localization;
diff --git a/src/app/dev/DevToys.Core/Tools/SmartDetectionService.cs b/src/app/dev/DevToys.Core/Tools/SmartDetectionService.cs
index b8e761773..e20f64fbf 100644
--- a/src/app/dev/DevToys.Core/Tools/SmartDetectionService.cs
+++ b/src/app/dev/DevToys.Core/Tools/SmartDetectionService.cs
@@ -1,7 +1,5 @@
-using System;
-using DevToys.Api;
+using DevToys.Api;
using DevToys.Core.Tools.Metadata;
-using DevToys.Core.Tools.ViewItems;
using Microsoft.Extensions.Logging;
using Uno.Extensions;
diff --git a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditor.Windows.html b/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditor.Windows.html
deleted file mode 100644
index 9cced2165..000000000
--- a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditor.Windows.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <style>
- html, body {
- height: 100%;
- margin: 0;
- }
-
- /* Just have Monaco Fill All Available Space within control */
- #container {
- height: 100%;
- width: 100%;
- }
- </style>
-
- <script src="https://devtoys.local/monaco-editor/min/vs/loader.js"></script>
- <script src="https://devtoys.local/WasmScripts/UWP/uno-monaco-helpers.g.js"></script>
-</head>
-<body>
-
- <div id="container" onkeydown="keyDown(event)"></div>
-</body>
-</html>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditor.cs b/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditor.cs
deleted file mode 100644
index 178f398f2..000000000
--- a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditor.cs
+++ /dev/null
@@ -1,818 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using DevToys.Api;
-using DevToys.MonacoEditor.Extensions;
-using DevToys.MonacoEditor.Monaco;
-using DevToys.MonacoEditor.Monaco.Editor;
-using DevToys.MonacoEditor.Monaco.Helpers;
-using DevToys.MonacoEditor.WebInterop;
-using DevToys.UI.Framework.Controls;
-using DevToys.UI.Framework.Helpers;
-using Microsoft.Extensions.Logging;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.Web.WebView2.Core;
-using Uno.Extensions;
-using Windows.Foundation;
-using Windows.UI;
-using static System.Net.Mime.MediaTypeNames;
-using Range = DevToys.MonacoEditor.Monaco.Range;
-
-namespace DevToys.MonacoEditor;
-
-/// <summary>
-/// .NET wrapper for the Monaco CodeEditor
-/// https://microsoft.github.io/monaco-editor/
-/// </summary>
-[TemplatePart(Name = "View", Type = typeof(ICodeEditorPresenter))]
-[TemplateVisualState(Name = NormalState, GroupName = CommonStates)]
-[TemplateVisualState(Name = PointerOverState, GroupName = CommonStates)]
-[TemplateVisualState(Name = FocusedState, GroupName = CommonStates)]
-[TemplateVisualState(Name = DisabledState, GroupName = CommonStates)]
-public sealed partial class CodeEditor : Control, IParentAccessorAcceptor, IDisposable, IMonacoEditor
-{
- internal const string CommonStates = "CommonStates";
- internal const string NormalState = "Normal";
- internal const string PointerOverState = "PointerOver";
- internal const string FocusedState = "Focused";
- internal const string DisabledState = "Disabled";
-
- private static readonly IModelDecorationOptions HighlightedSpanStyle
- = new IModelDecorationOptions()
- {
- ClassName = new CssLineStyle()
- {
- BackgroundColor = Color.FromArgb(85, 234, 92, 0) // #55EA5C00
- }
- };
-
- private readonly ILogger _logger;
- private readonly ISettingsProvider _settingsProvider = Parts.SettingsProvider;
- private readonly DebugLogger _debugLogger = new();
- private readonly ThemeListener _themeListener = new();
- private readonly CssStyleBroker _cssBroker;
-
- private IReadOnlyList<TextSpan>? _spansToHighlight;
- private ICodeEditorPresenter? _view;
- private int _focusCount;
- private bool _initialized;
- private bool _refrainFromUpdatingOptionsInternally;
- private ModelHelper? _model;
-
- public CodeEditor()
- {
- _logger = this.Log();
- DefaultStyleKey = typeof(CodeEditor);
-
- ParentAccessor = new ParentAccessor(this);
- ParentAccessor.AddAssemblyForTypeLookup(typeof(Range).GetTypeInfo().Assembly);
- ParentAccessor.AddAssemblyForTypeLookup(typeof(TextSpan).GetTypeInfo().Assembly);
- ParentAccessor.RegisterAction("Loaded", OnMonacoEditorLoaded);
- ParentAccessor.RegisterAction("GotFocus", OnMonacoEditorGotFocus);
- ParentAccessor.RegisterAction("LostFocus", OnMonacoEditorLostFocus);
-
- _themeListener.ThemeChanged += ThemeListener_ThemeChanged;
-
- _cssBroker = new CssStyleBroker(this);
-
- Options = new StandaloneEditorConstructionOptions();
- DiffOptions = new DiffEditorConstructionOptions();
-
- Options.GlyphMargin = false;
- DiffOptions.GlyphMargin = false;
-
- Options.PropertyChanged += Options_PropertyChanged;
- DiffOptions.PropertyChanged += DiffOptions_PropertyChanged;
- _settingsProvider.SettingChanged += SettingsProvider_SettingChanged;
- }
-
- public static DependencyProperty IsEditorLoadedProperty { get; }
- = DependencyProperty.Register(
- nameof(IsEditorLoaded),
- typeof(string),
- typeof(CodeEditor),
- new PropertyMetadata(false));
-
- /// <summary>
- /// Gets whether the editor has been loaded or not.
- /// </summary>
- public bool IsEditorLoaded
- {
- get => (bool)GetValue(IsEditorLoadedProperty);
- private set => SetValue(IsEditorLoadedProperty, value);
- }
-
- public static DependencyProperty IsDiffViewModeProperty { get; }
- = DependencyProperty.Register(
- nameof(IsDiffViewMode),
- typeof(bool),
- typeof(CodeEditor),
- new PropertyMetadata(false));
-
- /// <summary>
- /// Gets or sets whether the CodeEditor is in Diff View mode.
- /// </summary>
- public bool IsDiffViewMode
- {
- get => (bool)GetValue(IsDiffViewModeProperty);
- set => SetValue(IsDiffViewModeProperty, value);
- }
-
- public static DependencyProperty TextProperty { get; }
- = DependencyProperty.Register(
- nameof(Text),
- typeof(string),
- typeof(CodeEditor),
- new PropertyMetadata(
- string.Empty,
- async (d, e) =>
- {
- if (d is CodeEditor codeEditor && codeEditor._initialized)
- {
- if (!codeEditor.IsSettingValue)
- {
- // link:otherScriptsToBeOrganized.ts:updateContent
- await codeEditor.InvokeScriptAsync("updateContent", e.NewValue.ToString() ?? string.Empty);
- }
- else
- {
- codeEditor.TextChanged?.Invoke(d, EventArgs.Empty);
- }
- }
- }));
-
- /// <summary>
- /// Gets or sets the CodeEditor Text.
- /// </summary>
- public string Text
- {
- get => (string)GetValue(TextProperty);
- set => SetValue(TextProperty, value);
- }
-
- public static DependencyProperty ReadOnlyProperty { get; }
- = DependencyProperty.Register(
- nameof(ReadOnly),
- typeof(bool),
- typeof(CodeEditor),
- new PropertyMetadata(
- false,
- (d, e) =>
- {
- if (d is not CodeEditor editor)
- {
- return;
- }
-
- if (editor.Options != null && editor._initialized)
- {
- editor.Options.ReadOnly = bool.Parse(e.NewValue?.ToString() ?? "false");
- }
-
- if (editor.DiffOptions != null && editor._initialized)
- {
- editor.DiffOptions.OriginalEditable = !bool.Parse(e.NewValue?.ToString() ?? "false");
- editor.DiffOptions.ReadOnly = bool.Parse(e.NewValue?.ToString() ?? "false");
- }
- }));
-
- public static DependencyProperty SelectedSpanProperty { get; }
- = DependencyProperty.Register(
- nameof(SelectedSpan),
- typeof(TextSpan),
- typeof(CodeEditor),
- new PropertyMetadata(
- new TextSpan(0, 0),
- async (d, e) =>
- {
- if (d is CodeEditor codeEditor && codeEditor._initialized)
- {
- if (!codeEditor.IsSettingValue)
- {
- // link:updateSelection.ts:updateSelectedSpan
- await codeEditor.InvokeScriptAsync("updateSelectedSpan", e.NewValue ?? new TextSpan(0, 0));
- }
- else
- {
- codeEditor.SelectedSpanChanged?.Invoke(d, EventArgs.Empty);
- }
- }
- }));
-
- /// <summary>
- /// Gets the current selection in the editor, or replace the current selection by the given span.
- /// </summary>
- public TextSpan SelectedSpan
- {
- get => (TextSpan)GetValue(SelectedSpanProperty);
- set => SetValue(SelectedSpanProperty, value);
- }
-
- /// <summary>
- /// Gets or sets whether the editor is read-only.
- /// </summary>
- public bool ReadOnly
- {
- get => (bool)GetValue(ReadOnlyProperty);
- set => SetValue(ReadOnlyProperty, value);
- }
-
- public static DependencyProperty CodeLanguageProperty { get; }
- = DependencyProperty.Register(
- nameof(CodeLanguage),
- typeof(string),
- typeof(CodeEditor),
- new PropertyMetadata(
- string.Empty,
- (d, e) =>
- {
- if (d is not CodeEditor editor)
- {
- return;
- }
-
- if (editor.Options != null && editor._initialized)
- {
- editor.Options.Language = e.NewValue.ToString();
- editor.Options.Folding = !string.IsNullOrWhiteSpace(editor.Options.Language) && !string.Equals("text", editor.Options.Language, StringComparison.OrdinalIgnoreCase);
- }
- }));
-
- /// <summary>
- /// Set the Syntax Language for the editor.
- /// Note: Most likely to change or move location.
- /// </summary>
- public string? CodeLanguage
- {
- get => (string?)GetValue(CodeLanguageProperty);
- set => SetValue(CodeLanguageProperty, value);
- }
-
- public static DependencyProperty OptionsProperty { get; } = DependencyProperty.Register(
- nameof(Options),
- typeof(StandaloneEditorConstructionOptions),
- typeof(CodeEditor),
- new PropertyMetadata(
- null,
- (d, e) =>
- {
- if (d is CodeEditor editor)
- {
- if (e.OldValue is StandaloneEditorConstructionOptions oldValue)
- {
- oldValue.PropertyChanged -= editor.Options_PropertyChanged;
- }
-
- if (e.NewValue is StandaloneEditorConstructionOptions value)
- {
- value.PropertyChanged += editor.Options_PropertyChanged;
- }
- }
- }));
-
- /// <summary>
- /// Gets the CodeEditor Options.
- /// </summary>
- public StandaloneEditorConstructionOptions Options
- {
- get => (StandaloneEditorConstructionOptions)GetValue(OptionsProperty);
- private set => SetValue(OptionsProperty, value);
- }
-
- public static DependencyProperty DiffLeftTextProperty { get; }
- = DependencyProperty.Register(
- nameof(DiffLeftText),
- typeof(string),
- typeof(CodeEditor),
- new PropertyMetadata(
- string.Empty,
- (d, e) =>
- {
- var codeEditor = (CodeEditor)d;
- if (!codeEditor.IsSettingValue && codeEditor.IsDiffViewMode)
- {
- _ = codeEditor.InvokeScriptAsync("updateDiffContent", new object[] { e.NewValue.ToString() ?? string.Empty, codeEditor.DiffRightText });
- }
- }));
-
- /// <summary>
- /// Gets or sets the text to display in the left pane of the side-by-side diff view.
- /// </summary>
- public string DiffLeftText
- {
- get => (string)GetValue(DiffLeftTextProperty);
- set => SetValue(DiffLeftTextProperty, value);
- }
-
- public static DependencyProperty DiffRightTextProperty { get; }
- = DependencyProperty.Register(
- nameof(DiffRightText),
- typeof(string),
- typeof(CodeEditor),
- new PropertyMetadata(
- string.Empty,
- (d, e) =>
- {
- var codeEditor = (CodeEditor)d;
- if (!codeEditor.IsSettingValue && codeEditor.IsDiffViewMode)
- {
- _ = codeEditor.InvokeScriptAsync("updateDiffContent", new object[] { codeEditor.DiffLeftText, e.NewValue.ToString() ?? string.Empty });
- }
- }));
-
- /// <summary>
- /// Gets or sets the text to display in the right pane of the side-by-side diff view.
- /// </summary>
- public string DiffRightText
- {
- get => (string)GetValue(DiffRightTextProperty);
- set => SetValue(DiffRightTextProperty, value);
- }
-
- public static DependencyProperty DiffOptionsProperty { get; }
- = DependencyProperty.Register(
- nameof(DiffOptions),
- typeof(DiffEditorConstructionOptions),
- typeof(CodeEditor),
- new PropertyMetadata(
- null,
- (d, e) =>
- {
- if (d is CodeEditor editor)
- {
- if (e.OldValue is DiffEditorConstructionOptions oldValue)
- {
- oldValue.PropertyChanged -= editor.DiffOptions_PropertyChanged;
- }
-
- if (e.NewValue is DiffEditorConstructionOptions value)
- {
- value.PropertyChanged += editor.DiffOptions_PropertyChanged;
- }
- }
- }));
-
- /// <summary>
- /// Get or set the CodeEditorCore Options.
- /// </summary>
- public DiffEditorConstructionOptions DiffOptions
- {
- get => (DiffEditorConstructionOptions)GetValue(DiffOptionsProperty);
- set => SetValue(DiffOptionsProperty, value);
- }
-
- public bool IsSettingValue { get; set; }
-
- public Control UIHost => this;
-
- internal ParentAccessor ParentAccessor { get; }
-
- /// <summary>
- /// When Editor is Loaded, it has been rendered and is ready to be displayed.
- /// </summary>
- public event RoutedEventHandler? EditorLoaded;
-
- /// <summary>
- /// Called when an internal exception is encountered while executing a command. (for testing/reporting issues)
- /// </summary>
- public event TypedEventHandler<CodeEditor, Exception>? InternalException;
-
- /// <summary>
- /// Called when a link is Ctrl+Clicked on in the editor, set Handled to true to prevent opening.
- /// </summary>
- public event TypedEventHandler<CodeEditor, CoreWebView2NewWindowRequestedEventArgs>? OpenLinkRequested;
-
- public event EventHandler? TextChanged;
-
- public event EventHandler? SelectedSpanChanged;
-
-#if HAS_UNO
- public new void Dispose()
-#else
- public void Dispose()
-#endif
- {
- ParentAccessor.Dispose();
- _cssBroker.Dispose();
- }
-
- public async Task HighlightSpansAsync(IReadOnlyList<TextSpan>? spans)
- {
- if (!_initialized)
- {
- _spansToHighlight = spans;
- return;
- }
-
- var newDecorationsAdjust = new List<IModelDeltaDecoration>();
-
- if (spans is not null)
- {
- for (int i = 0; i < spans.Count; i++)
- {
- TextSpan span = spans[i];
- if (span.StartPosition + span.Length < Text.Length)
- {
- Position? startPosition = await GetModel().GetPositionAtAsync((uint)span.StartPosition);
- Position? endPosition = await GetModel().GetPositionAtAsync((uint)(span.StartPosition + span.Length));
- if (startPosition is not null && endPosition is not null)
- {
- newDecorationsAdjust.Add(
- new IModelDeltaDecoration(
- new Range(
- startPosition.LineNumber,
- startPosition.Column,
- endPosition.LineNumber,
- endPosition.Column),
- HighlightedSpanStyle));
- }
- }
- }
- }
-
- if (_cssBroker.AssociateStyles(newDecorationsAdjust))
- {
- // Update Styles First
- await InvokeScriptAsync("updateStyle", _cssBroker.GetStyles());
- }
-
- // Send Command to Modify Decorations
- // IMPORTANT: Need to cast to object here as we want this to be a single array object passed as a parameter, not a list of parameters to expand.
- await InvokeScriptAsync("updateDecorations", (object)newDecorationsAdjust);
- }
-
- internal IModel GetModel()
- {
- return _model ?? throw new NotSupportedException($"Model is not available");
- }
-
- internal async Task SendScriptAsync(
- string script,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- await SendScriptAsync<object>(script, member, file, line);
- }
-
- internal async Task<T?> SendScriptAsync<T>(
- string script,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- if (_initialized)
- {
- Guard.IsNotNull(_view);
- try
- {
- return await _view.RunScriptAsync<T>(script, serializeResult: false, member, file, line);
- }
- catch (Exception e)
- {
- LogInternalError(e);
- InternalException?.Invoke(this, e);
- }
- }
- else
- {
- if (Debugger.IsAttached)
- {
- Debug.WriteLine("WARNING: Tried to call '" + script + "' before initialized.");
- }
- }
-
- return default;
- }
-
- internal async Task InvokeScriptAsync(
- string method,
- object arg,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- await InvokeScriptAsync<object>(method, new object[] { arg }, serialize, member, file, line);
- }
-
- internal async Task InvokeScriptAsync(
- string method,
- object[] args,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- await InvokeScriptAsync<object>(method, args, serialize, member, file, line);
- }
-
- internal async Task<T?> InvokeScriptAsync<T>(
- string method,
- object arg,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- return await InvokeScriptAsync<T?>(method, new object[] { arg }, serialize, member, file, line);
- }
-
- internal async Task<T?> InvokeScriptAsync<T>(
- string method,
- object[] args,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- if (_initialized)
- {
- Guard.IsNotNull(_view);
- try
- {
- return await _view.InvokeScriptAsync<T>(method, args, serialize, member, file, line);
- }
- catch (Exception e)
- {
- LogInternalError(e);
- InternalException?.Invoke(this, e);
- }
- }
- else
- {
- if (Debugger.IsAttached)
- {
- Debug.WriteLine("WARNING: Tried to call '" + method + "' before initialized.");
- }
- }
-
- return default;
- }
-
- protected override void OnApplyTemplate()
- {
- if (_view is not null)
- {
- _view.NavigationStarting -= WebView_NavigationStarting;
- _view.DOMContentLoaded -= WebView_DOMContentLoaded;
- _view.NavigationCompleted -= WebView_NavigationCompleted;
- _view.NewWindowRequested -= WebView_NewWindowRequested;
- _view.DotNetObjectInjectionRequested -= WebView_DotNetObjectInjectionRequested;
- Debug.WriteLine("Setting initialized - false");
- _initialized = false;
- }
-
- Guard.IsFalse(_initialized);
- _view = (ICodeEditorPresenter)GetTemplateChild("View");
-
- if (_view is not null)
- {
- _view.NavigationStarting += WebView_NavigationStarting;
- _view.DOMContentLoaded += WebView_DOMContentLoaded;
- _view.NavigationCompleted += WebView_NavigationCompleted;
- _view.NewWindowRequested += WebView_NewWindowRequested;
- _view.DotNetObjectInjectionRequested += WebView_DotNetObjectInjectionRequested;
-
- base.OnApplyTemplate();
-
- _view.LaunchAsync().Forget();
- }
- }
-
- protected override void OnGotFocus(RoutedEventArgs e)
- {
- base.OnGotFocus(e);
-
- GiveFocusToInnerEditor();
- }
-
- private void Options_PropertyChanged(object? sender, PropertyChangedEventArgs e)
- {
- if (sender is not StandaloneEditorConstructionOptions options || IsDiffViewMode || !_initialized)
- {
- return;
- }
-
- if (e.PropertyName == nameof(StandaloneEditorConstructionOptions.Language))
- {
- InvokeScriptAsync("updateLanguage", options.Language ?? string.Empty).Forget();
- if (CodeLanguage != options.Language)
- {
- CodeLanguage = options.Language;
- }
- }
-
- if (e.PropertyName == nameof(StandaloneEditorConstructionOptions.ReadOnly))
- {
- if (ReadOnly != options.ReadOnly)
- {
- options.ReadOnly = ReadOnly;
- }
- }
-
- if (!_refrainFromUpdatingOptionsInternally)
- {
- InvokeScriptAsync("updateOptions", options).Forget();
- }
- }
-
- private void DiffOptions_PropertyChanged(object? sender, PropertyChangedEventArgs e)
- {
- if (sender is not DiffEditorConstructionOptions options || !IsDiffViewMode || !_initialized)
- {
- return;
- }
-
- if (e.PropertyName == nameof(DiffEditorConstructionOptions.ReadOnly))
- {
- if (ReadOnly != options.ReadOnly)
- {
- options.ReadOnly = ReadOnly;
- }
- }
-
- if (!_refrainFromUpdatingOptionsInternally)
- {
- InvokeScriptAsync("updateDiffOptions", options).Forget();
- }
- }
-
- private void ThemeListener_ThemeChanged(ThemeListener sender)
- {
- InvokeScriptAsync(
- "setTheme",
- args: new string[] { sender.AccentColorHtmlHex })
- .Forget();
- InvokeScriptAsync(
- "changeTheme",
- args: new object[] { sender.CurrentTheme.ToString(), sender.IsHighContrast, IsFocusEngaged })
- .Forget();
- }
-
- private void SettingsProvider_SettingChanged(object? sender, SettingChangedEventArgs e)
- {
- if (e.SettingName.Contains("TextEditor"))
- {
- ApplySettings();
- }
- }
-
- private async Task WebView_DotNetObjectInjectionRequested(ICodeEditorPresenter sender, EventArgs args)
- {
- Guard.IsNotNull(_view);
- Guard.IsFalse(_initialized);
-
- var tasks = new List<Task>
- {
- _view.InjectDotNetObjectToWebPageAsync("Debug", _debugLogger),
- _view.InjectDotNetObjectToWebPageAsync("Accessor", ParentAccessor),
- _view.InjectDotNetObjectToWebPageAsync("Theme", _themeListener)
- };
-
- await Task.WhenAll(tasks);
- }
-
- private void WebView_NavigationStarting(ICodeEditorPresenter sender, CoreWebView2NavigationStartingEventArgs args)
- {
- }
-
- private void WebView_NavigationCompleted(ICodeEditorPresenter sender, CoreWebView2NavigationCompletedEventArgs args)
- {
- }
-
- private void WebView_DOMContentLoaded(ICodeEditorPresenter sender, CoreWebView2DOMContentLoadedEventArgs args)
- {
- }
-
- private void WebView_NewWindowRequested(ICodeEditorPresenter sender, CoreWebView2NewWindowRequestedEventArgs args)
- {
- // TODO: Should probably create own event args here as we don't want to expose the referrer to our internal page?
- OpenLinkRequested?.Invoke(this, args);
- }
-
- private void OnMonacoEditorGotFocus()
- {
- _focusCount++;
- if (_focusCount > 0)
- {
- InvokeScriptAsync(
- "changeTheme",
- args: new object[] { _themeListener.CurrentTheme.ToString(), _themeListener.IsHighContrast, true })
- .Forget();
- VisualStateManager.GoToState(this, FocusedState, false);
- }
- }
-
- private void OnMonacoEditorLostFocus()
- {
- _focusCount = Math.Max(0, _focusCount - 1);
- if (_focusCount == 0)
- {
- InvokeScriptAsync(
- "changeTheme",
- args: new object[] { _themeListener.CurrentTheme.ToString(), _themeListener.IsHighContrast, false })
- .Forget();
- VisualStateManager.GoToState(this, NormalState, false);
- }
- }
-
- private void OnMonacoEditorLoaded()
- {
- _model = new ModelHelper(this);
-
- _initialized = true;
-
- // Update theme
- InvokeScriptAsync(
- "setTheme",
- args: new string[] { _themeListener!.AccentColorHtmlHex })
- .Forget();
- InvokeScriptAsync(
- "changeTheme",
- new object[] { _themeListener.CurrentTheme.ToString(), _themeListener.IsHighContrast, IsFocusEngaged })
- .Forget();
-
- // Update options.
- _refrainFromUpdatingOptionsInternally = true;
-
- Options.SmoothScrolling = true;
- Options.GlyphMargin = false;
- Options.MouseWheelZoom = false;
- Options.OverviewRulerBorder = false;
- Options.ScrollBeyondLastLine = false;
- Options.FontLigatures = false;
- Options.SnippetSuggestions = SnippetSuggestions.None;
- Options.CodeLens = true;
- Options.QuickSuggestions = false;
- Options.WordBasedSuggestions = false;
- Options.Minimap = new EditorMinimapOptions() { Enabled = false };
- Options.ShowFoldingControls = Show.Always;
- Options.ReadOnly = ReadOnly;
- Options.Language = CodeLanguage;
- Options.Folding = !string.IsNullOrWhiteSpace(CodeLanguage) && !string.Equals("text", CodeLanguage, StringComparison.OrdinalIgnoreCase);
- DiffOptions.SmoothScrolling = true;
- DiffOptions.GlyphMargin = false;
- DiffOptions.MouseWheelZoom = false;
- DiffOptions.OverviewRulerBorder = false;
- DiffOptions.ScrollBeyondLastLine = false;
- DiffOptions.FontLigatures = false;
- DiffOptions.SnippetSuggestions = SnippetSuggestions.None;
- DiffOptions.CodeLens = true;
- DiffOptions.QuickSuggestions = false;
- DiffOptions.ShowFoldingControls = Show.Always;
- DiffOptions.OriginalEditable = !ReadOnly;
- DiffOptions.ReadOnly = ReadOnly;
-
- ApplySettings();
-
- _refrainFromUpdatingOptionsInternally = false;
- if (IsDiffViewMode)
- {
- InvokeScriptAsync("updateDiffOptions", DiffOptions).Forget();
- }
- else
- {
- InvokeScriptAsync("updateOptions", Options).Forget();
- }
-
- // Set text, selection, highlighted spans that may have been set but not sent to the editor yet.
- InvokeScriptAsync("updateContent", Text ?? string.Empty).Forget();
- InvokeScriptAsync("updateSelectedSpan", SelectedSpan).Forget();
- HighlightSpansAsync(_spansToHighlight).Forget();
-
- // We're done loading Monaco Editor.
- IsEditorLoaded = true;
- EditorLoaded?.Invoke(this, new RoutedEventArgs());
- }
-
- private void ApplySettings()
- {
- Options.WordWrapMinified = _settingsProvider.GetSetting(PredefinedSettings.TextEditorTextWrapping);
- Options.WordWrap = _settingsProvider.GetSetting(PredefinedSettings.TextEditorTextWrapping) ? WordWrap.On : WordWrap.Off;
- Options.LineNumbers = _settingsProvider.GetSetting(PredefinedSettings.TextEditorLineNumbers) ? LineNumbersType.On : LineNumbersType.Off;
- Options.RenderLineHighlight = _settingsProvider.GetSetting(PredefinedSettings.TextEditorHighlightCurrentLine) ? RenderLineHighlight.All : RenderLineHighlight.None;
- Options.RenderWhitespace = _settingsProvider.GetSetting(PredefinedSettings.TextEditorRenderWhitespace) ? RenderWhitespace.All : RenderWhitespace.None;
- Options.FontFamily = _settingsProvider.GetSetting(PredefinedSettings.TextEditorFont);
- DiffOptions.WordWrapMinified = _settingsProvider.GetSetting(PredefinedSettings.TextEditorTextWrapping);
- DiffOptions.WordWrap = _settingsProvider.GetSetting(PredefinedSettings.TextEditorTextWrapping) ? WordWrap.On : WordWrap.Off;
- DiffOptions.LineNumbers = _settingsProvider.GetSetting(PredefinedSettings.TextEditorLineNumbers) ? LineNumbersType.On : LineNumbersType.Off;
- DiffOptions.RenderLineHighlight = _settingsProvider.GetSetting(PredefinedSettings.TextEditorHighlightCurrentLine) ? RenderLineHighlight.All : RenderLineHighlight.None;
- DiffOptions.RenderWhitespace = _settingsProvider.GetSetting(PredefinedSettings.TextEditorRenderWhitespace) ? RenderWhitespace.All : RenderWhitespace.None;
- DiffOptions.FontFamily = _settingsProvider.GetSetting(PredefinedSettings.TextEditorFont);
- }
-
- private void GiveFocusToInnerEditor()
- {
- if (_initialized)
- {
- // Make sure inner editor is focused
- Guard.IsNotNull(_view);
- _view.Focus(FocusState.Programmatic);
- SendScriptAsync("editorContext.editor.focus();").Forget();
- }
- }
-
- [LoggerMessage(2, LogLevel.Error, "An error occured related to the Monaco Editor.")]
- partial void LogInternalError(Exception ex);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.MacCatalyst.cs b/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.MacCatalyst.cs
deleted file mode 100644
index 11e03104d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.MacCatalyst.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-#if __MACCATALYST__
-
-//using DevToys.HighlightRBindingLibrary;
-using System.Reflection;
-using Windows.Foundation;
-using DevToys.MonacoEditor.HighlightJs;
-using DevToys.UI.Framework.Threading;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.Web.WebView2.Core;
-using DispatcherQueue = Windows.UI.Core.CoreDispatcher;
-
-namespace DevToys.MonacoEditor;
-
-/// <summary>
-/// Provides a WebView that displays the Monaco Editor.
-/// </summary>
-public sealed partial class CodeEditorPresenter : UserControl, ICodeEditorPresenter
-{
- private readonly CodeAttributedString _textStorage;
- private readonly TextBox _textBox = new();
-
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NewWindowRequestedEventArgs>? NewWindowRequested;
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationStartingEventArgs>? NavigationStarting;
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2DOMContentLoadedEventArgs>? DOMContentLoaded;
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationCompletedEventArgs>? NavigationCompleted;
- public event AsyncTypedEventHandler<ICodeEditorPresenter, EventArgs>? DotNetObjectInjectionRequested;
- public event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? GotFocus;
- public event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? LostFocus;
-
- public CodeEditorPresenter()
- {
- _textStorage = new CodeAttributedString(this.DispatcherQueue);
-
- _textBox.IsSpellCheckEnabled = false;
- _textBox.AcceptsReturn = false;
- _textBox.TextWrapping = TextWrapping.WrapWholeWords;
- _textBox.HorizontalAlignment = HorizontalAlignment.Stretch;
- _textBox.VerticalAlignment = VerticalAlignment.Stretch;
- _textBox.Loaded += TextBox_Loaded;
- this.Content = _textBox;
- }
-
- public Task LaunchAsync()
- {
- return Task.CompletedTask;
- }
-
- public Task InjectDotNetObjectToWebPageAsync<T>(string name, T pObject)
- {
- return Task.CompletedTask;
- }
-
- public Task<string> InvokeScriptAsync(string script)
- {
- return Task.FromResult(string.Empty);
- }
-
- private void TextBox_Loaded(object sender, RoutedEventArgs e)
- {
- var textBoxView
- = _textBox
- .GetType()
- .GetField("_textBoxView", BindingFlags.NonPublic | BindingFlags.Instance)
- ?.GetValue(_textBox) as ITextBoxView;
- Guard.IsNotNull(textBoxView);
-
- textBoxView.AutocapitalizationType = UITextAutocapitalizationType.None;
- textBoxView.AutocorrectionType = UITextAutocorrectionType.No;
-
- _textStorage.Language = "json";
-
- if (textBoxView is MultilineTextBoxView multilineTextBoxView)
- {
- multilineTextBoxView.FindInteractionEnabled = true;
- multilineTextBoxView.SpellCheckingType = UITextSpellCheckingType.No;
- multilineTextBoxView.DataDetectorTypes = UIDataDetectorType.None;
- multilineTextBoxView.SmartQuotesType = UITextSmartQuotesType.No;
- multilineTextBoxView.SmartDashesType = UITextSmartDashesType.No;
- multilineTextBoxView.SmartInsertDeleteType = UITextSmartInsertDeleteType.No;
- _textStorage.AddLayoutManager(multilineTextBoxView.LayoutManager);
- }
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.Wasm.cs b/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.Wasm.cs
deleted file mode 100644
index 7e8390d23..000000000
--- a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.Wasm.cs
+++ /dev/null
@@ -1,190 +0,0 @@
-#if __WASM__
-
-using System.Reflection;
-using DevToys.Api;
-using DevToys.UI.Framework.Threading;
-using Microsoft.Extensions.Logging;
-using Microsoft.UI;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Media;
-using Microsoft.Web.WebView2.Core;
-using Uno.Extensions;
-using Uno.Foundation.Interop;
-using Uno.Logging;
-using Uno.UI.Runtime.WebAssembly;
-using Windows.Foundation;
-
-namespace DevToys.MonacoEditor;
-
-/// <summary>
-/// Provides a <div> object in the app's web page that will show the Monaco Editor.
-/// </summary>
-[HtmlElement("div")]
-public sealed partial class CodeEditorPresenter : Control, ICodeEditorPresenter, IJSObject
-{
- private static readonly string UNO_BOOTSTRAP_APP_BASE = Environment.GetEnvironmentVariable(nameof(UNO_BOOTSTRAP_APP_BASE)) ?? string.Empty;
- private static readonly string UNO_BOOTSTRAP_WEBAPP_BASE_PATH = Environment.GetEnvironmentVariable(nameof(UNO_BOOTSTRAP_WEBAPP_BASE_PATH)) ?? string.Empty;
-
- private readonly JSObjectHandle _handle;
- private readonly ILogger? _debugLogger;
- private readonly ILogger? _informationLogger;
- private readonly ILogger? _errorLogger;
- private readonly string _htmlId;
-
- public CodeEditorPresenter()
- {
- Guard.IsNotNullOrEmpty(UNO_BOOTSTRAP_APP_BASE);
-
- Background = new SolidColorBrush(Colors.Transparent);
- _handle = JSObjectHandle.Create(this);
-
- _htmlId = this.GetHtmlId();
-
- ILogger logger = this.Log();
- _debugLogger = logger.IsEnabled(LogLevel.Debug) ? logger : null;
- _informationLogger = logger.IsEnabled(LogLevel.Information) ? logger : null;
- _errorLogger = logger.IsEnabled(LogLevel.Error) ? logger : null;
- }
-
- /// <inheritdoc />
- JSObjectHandle IJSObject.Handle => _handle;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NewWindowRequestedEventArgs>? NewWindowRequested;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationStartingEventArgs>? NavigationStarting;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2DOMContentLoadedEventArgs>? DOMContentLoaded;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationCompletedEventArgs>? NavigationCompleted;
-
- /// <inheritdoc />
- public event AsyncTypedEventHandler<ICodeEditorPresenter, EventArgs>? DotNetObjectInjectionRequested;
-
- /// <inheritdoc />
- public new event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? GotFocus;
-
- /// <inheritdoc />
- public new event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? LostFocus;
-
- public async Task LaunchAsync()
- {
- await TaskSchedulerAwaiter.SwitchOffMainThreadAsync(CancellationToken.None);
-
- _informationLogger?.Info($"{nameof(LaunchAsync)}: Startup");
-
- NavigationStarting?.Invoke(this, new CoreWebView2NavigationStartingEventArgs());
- DOMContentLoaded?.Invoke(this, new CoreWebView2DOMContentLoadedEventArgs());
-
- // Request to inject .NET web object into the web page.
- Guard.IsNotNull(DotNetObjectInjectionRequested);
- await DotNetObjectInjectionRequested.Invoke(this, EventArgs.Empty);
-
- try
- {
- _informationLogger?.Info($"{nameof(LaunchAsync)}: Creating Monaco Editor");
-
- string monacoEditorJavaScriptEntryPoint = $@"createMonacoEditor('{UNO_BOOTSTRAP_WEBAPP_BASE_PATH}{UNO_BOOTSTRAP_APP_BASE}/devtoys.monacoeditor', element)";
- this.ExecuteJavascript(monacoEditorJavaScriptEntryPoint);
-
- _informationLogger?.Info($"{nameof(LaunchAsync)}: Monaco Editor created successfully");
- }
- catch (Exception e)
- {
- _errorLogger?.Error($"{nameof(LaunchAsync)} failed", e);
- }
-
- NavigationCompleted?.Invoke(this, new CoreWebView2NavigationCompletedEventArgs());
- }
-
- public async Task InjectDotNetObjectToWebPageAsync<T>(string name, T pObject)
- {
- await TaskSchedulerAwaiter.SwitchOffMainThreadAsync(CancellationToken.None);
-
- _debugLogger?.Debug($"{nameof(InjectDotNetObjectToWebPageAsync)}: Trying to inject .NET object in web page - {name}");
- if (pObject is IJSObject obj)
- {
- MethodInfo? method = obj.Handle.GetType().GetMethod("GetNativeInstance", BindingFlags.NonPublic | BindingFlags.Instance);
- if (method is null)
- {
- _errorLogger?.Error($"{nameof(InjectDotNetObjectToWebPageAsync)}: GetNativeInstance method doesn't exist.");
- return;
- }
-
- string? native = method.Invoke(obj.Handle, Array.Empty<object>()) as string;
- _debugLogger?.Debug($"{nameof(InjectDotNetObjectToWebPageAsync)}: Native handle {native} - {name}");
-
- string injectorScript
- = @$"
- var value = {native};
- var frame = Uno.UI.WindowManager.current.getView({_htmlId});
- var editorContext = EditorContext.getEditorForElement(frame);
- editorContext.{name} = value
- ";
-
- try
- {
- this.ExecuteJavascript(injectorScript);
- _debugLogger?.Debug($"{nameof(InjectDotNetObjectToWebPageAsync)}: '{name}' injected successfully.");
- }
- catch (Exception ex)
- {
- _errorLogger?.Error($"{nameof(InjectDotNetObjectToWebPageAsync)} failed - {name}", ex);
- }
- }
- else
- {
- _errorLogger?.Error($"{nameof(InjectDotNetObjectToWebPageAsync)}: '{name}' is not a JSObject");
- throw new InvalidOperationException($"{nameof(InjectDotNetObjectToWebPageAsync)}: '{name}' is not a JSObject");
- }
- }
-
- public async Task<string> InvokeScriptAsync(string script)
- {
- await TaskSchedulerAwaiter.SwitchOffMainThreadAsync(CancellationToken.None);
-
- script = $@"
- (function() {{
- try {{
- window.__evalMethod = function() {{
- let frame = Uno.UI.WindowManager.current.getView({_htmlId});
- let editorContext = EditorContext.getEditorForElement(frame);
- {script}
- }};
-
- return window.eval(""__evalMethod()"") || """";
- }}
- catch(err){{
- let frame = Uno.UI.WindowManager.current.getView({_htmlId});
- let editorContext = EditorContext.getEditorForElement(frame);
- editorContext.Debug.log(err);
- }}
- finally {{
- window.__evalMethod = null;
- }}
- }})()";
-
- _debugLogger?.Debug($"Invoking script");
-
- try
- {
- string result = this.ExecuteJavascript(script);
-
- _debugLogger?.Debug($"Invoke Script result: {result}");
-
- return result;
- }
- catch (Exception e)
- {
- _errorLogger?.Error("Invoke Script failed", e);
-
- return string.Empty;
- }
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.Windows.cs b/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.Windows.cs
deleted file mode 100644
index bad366f38..000000000
--- a/src/app/dev/DevToys.MonacoEditor/CodeEditor/CodeEditorPresenter.Windows.cs
+++ /dev/null
@@ -1,442 +0,0 @@
-#if __WINDOWS__
-
-using System.Reflection;
-using System.Text;
-using DevToys.UI.Framework.Threading;
-using Microsoft.Extensions.Logging;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.Web.WebView2.Core;
-using Newtonsoft.Json;
-using Uno.Extensions;
-using Uno.Logging;
-using Windows.Foundation;
-using Microsoft.UI.Dispatching;
-using Microsoft.UI.Xaml;
-using System.Runtime.CompilerServices;
-using Microsoft.UI.Xaml.Media;
-
-namespace DevToys.MonacoEditor;
-
-/// <summary>
-/// Provides a WebView that displays the Monaco Editor.
-/// </summary>
-public sealed partial class CodeEditorPresenter : UserControl, ICodeEditorPresenter
-{
- private static readonly List<TypedEventHandler<WebView2, CoreWebView2WebMessageReceivedEventArgs>> handlers = new();
-
- private enum PropertyAction
- {
- Read = 0,
- Write = 1,
- }
-
- private struct WebMessage
- {
- public Guid Guid { get; set; }
- }
-
- private struct MethodWebMessage
- {
- public string Id { get; set; }
- public string Method { get; set; }
- public string Args { get; set; }
- }
-
- private struct PropertyWebMessage
- {
- public string Id { get; set; }
- public string Property { get; set; }
- public PropertyAction Action { get; set; }
- public string Value { get; set; }
- }
-
- private readonly ILogger? _logger;
-
- private readonly WebView2 _webView = new();
-
- public CodeEditorPresenter()
- {
- _logger = this.Log();
-
- // Fill the WebView2 with ControlFillColorInputActive.
- var controlFillColorInputActive = (Windows.UI.Color)Application.Current.Resources["ControlFillColorInputActive"];
- Environment.SetEnvironmentVariable("WEBVIEW2_DEFAULT_BACKGROUND_COLOR", $"{controlFillColorInputActive.R:X2}{controlFillColorInputActive.G:X2}{controlFillColorInputActive.B:X2}");
-
- Content = _webView;
-
- this.Visibility = Visibility.Collapsed;
- _webView.AllowFocusOnInteraction = true;
- _webView.CoreWebView2Initialized += WebView_CoreWebView2Initialized;
- }
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NewWindowRequestedEventArgs>? NewWindowRequested;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationStartingEventArgs>? NavigationStarting;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2DOMContentLoadedEventArgs>? DOMContentLoaded;
-
- /// <inheritdoc />
- public event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationCompletedEventArgs>? NavigationCompleted;
-
- /// <inheritdoc />
- public event AsyncTypedEventHandler<ICodeEditorPresenter, EventArgs>? DotNetObjectInjectionRequested;
-
- /// <inheritdoc />
- public new event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? GotFocus;
-
- /// <inheritdoc />
- public new event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? LostFocus;
-
- public async Task LaunchAsync()
- {
- await _webView.EnsureCoreWebView2Async();
-
- _webView.CoreWebView2.Settings.IsZoomControlEnabled = false;
- _webView.CoreWebView2.Settings.IsPinchZoomEnabled = false;
- _webView.CoreWebView2.Settings.IsSwipeNavigationEnabled = false;
- _webView.CoreWebView2.Settings.IsStatusBarEnabled = false;
- _webView.CoreWebView2.Settings.IsPasswordAutosaveEnabled = false;
- _webView.CoreWebView2.Settings.IsGeneralAutofillEnabled = false;
- _webView.CoreWebView2.Settings.AreDefaultContextMenusEnabled = false;
-#if !DEBUG
- _webView.CoreWebView2.Settings.AreBrowserAcceleratorKeysEnabled = false;
- _webView.CoreWebView2.Settings.AreDevToolsEnabled = false;
-#endif
-
- string path = Path.Combine(AppContext.BaseDirectory, "DevToys.MonacoEditor", "CodeEditor", "CodeEditor.Windows.html");
- if (!File.Exists(path))
- {
- path = Path.Combine(AppContext.BaseDirectory, "CodeEditor", "CodeEditor.Windows.html");
- Debug.Assert(File.Exists(path));
- }
-
- string rootDirectory = Directory.GetParent(path)!.Parent!.FullName;
-
- _webView.CoreWebView2.SetVirtualHostNameToFolderMapping(
- hostName: "devtoys.local",
- folderPath: rootDirectory,
- CoreWebView2HostResourceAccessKind.Allow);
-
- var tcs = new TaskCompletionSource<bool>();
- _webView.CoreWebView2.DOMContentLoaded += OnDOMContentLoaded;
- _webView.Source = new Uri("https://devtoys.local/CodeEditor/CodeEditor.Windows.html");
-
- await tcs.Task;
-
- // Request to inject .NET web object into the web page.
- Guard.IsNotNull(DotNetObjectInjectionRequested);
- await DotNetObjectInjectionRequested.Invoke(this, EventArgs.Empty);
-
- try
- {
- LogCreatingMonacoEditor();
-
- await _webView.ExecuteScriptAsync("createMonacoEditor(\"https://devtoys.local/\", document.getElementById('container'));");
-
- LogMonacoEditorCreated();
- }
- catch (Exception e)
- {
- LogMonacoEditorFailedToBeCreated(e);
- }
-
- this.Visibility = Visibility.Visible;
-
- void OnDOMContentLoaded(CoreWebView2 sender, CoreWebView2DOMContentLoadedEventArgs args)
- {
- _webView.CoreWebView2.DOMContentLoaded -= OnDOMContentLoaded;
- tcs.TrySetResult(true);
- }
- }
-
- public async Task InjectDotNetObjectToWebPageAsync<T>(string name, T pObject)
- {
- LogInjectingDotNetObject(name);
-
- var sb = new StringBuilder();
- sb.AppendLine($"EditorContext.getEditorForElement(document.getElementById('container')).{name} = {{");
-
- var methodsGuid = Guid.NewGuid();
- MethodInfo[] methodInfo = typeof(T).GetMethods(BindingFlags.Public | BindingFlags.Instance);
- var methods = new Dictionary<string, MethodInfo>(methodInfo.Length);
- foreach (MethodInfo method in methodInfo)
- {
- string functionName = $"{char.ToLower(method.Name[0])}{method.Name.Substring(1)}";
- sb.AppendLine($@"{functionName}: function() {{");
- sb.AppendLine($@" let id = this._callbackIndex++;");
- sb.AppendLine($@" window.chrome.webview.postMessage(");
- sb.AppendLine($@" JSON.stringify(");
- sb.AppendLine($@" {{");
- sb.AppendLine($@" guid: ""{methodsGuid}"",");
- sb.AppendLine($@" id: id,");
- sb.AppendLine($@" method: ""{functionName}"",");
- sb.AppendLine($@" args: JSON.stringify([...arguments])");
- sb.AppendLine($@" }}));");
- sb.AppendLine($@" const promise = new Promise((resolve, reject) => this._callbacks.set(id, {{ resolve: resolve, reject: reject }}));");
- sb.AppendLine($@" return promise;");
- sb.AppendLine($@"}},");
- methods.Add($"{functionName}`{method.GetParameters().Length}", method);
- }
-
- var propertiesGuid = Guid.NewGuid();
- PropertyInfo[] propertyInfo = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance);
- var properties = new Dictionary<string, PropertyInfo>(propertyInfo.Length);
- foreach (PropertyInfo property in propertyInfo)
- {
- string propertyName = $"{char.ToLower(property.Name[0])}{property.Name.Substring(1)}";
- if (property.CanRead)
- {
- sb.AppendLine($@"get {propertyName}() {{");
- sb.AppendLine($@" let id = this._callbackIndex++;");
- sb.AppendLine($@" window.chrome.webview.postMessage(");
- sb.AppendLine($@" JSON.stringify(");
- sb.AppendLine($@" {{");
- sb.AppendLine($@" guid: ""{propertiesGuid}"",");
- sb.AppendLine($@" id: id,");
- sb.AppendLine($@" property: ""{propertyName}"",");
- sb.AppendLine($@" action: ""{(int)PropertyAction.Read}""");
- sb.AppendLine($@" }}));");
- sb.AppendLine($@" const promise = new Promise((resolve, reject) => this._callbacks.set(id, {{ resolve: resolve, reject: reject }}));");
- sb.AppendLine($@" return promise;");
- sb.AppendLine($@"}},");
- }
- if (property.CanWrite)
- {
- sb.AppendLine($@"set {propertyName}(value) {{");
- sb.AppendLine($@" let id = this._callbackIndex++;");
- sb.AppendLine($@" window.chrome.webview.postMessage(");
- sb.AppendLine($@" JSON.stringify(");
- sb.AppendLine($@" {{");
- sb.AppendLine($@" guid: ""{propertiesGuid}"",");
- sb.AppendLine($@" id: id,");
- sb.AppendLine($@" property: ""{propertyName}"",");
- sb.AppendLine($@" action: ""{(int)PropertyAction.Write}"",");
- sb.AppendLine($@" value: JSON.stringify(value)");
- sb.AppendLine($@" }}));");
- sb.AppendLine($@" const promise = new Promise((resolve, reject) => this._callbacks.set(id, {{ resolve: resolve, reject: reject }}));");
- sb.AppendLine($@" return promise;");
- sb.AppendLine($@"}},");
- }
- properties[propertyName] = property;
- }
-
- // Add a map<int, (promiseAccept, promiseReject)> to the object used to resolve results
- sb.AppendLine($@"_callbacks: new Map(),");
-
- // And a shared counter to index into that map
- sb.AppendLine($@"_callbackIndex: 0,");
-
- sb.AppendLine("}");
-
- try
- {
- await _webView.ExecuteScriptAsync($"{sb}").AsTask();
- LogDotNetObjectInjected(name);
- }
- catch (Exception ex)
- {
- LogDotNetObjectInjectionFailed(name, ex);
- }
-
- async void Handler(WebView2 _, CoreWebView2WebMessageReceivedEventArgs e)
- {
- string webMessageAsString = e.TryGetWebMessageAsString();
-
- WebMessage message = JsonConvert.DeserializeObject<WebMessage>(webMessageAsString);
- if (message.Guid == methodsGuid)
- {
- MethodWebMessage methodMessage = JsonConvert.DeserializeObject<MethodWebMessage>(webMessageAsString);
- object[] arguments = JsonConvert.DeserializeObject<object[]>(methodMessage.Args) ?? Array.Empty<object>();
- MethodInfo method = methods[$"{methodMessage.Method}`{arguments.Length}"];
- try
- {
- object? result = method.Invoke(pObject, arguments);
- if (result is not null)
- {
- Type resultType = result.GetType();
- dynamic? task = null;
- if (resultType.Name.StartsWith("TaskToAsyncOperationAdapter")
- || resultType.IsInstanceOfType(typeof(IAsyncInfo)))
- {
- // Task that needs to be converted to a task first
- if (resultType.GenericTypeArguments.Length > 0)
- {
- MethodInfo asTask = typeof(WindowsRuntimeSystemExtensions)
- .GetMethods(BindingFlags.Public | BindingFlags.Static)
- .Where(method => method.GetParameters().Length == 1
- && method.Name == "AsTask"
- && method.ToString()!.Contains("Windows.Foundation.Task`1[TResult]"))
- .First();
-
- asTask = asTask.MakeGenericMethod(resultType.GenericTypeArguments[0]);
- task = (Task)asTask.Invoke(null, new[] { result })!;
- }
- else
- {
- task = WindowsRuntimeSystemExtensions.AsTask((dynamic)result);
- }
- }
- else
- {
- MethodInfo? awaiter = resultType.GetMethod(nameof(Task.GetAwaiter));
- if (awaiter is not null)
- {
- task = (Task)result;
- }
- }
- if (task is object)
- {
- result = await task;
- }
- }
-
- string json = JsonConvert.SerializeObject(result);
-
- var sb = new StringBuilder();
- sb.AppendLine("(function() {");
- sb.AppendLine($@" let {name} = EditorContext.getEditorForElement(document.getElementById('container')).{name};");
- sb.AppendLine($@" {name}._callbacks.get({methodMessage.Id}).resolve(JSON.parse({json}));");
- sb.AppendLine($@" {name}._callbacks.delete({methodMessage.Id});");
- sb.AppendLine("})();");
- await _webView.ExecuteScriptAsync(sb.ToString());
- }
- catch (Exception ex)
- {
- LogDotNetObjectInjectionCallbackMethodFailed(name, method.Name, ex);
- string json = JsonConvert.SerializeObject(ex, new JsonSerializerSettings() { Error = (_, e) => e.ErrorContext.Handled = true });
- await _webView.ExecuteScriptAsync($@"EditorContext.getEditorForElement(document.getElementById('container')).{name}._callbacks.get({methodMessage.Id}).reject(JSON.parse({json})); EditorContext.getEditorForElement(document.getElementById('container')).{name}._callbacks.delete({methodMessage.Id});");
- }
- }
- else if (message.Guid == propertiesGuid)
- {
- PropertyWebMessage propertyMessage = JsonConvert.DeserializeObject<PropertyWebMessage>(webMessageAsString);
- PropertyInfo property = properties[propertyMessage.Property];
- try
- {
- object? result;
- if (propertyMessage.Action == PropertyAction.Read)
- {
- result = property.GetValue(pObject);
- }
- else
- {
- object? value = JsonConvert.DeserializeObject(propertyMessage.Value, property.PropertyType);
- property.SetValue(pObject, value);
- result = new object();
- }
-
- string json = JsonConvert.SerializeObject(result);
-
- var sb = new StringBuilder();
- sb.AppendLine("(function() {");
- sb.AppendLine($@" let {name} = EditorContext.getEditorForElement(document.getElementById('container')).{name};");
- sb.AppendLine($@" {name}._callbacks.get({propertyMessage.Id}).resolve(JSON.parse({json}));");
- sb.AppendLine($@" {name}._callbacks.delete({propertyMessage.Id});");
- sb.AppendLine("})();");
- await _webView.ExecuteScriptAsync(sb.ToString());
- }
- catch (Exception ex)
- {
- LogDotNetObjectInjectionCallbackPropertyFailed(name, property.Name, ex);
- string json = JsonConvert.SerializeObject(ex, new JsonSerializerSettings() { Error = (_, e) => e.ErrorContext.Handled = true });
- await _webView.ExecuteScriptAsync($@"EditorContext.getEditorForElement(document.getElementById('container')).{name}._callbacks.get({propertyMessage.Id}).reject(JSON.parse({json})); EditorContext.getEditorForElement(document.getElementById('container')).{name}._callbacks.delete({propertyMessage.Id});");
- }
- }
- }
-
- handlers.Add(Handler);
- _webView.WebMessageReceived += Handler;
- }
-
- public async Task<string> InvokeScriptAsync(string script)
- {
- script
- = $@"
- (function()
- {{
- try {{
- let result = (function()
- {{
- let editorContext = EditorContext.getEditorForElement(document.getElementById('container'));
- {script}
- }})();
- return result;
- }}
- catch(err){{
- let editorContext = EditorContext.getEditorForElement(document.getElementById('container'));
- editorContext.Debug.log(err);
- }}
- finally {{
- }}
- }})();";
-
- LogInvokingJavaScript();
-
- try
- {
- string result
- = await DispatcherQueue.RunOnUIThreadAsync(
- DispatcherQueuePriority.High,
- async () =>
- {
- return await _webView.ExecuteScriptAsync(script);
- });
-
- LogInvokedJavaScriptSuccessfully(result);
-
- return result;
- }
- catch (Exception e)
- {
- LogFailedToInvokeJavaScript(e);
-
- throw;
- }
- }
-
- private void WebView_CoreWebView2Initialized(WebView2 sender, CoreWebView2InitializedEventArgs args)
- {
- _webView.CoreWebView2.NewWindowRequested += (wv, args) => NewWindowRequested?.Invoke(this, args);
- _webView.CoreWebView2.NavigationStarting += (wv, args) => NavigationStarting?.Invoke(this, args);
- _webView.CoreWebView2.DOMContentLoaded += (wv, args) => DOMContentLoaded?.Invoke(this, args);
- _webView.CoreWebView2.NavigationCompleted += (wv, args) => NavigationCompleted?.Invoke(this, args);
- }
-
- [LoggerMessage(0, LogLevel.Information, "{caller}: Creating Monaco Editor...")]
- partial void LogCreatingMonacoEditor([CallerMemberName] string? caller = null);
-
- [LoggerMessage(1, LogLevel.Information, "{caller}: Monaco Editor has been created successfully.")]
- partial void LogMonacoEditorCreated([CallerMemberName] string? caller = null);
-
- [LoggerMessage(2, LogLevel.Error, "{caller}: Failed to create the Monaco Editor.")]
- partial void LogMonacoEditorFailedToBeCreated(Exception exception, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(3, LogLevel.Debug, "{caller}: Trying to inject .NET object '{name}' in web page...")]
- partial void LogInjectingDotNetObject(string name, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(4, LogLevel.Debug, "{caller}: .NET object '{name}' injected successfully.")]
- partial void LogDotNetObjectInjected(string name, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(5, LogLevel.Error, "{caller}: Failed to inject .NET object '{name}'.")]
- partial void LogDotNetObjectInjectionFailed(string name, Exception exception, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(6, LogLevel.Error, "{caller}-CALLBACK: Exception in {name}.{methodName}.")]
- partial void LogDotNetObjectInjectionCallbackMethodFailed(string name, string methodName, Exception exception, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(7, LogLevel.Error, "{caller}-CALLBACK: Exception in {name}.{propertyName}.")]
- partial void LogDotNetObjectInjectionCallbackPropertyFailed(string name, string propertyName, Exception exception, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(8, LogLevel.Debug, "{caller}: Invoking JavaScript...")]
- partial void LogInvokingJavaScript([CallerMemberName] string? caller = null);
-
- [LoggerMessage(9, LogLevel.Debug, "{caller}: JavaScript invoked successfully: {result}")]
- partial void LogInvokedJavaScriptSuccessfully(string result, [CallerMemberName] string? caller = null);
-
- [LoggerMessage(10, LogLevel.Error, "{caller}: Failed to invoke JavaScript.")]
- partial void LogFailedToInvokeJavaScript(Exception exception, [CallerMemberName] string? caller = null);
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/CodeEditor/ICodeEditorPresenter.cs b/src/app/dev/DevToys.MonacoEditor/CodeEditor/ICodeEditorPresenter.cs
deleted file mode 100644
index d14b1023e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/CodeEditor/ICodeEditorPresenter.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using DevToys.UI.Framework.Threading;
-using Microsoft.Web.WebView2.Core;
-using Windows.Foundation;
-using Microsoft.UI.Dispatching;
-using Microsoft.UI.Xaml;
-
-namespace DevToys.MonacoEditor;
-
-public interface ICodeEditorPresenter
-{
- DispatcherQueue DispatcherQueue { get; }
-
- /// <summary>
- /// Occurs when a user performs an action in a WebView that causes content to be opened in a new window.
- /// </summary>
- event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NewWindowRequestedEventArgs>? NewWindowRequested;
-
- /// <summary>
- /// Occurs before the WebView navigates to new content.
- /// </summary>
- event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationStartingEventArgs>? NavigationStarting;
-
- /// <summary>
- /// Occurs when the WebView has finished parsing the current HTML content.
- /// </summary>
- event TypedEventHandler<ICodeEditorPresenter, CoreWebView2DOMContentLoadedEventArgs>? DOMContentLoaded;
-
- /// <summary>
- /// Occurs when the WebView has finished loading the current content or if navigation has failed.
- /// </summary>
- event TypedEventHandler<ICodeEditorPresenter, CoreWebView2NavigationCompletedEventArgs>? NavigationCompleted;
-
- /// <summary>
- /// Occurs when the presenter needs to get allowed-web object to be injected in the web page.
- /// </summary>
- event AsyncTypedEventHandler<ICodeEditorPresenter, EventArgs>? DotNetObjectInjectionRequested;
-
- /// <summary>
- /// Occurs when the WebView or a component inside it (like the Monaco Editor) got focus.
- /// </summary>
- event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? GotFocus;
-
- /// <summary>
- /// Occurs when the WebView or a component inside it (like the Monaco Editor) lost focus.
- /// </summary>
- event TypedEventHandler<ICodeEditorPresenter, RoutedEventArgs>? LostFocus;
-
- /// <summary>
- /// Launch the web element of Monaco editor.
- /// </summary>
- Task LaunchAsync();
-
- /// <summary>
- /// Adds a native .NET object as a global parameter to the top level document inside of a WebView.
- /// This way, the object named by the parameter <paramref name="name"/> can be used directly in JavaScript.
- /// </summary>
- /// <param name="name">The name of the object to expose to the document in the WebView.</param>
- /// <param name="pObject">The object to expose to the document in the WebView.</param>
- Task InjectDotNetObjectToWebPageAsync<T>(string name, T pObject);
-
- /// <summary>
- /// Execute a JavaScript code on the web page.
- /// </summary>
- /// <returns></returns>
- Task<string> InvokeScriptAsync(string script);
-
- /// <summary>
- /// Give the focus to the Monaco Editor.
- /// </summary>
- /// <param name="state"></param>
- /// <returns></returns>
- bool Focus(FocusState state);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj b/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj
deleted file mode 100644
index 003e592d1..000000000
--- a/src/app/dev/DevToys.MonacoEditor/DevToys.MonacoEditor.csproj
+++ /dev/null
@@ -1,166 +0,0 @@
-<Project Sdk="MSBuild.Sdk.Extras">
- <!--
- Adding project references to this project requires some manual adjustments.
- Please see https://github.com/unoplatform/uno/issues/3909 for more details.
- -->
- <PropertyGroup>
- <TargetFrameworks>$(NetCore)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsMac)">$(TargetFrameworks);$(NetMacCatalyst)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsWindows)">$(TargetFrameworks);$(NetCoreWindows)</TargetFrameworks>
- <!-- Ensures the .xr.xml files are generated in a proper layout folder -->
- <GenerateLibraryLayout>true</GenerateLibraryLayout>
-
- <IsWasm>false</IsWasm>
- <IsMacCatalyst>false</IsMacCatalyst>
- <IsWasdk>false</IsWasdk>
- <EnableWindowsTargeting>true</EnableWindowsTargeting>
- </PropertyGroup>
-
- <ItemGroup>
- <PackageReference Include="Newtonsoft.Json" />
- <PackageReference Include="Microsoft.Extensions.Logging" />
- <PackageReference Include="Microsoft.Extensions.Logging.Configuration" />
- <PackageReference Include="Uno.Core.Extensions.Logging" />
- <PackageReference Include="Uno.Core.Extensions.Logging.Singleton" />
- <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
- <PackageReference Include="Microsoft.TypeScript.MSBuild">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
- </ItemGroup>
-
- <ItemGroup>
- <None Remove="ts-helpermethods\ts-helpermethods-Wasm\tsconfig.json" />
- <None Remove="ts-helpermethods\ts-helpermethods-UWP\tsconfig.json" />
- <None Remove="WasmScripts\WASM\uno-monaco-helpers.g.js" />
- <None Remove="WasmScripts\UWP\uno-monaco-helpers.g.js" />
- <None Remove="monaco-editor\**\*.*" />
- <TypeScriptCompile Remove="monaco-editor\**\*.*" />
- <Content Include="monaco-editor\*.*" />
- <Content Include="monaco-editor\min\**\*.*" />
- <Content Include="ts-helpermethods\**\*.js">
- <DependentUpon>%(Filename).ts</DependentUpon>
- </Content>
- <UpToDateCheckInput Include="**\*.xaml" />
- <Content Include="Assets\**" />
- <PRIResource Include="**\*.resw" />
- <Page Include="**\*.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </Page>
- </ItemGroup>
-
- <Choose>
- <When Condition="'$(TargetFramework)' == '$(NetCore)'">
- <PropertyGroup>
- <IsWasm>true</IsWasm>
- <DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.WinUI" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- <PackageReference Include="Uno.Extensions.Logging.WebAssembly.Console" />
- <PackageReference Include="Uno.WinUI.Runtime.WebAssembly" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="Assets\**" />
- <Compile Update="**\*.xaml.cs">
- <DependentUpon>%(Filename)</DependentUpon>
- </Compile>
- <Content Include="ts-helpermethods\ts-helpermethods-Wasm\tsconfig.json">
- <CopyToOutputDirectory>Never</CopyToOutputDirectory>
- </Content>
- <ConfigFiles Include="ts-helpermethods\ts-helpermethods-Wasm\tsconfig.json" />
- <None Include="highlightjs\**" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="WasmScripts\WASM\uno-monaco-helpers.g.js" />
- </ItemGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetCoreWindows)'">
- <PropertyGroup>
- <IsWasdk>true</IsWasdk>
- <DefineConstants>$(DefineConstants);__WINDOWS__</DefineConstants>
- <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>
- <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
- <EnableDefaultPageItems>false</EnableDefaultPageItems>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Release'">
- <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
- <GenerateLibraryLayout>true</GenerateLibraryLayout>
- <EnableDefaultPriItems>false</EnableDefaultPriItems>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.WindowsAppSDK" />
- <PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="CodeEditor\CodeEditor.Windows.html">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="ts-helpermethods\ts-helpermethods-UWP\tsconfig.json">
- <CopyToOutputDirectory>Never</CopyToOutputDirectory>
- </Content>
- <ConfigFiles Include="ts-helpermethods\ts-helpermethods-UWP\tsconfig.json" />
- <None Include="highlightjs\**" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="WasmScripts\UWP\uno-monaco-helpers.g.js">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="Assets\**">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="monaco-editor\*.*">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="monaco-editor\min\**\*.*">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="ts-helpermethods\**\*.js">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- </ItemGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">
- <PropertyGroup>
- <IsMacCatalyst>true</IsMacCatalyst>
- <DefineConstants>$(DefineConstants);__MACCATALYST__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.WinUI" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- <PackageReference Include="System.Runtime.InteropServices.WindowsRuntime" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="Assets\**" />
- <Compile Update="**\*.xaml.cs">
- <DependentUpon>%(Filename)</DependentUpon>
- </Compile>
- <Content Include="ts-helpermethods\ts-helpermethods-Wasm\tsconfig.json">
- <CopyToOutputDirectory>Never</CopyToOutputDirectory>
- </Content>
- <ConfigFiles Include="ts-helpermethods\ts-helpermethods-Wasm\tsconfig.json" />
- <Content Include="highlightjs\highlight.min.js" />
- <Content Include="highlightjs\styles\**" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="WasmScripts\WASM\uno-monaco-helpers.g.js" />
- </ItemGroup>
- </When>
- </Choose>
-
- <ItemGroup>
- <ProjectReference Include="..\DevToys.UI.Framework\DevToys.UI.Framework.csproj" />
- </ItemGroup>
-
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/Extensions/ICodeEditorPresenterExtensions.cs b/src/app/dev/DevToys.MonacoEditor/Extensions/ICodeEditorPresenterExtensions.cs
deleted file mode 100644
index 1617efd93..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Extensions/ICodeEditorPresenterExtensions.cs
+++ /dev/null
@@ -1,172 +0,0 @@
-using System.Runtime.CompilerServices;
-using DevToys.UI.Framework.Threading;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Serialization;
-
-namespace DevToys.MonacoEditor.Extensions;
-
-internal static class ICodeEditorPresenterExtensions
-{
- public static async Task RunScriptAsync(
- this ICodeEditorPresenter view,
- string script,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- await view.RunScriptAsync<object>(script, serializeResult: false, member, file, line);
- }
-
- public static async Task<T?> RunScriptAsync<T>(
- this ICodeEditorPresenter view,
- string script,
- bool serializeResult = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- string start = "try {\n";
- if (typeof(T) != typeof(object) && serializeResult)
- {
- script = script.Trim(';');
- start += "return JSON.stringify(" + script + ");";
- }
- else
- {
- start += "return " + script;
- }
- string fullscript = start +
- "\n} catch (err) { return JSON.stringify({ wv_internal_error: true, message: err.message, description: err.description, number: err.number, stack: err.stack }); }";
-
- try
- {
- return await RunScriptHelperAsync<T>(view, fullscript);
- }
- catch (Exception e)
- {
- throw new JavaScriptExecutionException(member, file, line, script, e);
- }
- }
-
- private static async Task<T?> RunScriptHelperAsync<T>(ICodeEditorPresenter view, string script)
- {
- string returnstring = await view.InvokeScriptAsync(script);
-
- // TODO: Need to decode the error correctly
- if (!string.IsNullOrEmpty(returnstring))
- {
- if (returnstring.Contains("wv_internal_error"))
- {
- throw new JavaScriptInnerException(returnstring, "");
- }
-
- if (returnstring != "null")
- {
- return JsonConvert.DeserializeObject<T>(returnstring);
- }
- }
-
- return default;
- }
-
- private static readonly JsonSerializerSettings settings = new()
- {
- NullValueHandling = NullValueHandling.Ignore,
- ContractResolver = new CamelCasePropertyNamesContractResolver()
- };
-
- public static async Task InvokeScriptAsync(
- this ICodeEditorPresenter view,
- string method,
- object arg,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- await view.InvokeScriptAsync<object>(method, arg, serialize, member, file, line);
- }
-
- public static async Task InvokeScriptAsync(
- this ICodeEditorPresenter view,
- string method,
- object[] args,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- await view.InvokeScriptAsync<object>(method, args, serialize, member, file, line);
- }
-
- public static async Task<T?> InvokeScriptAsync<T>(
- this ICodeEditorPresenter view,
- string method,
- object arg,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- return await view.InvokeScriptAsync<T>(method, new object[] { arg }, serialize, member, file, line);
- }
-
- public static async Task<T?> InvokeScriptAsync<T>(
- this ICodeEditorPresenter view,
- string method,
- object[] args,
- bool serialize = true,
- [CallerMemberName] string? member = null,
- [CallerFilePath] string? file = null,
- [CallerLineNumber] int line = 0)
- {
- string?[] sanitizedargs;
-
- try
- {
- if (Debugger.IsAttached)
- {
- Debug.WriteLine($"Begin invoke script (serialize - {serialize})");
- }
-
- if (serialize)
- {
- sanitizedargs
- = args.Select(
- item =>
- {
- if (item is int || item is double)
- {
- return item.ToString();
- }
- else if (item is string)
- {
- return JsonConvert.ToString(item);
- }
- else
- {
- // TODO: Need JSON.parse?
- return JsonConvert.SerializeObject(item, settings);
- }
- })
- .ToArray();
- }
- else
- {
- sanitizedargs = args.Select(item => item.ToString()).ToArray();
- }
-
- string script = method + "(editorContext, " + string.Join(", ", sanitizedargs) + ");";
-
- return await RunScriptAsync<T>(view, script, serialize, member, file, line);
- }
- catch (Exception ex)
- {
- if (Debugger.IsAttached)
- {
- Debug.WriteLine($"Error {ex.Message} {ex.StackTrace} {ex.InnerException?.Message})");
- }
- return default;
- }
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Extensions/UriExtensions.cs b/src/app/dev/DevToys.MonacoEditor/Extensions/UriExtensions.cs
deleted file mode 100644
index c5e731611..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Extensions/UriExtensions.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-namespace DevToys.MonacoEditor.Extensions;
-
-internal static class UriExtensions
-{
- private static readonly string UNO_BOOTSTRAP_APP_BASE = Environment.GetEnvironmentVariable(nameof(UNO_BOOTSTRAP_APP_BASE)) ?? string.Empty;
- private static readonly string UNO_BOOTSTRAP_WEBAPP_BASE_PATH = Environment.GetEnvironmentVariable(nameof(UNO_BOOTSTRAP_WEBAPP_BASE_PATH)) ?? "";
-
- internal static string AbsoluteUriString(this Uri uri)
- {
- string target;
- if (uri.IsAbsoluteUri)
- {
-#if __WASM__
- Debugger.Launch(); // TODO
- if (uri.Scheme == "file" || uri.Scheme == "ms-appx-web")
- {
- // Local files are assumed as coming from the remoter server
- target
- = UNO_BOOTSTRAP_APP_BASE is null
- ? uri.PathAndQuery
- : UNO_BOOTSTRAP_WEBAPP_BASE_PATH + UNO_BOOTSTRAP_APP_BASE + uri.PathAndQuery;
- }
- else
- {
- target = uri.AbsoluteUri;
- }
-#else
- target = uri.AbsoluteUri;
-#endif
- }
- else
- {
- target
- = UNO_BOOTSTRAP_APP_BASE is null
- ? uri.OriginalString
- : UNO_BOOTSTRAP_WEBAPP_BASE_PATH + UNO_BOOTSTRAP_APP_BASE + "/" + uri.OriginalString;
- }
- return target;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/JavaScriptExecutionException.cs b/src/app/dev/DevToys.MonacoEditor/JavaScriptExecutionException.cs
deleted file mode 100644
index 0f74408bd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/JavaScriptExecutionException.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace DevToys.MonacoEditor;
-
-internal sealed class JavaScriptExecutionException : Exception
-{
- public string Script { get; private set; }
-
- public string? Member { get; private set; }
-
- public string? FileName { get; private set; }
-
- public int LineNumber { get; private set; }
-
- public JavaScriptExecutionException(string? member, string? filename, int line, string script, Exception inner)
- : base("Error Executing JavaScript Code for " + member + "\nLine " + line + " of " + filename + "\n" + script + "\n", inner)
- {
- Member = member;
- FileName = filename;
- LineNumber = line;
- Script = script;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/JavaScriptInnerException.cs b/src/app/dev/DevToys.MonacoEditor/JavaScriptInnerException.cs
deleted file mode 100644
index f0ae2f223..000000000
--- a/src/app/dev/DevToys.MonacoEditor/JavaScriptInnerException.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace DevToys.MonacoEditor;
-
-internal sealed class JavaScriptInnerException : Exception
-{
- public string JavaScriptStackTrace { get; private set; } // TODO Use Enum of JS error types https://www.w3schools.com/js/js_errors.asp
-
- public JavaScriptInnerException(string message, string stack)
- : base(message)
- {
- JavaScriptStackTrace = stack;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/JsonConverters/InterfaceToClassConverter.cs b/src/app/dev/DevToys.MonacoEditor/JsonConverters/InterfaceToClassConverter.cs
deleted file mode 100644
index 1e7c236d9..000000000
--- a/src/app/dev/DevToys.MonacoEditor/JsonConverters/InterfaceToClassConverter.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.JsonConverters;
-
-/// <summary>
-/// Used to upcast an interface to its object type during deserialization of JSON.
-/// </summary>
-/// <typeparam name="TInterface">Type of base Interface.</typeparam>
-/// <typeparam name="TClass">Type of class to use for deserializing object with interface.</typeparam>
-internal class InterfaceToClassConverter<TInterface, TClass> : JsonConverter where TClass : TInterface, new()
-{
- public override bool CanConvert(Type objectType)
- {
- // We only want to convert objects that are of the interface.
- return objectType == typeof(TInterface);
- }
-
- public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, JsonSerializer serializer)
- {
- // Use the implementation type for the deserialization of the interface.
- var pop = new TClass();
-
- serializer.Populate(reader, pop);
-
- return pop;
- }
-
- public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer)
- {
- serializer.Serialize(writer, value);
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AcceptSuggestionOnEnter.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AcceptSuggestionOnEnter.cs
deleted file mode 100644
index fff76a2a4..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AcceptSuggestionOnEnter.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Accept suggestions on ENTER.
-/// Defaults to 'on'.
-/// </summary>
-[JsonConverter(typeof(AcceptSuggestionOnEnterConverter))]
-public enum AcceptSuggestionOnEnter { Off, On, Smart };
-
-internal class AcceptSuggestionOnEnterConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AcceptSuggestionOnEnter) || t == typeof(AcceptSuggestionOnEnter?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "off" => AcceptSuggestionOnEnter.Off,
- "on" => AcceptSuggestionOnEnter.On,
- "smart" => (object)AcceptSuggestionOnEnter.Smart,
- _ => throw new Exception("Cannot unmarshal type AcceptSuggestionOnEnter"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AcceptSuggestionOnEnter)untypedValue;
- switch (value)
- {
- case AcceptSuggestionOnEnter.Off:
- serializer.Serialize(writer, "off");
- return;
- case AcceptSuggestionOnEnter.On:
- serializer.Serialize(writer, "on");
- return;
- case AcceptSuggestionOnEnter.Smart:
- serializer.Serialize(writer, "smart");
- return;
- }
-
- throw new Exception("Cannot marshal type AcceptSuggestionOnEnter");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AccessibilitySupport.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AccessibilitySupport.cs
deleted file mode 100644
index ccbd0c53e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AccessibilitySupport.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configure the editor's accessibility support.
-/// Defaults to 'auto'. It is best to leave this to 'auto'.
-/// </summary>
-[JsonConverter(typeof(AccessibilitySupportConverter))]
-public enum AccessibilitySupport { Auto, Off, On };
-internal class AccessibilitySupportConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AccessibilitySupport) || t == typeof(AccessibilitySupport?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "auto" => AccessibilitySupport.Auto,
- "off" => AccessibilitySupport.Off,
- "on" => (object)AccessibilitySupport.On,
- _ => throw new Exception("Cannot unmarshal type AccessibilitySupport"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AccessibilitySupport)untypedValue;
- switch (value)
- {
- case AccessibilitySupport.Auto:
- serializer.Serialize(writer, "auto");
- return;
- case AccessibilitySupport.Off:
- serializer.Serialize(writer, "off");
- return;
- case AccessibilitySupport.On:
- serializer.Serialize(writer, "on");
- return;
- }
- throw new Exception("Cannot marshal type AccessibilitySupport");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingBrackets.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingBrackets.cs
deleted file mode 100644
index 6416359d2..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingBrackets.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Options for auto closing brackets.
-/// Defaults to language defined behavior.
-/// </summary>
-[JsonConverter(typeof(AutoClosingBracketsConverter))]
-public enum AutoClosingBrackets { Always, BeforeWhitespace, LanguageDefined, Never };
-
-internal class AutoClosingBracketsConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AutoClosingBrackets) || t == typeof(AutoClosingBrackets?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "always" => AutoClosingBrackets.Always,
- "beforeWhitespace" => AutoClosingBrackets.BeforeWhitespace,
- "languageDefined" => AutoClosingBrackets.LanguageDefined,
- "never" => (object)AutoClosingBrackets.Never,
- _ => throw new Exception("Cannot unmarshal type AutoClosingBrackets"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AutoClosingBrackets)untypedValue;
- switch (value)
- {
- case AutoClosingBrackets.Always:
- serializer.Serialize(writer, "always");
- return;
- case AutoClosingBrackets.BeforeWhitespace:
- serializer.Serialize(writer, "beforeWhitespace");
- return;
- case AutoClosingBrackets.LanguageDefined:
- serializer.Serialize(writer, "languageDefined");
- return;
- case AutoClosingBrackets.Never:
- serializer.Serialize(writer, "never");
- return;
- }
- throw new Exception("Cannot marshal type AutoClosingBrackets");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingOvertype.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingOvertype.cs
deleted file mode 100644
index 6abde2360..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingOvertype.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Options for typing over closing quotes or brackets.
-/// </summary>
-[JsonConverter(typeof(AutoClosingOvertypeConverter))]
-public enum AutoClosingOvertype { Always, Auto, Never };
-internal class AutoClosingOvertypeConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AutoClosingOvertype) || t == typeof(AutoClosingOvertype?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "always" => AutoClosingOvertype.Always,
- "auto" => AutoClosingOvertype.Auto,
- "never" => (object)AutoClosingOvertype.Never,
- _ => throw new Exception("Cannot unmarshal type AutoClosingOvertype"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AutoClosingOvertype)untypedValue;
- switch (value)
- {
- case AutoClosingOvertype.Always:
- serializer.Serialize(writer, "always");
- return;
- case AutoClosingOvertype.Auto:
- serializer.Serialize(writer, "auto");
- return;
- case AutoClosingOvertype.Never:
- serializer.Serialize(writer, "never");
- return;
- }
- throw new Exception("Cannot marshal type AutoClosingOvertype");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingQuotes.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingQuotes.cs
deleted file mode 100644
index bb1813240..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoClosingQuotes.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Options for auto closing quotes.
-/// Defaults to language defined behavior.
-/// </summary>
-[JsonConverter(typeof(AutoClosingQuotesConverter))]
-public enum AutoClosingQuotes { Always, BeforeWhitespace, LanguageDefined, Never };
-
-internal class AutoClosingQuotesConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AutoClosingQuotes) || t == typeof(AutoClosingQuotes?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "always" => AutoClosingQuotes.Always,
- "beforeWhitespace" => AutoClosingQuotes.BeforeWhitespace,
- "languageDefined" => AutoClosingQuotes.LanguageDefined,
- "never" => (object)AutoClosingQuotes.Never,
- _ => throw new Exception("Cannot unmarshal type AutoClosingQuotes"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AutoClosingQuotes)untypedValue;
- switch (value)
- {
- case AutoClosingQuotes.Always:
- serializer.Serialize(writer, "always");
- return;
- case AutoClosingQuotes.BeforeWhitespace:
- serializer.Serialize(writer, "beforeWhitespace");
- return;
- case AutoClosingQuotes.LanguageDefined:
- serializer.Serialize(writer, "languageDefined");
- return;
- case AutoClosingQuotes.Never:
- serializer.Serialize(writer, "never");
- return;
- }
- throw new Exception("Cannot marshal type AutoClosingQuotes");
- }
-
- public static readonly AutoClosingQuotesConverter Singleton = new();
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoFindInSelection.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoFindInSelection.cs
deleted file mode 100644
index d1da8679d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoFindInSelection.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Controls if Find in Selection flag is turned on in the editor.
-/// </summary>
-[JsonConverter(typeof(AutoFindInSelectionConverter))]
-public enum AutoFindInSelection { Always, Multiline, Never };
-
-internal class AutoFindInSelectionConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AutoFindInSelection) || t == typeof(AutoFindInSelection?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "always" => AutoFindInSelection.Always,
- "multiline" => AutoFindInSelection.Multiline,
- "never" => (object)AutoFindInSelection.Never,
- _ => throw new Exception("Cannot unmarshal type AutoFindInSelection"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AutoFindInSelection)untypedValue;
- switch (value)
- {
- case AutoFindInSelection.Always:
- serializer.Serialize(writer, "always");
- return;
- case AutoFindInSelection.Multiline:
- serializer.Serialize(writer, "multiline");
- return;
- case AutoFindInSelection.Never:
- serializer.Serialize(writer, "never");
- return;
- }
- throw new Exception("Cannot marshal type AutoFindInSelection");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoIndent.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoIndent.cs
deleted file mode 100644
index 893a2aa57..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoIndent.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Enable auto indentation adjustment.
-/// Defaults to false.
-/// </summary>
-[JsonConverter(typeof(AutoIndentConverter))]
-public enum AutoIndent { Advanced, Brackets, Full, Keep, None };
-
-internal class AutoIndentConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AutoIndent) || t == typeof(AutoIndent?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "advanced" => AutoIndent.Advanced,
- "brackets" => AutoIndent.Brackets,
- "full" => AutoIndent.Full,
- "keep" => AutoIndent.Keep,
- "none" => (object)AutoIndent.None,
- _ => throw new Exception("Cannot unmarshal type AutoIndent"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AutoIndent)untypedValue;
- switch (value)
- {
- case AutoIndent.Advanced:
- serializer.Serialize(writer, "advanced");
- return;
- case AutoIndent.Brackets:
- serializer.Serialize(writer, "brackets");
- return;
- case AutoIndent.Full:
- serializer.Serialize(writer, "full");
- return;
- case AutoIndent.Keep:
- serializer.Serialize(writer, "keep");
- return;
- case AutoIndent.None:
- serializer.Serialize(writer, "none");
- return;
- }
- throw new Exception("Cannot marshal type AutoIndent");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoSurround.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoSurround.cs
deleted file mode 100644
index 0996b996c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/AutoSurround.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Options for auto surrounding.
-/// Defaults to always allowing auto surrounding.
-/// </summary>
-[JsonConverter(typeof(AutoSurroundConverter))]
-public enum AutoSurround { Brackets, LanguageDefined, Never, Quotes };
-
-internal class AutoSurroundConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(AutoSurround) || t == typeof(AutoSurround?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "brackets" => AutoSurround.Brackets,
- "languageDefined" => AutoSurround.LanguageDefined,
- "never" => AutoSurround.Never,
- "quotes" => (object)AutoSurround.Quotes,
- _ => throw new Exception("Cannot unmarshal type AutoSurround"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (AutoSurround)untypedValue;
- switch (value)
- {
- case AutoSurround.Brackets:
- serializer.Serialize(writer, "brackets");
- return;
- case AutoSurround.LanguageDefined:
- serializer.Serialize(writer, "languageDefined");
- return;
- case AutoSurround.Never:
- serializer.Serialize(writer, "never");
- return;
- case AutoSurround.Quotes:
- serializer.Serialize(writer, "quotes");
- return;
- }
- throw new Exception("Cannot marshal type AutoSurround");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ContextKey.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ContextKey.cs
deleted file mode 100644
index 6d398da75..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ContextKey.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class ContextKey : IContextKey
-{
- [JsonIgnore]
- private readonly WeakReference<CodeEditor> _editor;
-
- [JsonProperty("key")]
- public string Key { get; private set; }
- [JsonProperty("defaultValue")]
- public bool DefaultValue { get; private set; }
- [JsonProperty("value")]
- public bool Value { get; private set; }
-
- internal ContextKey(CodeEditor editor, string key, bool defaultValue)
- {
- _editor = new WeakReference<CodeEditor>(editor);
-
- Key = key;
- DefaultValue = defaultValue;
- }
-
- private async void UpdateValueAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- await editor.InvokeScriptAsync("updateContext", new object[] { Key, Value });
- }
- }
-
- public bool Get()
- {
- return Value;
- }
-
- public void Reset()
- {
- Value = DefaultValue;
-
- UpdateValueAsync();
- }
-
- public void Set(bool value)
- {
- Value = value;
-
- UpdateValueAsync();
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorBlinking.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorBlinking.cs
deleted file mode 100644
index 1732aa330..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorBlinking.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the cursor animation style, possible values are 'blink', 'smooth', 'phase',
-/// 'expand' and 'solid'.
-/// Defaults to 'blink'.
-/// </summary>
-[JsonConverter(typeof(CursorBlinkingConverter))]
-public enum CursorBlinking { Blink, Expand, Phase, Smooth, Solid };
-
-internal class CursorBlinkingConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(CursorBlinking) || t == typeof(CursorBlinking?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "blink" => CursorBlinking.Blink,
- "expand" => CursorBlinking.Expand,
- "phase" => CursorBlinking.Phase,
- "smooth" => CursorBlinking.Smooth,
- "solid" => (object)CursorBlinking.Solid,
- _ => throw new Exception("Cannot unmarshal type CursorBlinking"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (CursorBlinking)untypedValue;
- switch (value)
- {
- case CursorBlinking.Blink:
- serializer.Serialize(writer, "blink");
- return;
- case CursorBlinking.Expand:
- serializer.Serialize(writer, "expand");
- return;
- case CursorBlinking.Phase:
- serializer.Serialize(writer, "phase");
- return;
- case CursorBlinking.Smooth:
- serializer.Serialize(writer, "smooth");
- return;
- case CursorBlinking.Solid:
- serializer.Serialize(writer, "solid");
- return;
- }
- throw new Exception("Cannot marshal type CursorBlinking");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorStyle.cs
deleted file mode 100644
index d83997733..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorStyle.cs
+++ /dev/null
@@ -1,66 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the cursor style, either 'block' or 'line'.
-/// Defaults to 'line'.
-/// </summary>
-[JsonConverter(typeof(CursorStyleConverter))]
-public enum CursorStyle { Block, BlockOutline, Line, LineThin, Underline, UnderlineThin };
-
-internal class CursorStyleConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(CursorStyle) || t == typeof(CursorStyle?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "block" => CursorStyle.Block,
- "block-outline" => CursorStyle.BlockOutline,
- "line" => CursorStyle.Line,
- "line-thin" => CursorStyle.LineThin,
- "underline" => CursorStyle.Underline,
- "underline-thin" => (object)CursorStyle.UnderlineThin,
- _ => throw new Exception("Cannot unmarshal type CursorStyle"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (CursorStyle)untypedValue;
- switch (value)
- {
- case CursorStyle.Block:
- serializer.Serialize(writer, "block");
- return;
- case CursorStyle.BlockOutline:
- serializer.Serialize(writer, "block-outline");
- return;
- case CursorStyle.Line:
- serializer.Serialize(writer, "line");
- return;
- case CursorStyle.LineThin:
- serializer.Serialize(writer, "line-thin");
- return;
- case CursorStyle.Underline:
- serializer.Serialize(writer, "underline");
- return;
- case CursorStyle.UnderlineThin:
- serializer.Serialize(writer, "underline-thin");
- return;
- }
- throw new Exception("Cannot marshal type CursorStyle");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorSurroundingLinesStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorSurroundingLinesStyle.cs
deleted file mode 100644
index 1357eeaba..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/CursorSurroundingLinesStyle.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Controls when `cursorSurroundingLines` should be enforced
-/// Defaults to `default`, `cursorSurroundingLines` is not enforced when cursor position is
-/// changed
-/// by mouse.
-/// </summary>
-[JsonConverter(typeof(CursorSurroundingLinesStyleConverter))]
-public enum CursorSurroundingLinesStyle { All, Default };
-
-internal class CursorSurroundingLinesStyleConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(CursorSurroundingLinesStyle) || t == typeof(CursorSurroundingLinesStyle?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "all" => CursorSurroundingLinesStyle.All,
- "default" => (object)CursorSurroundingLinesStyle.Default,
- _ => throw new Exception("Cannot unmarshal type CursorSurroundingLinesStyle"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (CursorSurroundingLinesStyle)untypedValue;
- switch (value)
- {
- case CursorSurroundingLinesStyle.All:
- serializer.Serialize(writer, "all");
- return;
- case CursorSurroundingLinesStyle.Default:
- serializer.Serialize(writer, "default");
- return;
- }
- throw new Exception("Cannot marshal type CursorSurroundingLinesStyle");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/DiffEditorConstructionOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/DiffEditorConstructionOptions.cs
deleted file mode 100644
index 66d297350..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/DiffEditorConstructionOptions.cs
+++ /dev/null
@@ -1,816 +0,0 @@
-using System.Runtime.CompilerServices;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class DiffEditorConstructionOptions : IDiffEditorConstructionOptions, INotifyPropertyChanged
-{
- public event PropertyChangedEventHandler? PropertyChanged;
-
- private readonly Dictionary<string, object?> _propertyBackingDictionary = new();
-
- private T? GetPropertyValue<T>([CallerMemberName] string? propertyName = null)
- {
- if (propertyName == null)
- {
- throw new ArgumentNullException(nameof(propertyName));
- }
-
- if (_propertyBackingDictionary.TryGetValue(propertyName, out object? value))
- {
- return (T?)value;
- }
-
- return default;
- }
-
- private bool SetPropertyValue<T>(T newValue, [CallerMemberName] string? propertyName = null)
- {
- if (propertyName == null)
- {
- throw new ArgumentNullException(nameof(propertyName));
- }
-
- if (EqualityComparer<T?>.Default.Equals(newValue, GetPropertyValue<T?>(propertyName)))
- {
- return false;
- }
-
- if (_propertyBackingDictionary.TryGetValue(propertyName, out object? value)
- && value is T typedValue
- && typedValue.Equals(newValue))
- {
- return true;
- }
-
- _propertyBackingDictionary[propertyName] = newValue;
- PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
- return true;
- }
-
- /// <summary>
- /// Accept suggestions on provider defined characters.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("acceptSuggestionOnCommitCharacter", NullValueHandling = NullValueHandling.Ignore)]
- public bool? AcceptSuggestionOnCommitCharacter
- {
- get => GetPropertyValue<bool?>();
- set => SetPropertyValue(value);
- }
-
- /// <summary>
- /// Accept suggestions on ENTER.
- /// Defaults to 'on'.
- /// </summary>
- [JsonProperty("acceptSuggestionOnEnter", NullValueHandling = NullValueHandling.Ignore)]
- public AcceptSuggestionOnEnter? AcceptSuggestionOnEnter
- {
- get => GetPropertyValue<AcceptSuggestionOnEnter?>();
- set => SetPropertyValue(value);
- }
-
- /// <summary>
- /// Controls the number of lines in the editor that can be read out by a screen reader
- /// </summary>
- [JsonProperty("accessibilityPageSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? AccessibilityPageSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure the editor's accessibility support.
- /// Defaults to 'auto'. It is best to leave this to 'auto'.
- /// </summary>
- [JsonProperty("accessibilitySupport", NullValueHandling = NullValueHandling.Ignore)]
- public AccessibilitySupport? AccessibilitySupport { get => GetPropertyValue<AccessibilitySupport?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The aria label for the editor's textarea (when it is focused).
- /// </summary>
- [JsonProperty("ariaLabel", NullValueHandling = NullValueHandling.Ignore)]
- public string? AriaLabel { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for auto closing brackets.
- /// Defaults to language defined behavior.
- /// </summary>
- [JsonProperty("autoClosingBrackets", NullValueHandling = NullValueHandling.Ignore)]
- public AutoClosingBrackets? AutoClosingBrackets { get => GetPropertyValue<AutoClosingBrackets?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for typing over closing quotes or brackets.
- /// </summary>
- [JsonProperty("autoClosingOvertype", NullValueHandling = NullValueHandling.Ignore)]
- public AutoClosingOvertype? AutoClosingOvertype { get => GetPropertyValue<AutoClosingOvertype?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for auto closing quotes.
- /// Defaults to language defined behavior.
- /// </summary>
- [JsonProperty("autoClosingQuotes", NullValueHandling = NullValueHandling.Ignore)]
- public AutoClosingQuotes? AutoClosingQuotes { get => GetPropertyValue<AutoClosingQuotes?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable auto indentation adjustment.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("autoIndent", NullValueHandling = NullValueHandling.Ignore)]
- public AutoIndent? AutoIndent { get => GetPropertyValue<AutoIndent?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that the editor will install an interval to check if its container dom node size
- /// has changed.
- /// Enabling this might have a severe performance impact.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("automaticLayout", NullValueHandling = NullValueHandling.Ignore)]
- public bool? AutomaticLayout { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for auto surrounding.
- /// Defaults to always allowing auto surrounding.
- /// </summary>
- [JsonProperty("autoSurround", NullValueHandling = NullValueHandling.Ignore)]
- public AutoSurround? AutoSurround { get => GetPropertyValue<AutoSurround?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Timeout for running code actions on save.
- /// </summary>
- [JsonProperty("codeActionsOnSaveTimeout", NullValueHandling = NullValueHandling.Ignore)]
- public int? CodeActionsOnSaveTimeout { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Show code lens
- /// Defaults to true.
- /// </summary>
- [JsonProperty("codeLens", NullValueHandling = NullValueHandling.Ignore)]
- public bool? CodeLens { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable inline color decorators and color picker rendering.
- /// </summary>
- [JsonProperty("colorDecorators", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ColorDecorators { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behaviour of comments in the editor.
- /// </summary>
- [JsonProperty("comments", NullValueHandling = NullValueHandling.Ignore)]
- public IEditorCommentsOptions? Comments { get => GetPropertyValue<IEditorCommentsOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable custom contextmenu.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("contextmenu", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Contextmenu { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Syntax highlighting is copied.
- /// </summary>
- [JsonProperty("copyWithSyntaxHighlighting", NullValueHandling = NullValueHandling.Ignore)]
- public bool? CopyWithSyntaxHighlighting { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the cursor animation style, possible values are 'blink', 'smooth', 'phase',
- /// 'expand' and 'solid'.
- /// Defaults to 'blink'.
- /// </summary>
- [JsonProperty("cursorBlinking", NullValueHandling = NullValueHandling.Ignore)]
- public CursorBlinking? CursorBlinking { get => GetPropertyValue<CursorBlinking?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable smooth caret animation.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("cursorSmoothCaretAnimation", NullValueHandling = NullValueHandling.Ignore)]
- public bool? CursorSmoothCaretAnimation { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the cursor style, either 'block' or 'line'.
- /// Defaults to 'line'.
- /// </summary>
- [JsonProperty("cursorStyle", NullValueHandling = NullValueHandling.Ignore)]
- public CursorStyle? CursorStyle { get => GetPropertyValue<CursorStyle?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls the minimal number of visible leading and trailing lines surrounding the cursor.
- /// Defaults to 0.
- /// </summary>
- [JsonProperty("cursorSurroundingLines", NullValueHandling = NullValueHandling.Ignore)]
- public int? CursorSurroundingLines { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls when `cursorSurroundingLines` should be enforced
- /// Defaults to `default`, `cursorSurroundingLines` is not enforced when cursor position is
- /// changed
- /// by mouse.
- /// </summary>
- [JsonProperty("cursorSurroundingLinesStyle", NullValueHandling = NullValueHandling.Ignore)]
- public CursorSurroundingLinesStyle? CursorSurroundingLinesStyle { get => GetPropertyValue<CursorSurroundingLinesStyle?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the width of the cursor when cursorStyle is set to 'line'
- /// </summary>
- [JsonProperty("cursorWidth", NullValueHandling = NullValueHandling.Ignore)]
- public int? CursorWidth { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Disable the use of `transform: translate3d(0px, 0px, 0px)` for the editor margin and
- /// lines layers.
- /// The usage of `transform: translate3d(0px, 0px, 0px)` acts as a hint for browsers to
- /// create an extra layer.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("disableLayerHinting", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DisableLayerHinting { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Disable the optimizations for monospace fonts.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("disableMonospaceOptimizations", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DisableMonospaceOptimizations { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls if the editor should allow to move selections via drag and drop.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("dragAndDrop", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DragAndDrop { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Copying without a selection copies the current line.
- /// </summary>
- [JsonProperty("emptySelectionClipboard", NullValueHandling = NullValueHandling.Ignore)]
- public bool? EmptySelectionClipboard { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Class name to be added to the editor.
- /// </summary>
- [JsonProperty("extraEditorClassName", NullValueHandling = NullValueHandling.Ignore)]
- public string? ExtraEditorClassName { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// FastScrolling mulitplier speed when pressing `Alt`
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("fastScrollSensitivity", NullValueHandling = NullValueHandling.Ignore)]
- public int? FastScrollSensitivity { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior of the find widget.
- /// </summary>
- [JsonProperty("find", NullValueHandling = NullValueHandling.Ignore)]
- public EditorFindOptions? Find { get => GetPropertyValue<EditorFindOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Display overflow widgets as `fixed`.
- /// Defaults to `false`.
- /// </summary>
- [JsonProperty("fixedOverflowWidgets", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FixedOverflowWidgets { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable code folding
- /// Defaults to true.
- /// </summary>
- [JsonProperty("folding", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Folding { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable highlight for folded regions.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("foldingHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FoldingHighlight { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Selects the folding strategy. 'auto' uses the strategies contributed for the current
- /// document, 'indentation' uses the indentation based folding strategy.
- /// Defaults to 'auto'.
- /// </summary>
- [JsonProperty("foldingStrategy", NullValueHandling = NullValueHandling.Ignore)]
- public FoldingStrategy? FoldingStrategy { get => GetPropertyValue<FoldingStrategy?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font family
- /// </summary>
- [JsonProperty("fontFamily", NullValueHandling = NullValueHandling.Ignore)]
- public string? FontFamily { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable font ligatures.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("fontLigatures", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FontLigatures { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font size
- /// </summary>
- [JsonProperty("fontSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? FontSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font weight
- /// </summary>
- [JsonProperty("fontWeight", NullValueHandling = NullValueHandling.Ignore)]
- public string? FontWeight { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable format on paste.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("formatOnPaste", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FormatOnPaste { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable format on type.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("formatOnType", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FormatOnType { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable the rendering of the glyph margin.
- /// Defaults to true in vscode and to false in monaco-editor.
- /// </summary>
- [JsonProperty("glyphMargin", NullValueHandling = NullValueHandling.Ignore)]
- public bool? GlyphMargin { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configuration options for go to location
- /// </summary>
- [JsonProperty("gotoLocation", NullValueHandling = NullValueHandling.Ignore)]
- public GoToLocationOptions? GotoLocation { get => GetPropertyValue<GoToLocationOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the cursor be hidden in the overview ruler.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("hideCursorInOverviewRuler", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HideCursorInOverviewRuler { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable highlighting of the active indent guide.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("highlightActiveIndentGuide", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HighlightActiveIndentGuide { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure the editor's hover.
- /// </summary>
- [JsonProperty("hover", NullValueHandling = NullValueHandling.Ignore)]
- public EditorHoverOptions? Hover { get => GetPropertyValue<EditorHoverOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// This editor is used inside a diff editor.
- /// </summary>
- [JsonProperty("inDiffEditor", NullValueHandling = NullValueHandling.Ignore)]
- public bool? InDiffEditor { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The letter spacing
- /// </summary>
- [JsonProperty("letterSpacing", NullValueHandling = NullValueHandling.Ignore)]
- public int? LetterSpacing { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior and rendering of the code action lightbulb.
- /// </summary>
- [JsonProperty("lightbulb", NullValueHandling = NullValueHandling.Ignore)]
- public EditorLightbulbOptions? Lightbulb { get => GetPropertyValue<EditorLightbulbOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The width reserved for line decorations (in px).
- /// Line decorations are placed between line numbers and the editor content.
- /// You can pass in a string in the format floating point followed by "ch". e.g. 1.3ch.
- /// Defaults to 10.
- /// </summary>
- [JsonProperty("lineDecorationsWidth", NullValueHandling = NullValueHandling.Ignore)]
- public uint? LineDecorationsWidth { get => GetPropertyValue<uint?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The line height
- /// </summary>
- [JsonProperty("lineHeight", NullValueHandling = NullValueHandling.Ignore)]
- public int? LineHeight { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the rendering of line numbers.
- /// If it is a function, it will be invoked when rendering a line number and the return value
- /// will be rendered.
- /// Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using
- /// an identity function).
- /// Otherwise, line numbers will not be rendered.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("lineNumbers", NullValueHandling = NullValueHandling.Ignore)]
- public LineNumbersType? LineNumbers { get => GetPropertyValue<LineNumbersType?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the width of line numbers, by reserving horizontal space for rendering at least
- /// an amount of digits.
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("lineNumbersMinChars", NullValueHandling = NullValueHandling.Ignore)]
- public int? LineNumbersMinChars { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable detecting links and making them clickable.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("links", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Links { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable highlighting of matching brackets.
- /// Defaults to 'always'.
- /// </summary>
- [JsonProperty("matchBrackets", NullValueHandling = NullValueHandling.Ignore)]
- public MatchBrackets? MatchBrackets { get => GetPropertyValue<MatchBrackets?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior and rendering of the minimap.
- /// </summary>
- [JsonProperty("minimap", NullValueHandling = NullValueHandling.Ignore)]
- public EditorMinimapOptions? Minimap { get => GetPropertyValue<EditorMinimapOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the mouse pointer style, either 'text' or 'default' or 'copy'
- /// Defaults to 'text'
- /// </summary>
- [JsonProperty("mouseStyle", NullValueHandling = NullValueHandling.Ignore)]
- public MouseStyle? MouseStyle { get => GetPropertyValue<MouseStyle?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.
- /// Defaults to 1.
- /// </summary>
- [JsonProperty("mouseWheelScrollSensitivity", NullValueHandling = NullValueHandling.Ignore)]
- public int? MouseWheelScrollSensitivity { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("mouseWheelZoom", NullValueHandling = NullValueHandling.Ignore)]
- public bool? MouseWheelZoom { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Merge overlapping selections.
- /// Defaults to true
- /// </summary>
- [JsonProperty("multiCursorMergeOverlapping", NullValueHandling = NullValueHandling.Ignore)]
- public bool? MultiCursorMergeOverlapping { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The modifier to be used to add multiple cursors with the mouse.
- /// Defaults to 'alt'
- /// </summary>
- [JsonProperty("multiCursorModifier", NullValueHandling = NullValueHandling.Ignore)]
- public MultiCursorModifier? MultiCursorModifier { get => GetPropertyValue<MultiCursorModifier?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure the behaviour when pasting a text with the line count equal to the cursor
- /// count.
- /// Defaults to 'spread'.
- /// </summary>
- [JsonProperty("multiCursorPaste", NullValueHandling = NullValueHandling.Ignore)]
- public MultiCursorPaste? MultiCursorPaste { get => GetPropertyValue<MultiCursorPaste?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable semantic occurrences highlight.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("occurrencesHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? OccurrencesHighlight { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls if a border should be drawn around the overview ruler.
- /// Defaults to `true`.
- /// </summary>
- [JsonProperty("overviewRulerBorder", NullValueHandling = NullValueHandling.Ignore)]
- public bool? OverviewRulerBorder { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The number of vertical lanes the overview ruler should render.
- /// Defaults to 3.
- /// </summary>
- [JsonProperty("overviewRulerLanes", NullValueHandling = NullValueHandling.Ignore)]
- public int? OverviewRulerLanes { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Parameter hint options.
- /// </summary>
- [JsonProperty("parameterHints", NullValueHandling = NullValueHandling.Ignore)]
- public IEditorParameterHintOptions? ParameterHints { get => GetPropertyValue<IEditorParameterHintOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls whether to focus the inline editor in the peek widget by default.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("peekWidgetDefaultFocus", NullValueHandling = NullValueHandling.Ignore)]
- public bool? PeekWidgetDefaultFocus { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable quick suggestions (shadow suggestions)
- /// Defaults to true.
- /// </summary>
- [JsonProperty("quickSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- public bool? QuickSuggestions { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Quick suggestions show delay (in ms)
- /// Defaults to 10 (ms)
- /// </summary>
- [JsonProperty("quickSuggestionsDelay", NullValueHandling = NullValueHandling.Ignore)]
- public int? QuickSuggestionsDelay { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the editor be read only.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("readOnly", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ReadOnly { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of control characters.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("renderControlCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderControlCharacters { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Render last line number when the file ends with a newline.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderFinalNewline", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderFinalNewline { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of indent guides.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderIndentGuides", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderIndentGuides { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of current line highlight.
- /// Defaults to all.
- /// </summary>
- [JsonProperty("renderLineHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public RenderLineHighlight? RenderLineHighlight { get => GetPropertyValue<RenderLineHighlight?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the editor render validation decorations.
- /// Defaults to editable.
- /// </summary>
- [JsonProperty("renderValidationDecorations", NullValueHandling = NullValueHandling.Ignore)]
- public string? RenderValidationDecorations { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of whitespace.
- /// Defaults to none.
- /// </summary>
- [JsonProperty("renderWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- public RenderWhitespace? RenderWhitespace { get => GetPropertyValue<RenderWhitespace?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into
- /// a rectangle.
- /// This virtual padding ensures that the cursor gets revealed before hitting the edge of the
- /// viewport.
- /// Defaults to 30 (px).
- /// </summary>
- [JsonProperty("revealHorizontalRightPadding", NullValueHandling = NullValueHandling.Ignore)]
- public int? RevealHorizontalRightPadding { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Render the editor selection with rounded borders.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("roundedSelection", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RoundedSelection { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Render vertical lines at the specified columns.
- /// Defaults to empty array.
- /// </summary>
- [JsonProperty("rulers", NullValueHandling = NullValueHandling.Ignore)]
- public int[]? Rulers { get => GetPropertyValue<int[]>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior and rendering of the scrollbars.
- /// </summary>
- [JsonProperty("scrollbar", NullValueHandling = NullValueHandling.Ignore)]
- public IEditorScrollbarOptions? Scrollbar { get => GetPropertyValue<IEditorScrollbarOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that scrolling can go beyond the last column by a number of columns.
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("scrollBeyondLastColumn", NullValueHandling = NullValueHandling.Ignore)]
- public int? ScrollBeyondLastColumn { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that scrolling can go one screen size after the last line.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("scrollBeyondLastLine", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ScrollBeyondLastLine { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable Linux primary clipboard.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectionClipboard", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SelectionClipboard { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable selection highlight.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectionHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SelectionHighlight { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the corresponding line be selected when clicking on the line number?
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectOnLineNumbers", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SelectOnLineNumbers { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls whether the fold actions in the gutter stay always visible or hide unless the
- /// mouse is over the gutter.
- /// Defaults to 'mouseover'.
- /// </summary>
- [JsonProperty("showFoldingControls", NullValueHandling = NullValueHandling.Ignore)]
- public Show? ShowFoldingControls { get => GetPropertyValue<Show?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls fading out of unused variables.
- /// </summary>
- [JsonProperty("showUnused", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowUnused { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that the editor animates scrolling to a position.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("smoothScrolling", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SmoothScrolling { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable snippet suggestions. Default to 'true'.
- /// </summary>
- [JsonProperty("snippetSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- public SnippetSuggestions? SnippetSuggestions { get => GetPropertyValue<SnippetSuggestions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Performance guard: Stop rendering a line after x characters.
- /// Defaults to 10000.
- /// Use -1 to never stop rendering
- /// </summary>
- [JsonProperty("stopRenderingLineAfter", NullValueHandling = NullValueHandling.Ignore)]
- public int? StopRenderingLineAfter { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Suggest options.
- /// </summary>
- [JsonProperty("suggest", NullValueHandling = NullValueHandling.Ignore)]
- public ISuggestOptions? Suggest { get => GetPropertyValue<ISuggestOptions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font size for the suggest widget.
- /// Defaults to the editor font size.
- /// </summary>
- [JsonProperty("suggestFontSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? SuggestFontSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The line height for the suggest widget.
- /// Defaults to the editor line height.
- /// </summary>
- [JsonProperty("suggestLineHeight", NullValueHandling = NullValueHandling.Ignore)]
- public int? SuggestLineHeight { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable the suggestion box to pop-up on trigger characters.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("suggestOnTriggerCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SuggestOnTriggerCharacters { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The history mode for suggestions.
- /// </summary>
- [JsonProperty("suggestSelection", NullValueHandling = NullValueHandling.Ignore)]
- public SuggestSelection? SuggestSelection { get => GetPropertyValue<SuggestSelection?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable tab completion.
- /// </summary>
- [JsonProperty("tabCompletion", NullValueHandling = NullValueHandling.Ignore)]
- public TabCompletion? TabCompletion { get => GetPropertyValue<TabCompletion?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Inserting and deleting whitespace follows tab stops.
- /// </summary>
- [JsonProperty("useTabStops", NullValueHandling = NullValueHandling.Ignore)]
- public bool? UseTabStops { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// A string containing the word separators used when doing word navigation.
- /// Defaults to `~!@#$%^&amp;*()-=+[{]}\|;:'",.&lt;&gt;/?
- /// *
- /// </summary>
- [JsonProperty("wordSeparators", NullValueHandling = NullValueHandling.Ignore)]
- public string? WordSeparators { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the wrapping of the editor.
- /// When `wordWrap` = "off", the lines will never wrap.
- /// When `wordWrap` = "on", the lines will wrap at the viewport width.
- /// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
- /// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
- /// Defaults to "off".
- /// </summary>
- [JsonProperty("wordWrap", NullValueHandling = NullValueHandling.Ignore)]
- public WordWrap? WordWrap { get => GetPropertyValue<WordWrap?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure word wrapping characters. A break will be introduced after these characters.
- /// Defaults to ' \t})]?|&amp;,;'.
- /// </summary>
- [JsonProperty("wordWrapBreakAfterCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public string? WordWrapBreakAfterCharacters { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure word wrapping characters. A break will be introduced before these characters.
- /// Defaults to '{([+'.
- /// </summary>
- [JsonProperty("wordWrapBreakBeforeCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public string? WordWrapBreakBeforeCharacters { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the wrapping of the editor.
- /// When `wordWrap` = "off", the lines will never wrap.
- /// When `wordWrap` = "on", the lines will wrap at the viewport width.
- /// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
- /// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
- /// Defaults to 80.
- /// </summary>
- [JsonProperty("wordWrapColumn", NullValueHandling = NullValueHandling.Ignore)]
- public int? WordWrapColumn { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Force word wrapping when the text appears to be of a minified/generated file.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("wordWrapMinified", NullValueHandling = NullValueHandling.Ignore)]
- public bool? WordWrapMinified { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control indentation of wrapped lines. Can be: 'none', 'same', 'indent' or 'deepIndent'.
- /// Defaults to 'same' in vscode and to 'none' in monaco-editor.
- /// </summary>
- [JsonProperty("wrappingIndent", NullValueHandling = NullValueHandling.Ignore)]
- public WrappingIndent? WrappingIndent { get => GetPropertyValue<WrappingIndent?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls the wrapping strategy to use.
- /// Defaults to 'simple'.
- /// </summary>
- [JsonProperty("wrappingStrategy", NullValueHandling = NullValueHandling.Ignore)]
- public string? WrappingStrategy { get => GetPropertyValue<string?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Initial theme to be used for rendering.
- /// The current out-of-the-box available themes are: 'vs' (default), 'vs-dark', 'hc-black'.
- /// You can create custom themes via `monaco.editor.defineTheme`.
- /// To switch a theme, use `monaco.editor.setTheme`
- /// </summary>
- [JsonProperty("theme", NullValueHandling = NullValueHandling.Ignore)]
- public string? Theme { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- [JsonProperty("enableSplitViewResizing", NullValueHandling = NullValueHandling.Ignore)]
- public bool? EnableSplitViewResizing { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- [JsonProperty("ignoreTrimWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- public bool? IgnoreTrimWhitespace { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- [JsonProperty("maxComputationTime", NullValueHandling = NullValueHandling.Ignore)]
- public uint? MaxComputationTime { get => GetPropertyValue<uint?>(); set => SetPropertyValue(value); }
-
- [JsonProperty("originalEditable", NullValueHandling = NullValueHandling.Ignore)]
- public bool? OriginalEditable { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- [JsonProperty("renderIndicators", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderIndicators { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- [JsonProperty("renderSideBySide", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderSideBySide { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Dimension.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Dimension.cs
deleted file mode 100644
index 06929b0ac..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Dimension.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// The initial editor dimension (to avoid measuring the container).
-/// </summary>
-public sealed class Dimension : IDimension
-{
- [JsonProperty("height", NullValueHandling = NullValueHandling.Ignore)]
- public uint Height { get; set; }
-
- [JsonProperty("width", NullValueHandling = NullValueHandling.Ignore)]
- public uint Width { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorFindOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorFindOptions.cs
deleted file mode 100644
index 85cb21419..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorFindOptions.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class EditorFindOptions
-{
- [JsonProperty("addExtraSpaceOnTop", NullValueHandling = NullValueHandling.Ignore)]
- public bool? AddExtraSpaceOnTop { get; set; }
-
- /// <summary>
- /// Controls if Find in Selection flag is turned on in the editor.
- /// </summary>
- [JsonProperty("autoFindInSelection", NullValueHandling = NullValueHandling.Ignore)]
- public AutoFindInSelection? AutoFindInSelection { get; set; }
-
- /// <summary>
- /// Controls if we seed search string in the Find Widget with editor selection.
- /// </summary>
- [JsonProperty("seedSearchStringFromSelection", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SeedSearchStringFromSelection { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorHoverOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorHoverOptions.cs
deleted file mode 100644
index 2ec68c74a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorHoverOptions.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configure the editor's hover.
-///
-/// Configuration options for editor hover
-/// </summary>
-public sealed class EditorHoverOptions
-{
- /// <summary>
- /// Delay for showing the hover.
- /// Defaults to 300.
- /// </summary>
- [JsonProperty("delay", NullValueHandling = NullValueHandling.Ignore)]
- public int? Delay { get; set; }
-
- /// <summary>
- /// Enable the hover.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("enabled", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Enabled { get; set; }
-
- /// <summary>
- /// Is the hover sticky such that it can be clicked and its contents selected?
- /// Defaults to true.
- /// </summary>
- [JsonProperty("sticky", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Sticky { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorLightbulbOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorLightbulbOptions.cs
deleted file mode 100644
index f5c92ebb1..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorLightbulbOptions.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the behavior and rendering of the code action lightbulb.
-///
-/// Configuration options for editor lightbulb
-/// </summary>
-public sealed class EditorLightbulbOptions
-{
- /// <summary>
- /// Enable the lightbulb code action.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("enabled", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Enabled { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorMinimapOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorMinimapOptions.cs
deleted file mode 100644
index 81b3a7c04..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EditorMinimapOptions.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the behavior and rendering of the minimap.
-///
-/// Configuration options for editor minimap
-/// </summary>
-public sealed class EditorMinimapOptions
-{
- /// <summary>
- /// Enable the rendering of the minimap.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("enabled", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Enabled { get; set; }
-
- /// <summary>
- /// Limit the width of the minimap to render at most a certain number of columns.
- /// Defaults to 120.
- /// </summary>
- [JsonProperty("maxColumn", NullValueHandling = NullValueHandling.Ignore)]
- public uint? MaxColumn { get; set; }
-
- /// <summary>
- /// Render the actual text on a line (as opposed to color blocks).
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderCharacters { get; set; }
-
- /// <summary>
- /// Relative size of the font in the minimap. Defaults to 1.
- /// </summary>
- [JsonProperty("scale", NullValueHandling = NullValueHandling.Ignore)]
- public double? Scale { get; set; }
-
- /// <summary>
- /// Control the rendering of the minimap slider.
- /// Defaults to 'mouseover'.
- /// </summary>
- [JsonProperty("showSlider", NullValueHandling = NullValueHandling.Ignore)]
- public Show? ShowSlider { get; set; }
-
- /// <summary>
- /// Control the side of the minimap in editor.
- /// Defaults to 'right'.
- /// </summary>
- [JsonProperty("side", NullValueHandling = NullValueHandling.Ignore)]
- public Side? Side { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EndOfLinePreference.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EndOfLinePreference.cs
deleted file mode 100644
index 5d908eb68..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EndOfLinePreference.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// End of line character preference.
-/// </summary>
-public enum EndOfLinePreference
-{
- /// <summary>
- /// Use carriage return and line feed (\r\n) as the end of line character.
- /// </summary>
- CRLF = 2,
- /// <summary>
- /// Use line feed (\n) as the end of line character.
- /// </summary>
- LF = 1,
- /// <summary>
- /// Use the end of line character identified in the text buffer.
- /// </summary>
- TextDefined = 0
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EndOfLineSequence.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EndOfLineSequence.cs
deleted file mode 100644
index 40cac8c5e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/EndOfLineSequence.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// End of line character preference.
-/// </summary>
-public enum EndOfLineSequence
-{
- /// <summary>
- /// Use carriage return and line feed (\r\n) as the end of line character.
- /// </summary>
- CRLF = 1,
- /// <summary>
- /// Use line feed (\n) as the end of line character.
- /// </summary>
- LF = 0
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/FindMatch.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/FindMatch.cs
deleted file mode 100644
index e4a1f2f1f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/FindMatch.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using DevToys.MonacoEditor.JsonConverters;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class FindMatch
-{
- [JsonProperty("matches", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? Matches { get; set; }
-
- [JsonProperty("range", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(InterfaceToClassConverter<IRange, Range>))]
- public IRange? Range { get; set; }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/FoldingStrategy.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/FoldingStrategy.cs
deleted file mode 100644
index f1880411a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/FoldingStrategy.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Selects the folding strategy. 'auto' uses the strategies contributed for the current
-/// document, 'indentation' uses the indentation based folding strategy.
-/// Defaults to 'auto'.
-/// </summary>
-[JsonConverter(typeof(FoldingStrategyConverter))]
-public enum FoldingStrategy { Auto, Indentation };
-
-internal class FoldingStrategyConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(FoldingStrategy) || t == typeof(FoldingStrategy?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "auto" => FoldingStrategy.Auto,
- "indentation" => (object)FoldingStrategy.Indentation,
- _ => throw new Exception("Cannot unmarshal type FoldingStrategy"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (FoldingStrategy)untypedValue;
- switch (value)
- {
- case FoldingStrategy.Auto:
- serializer.Serialize(writer, "auto");
- return;
- case FoldingStrategy.Indentation:
- serializer.Serialize(writer, "indentation");
- return;
- }
- throw new Exception("Cannot marshal type FoldingStrategy");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/GoToLocationOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/GoToLocationOptions.cs
deleted file mode 100644
index 7179ab4fc..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/GoToLocationOptions.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configuration options for go to location
-/// </summary>
-public sealed class GoToLocationOptions
-{
- [JsonProperty("alternativeDeclarationCommand", NullValueHandling = NullValueHandling.Ignore)]
- public string? AlternativeDeclarationCommand { get; set; }
-
- [JsonProperty("alternativeDefinitionCommand", NullValueHandling = NullValueHandling.Ignore)]
- public string? AlternativeDefinitionCommand { get; set; }
-
- [JsonProperty("alternativeImplementationCommand", NullValueHandling = NullValueHandling.Ignore)]
- public string? AlternativeImplementationCommand { get; set; }
-
- [JsonProperty("alternativeReferenceCommand", NullValueHandling = NullValueHandling.Ignore)]
- public string? AlternativeReferenceCommand { get; set; }
-
- [JsonProperty("alternativeTypeDefinitionCommand", NullValueHandling = NullValueHandling.Ignore)]
- public string? AlternativeTypeDefinitionCommand { get; set; }
-
- [JsonProperty("multiple", NullValueHandling = NullValueHandling.Ignore)]
- public Multiple? Multiple { get; set; }
-
- [JsonProperty("multipleDeclarations", NullValueHandling = NullValueHandling.Ignore)]
- public Multiple? MultipleDeclarations { get; set; }
-
- [JsonProperty("multipleDefinitions", NullValueHandling = NullValueHandling.Ignore)]
- public Multiple? MultipleDefinitions { get; set; }
-
- [JsonProperty("multipleImplementations", NullValueHandling = NullValueHandling.Ignore)]
- public Multiple? MultipleImplementations { get; set; }
-
- [JsonProperty("multipleReferences", NullValueHandling = NullValueHandling.Ignore)]
- public Multiple? MultipleReferences { get; set; }
-
- [JsonProperty("multipleTypeDefinitions", NullValueHandling = NullValueHandling.Ignore)]
- public Multiple? MultipleTypeDefinitions { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IActionDescriptor.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IActionDescriptor.cs
deleted file mode 100644
index fcb2bcdb7..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IActionDescriptor.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Description of an action contribution
-/// </summary>
-public interface IActionDescriptor
-{
- /**
- * https://github.com/Microsoft/vscode/blob/master/src/vs/monaco.d.ts#L1907
- * Control if the action should show up in the context menu and where.
- * The context menu of the editor has these default:
- * navigation - The navigation group comes first in all cases.
- * 1_modification - This group comes next and contains commands that modify your code.
- * 9_cutcopypaste - The last default group with the basic editing commands.
- * You can also create your own group.
- * Defaults to null (don't show in context menu).
- */
- [JsonProperty("contextMenuGroupId", NullValueHandling = NullValueHandling.Ignore)]
- string ContextMenuGroupId { get; }
-
- [JsonProperty("contextMenuOrder", NullValueHandling = NullValueHandling.Ignore)]
- float ContextMenuOrder { get; }
-
- [JsonProperty("id")]
- string Id { get; }
-
- /// <summary>
- /// <see cref="IContextKey"/>
- /// </summary>
- [JsonProperty("keybindingContext", NullValueHandling = NullValueHandling.Ignore)]
- string KeybindingContext { get; }
-
- /// <summary>
- /// <see cref="KeyMod"/>, <see cref="KeyCode"/>, and <see cref="KeyMod.Chord(int, int)"/>
- /// </summary>
- [JsonProperty("keybindings")]
- int[] Keybindings { get; }
-
- [JsonProperty("label")]
- string Label { get; }
-
- /// <summary>
- /// <see cref="IContextKey"/>
- /// </summary>
- [JsonProperty("precondition", NullValueHandling = NullValueHandling.Ignore)]
- string Precondition { get; }
-
- void Run(CodeEditor editor, object[] args);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IContextKey.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IContextKey.cs
deleted file mode 100644
index 2022056e3..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IContextKey.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.icontextkey.html
-///
-/// Supports bools only as Windows Runtime Type doesn't support generics.
-/// </summary>
-public interface IContextKey
-{
- /// <summary>
- /// Get the current value of the key.
- /// </summary>
- /// <returns></returns>
- bool Get();
-
- /// <summary>
- /// Resets the key to the default value.
- /// </summary>
- void Reset();
-
- /// <summary>
- /// Set the key to the specified value.
- /// </summary>
- /// <param name="value"></param>
- void Set(bool value);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDiffEditorConstructionOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDiffEditorConstructionOptions.cs
deleted file mode 100644
index 611326254..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDiffEditorConstructionOptions.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// The options to create a diff editor.
-/// </summary>
-public interface IDiffEditorConstructionOptions : IDiffEditorOptions
-{
- /// <summary>
- /// Initial theme to be used for rendering.
- /// The current out-of-the-box available themes are: 'vs' (default), 'vs-dark', 'hc-black'.
- /// You can create custom themes via `monaco.editor.defineTheme`.
- /// To switch a theme, use `monaco.editor.setTheme`
- /// </summary>
- [JsonProperty("theme", NullValueHandling = NullValueHandling.Ignore)]
- string? Theme { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDiffEditorOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDiffEditorOptions.cs
deleted file mode 100644
index 6f1354101..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDiffEditorOptions.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configuration options for the diff editor.
-/// </summary>
-public interface IDiffEditorOptions : IEditorOptions
-{
- /// <summary>
- /// Allow the user to resize the diff editor split view.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("enableSplitViewResizing", NullValueHandling = NullValueHandling.Ignore)]
- bool? EnableSplitViewResizing { get; set; }
- /// <summary>
- /// Compute the diff by ignoring leading/trailing whitespace
- /// Defaults to true.
- /// </summary>
- [JsonProperty("ignoreTrimWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- bool? IgnoreTrimWhitespace { get; set; }
- /// <summary>
- /// Timeout in milliseconds after which diff computation is cancelled.
- /// Defaults to 5000.
- /// </summary>
- [JsonProperty("maxComputationTime", NullValueHandling = NullValueHandling.Ignore)]
- uint? MaxComputationTime { get; set; }
- /// <summary>
- /// Original model should be editable?
- /// Defaults to false.
- /// </summary>
- [JsonProperty("originalEditable", NullValueHandling = NullValueHandling.Ignore)]
- bool? OriginalEditable { get; set; }
- /// <summary>
- /// Render +/- indicators for added/deleted changes.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderIndicators", NullValueHandling = NullValueHandling.Ignore)]
- bool? RenderIndicators { get; set; }
- /// <summary>
- /// Render the differences in two side-by-side editors.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderSideBySide", NullValueHandling = NullValueHandling.Ignore)]
- bool? RenderSideBySide { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDimension.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDimension.cs
deleted file mode 100644
index 32966fd02..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IDimension.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// The initial editor dimension (to avoid measuring the container).
-/// </summary>
-public interface IDimension
-{
- [JsonProperty("height", NullValueHandling = NullValueHandling.Ignore)]
- uint Height { get; set; }
-
- [JsonProperty("width", NullValueHandling = NullValueHandling.Ignore)]
- uint Width { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorCommentsOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorCommentsOptions.cs
deleted file mode 100644
index 1c691b1a0..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorCommentsOptions.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configuration options for editor comments
-/// </summary>
-public sealed class IEditorCommentsOptions
-{
- /// <summary>
- /// Insert a space after the line comment token and inside the block comments tokens.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("insertSpace", NullValueHandling = NullValueHandling.Ignore)]
- public bool? InsertSpace { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorConstructionOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorConstructionOptions.cs
deleted file mode 100644
index ef410126b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorConstructionOptions.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public interface IEditorConstructionOptions : IEditorOptions
-{
- [JsonProperty("dimension", NullValueHandling = NullValueHandling.Ignore)]
- IDimension? Dimension { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorFindOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorFindOptions.cs
deleted file mode 100644
index a9c2f933e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorFindOptions.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.ieditorfindoptions.html
-/// </summary>
-public sealed class IEditorFindOptions
-{
- [JsonProperty("autoFindInSelection")]
- public bool AutoFindInSelection { get; set; }
- [JsonProperty("seedSearchStringFromSelection")]
- public bool SeedSearchStringFromSelection { get; set; } //= true;
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorOptions.cs
deleted file mode 100644
index 2e8b59e6c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorOptions.cs
+++ /dev/null
@@ -1,739 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configuration options for the editor.
-/// </summary>
-public interface IEditorOptions
-{
- /// <summary>
- /// Accept suggestions on provider defined characters.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("acceptSuggestionOnCommitCharacter", NullValueHandling = NullValueHandling.Ignore)]
- bool? AcceptSuggestionOnCommitCharacter { get; set; }
-
- /// <summary>
- /// Accept suggestions on ENTER.
- /// Defaults to 'on'.
- /// </summary>
- [JsonProperty("acceptSuggestionOnEnter", NullValueHandling = NullValueHandling.Ignore)]
- AcceptSuggestionOnEnter? AcceptSuggestionOnEnter { get; set; }
-
- /// <summary>
- /// Controls the number of lines in the editor that can be read out by a screen reader
- /// </summary>
- [JsonProperty("accessibilityPageSize", NullValueHandling = NullValueHandling.Ignore)]
- int? AccessibilityPageSize { get; set; }
-
- /// <summary>
- /// Configure the editor's accessibility support.
- /// Defaults to 'auto'. It is best to leave this to 'auto'.
- /// </summary>
- [JsonProperty("accessibilitySupport", NullValueHandling = NullValueHandling.Ignore)]
- AccessibilitySupport? AccessibilitySupport { get; set; }
-
- /// <summary>
- /// The aria label for the editor's textarea (when it is focused).
- /// </summary>
- [JsonProperty("ariaLabel", NullValueHandling = NullValueHandling.Ignore)]
- string? AriaLabel { get; set; }
-
- /// <summary>
- /// Options for auto closing brackets.
- /// Defaults to language defined behavior.
- /// </summary>
- [JsonProperty("autoClosingBrackets", NullValueHandling = NullValueHandling.Ignore)]
- AutoClosingBrackets? AutoClosingBrackets { get; set; }
-
- /// <summary>
- /// Options for typing over closing quotes or brackets.
- /// </summary>
- [JsonProperty("autoClosingOvertype", NullValueHandling = NullValueHandling.Ignore)]
- AutoClosingOvertype? AutoClosingOvertype { get; set; }
-
- /// <summary>
- /// Options for auto closing quotes.
- /// Defaults to language defined behavior.
- /// </summary>
- [JsonProperty("autoClosingQuotes", NullValueHandling = NullValueHandling.Ignore)]
- AutoClosingQuotes? AutoClosingQuotes { get; set; }
-
- /// <summary>
- /// Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.
- /// Defaults to advanced.
- /// </summary>
- [JsonProperty("autoIndent", NullValueHandling = NullValueHandling.Ignore)]
- AutoIndent? AutoIndent { get; set; }
-
- /// <summary>
- /// Enable that the editor will install an interval to check if its container dom node size
- /// has changed.
- /// Enabling this might have a severe performance impact.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("automaticLayout", NullValueHandling = NullValueHandling.Ignore)]
- bool? AutomaticLayout { get; set; }
-
- /// <summary>
- /// Options for auto surrounding.
- /// Defaults to always allowing auto surrounding.
- /// </summary>
- [JsonProperty("autoSurround", NullValueHandling = NullValueHandling.Ignore)]
- AutoSurround? AutoSurround { get; set; }
-
- /// <summary>
- /// Timeout for running code actions on save.
- /// </summary>
- [JsonProperty("codeActionsOnSaveTimeout", NullValueHandling = NullValueHandling.Ignore)]
- int? CodeActionsOnSaveTimeout { get; set; }
-
- /// <summary>
- /// Show code lens
- /// Defaults to true.
- /// </summary>
- [JsonProperty("codeLens", NullValueHandling = NullValueHandling.Ignore)]
- bool? CodeLens { get; set; }
-
- /// <summary>
- /// Enable inline color decorators and color picker rendering.
- /// </summary>
- [JsonProperty("colorDecorators", NullValueHandling = NullValueHandling.Ignore)]
- bool? ColorDecorators { get; set; }
-
- /// <summary>
- /// Control the behaviour of comments in the editor.
- /// </summary>
- [JsonProperty("comments", NullValueHandling = NullValueHandling.Ignore)]
- IEditorCommentsOptions? Comments { get; set; }
- /// <summary>
- /// Enable custom contextmenu.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("contextmenu", NullValueHandling = NullValueHandling.Ignore)]
- bool? Contextmenu { get; set; }
-
- /// <summary>
- /// Syntax highlighting is copied.
- /// </summary>
- [JsonProperty("copyWithSyntaxHighlighting", NullValueHandling = NullValueHandling.Ignore)]
- bool? CopyWithSyntaxHighlighting { get; set; }
-
- /// <summary>
- /// Control the cursor animation style, possible values are 'blink', 'smooth', 'phase',
- /// 'expand' and 'solid'.
- /// Defaults to 'blink'.
- /// </summary>
- [JsonProperty("cursorBlinking", NullValueHandling = NullValueHandling.Ignore)]
- CursorBlinking? CursorBlinking { get; set; }
-
- /// <summary>
- /// Enable smooth caret animation.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("cursorSmoothCaretAnimation", NullValueHandling = NullValueHandling.Ignore)]
- bool? CursorSmoothCaretAnimation { get; set; }
-
- /// <summary>
- /// Control the cursor style, either 'block' or 'line'.
- /// Defaults to 'line'.
- /// </summary>
- [JsonProperty("cursorStyle", NullValueHandling = NullValueHandling.Ignore)]
- CursorStyle? CursorStyle { get; set; }
-
- /// <summary>
- /// Controls the minimal number of visible leading and trailing lines surrounding the cursor.
- /// Defaults to 0.
- /// </summary>
- [JsonProperty("cursorSurroundingLines", NullValueHandling = NullValueHandling.Ignore)]
- int? CursorSurroundingLines { get; set; }
-
- /// <summary>
- /// Controls when `cursorSurroundingLines` should be enforced
- /// Defaults to `default`, `cursorSurroundingLines` is not enforced when cursor position is
- /// changed
- /// by mouse.
- /// </summary>
- [JsonProperty("cursorSurroundingLinesStyle", NullValueHandling = NullValueHandling.Ignore)]
- CursorSurroundingLinesStyle? CursorSurroundingLinesStyle { get; set; }
-
- /// <summary>
- /// Control the width of the cursor when cursorStyle is set to 'line'
- /// </summary>
- [JsonProperty("cursorWidth", NullValueHandling = NullValueHandling.Ignore)]
- int? CursorWidth { get; set; }
-
- /// <summary>
- /// Disable the use of `transform: translate3d(0px, 0px, 0px)` for the editor margin and
- /// lines layers.
- /// The usage of `transform: translate3d(0px, 0px, 0px)` acts as a hint for browsers to
- /// create an extra layer.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("disableLayerHinting", NullValueHandling = NullValueHandling.Ignore)]
- bool? DisableLayerHinting { get; set; }
-
- /// <summary>
- /// Disable the optimizations for monospace fonts.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("disableMonospaceOptimizations", NullValueHandling = NullValueHandling.Ignore)]
- bool? DisableMonospaceOptimizations { get; set; }
-
- /// <summary>
- /// Controls if the editor should allow to move selections via drag and drop.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("dragAndDrop", NullValueHandling = NullValueHandling.Ignore)]
- bool? DragAndDrop { get; set; }
-
- /// <summary>
- /// Copying without a selection copies the current line.
- /// </summary>
- [JsonProperty("emptySelectionClipboard", NullValueHandling = NullValueHandling.Ignore)]
- bool? EmptySelectionClipboard { get; set; }
-
- /// <summary>
- /// Class name to be added to the editor.
- /// </summary>
- [JsonProperty("extraEditorClassName", NullValueHandling = NullValueHandling.Ignore)]
- string? ExtraEditorClassName { get; set; }
-
- /// <summary>
- /// FastScrolling mulitplier speed when pressing `Alt`
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("fastScrollSensitivity", NullValueHandling = NullValueHandling.Ignore)]
- int? FastScrollSensitivity { get; set; }
-
- /// <summary>
- /// Control the behavior of the find widget.
- /// </summary>
- [JsonProperty("find", NullValueHandling = NullValueHandling.Ignore)]
- EditorFindOptions? Find { get; set; }
-
- /// <summary>
- /// Display overflow widgets as `fixed`.
- /// Defaults to `false`.
- /// </summary>
- [JsonProperty("fixedOverflowWidgets", NullValueHandling = NullValueHandling.Ignore)]
- bool? FixedOverflowWidgets { get; set; }
-
- /// <summary>
- /// Enable code folding
- /// Defaults to true.
- /// </summary>
- [JsonProperty("folding", NullValueHandling = NullValueHandling.Ignore)]
- bool? Folding { get; set; }
-
- /// <summary>
- /// Enable highlight for folded regions.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("foldingHighlight", NullValueHandling = NullValueHandling.Ignore)]
- bool? FoldingHighlight { get; set; }
-
- /// <summary>
- /// Selects the folding strategy. 'auto' uses the strategies contributed for the current
- /// document, 'indentation' uses the indentation based folding strategy.
- /// Defaults to 'auto'.
- /// </summary>
- [JsonProperty("foldingStrategy", NullValueHandling = NullValueHandling.Ignore)]
- FoldingStrategy? FoldingStrategy { get; set; }
-
- /// <summary>
- /// The font family
- /// </summary>
- [JsonProperty("fontFamily", NullValueHandling = NullValueHandling.Ignore)]
- string? FontFamily { get; set; }
-
- /// <summary>
- /// Enable font ligatures.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("fontLigatures", NullValueHandling = NullValueHandling.Ignore)]
- bool? FontLigatures { get; set; }
-
- /// <summary>
- /// The font size
- /// </summary>
- [JsonProperty("fontSize", NullValueHandling = NullValueHandling.Ignore)]
- int? FontSize { get; set; }
-
- /// <summary>
- /// The font weight
- /// </summary>
- [JsonProperty("fontWeight", NullValueHandling = NullValueHandling.Ignore)]
- string? FontWeight { get; set; }
-
- /// <summary>
- /// Enable format on paste.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("formatOnPaste", NullValueHandling = NullValueHandling.Ignore)]
- bool? FormatOnPaste { get; set; }
-
- /// <summary>
- /// Enable format on type.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("formatOnType", NullValueHandling = NullValueHandling.Ignore)]
- bool? FormatOnType { get; set; }
-
- /// <summary>
- /// Enable the rendering of the glyph margin.
- /// Defaults to true in vscode and to false in monaco-editor.
- /// </summary>
- [JsonProperty("glyphMargin", NullValueHandling = NullValueHandling.Ignore)]
- bool? GlyphMargin { get; set; }
-
- /// <summary>
- /// Configuration options for go to location
- /// </summary>
- [JsonProperty("gotoLocation", NullValueHandling = NullValueHandling.Ignore)]
- GoToLocationOptions? GotoLocation { get; set; }
-
- /// <summary>
- /// Should the cursor be hidden in the overview ruler.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("hideCursorInOverviewRuler", NullValueHandling = NullValueHandling.Ignore)]
- bool? HideCursorInOverviewRuler { get; set; }
-
- /// <summary>
- /// Enable highlighting of the active indent guide.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("highlightActiveIndentGuide", NullValueHandling = NullValueHandling.Ignore)]
- bool? HighlightActiveIndentGuide { get; set; }
-
- /// <summary>
- /// Configure the editor's hover.
- /// </summary>
- [JsonProperty("hover", NullValueHandling = NullValueHandling.Ignore)]
- EditorHoverOptions? Hover { get; set; }
-
- /// <summary>
- /// This editor is used inside a diff editor.
- /// </summary>
- [JsonProperty("inDiffEditor", NullValueHandling = NullValueHandling.Ignore)]
- bool? InDiffEditor { get; set; }
-
- /// <summary>
- /// The letter spacing
- /// </summary>
- [JsonProperty("letterSpacing", NullValueHandling = NullValueHandling.Ignore)]
- int? LetterSpacing { get; set; }
-
- /// <summary>
- /// Control the behavior and rendering of the code action lightbulb.
- /// </summary>
- [JsonProperty("lightbulb", NullValueHandling = NullValueHandling.Ignore)]
- EditorLightbulbOptions? Lightbulb { get; set; }
-
- /// <summary>
- /// The width reserved for line decorations (in px).
- /// Line decorations are placed between line numbers and the editor content.
- /// You can pass in a string in the format floating point followed by "ch". e.g. 1.3ch.
- /// Defaults to 10.
- /// </summary>
- [JsonProperty("lineDecorationsWidth", NullValueHandling = NullValueHandling.Ignore)]
- uint? LineDecorationsWidth { get; set; }
-
- /// <summary>
- /// The line height
- /// </summary>
- [JsonProperty("lineHeight", NullValueHandling = NullValueHandling.Ignore)]
- int? LineHeight { get; set; }
-
- /// <summary>
- /// Control the rendering of line numbers.
- /// If it is a function, it will be invoked when rendering a line number and the return value
- /// will be rendered.
- /// Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using
- /// an identity function).
- /// Otherwise, line numbers will not be rendered.
- /// Defaults to `on`.
- /// </summary>
- [JsonProperty("lineNumbers", NullValueHandling = NullValueHandling.Ignore)]
- LineNumbersType? LineNumbers { get; set; }
-
- /// <summary>
- /// Control the width of line numbers, by reserving horizontal space for rendering at least
- /// an amount of digits.
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("lineNumbersMinChars", NullValueHandling = NullValueHandling.Ignore)]
- int? LineNumbersMinChars { get; set; }
-
- /// <summary>
- /// Enable detecting links and making them clickable.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("links", NullValueHandling = NullValueHandling.Ignore)]
- bool? Links { get; set; }
-
- /// <summary>
- /// Enable highlighting of matching brackets.
- /// Defaults to 'always'.
- /// </summary>
- [JsonProperty("matchBrackets", NullValueHandling = NullValueHandling.Ignore)]
- MatchBrackets? MatchBrackets { get; set; }
-
- /// <summary>
- /// Control the behavior and rendering of the minimap.
- /// </summary>
- [JsonProperty("minimap", NullValueHandling = NullValueHandling.Ignore)]
- EditorMinimapOptions? Minimap { get; set; }
-
- /// <summary>
- /// Control the mouse pointer style, either 'text' or 'default' or 'copy'
- /// Defaults to 'text'
- /// </summary>
- [JsonProperty("mouseStyle", NullValueHandling = NullValueHandling.Ignore)]
- MouseStyle? MouseStyle { get; set; }
-
- /// <summary>
- /// A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.
- /// Defaults to 1.
- /// </summary>
- [JsonProperty("mouseWheelScrollSensitivity", NullValueHandling = NullValueHandling.Ignore)]
- int? MouseWheelScrollSensitivity { get; set; }
-
- /// <summary>
- /// Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("mouseWheelZoom", NullValueHandling = NullValueHandling.Ignore)]
- bool? MouseWheelZoom { get; set; }
-
- /// <summary>
- /// Merge overlapping selections.
- /// Defaults to true
- /// </summary>
- [JsonProperty("multiCursorMergeOverlapping", NullValueHandling = NullValueHandling.Ignore)]
- bool? MultiCursorMergeOverlapping { get; set; }
-
- /// <summary>
- /// The modifier to be used to add multiple cursors with the mouse.
- /// Defaults to 'alt'
- /// </summary>
- [JsonProperty("multiCursorModifier", NullValueHandling = NullValueHandling.Ignore)]
- MultiCursorModifier? MultiCursorModifier { get; set; }
-
- /// <summary>
- /// Configure the behaviour when pasting a text with the line count equal to the cursor
- /// count.
- /// Defaults to 'spread'.
- /// </summary>
- [JsonProperty("multiCursorPaste", NullValueHandling = NullValueHandling.Ignore)]
- MultiCursorPaste? MultiCursorPaste { get; set; }
-
- /// <summary>
- /// Enable semantic occurrences highlight.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("occurrencesHighlight", NullValueHandling = NullValueHandling.Ignore)]
- bool? OccurrencesHighlight { get; set; }
-
- /// <summary>
- /// Controls if a border should be drawn around the overview ruler.
- /// Defaults to `true`.
- /// </summary>
- [JsonProperty("overviewRulerBorder", NullValueHandling = NullValueHandling.Ignore)]
- bool? OverviewRulerBorder { get; set; }
-
- /// <summary>
- /// The number of vertical lanes the overview ruler should render.
- /// Defaults to 3.
- /// </summary>
- [JsonProperty("overviewRulerLanes", NullValueHandling = NullValueHandling.Ignore)]
- int? OverviewRulerLanes { get; set; }
-
- /// <summary>
- /// Parameter hint options.
- /// </summary>
- [JsonProperty("parameterHints", NullValueHandling = NullValueHandling.Ignore)]
- IEditorParameterHintOptions? ParameterHints { get; set; }
-
- /// <summary>
- /// Controls whether to focus the inline editor in the peek widget by default.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("peekWidgetDefaultFocus", NullValueHandling = NullValueHandling.Ignore)]
- bool? PeekWidgetDefaultFocus { get; set; }
-
- /// <summary>
- /// Enable quick suggestions (shadow suggestions)
- /// Defaults to true.
- /// </summary>
- [JsonProperty("quickSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- bool? QuickSuggestions { get; set; }
-
- /// <summary>
- /// Quick suggestions show delay (in ms)
- /// Defaults to 10 (ms)
- /// </summary>
- [JsonProperty("quickSuggestionsDelay", NullValueHandling = NullValueHandling.Ignore)]
- int? QuickSuggestionsDelay { get; set; }
-
- /// <summary>
- /// Should the editor be read only.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("readOnly", NullValueHandling = NullValueHandling.Ignore)]
- bool? ReadOnly { get; set; }
-
- /// <summary>
- /// Enable rendering of control characters.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("renderControlCharacters", NullValueHandling = NullValueHandling.Ignore)]
- bool? RenderControlCharacters { get; set; }
-
- /// <summary>
- /// Render last line number when the file ends with a newline.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderFinalNewline", NullValueHandling = NullValueHandling.Ignore)]
- bool? RenderFinalNewline { get; set; }
-
- /// <summary>
- /// Enable rendering of indent guides.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderIndentGuides", NullValueHandling = NullValueHandling.Ignore)]
- bool? RenderIndentGuides { get; set; }
-
- /// <summary>
- /// Enable rendering of current line highlight.
- /// Defaults to all.
- /// </summary>
- [JsonProperty("renderLineHighlight", NullValueHandling = NullValueHandling.Ignore)]
- RenderLineHighlight? RenderLineHighlight { get; set; }
-
- /// <summary>
- /// Should the editor render validation decorations.
- /// Defaults to editable.
- /// </summary>
- [JsonProperty("renderValidationDecorations", NullValueHandling = NullValueHandling.Ignore)]
- string? RenderValidationDecorations { get; set; }
-
- /// <summary>
- /// Enable rendering of whitespace.
- /// Defaults to none.
- /// </summary>
- [JsonProperty("renderWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- RenderWhitespace? RenderWhitespace { get; set; }
-
- /// <summary>
- /// When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into
- /// a rectangle.
- /// This virtual padding ensures that the cursor gets revealed before hitting the edge of the
- /// viewport.
- /// Defaults to 30 (px).
- /// </summary>
- [JsonProperty("revealHorizontalRightPadding", NullValueHandling = NullValueHandling.Ignore)]
- int? RevealHorizontalRightPadding { get; set; }
-
- /// <summary>
- /// Render the editor selection with rounded borders.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("roundedSelection", NullValueHandling = NullValueHandling.Ignore)]
- bool? RoundedSelection { get; set; }
-
- /// <summary>
- /// Render vertical lines at the specified columns.
- /// Defaults to empty array.
- /// </summary>
- [JsonProperty("rulers", NullValueHandling = NullValueHandling.Ignore)]
- int[]? Rulers { get; set; }
-
- /// <summary>
- /// Control the behavior and rendering of the scrollbars.
- /// </summary>
- [JsonProperty("scrollbar", NullValueHandling = NullValueHandling.Ignore)]
- IEditorScrollbarOptions? Scrollbar { get; set; }
-
- /// <summary>
- /// Enable that scrolling can go beyond the last column by a number of columns.
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("scrollBeyondLastColumn", NullValueHandling = NullValueHandling.Ignore)]
- int? ScrollBeyondLastColumn { get; set; }
-
- /// <summary>
- /// Enable that scrolling can go one screen size after the last line.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("scrollBeyondLastLine", NullValueHandling = NullValueHandling.Ignore)]
- bool? ScrollBeyondLastLine { get; set; }
-
- /// <summary>
- /// Enable Linux primary clipboard.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectionClipboard", NullValueHandling = NullValueHandling.Ignore)]
- bool? SelectionClipboard { get; set; }
-
- /// <summary>
- /// Enable selection highlight.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectionHighlight", NullValueHandling = NullValueHandling.Ignore)]
- bool? SelectionHighlight { get; set; }
-
- /// <summary>
- /// Should the corresponding line be selected when clicking on the line number?
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectOnLineNumbers", NullValueHandling = NullValueHandling.Ignore)]
- bool? SelectOnLineNumbers { get; set; }
-
- /// <summary>
- /// Controls whether the fold actions in the gutter stay always visible or hide unless the
- /// mouse is over the gutter.
- /// Defaults to 'mouseover'.
- /// </summary>
- [JsonProperty("showFoldingControls", NullValueHandling = NullValueHandling.Ignore)]
- Show? ShowFoldingControls { get; set; }
-
- /// <summary>
- /// Controls fading out of unused variables.
- /// </summary>
- [JsonProperty("showUnused", NullValueHandling = NullValueHandling.Ignore)]
- bool? ShowUnused { get; set; }
-
- /// <summary>
- /// Enable that the editor animates scrolling to a position.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("smoothScrolling", NullValueHandling = NullValueHandling.Ignore)]
- bool? SmoothScrolling { get; set; }
-
- /// <summary>
- /// Enable snippet suggestions. Default to 'true'.
- /// </summary>
- [JsonProperty("snippetSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- SnippetSuggestions? SnippetSuggestions { get; set; }
-
- /// <summary>
- /// Performance guard: Stop rendering a line after x characters.
- /// Defaults to 10000.
- /// Use -1 to never stop rendering
- /// </summary>
- [JsonProperty("stopRenderingLineAfter", NullValueHandling = NullValueHandling.Ignore)]
- int? StopRenderingLineAfter { get; set; }
-
- /// <summary>
- /// Suggest options.
- /// </summary>
- [JsonProperty("suggest", NullValueHandling = NullValueHandling.Ignore)]
- ISuggestOptions? Suggest { get; set; }
-
- /// <summary>
- /// The font size for the suggest widget.
- /// Defaults to the editor font size.
- /// </summary>
- [JsonProperty("suggestFontSize", NullValueHandling = NullValueHandling.Ignore)]
- int? SuggestFontSize { get; set; }
-
- /// <summary>
- /// The line height for the suggest widget.
- /// Defaults to the editor line height.
- /// </summary>
- [JsonProperty("suggestLineHeight", NullValueHandling = NullValueHandling.Ignore)]
- int? SuggestLineHeight { get; set; }
-
- /// <summary>
- /// Enable the suggestion box to pop-up on trigger characters.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("suggestOnTriggerCharacters", NullValueHandling = NullValueHandling.Ignore)]
- bool? SuggestOnTriggerCharacters { get; set; }
-
- /// <summary>
- /// The history mode for suggestions.
- /// </summary>
- [JsonProperty("suggestSelection", NullValueHandling = NullValueHandling.Ignore)]
- SuggestSelection? SuggestSelection { get; set; }
-
- /// <summary>
- /// Enable tab completion.
- /// </summary>
- [JsonProperty("tabCompletion", NullValueHandling = NullValueHandling.Ignore)]
- TabCompletion? TabCompletion { get; set; }
-
- /// <summary>
- /// Inserting and deleting whitespace follows tab stops.
- /// </summary>
- [JsonProperty("useTabStops", NullValueHandling = NullValueHandling.Ignore)]
- bool? UseTabStops { get; set; }
-
- /// <summary>
- /// A string containing the word separators used when doing word navigation.
- /// Defaults to `~!@#$%^&amp;*()-=+[{]}\|;:'",.&lt;&gt;/?
- /// *
- /// </summary>
- [JsonProperty("wordSeparators", NullValueHandling = NullValueHandling.Ignore)]
- string? WordSeparators { get; set; }
-
- /// <summary>
- /// Control the wrapping of the editor.
- /// When `wordWrap` = "off", the lines will never wrap.
- /// When `wordWrap` = "on", the lines will wrap at the viewport width.
- /// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
- /// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
- /// Defaults to "off".
- /// </summary>
- [JsonProperty("wordWrap", NullValueHandling = NullValueHandling.Ignore)]
- WordWrap? WordWrap { get; set; }
-
- /// <summary>
- /// Configure word wrapping characters. A break will be introduced after these characters.
- /// Defaults to ' \t})]?|/&amp;.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」'.
- /// </summary>
- [JsonProperty("wordWrapBreakAfterCharacters", NullValueHandling = NullValueHandling.Ignore)]
- string? WordWrapBreakAfterCharacters { get; set; }
-
- /// <summary>
- /// Configure word wrapping characters. A break will be introduced before these characters.
- /// Defaults to '([{‘“〈《「『【〔([{「£¥$£¥++'.
- /// </summary>
- [JsonProperty("wordWrapBreakBeforeCharacters", NullValueHandling = NullValueHandling.Ignore)]
- string? WordWrapBreakBeforeCharacters { get; set; }
-
- /// <summary>
- /// Control the wrapping of the editor.
- /// When `wordWrap` = "off", the lines will never wrap.
- /// When `wordWrap` = "on", the lines will wrap at the viewport width.
- /// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
- /// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
- /// Defaults to 80.
- /// </summary>
- [JsonProperty("wordWrapColumn", NullValueHandling = NullValueHandling.Ignore)]
- int? WordWrapColumn { get; set; }
-
- /// <summary>
- /// Force word wrapping when the text appears to be of a minified/generated file.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("wordWrapMinified", NullValueHandling = NullValueHandling.Ignore)]
- bool? WordWrapMinified { get; set; }
-
- /// <summary>
- /// Control indentation of wrapped lines. Can be: 'none', 'same', 'indent' or 'deepIndent'.
- /// Defaults to 'same' in vscode and to 'none' in monaco-editor.
- /// </summary>
- [JsonProperty("wrappingIndent", NullValueHandling = NullValueHandling.Ignore)]
- WrappingIndent? WrappingIndent { get; set; }
-
- /// <summary>
- /// Controls the wrapping strategy to use.
- /// Defaults to 'simple'.
- /// </summary>
- [JsonProperty("wrappingStrategy", NullValueHandling = NullValueHandling.Ignore)]
- string? WrappingStrategy { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorParameterHintOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorParameterHintOptions.cs
deleted file mode 100644
index 5ddc34e9b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorParameterHintOptions.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configuration options for parameter hints
-/// </summary>
-public sealed class IEditorParameterHintOptions
-{
- /// <summary>
- /// Enable cycling of parameter hints.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("cycle", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Cycle { get; set; }
-
- /// <summary>
- /// Enable parameter hints.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("enabled", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Enabled { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorScrollbarOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorScrollbarOptions.cs
deleted file mode 100644
index 9ffbd47d9..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IEditorScrollbarOptions.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class IEditorScrollbarOptions
-{
- /// <summary>
- /// Always consume mouse wheel events (always call preventDefault() and stopPropagation() on
- /// the browser events).
- /// Defaults to true.
- /// </summary>
- [JsonProperty("alwaysConsumeMouseWheel", NullValueHandling = NullValueHandling.Ignore)]
- public bool? AlwaysConsumeMouseWheel { get; set; }
-
- /// <summary>
- /// The size of arrows (if displayed).
- /// Defaults to 11.
- /// </summary>
- [JsonProperty("arrowSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? ArrowSize { get; set; }
-
- /// <summary>
- /// Listen to mouse wheel events and react to them by scrolling.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("handleMouseWheel", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HandleMouseWheel { get; set; }
-
- /// <summary>
- /// Render horizontal scrollbar.
- /// Defaults to 'auto'.
- /// </summary>
- [JsonProperty("horizontal", NullValueHandling = NullValueHandling.Ignore)]
- public ScrollbarBehavior? Horizontal { get; set; }
-
- /// <summary>
- /// Render arrows at the left and right of the horizontal scrollbar.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("horizontalHasArrows", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HorizontalHasArrows { get; set; }
-
- /// <summary>
- /// Height in pixels for the horizontal scrollbar.
- /// Defaults to 10 (px).
- /// </summary>
- [JsonProperty("horizontalScrollbarSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? HorizontalScrollbarSize { get; set; }
-
- /// <summary>
- /// Height in pixels for the horizontal slider.
- /// Defaults to `horizontalScrollbarSize`.
- /// </summary>
- [JsonProperty("horizontalSliderSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? HorizontalSliderSize { get; set; }
-
- /// <summary>
- /// Cast horizontal and vertical shadows when the content is scrolled.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("useShadows", NullValueHandling = NullValueHandling.Ignore)]
- public bool? UseShadows { get; set; }
-
- /// <summary>
- /// Render vertical scrollbar.
- /// Defaults to 'auto'.
- /// </summary>
- [JsonProperty("vertical", NullValueHandling = NullValueHandling.Ignore)]
- public ScrollbarBehavior? Vertical { get; set; }
-
- /// <summary>
- /// Render arrows at the top and bottom of the vertical scrollbar.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("verticalHasArrows", NullValueHandling = NullValueHandling.Ignore)]
- public bool? VerticalHasArrows { get; set; }
-
- /// <summary>
- /// Width in pixels for the vertical scrollbar.
- /// Defaults to 10 (px).
- /// </summary>
- [JsonProperty("verticalScrollbarSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? VerticalScrollbarSize { get; set; }
-
- /// <summary>
- /// Width in pixels for the vertical slider.
- /// Defaults to `verticalScrollbarSize`.
- /// </summary>
- [JsonProperty("verticalSliderSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? VerticalSliderSize { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IGlobalEditorOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IGlobalEditorOptions.cs
deleted file mode 100644
index e2c96feea..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IGlobalEditorOptions.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Options which apply for all editors.
-/// </summary>
-public interface IGlobalEditorOptions
-{
- /// <summary>
- /// Controls whether `tabSize` and `insertSpaces` will be automatically detected when a file
- /// is opened based on the file contents.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("detectIndentation", NullValueHandling = NullValueHandling.Ignore)]
- bool? DetectIndentation { get; set; }
-
- /// <summary>
- /// Insert spaces when pressing `Tab`.
- /// This setting is overridden based on the file contents when `detectIndentation` is on.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("insertSpaces", NullValueHandling = NullValueHandling.Ignore)]
- bool? InsertSpaces { get; set; }
-
- /// <summary>
- /// Special handling for large files to disable certain memory intensive features.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("largeFileOptimizations", NullValueHandling = NullValueHandling.Ignore)]
- bool? LargeFileOptimizations { get; set; }
-
- /// <summary>
- /// Lines above this length will not be tokenized for performance reasons.
- /// Defaults to 20000.
- /// </summary>
- [JsonProperty("maxTokenizationLineLength", NullValueHandling = NullValueHandling.Ignore)]
- int? MaxTokenizationLineLength { get; set; }
-
- /// <summary>
- /// Keep peek editors open even when int clicking their content or when hitting `Escape`.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("stablePeek", NullValueHandling = NullValueHandling.Ignore)]
- bool? StablePeek { get; set; }
-
- /// <summary>
- /// The number of spaces a tab is equal to.
- /// This setting is overridden based on the file contents when `detectIndentation` is on.
- /// Defaults to 4.
- /// </summary>
- [JsonProperty("tabSize", NullValueHandling = NullValueHandling.Ignore)]
- int? TabSize { get; set; }
-
- /// <summary>
- /// Remove trailing auto inserted whitespace.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("trimAutoWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- bool? TrimAutoWhitespace { get; set; }
-
- /// <summary>
- /// Controls whether completions should be computed based on words in the document.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("wordBasedSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- bool? WordBasedSuggestions { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IMarker.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IMarker.cs
deleted file mode 100644
index 035524162..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IMarker.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.imarker.html
-/// </summary>
-public interface IMarker : IMarkerData
-{
- [JsonProperty("owner")]
- string? Owner { get; set; }
-
- [JsonProperty("resource")]
- Uri? Resource { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IMarkerData.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IMarkerData.cs
deleted file mode 100644
index 3dbd6080b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IMarkerData.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// A structure defining a problem/warning/etc.
-/// </summary>
-public interface IMarkerData : IRange
-{
- [JsonProperty("code", NullValueHandling = NullValueHandling.Ignore)]
- string? Code { get; set; }
-
- [JsonProperty("message")]
- string? Message { get; set; }
-
- [JsonProperty("relatedInformation", NullValueHandling = NullValueHandling.Ignore)]
- IRelatedInformation[]? RelatedInformation { get; set; }
-
- [JsonProperty("severity")]
- MarkerSeverity Severity { get; set; }
-
- [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
- string? Source { get; set; }
-
- [JsonProperty("tags", NullValueHandling = NullValueHandling.Ignore)]
- MarkerTag[]? Tags { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModel.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModel.cs
deleted file mode 100644
index fac45398b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModel.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using Newtonsoft.Json;
-using Windows.Foundation.Metadata;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.imodel.html
-/// </summary>
-public interface IModel
-{
- // TODO: Events
-
- [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
- string Id { get; }
- [JsonProperty("uri", NullValueHandling = NullValueHandling.Ignore)]
- Uri Uri { get; }
-
- //IIdentifiedSingleEditOperation[] ApplyEditsAsync(IIdentifiedSingleEditOperation[] operations)
- //DeltaDecorationsAsync
- Task DetectIndentationAsync(bool defaultInsertSpaces, bool defaultTabSize);
-
- /// <summary>
- /// Search the model.
- /// </summary>
- /// <returns>
- /// The ranges where the matches are. It is empty if not matches have been found.
- ///
- /// </returns>
- [DefaultOverload]
- Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, bool searchOnlyEditableRange, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches);
-
- [DefaultOverload]
- Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, bool searchOnlyEditableRange, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches, double limitResultCount);
-
- /// <summary>
- /// Search the model.
- /// </summary>
- /// <returns>
- /// The ranges where the matches are. It is empty if no matches have been found.
- ///
- /// </returns>
- Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, IRange searchScope, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches);
-
- Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, IRange searchScope, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches, double limitResultCount);
-
- /// <summary>
- /// Search the model for the next match. Loops to the beginning of the model if needed.
- /// </summary>
- /// <returns>
- /// The range where the next match is. It is null if no next match has been found.
- ///
- /// </returns>
- Task<FindMatch?> FindNextMatchAsync(string searchString, IPosition searchStart, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches);
-
- /// <summary>
- /// Search the model for the previous match. Loops to the end of the model if needed.
- /// </summary>
- /// <returns>
- /// The range where the previous match is. It is null if no previous match has been found.
- ///
- /// </returns>
- Task<FindMatch?> FindPreviousMatchAsync(string searchString, IPosition searchStart, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches);
-
- //GetAllDecorationsAsync
- Task<uint> GetAlternativeVersionIdAsync();
- //GetDecorationOptionsAsync
- //GetDecorationRangeAsync
- //GetDecorationsInRangeAsync
- Task<string?> GetEOLAsync();
- Task<Range?> GetFullModelRangeAsync();
- Task<string?> GetLineContentAsync(uint lineNumber);
- Task<uint> GetLineCountAsync();
- //GetLineDecorationsAsync
- Task<uint> GetLineFirstNonWhitespaceColumnAsync(uint lineNumber);
- Task<uint> GetLineLastNonWhitespaceColumnAsync(uint lineNumber);
- Task<uint> GetLineLengthAsync(uint lineNumber);
- Task<uint> GetLineMaxColumnAsync(uint lineNumber);
- Task<uint> GetLineMinColumnAsync(uint lineNumber);
- Task<IEnumerable<string>?> GetLinesContentAsync();
- //GetLinesDecorationsAsync
- Task<string?> GetModelIdAsync();
- Task<uint> GetOffsetAtAsync(IPosition position);
- Task<string?> GetOneIndentAsync();
- //GetOptionsAsync
- Task<Position?> GetPositionAtAsync(uint offset);
- Task<string?> GetValueAsync();
- // TextDefined is default eol
- Task<string?> GetValueAsync(EndOfLinePreference eol);
- Task<string?> GetValueAsync(EndOfLinePreference eol, bool preserveBOM);
- Task<string?> GetValueInRangeAsync(IRange range);
- Task<string?> GetValueInRangeAsync(IRange range, EndOfLinePreference eol);
- Task<uint> GetValueLengthAsync();
- Task<uint> GetValueLengthAsync(EndOfLinePreference eol);
- Task<uint> GetValueLengthAsync(EndOfLinePreference eol, bool preserveBOM);
- Task<uint> GetValueLengthInRangeAsync(IRange range);
- Task<uint> GetVersionIdAsync();
- Task<WordAtPosition?> GetWordAtPositionAsync(IPosition position);
- Task<WordAtPosition?> GetWordUntilPositionAsync(IPosition position);
- Task<Position?> ModifyPositionAsync(IPosition position, int number);
- Task<string?> NormalizeIndentationAsync(string str);
- //PushEditOperationsAsync
- Task PushStackElementAsync();
- Task SetEOLAsync(EndOfLineSequence eol);
- Task SetValue(string newValue);
- //Task UpdateOptions(ITextModelUpdateOptions newOpts);
- Task<Position?> ValidatePositionAsync(IPosition position);
- Task<Range?> ValidateRangeAsync(IRange range);
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationMinimapOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationMinimapOptions.cs
deleted file mode 100644
index 05b0b0de6..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationMinimapOptions.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class IModelDecorationMinimapOptions
-{
- /// <summary>
- /// CSS color to render.
- /// e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry
- /// </summary>
- [JsonProperty("color", NullValueHandling = NullValueHandling.Ignore)]
- public string? Color { get; set; }
-
- /// <summary>
- /// CSS color to render.
- /// e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry
- /// </summary>
- [JsonProperty("darkColor", NullValueHandling = NullValueHandling.Ignore)]
- public string? DarkColor { get; set; }
-
- /// <summary>
- /// The position in the overview ruler.
- /// </summary>
- [JsonProperty("position")]
- public int Position { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationOptions.cs
deleted file mode 100644
index 279f0bd65..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationOptions.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Helpers;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Options for a model decoration.
-///
-/// Options associated with this decoration.
-/// </summary>
-public sealed class IModelDecorationOptions
-{
- /// <summary>
- /// If set, the decoration will be rendered after the text with this CSS class name.
- /// </summary>
- [JsonProperty("afterContentClassName")]
- public string? AfterContentClassName { get; set; }
-
- /// <summary>
- /// If set, the decoration will be rendered before the text with this CSS class name.
- /// </summary>
- [JsonProperty("beforeContentClassName")]
- public string? BeforeContentClassName { get; set; }
-
- /// <summary>
- /// CSS class name describing the decoration.
- /// </summary>
- [JsonProperty("className")]
- [JsonConverter(typeof(CssStyleConverter))]
- public CssLineStyle? ClassName { get; set; }
-
- /// <summary>
- /// If set, the decoration will be rendered in the glyph margin with this CSS class name.
- /// </summary>
- [JsonProperty("glyphMarginClassName")]
- [JsonConverter(typeof(CssStyleConverter))]
- public CssGlyphStyle? GlyphMarginClassName { get; set; }
-
- /// <summary>
- /// Message to be rendered when hovering over the glyph margin decoration.
- /// </summary>
- [JsonProperty("glyphMarginHoverMessage")]
- public IMarkdownString[]? GlyphMarginHoverMessage { get; set; }
-
- /// <summary>
- /// Array of MarkdownString to render as the decoration message.
- /// </summary>
- [JsonProperty("hoverMessage")]
- public IMarkdownString[]? HoverMessage { get; set; }
-
- /// <summary>
- /// If set, the decoration will be rendered inline with the text with this CSS class name.
- /// Please use this only for CSS rules that must impact the text. For example, use
- /// `className`
- /// to have a background color decoration.
- /// </summary>
- [JsonProperty("inlineClassName")]
- [JsonConverter(typeof(CssStyleConverter))]
- public CssInlineStyle? InlineClassName { get; set; }
-
- /// <summary>
- /// If there is an `inlineClassName` which affects letter spacing.
- /// </summary>
- [JsonProperty("inlineClassNameAffectsLetterSpacing", NullValueHandling = NullValueHandling.Ignore)]
- public bool? InlineClassNameAffectsLetterSpacing { get; set; }
-
- /// <summary>
- /// Should the decoration expand to encompass a whole line.
- /// </summary>
- [JsonProperty("isWholeLine", NullValueHandling = NullValueHandling.Ignore)]
- public bool? IsWholeLine { get; set; }
-
- /// <summary>
- /// If set, the decoration will be rendered in the lines decorations with this CSS class name.
- /// </summary>
- [JsonProperty("linesDecorationsClassName")]
- public string? LinesDecorationsClassName { get; set; }
-
- /// <summary>
- /// If set, the decoration will be rendered in the margin (covering its full width) with this
- /// CSS class name.
- /// </summary>
- [JsonProperty("marginClassName")]
- public string? MarginClassName { get; set; }
-
- /// <summary>
- /// If set, render this decoration in the minimap.
- /// </summary>
- [JsonProperty("minimap")]
- public IModelDecorationMinimapOptions? Minimap { get; set; }
-
- /// <summary>
- /// If set, render this decoration in the overview ruler.
- /// </summary>
- [JsonProperty("overviewRuler")]
- public IModelDecorationOverviewRulerOptions? OverviewRuler { get; set; }
-
- /// <summary>
- /// Customize the growing behavior of the decoration when typing at the edges of the
- /// decoration.
- /// Defaults to TrackedRangeStickiness.AlwaysGrowsWhenTypingAtEdges
- /// </summary>
- [JsonProperty("stickiness", NullValueHandling = NullValueHandling.Ignore)]
- public TrackedRangeStickiness? Stickiness { get; set; }
-
- /// <summary>
- /// Specifies the stack order of a decoration.
- /// A decoration with greater stack order is always in front of a decoration with a lower
- /// stack order.
- /// </summary>
- [JsonProperty("zIndex", NullValueHandling = NullValueHandling.Ignore)]
- public int? ZIndex { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationOverviewRulerOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationOverviewRulerOptions.cs
deleted file mode 100644
index 898f00b03..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDecorationOverviewRulerOptions.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class IModelDecorationOverviewRulerOptions
-{
- /// <summary>
- /// CSS color to render.
- /// e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry
- /// </summary>
- [JsonProperty("color", NullValueHandling = NullValueHandling.Ignore)]
- public string? Color { get; set; }
-
- /// <summary>
- /// CSS color to render.
- /// e.g.: rgba(100, 100, 100, 0.5) or a color from the color registry
- /// </summary>
- [JsonProperty("darkColor", NullValueHandling = NullValueHandling.Ignore)]
- public string? DarkColor { get; set; }
-
- /// <summary>
- /// The position in the overview ruler.
- /// </summary>
- [JsonProperty("position")]
- public int Position { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDeltaDecoration.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDeltaDecoration.cs
deleted file mode 100644
index d2042439a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IModelDeltaDecoration.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using DevToys.MonacoEditor.JsonConverters;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// New model decorations.
-/// </summary>
-public sealed class IModelDeltaDecoration
-{
- [JsonProperty("options")]
- public IModelDecorationOptions Options { get; private set; }
-
- [JsonProperty("range"), JsonConverter(typeof(InterfaceToClassConverter<IRange, Range>))]
- public IRange Range { get; private set; }
-
- public IModelDeltaDecoration(IRange range, IModelDecorationOptions options)
- {
- Range = range;
- Options = options;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IRelatedInformation.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IRelatedInformation.cs
deleted file mode 100644
index c92f8012b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IRelatedInformation.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public sealed class IRelatedInformation
-{
- [JsonProperty("endColumn")]
- public uint EndColumn { get; set; }
-
- [JsonProperty("endLineNumber")]
- public uint EndLineNumber { get; set; }
-
- [JsonProperty("message")]
- public string? Message { get; set; }
-
- [JsonProperty("resource")]
- public Uri? Resource { get; set; }
-
- [JsonProperty("startColumn")]
- public uint StartColumn { get; set; }
-
- [JsonProperty("startLineNumber")]
- public uint StartLineNumber { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ISingleEditOperation.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ISingleEditOperation.cs
deleted file mode 100644
index 4e808c44c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ISingleEditOperation.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// A single edit operation, that acts as a simple replace.
-/// i.e. Replace text at `range` with `text` in model.
-/// </summary>
-public sealed class ISingleEditOperation
-{
- /// <summary>
- /// This indicates that this operation has "insert" semantics.
- /// i.e. forceMoveMarkers = true => if `range` is collapsed, all markers at the position will
- /// be moved.
- /// </summary>
- [JsonProperty("forceMoveMarkers", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ForceMoveMarkers { get; set; }
-
- /// <summary>
- /// The range to replace. This can be empty to emulate a simple insert.
- /// </summary>
- [JsonProperty("range")]
- public IRange? Range { get; set; }
-
- /// <summary>
- /// The text to replace with. This can be null to emulate a simple delete.
- /// </summary>
- [JsonProperty("text")]
- public string? Text { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IStandaloneEditorConstructionOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IStandaloneEditorConstructionOptions.cs
deleted file mode 100644
index 849971f0f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IStandaloneEditorConstructionOptions.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-public interface IStandaloneEditorConstructionOptions : IEditorConstructionOptions, IGlobalEditorOptions
-{
- /// <summary>
- /// The initial model associated with this code editor.
- /// </summary>
- [JsonProperty("model")]
- IModel? Model { get; set; }
- /// <summary>
- /// The initial value of the auto created model in the editor.
- /// To not create automatically a model, use `model: null`.
- /// </summary>
- [JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
- string? Value { get; set; }
- /// <summary>
- /// The initial language of the auto created model in the editor.
- /// To not create automatically a model, use `model: null`.
- /// </summary>
- [JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
- string? Language { get; set; }
- /// <summary>
- /// Initial theme to be used for rendering.
- /// The current out-of-the-box available themes are: 'vs' (default), 'vs-dark', 'hc-black'.
- /// You can create custom themes via `monaco.editor.defineTheme`.
- /// To switch a theme, use `monaco.editor.setTheme`
- /// </summary>
- [JsonProperty("theme", NullValueHandling = NullValueHandling.Ignore)]
- string? Theme { get; set; }
- /// <summary>
- /// An URL to open when Ctrl+H (Windows and Linux) or Cmd+H (OSX) is pressed in
- /// the accessibility help dialog in the editor.
- ///
- /// Defaults to "https://go.microsoft.com/fwlink/?linkid=852450"
- /// </summary>
- [JsonProperty("accessibilityHelpUrl", NullValueHandling = NullValueHandling.Ignore)]
- string? AccessibilityHelpUrl { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ISuggestOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ISuggestOptions.cs
deleted file mode 100644
index 80ee5013d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ISuggestOptions.cs
+++ /dev/null
@@ -1,213 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configuration options for editor suggest widget
-/// </summary>
-public sealed class ISuggestOptions
-{
- /// <summary>
- /// Enable graceful matching. Defaults to true.
- /// </summary>
- [JsonProperty("filterGraceful", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FilterGraceful { get; set; }
-
- /// <summary>
- /// Controls the visibility of the status bar at the bottom of the suggest widget.
- /// </summary>
- [JsonProperty("hideStatusBar", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HideStatusBar { get; set; }
-
- /// <summary>
- /// Show a highlight when suggestion replaces or keep text after the cursor. Defaults to false.
- /// </summary>
- [JsonProperty("insertHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? InsertHighlight { get; set; }
-
- /// <summary>
- /// Overwrite word ends on accept. Default to false.
- /// </summary>
- [JsonProperty("insertMode", NullValueHandling = NullValueHandling.Ignore)]
- public InsertMode? InsertMode { get; set; }
-
- /// <summary>
- /// Favours words that appear close to the cursor.
- /// </summary>
- [JsonProperty("localityBonus", NullValueHandling = NullValueHandling.Ignore)]
- public bool? LocalityBonus { get; set; }
-
- /// <summary>
- /// Max suggestions to show in suggestions. Defaults to 12.
- /// </summary>
- [JsonProperty("maxVisibleSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- public int? MaxVisibleSuggestions { get; set; }
-
- /// <summary>
- /// Enable using global storage for remembering suggestions.
- /// </summary>
- [JsonProperty("shareSuggestSelections", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShareSuggestSelections { get; set; }
-
- /// <summary>
- /// Show class-suggestions.
- /// </summary>
- [JsonProperty("showClasses", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowClasses { get; set; }
-
- /// <summary>
- /// Show color-suggestions.
- /// </summary>
- [JsonProperty("showColors", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowColors { get; set; }
-
- /// <summary>
- /// Show constant-suggestions.
- /// </summary>
- [JsonProperty("showConstants", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowConstants { get; set; }
-
- /// <summary>
- /// Show constructor-suggestions.
- /// </summary>
- [JsonProperty("showConstructors", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowConstructors { get; set; }
-
- /// <summary>
- /// Show enumMember-suggestions.
- /// </summary>
- [JsonProperty("showEnumMembers", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowEnumMembers { get; set; }
-
- /// <summary>
- /// Show enum-suggestions.
- /// </summary>
- [JsonProperty("showEnums", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowEnums { get; set; }
-
- /// <summary>
- /// Show event-suggestions.
- /// </summary>
- [JsonProperty("showEvents", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowEvents { get; set; }
-
- /// <summary>
- /// Show field-suggestions.
- /// </summary>
- [JsonProperty("showFields", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowFields { get; set; }
-
- /// <summary>
- /// Show file-suggestions.
- /// </summary>
- [JsonProperty("showFiles", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowFiles { get; set; }
-
- /// <summary>
- /// Show folder-suggestions.
- /// </summary>
- [JsonProperty("showFolders", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowFolders { get; set; }
-
- /// <summary>
- /// Show function-suggestions.
- /// </summary>
- [JsonProperty("showFunctions", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowFunctions { get; set; }
-
- /// <summary>
- /// Enable or disable icons in suggestions. Defaults to true.
- /// </summary>
- [JsonProperty("showIcons", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowIcons { get; set; }
-
- /// <summary>
- /// Show interface-suggestions.
- /// </summary>
- [JsonProperty("showInterfaces", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowInterfaces { get; set; }
-
- /// <summary>
- /// Show keyword-suggestions.
- /// </summary>
- [JsonProperty("showKeywords", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowKeywords { get; set; }
-
- /// <summary>
- /// Show method-suggestions.
- /// </summary>
- [JsonProperty("showMethods", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowMethods { get; set; }
-
- /// <summary>
- /// Show module-suggestions.
- /// </summary>
- [JsonProperty("showModules", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowModules { get; set; }
-
- /// <summary>
- /// Show operator-suggestions.
- /// </summary>
- [JsonProperty("showOperators", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowOperators { get; set; }
-
- /// <summary>
- /// Show property-suggestions.
- /// </summary>
- [JsonProperty("showProperties", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowProperties { get; set; }
-
- /// <summary>
- /// Show reference-suggestions.
- /// </summary>
- [JsonProperty("showReferences", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowReferences { get; set; }
-
- /// <summary>
- /// Show snippet-suggestions.
- /// </summary>
- [JsonProperty("showSnippets", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowSnippets { get; set; }
-
- /// <summary>
- /// Show struct-suggestions.
- /// </summary>
- [JsonProperty("showStructs", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowStructs { get; set; }
-
- /// <summary>
- /// Show typeParameter-suggestions.
- /// </summary>
- [JsonProperty("showTypeParameters", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowTypeParameters { get; set; }
-
- /// <summary>
- /// Show unit-suggestions.
- /// </summary>
- [JsonProperty("showUnits", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowUnits { get; set; }
-
- /// <summary>
- /// Show value-suggestions.
- /// </summary>
- [JsonProperty("showValues", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowValues { get; set; }
-
- /// <summary>
- /// Show variable-suggestions.
- /// </summary>
- [JsonProperty("showVariables", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowVariables { get; set; }
-
- /// <summary>
- /// Show text-suggestions.
- /// </summary>
- [JsonProperty("showWords", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowWords { get; set; }
-
- /// <summary>
- /// Prevent quick suggestions when a snippet is active. Defaults to true.
- /// </summary>
- [JsonProperty("snippetsPreventQuickSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SnippetsPreventQuickSuggestions { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IWordAtPosition.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IWordAtPosition.cs
deleted file mode 100644
index d139e826b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/IWordAtPosition.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using Newtonsoft.Json;
-using DevToys.MonacoEditor.JsonConverters;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.iwordatposition.html
-/// </summary>
-[JsonConverter(typeof(InterfaceToClassConverter<IWordAtPosition, WordAtPosition>))]
-public interface IWordAtPosition
-{
- /// <summary>
- /// Column where the word ends.
- /// </summary>
- [JsonProperty("endColumn")]
- uint EndColumn { get; }
-
- /// <summary>
- /// Column where the word starts.
- /// </summary>
- [JsonProperty("startColumn")]
- uint StartColumn { get; }
-
- /// <summary>
- /// The word.
- /// </summary>
- [JsonProperty("word")]
- string? Word { get; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/InsertMode.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/InsertMode.cs
deleted file mode 100644
index 55b3470e1..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/InsertMode.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Overwrite word ends on accept. Default to false.
-/// </summary>
-[JsonConverter(typeof(InsertModeConverter))]
-public enum InsertMode { Insert, Replace };
-
-internal class InsertModeConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(InsertMode) || t == typeof(InsertMode?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- return null;
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "insert" => InsertMode.Insert,
- "replace" => (object)InsertMode.Replace,
- _ => throw new Exception("Cannot unmarshal type InsertMode"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (InsertMode)untypedValue;
- switch (value)
- {
- case InsertMode.Insert:
- serializer.Serialize(writer, "insert");
- return;
- case InsertMode.Replace:
- serializer.Serialize(writer, "replace");
- return;
- }
- throw new Exception("Cannot marshal type InsertMode");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/LineNumbersType.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/LineNumbersType.cs
deleted file mode 100644
index e4e606089..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/LineNumbersType.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-[JsonConverter(typeof(LineNumbersTypeConverter))]
-public enum LineNumbersType { Interval, Off, On, Relative };
-
-internal class LineNumbersTypeConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(LineNumbersType) || t == typeof(LineNumbersType?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "interval" => LineNumbersType.Interval,
- "off" => LineNumbersType.Off,
- "on" => LineNumbersType.On,
- "relative" => (object)LineNumbersType.Relative,
- _ => throw new Exception("Cannot unmarshal type LineNumbersType"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (LineNumbersType)untypedValue;
- switch (value)
- {
- case LineNumbersType.Interval:
- serializer.Serialize(writer, "interval");
- return;
- case LineNumbersType.Off:
- serializer.Serialize(writer, "off");
- return;
- case LineNumbersType.On:
- serializer.Serialize(writer, "on");
- return;
- case LineNumbersType.Relative:
- serializer.Serialize(writer, "relative");
- return;
- }
- throw new Exception("Cannot marshal type LineNumbersType");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Marker.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Marker.cs
deleted file mode 100644
index 1d5ced1d8..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Marker.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.imarker.html
-/// </summary>
-public sealed class Marker : IMarker
-{
- [JsonProperty("code", NullValueHandling = NullValueHandling.Ignore)]
- public string? Code { get; set; }
-
- [JsonProperty("endColumn")]
- public uint EndColumn { get; set; }
-
- [JsonProperty("endLineNumber")]
- public uint EndLineNumber { get; set; }
-
- [JsonProperty("message")]
- public string? Message { get; set; }
-
- [JsonProperty("owner")]
- public string? Owner { get; set; }
-
- [JsonProperty("relatedInformation", NullValueHandling = NullValueHandling.Ignore)]
- public IRelatedInformation[]? RelatedInformation { get; set; }
-
- [JsonProperty("resource")]
- public Uri? Resource { get; set; }
-
- [JsonProperty("severity")]
- public MarkerSeverity Severity { get; set; }
-
- [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
- public string? Source { get; set; }
-
- [JsonProperty("startColumn")]
- public uint StartColumn { get; set; }
-
- [JsonProperty("startLineNumber")]
- public uint StartLineNumber { get; set; }
-
- [JsonProperty("tags", NullValueHandling = NullValueHandling.Ignore)]
- public MarkerTag[]? Tags { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MarkerData.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MarkerData.cs
deleted file mode 100644
index 4f78b30cb..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MarkerData.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.imarkerdata.html
-/// </summary>
-public sealed class MarkerData : IMarkerData
-{
- [JsonProperty("code", NullValueHandling = NullValueHandling.Ignore)]
- public string? Code { get; set; }
-
- [JsonProperty("endColumn")]
- public uint EndColumn { get; set; }
-
- [JsonProperty("endLineNumber")]
- public uint EndLineNumber { get; set; }
-
- [JsonProperty("message")]
- public string? Message { get; set; }
-
- [JsonProperty("relatedInformation", NullValueHandling = NullValueHandling.Ignore)]
- public IRelatedInformation[]? RelatedInformation { get; set; }
-
- [JsonProperty("severity")]
- public MarkerSeverity Severity { get; set; }
-
- [JsonProperty("source", NullValueHandling = NullValueHandling.Ignore)]
- public string? Source { get; set; }
-
- [JsonProperty("startColumn")]
- public uint StartColumn { get; set; }
-
- [JsonProperty("startLineNumber")]
- public uint StartLineNumber { get; set; }
-
- [JsonProperty("tags", NullValueHandling = NullValueHandling.Ignore)]
- public MarkerTag[]? Tags { get; set; }
-
- public MarkerData() { }
-
- /// <summary>
- /// Initializes a new <see cref="MarkerData"/> instance in the specified <see cref="Range"/>. Provided as a helper.
- /// </summary>
- /// <param name="range"><see cref="Range"/> to scope Marker on.</param>
- public MarkerData(Range range)
- {
- StartLineNumber = range.StartLineNumber;
- StartColumn = range.StartColumn;
- EndLineNumber = range.EndLineNumber;
- EndColumn = range.EndColumn;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MatchBrackets.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MatchBrackets.cs
deleted file mode 100644
index 4dcc429a8..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MatchBrackets.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Enable highlighting of matching brackets.
-/// Defaults to 'always'.
-/// </summary>
-[JsonConverter(typeof(MatchBracketsConverter))]
-public enum MatchBrackets { Always, Near, Never };
-
-internal class MatchBracketsConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(MatchBrackets) || t == typeof(MatchBrackets?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "always" => MatchBrackets.Always,
- "near" => MatchBrackets.Near,
- "never" => (object)MatchBrackets.Never,
- _ => throw new Exception("Cannot unmarshal type MatchBrackets"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (MatchBrackets)untypedValue;
- switch (value)
- {
- case MatchBrackets.Always:
- serializer.Serialize(writer, "always");
- return;
- case MatchBrackets.Near:
- serializer.Serialize(writer, "near");
- return;
- case MatchBrackets.Never:
- serializer.Serialize(writer, "never");
- return;
- }
- throw new Exception("Cannot marshal type MatchBrackets");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MouseStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MouseStyle.cs
deleted file mode 100644
index d15a6576a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MouseStyle.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the mouse pointer style, either 'text' or 'default' or 'copy'
-/// Defaults to 'text'
-/// </summary>
-[JsonConverter(typeof(MouseStyleConverter))]
-public enum MouseStyle { Copy, Default, Text };
-
-internal class MouseStyleConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(MouseStyle) || t == typeof(MouseStyle?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "copy" => MouseStyle.Copy,
- "default" => MouseStyle.Default,
- "text" => (object)MouseStyle.Text,
- _ => throw new Exception("Cannot unmarshal type MouseStyle"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (MouseStyle)untypedValue;
- switch (value)
- {
- case MouseStyle.Copy:
- serializer.Serialize(writer, "copy");
- return;
- case MouseStyle.Default:
- serializer.Serialize(writer, "default");
- return;
- case MouseStyle.Text:
- serializer.Serialize(writer, "text");
- return;
- }
- throw new Exception("Cannot marshal type MouseStyle");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MultiCursorModifier.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MultiCursorModifier.cs
deleted file mode 100644
index 3d4dcfc7e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MultiCursorModifier.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// The modifier to be used to add multiple cursors with the mouse.
-/// Defaults to 'alt'
-/// </summary>
-[JsonConverter(typeof(MultiCursorModifierConverter))]
-public enum MultiCursorModifier { Alt, CtrlCmd };
-
-internal class MultiCursorModifierConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(MultiCursorModifier) || t == typeof(MultiCursorModifier?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "alt" => MultiCursorModifier.Alt,
- "ctrlCmd" => (object)MultiCursorModifier.CtrlCmd,
- _ => throw new Exception("Cannot unmarshal type MultiCursorModifier"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (MultiCursorModifier)untypedValue;
- switch (value)
- {
- case MultiCursorModifier.Alt:
- serializer.Serialize(writer, "alt");
- return;
- case MultiCursorModifier.CtrlCmd:
- serializer.Serialize(writer, "ctrlCmd");
- return;
- }
- throw new Exception("Cannot marshal type MultiCursorModifier");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MultiCursorPaste.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MultiCursorPaste.cs
deleted file mode 100644
index 18f1c5c26..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/MultiCursorPaste.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Configure the behaviour when pasting a text with the line count equal to the cursor
-/// count.
-/// Defaults to 'spread'.
-/// </summary>
-[JsonConverter(typeof(MultiCursorPasteConverter))]
-public enum MultiCursorPaste { Full, Spread };
-
-internal class MultiCursorPasteConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(MultiCursorPaste) || t == typeof(MultiCursorPaste?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "full" => MultiCursorPaste.Full,
- "spread" => (object)MultiCursorPaste.Spread,
- _ => throw new Exception("Cannot unmarshal type MultiCursorPaste"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (MultiCursorPaste)untypedValue;
- switch (value)
- {
- case MultiCursorPaste.Full:
- serializer.Serialize(writer, "full");
- return;
- case MultiCursorPaste.Spread:
- serializer.Serialize(writer, "spread");
- return;
- }
- throw new Exception("Cannot marshal type MultiCursorPaste");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Multiple.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Multiple.cs
deleted file mode 100644
index df27d6a3d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Multiple.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-[JsonConverter(typeof(MultipleConverter))]
-public enum Multiple { Goto, GotoAndPeek, Peek };
-
-internal class MultipleConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(Multiple) || t == typeof(Multiple?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "goto" => Multiple.Goto,
- "gotoAndPeek" => Multiple.GotoAndPeek,
- "peek" => (object)Multiple.Peek,
- _ => throw new Exception("Cannot unmarshal type Multiple"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (Multiple)untypedValue;
- switch (value)
- {
- case Multiple.Goto:
- serializer.Serialize(writer, "goto");
- return;
- case Multiple.GotoAndPeek:
- serializer.Serialize(writer, "gotoAndPeek");
- return;
- case Multiple.Peek:
- serializer.Serialize(writer, "peek");
- return;
- }
- throw new Exception("Cannot marshal type Multiple");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/RenderLineHighlight.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/RenderLineHighlight.cs
deleted file mode 100644
index cd3d90eaf..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/RenderLineHighlight.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Enable rendering of current line highlight.
-/// Defaults to all.
-/// </summary>
-[JsonConverter(typeof(RenderLineHighlightConverter))]
-public enum RenderLineHighlight { All, Gutter, Line, None };
-
-internal class RenderLineHighlightConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(RenderLineHighlight) || t == typeof(RenderLineHighlight?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "all" => RenderLineHighlight.All,
- "gutter" => RenderLineHighlight.Gutter,
- "line" => RenderLineHighlight.Line,
- "none" => (object)RenderLineHighlight.None,
- _ => throw new Exception("Cannot unmarshal type RenderLineHighlight"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (RenderLineHighlight)untypedValue;
- switch (value)
- {
- case RenderLineHighlight.All:
- serializer.Serialize(writer, "all");
- return;
- case RenderLineHighlight.Gutter:
- serializer.Serialize(writer, "gutter");
- return;
- case RenderLineHighlight.Line:
- serializer.Serialize(writer, "line");
- return;
- case RenderLineHighlight.None:
- serializer.Serialize(writer, "none");
- return;
- }
- throw new Exception("Cannot marshal type RenderLineHighlight");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/RenderWhitespace.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/RenderWhitespace.cs
deleted file mode 100644
index 7d290bc7d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/RenderWhitespace.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Enable rendering of whitespace.
-/// Defaults to none.
-/// </summary>
-[JsonConverter(typeof(RenderWhitespaceConverter))]
-public enum RenderWhitespace { All, Boundary, None, Selection };
-
-internal class RenderWhitespaceConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(RenderWhitespace) || t == typeof(RenderWhitespace?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "all" => RenderWhitespace.All,
- "boundary" => RenderWhitespace.Boundary,
- "none" => RenderWhitespace.None,
- "selection" => (object)RenderWhitespace.Selection,
- _ => throw new Exception("Cannot unmarshal type RenderWhitespace"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (RenderWhitespace)untypedValue;
- switch (value)
- {
- case RenderWhitespace.All:
- serializer.Serialize(writer, "all");
- return;
- case RenderWhitespace.Boundary:
- serializer.Serialize(writer, "boundary");
- return;
- case RenderWhitespace.None:
- serializer.Serialize(writer, "none");
- return;
- case RenderWhitespace.Selection:
- serializer.Serialize(writer, "selection");
- return;
- }
- throw new Exception("Cannot marshal type RenderWhitespace");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ScrollbarBehavior.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ScrollbarBehavior.cs
deleted file mode 100644
index 38f4ba19a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/ScrollbarBehavior.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Render horizontal or vertical scrollbar.
-/// Defaults to 'auto'.
-/// </summary>
-[JsonConverter(typeof(ScrollbarBehaviorConverter))]
-public enum ScrollbarBehavior { Auto, Hidden, Visible };
-
-internal class ScrollbarBehaviorConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(ScrollbarBehavior) || t == typeof(ScrollbarBehavior?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "auto" => ScrollbarBehavior.Auto,
- "hidden" => ScrollbarBehavior.Hidden,
- "visible" => (object)ScrollbarBehavior.Visible,
- _ => throw new Exception("Cannot unmarshal type ScrollbarBehavior"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (ScrollbarBehavior)untypedValue;
- switch (value)
- {
- case ScrollbarBehavior.Auto:
- serializer.Serialize(writer, "auto");
- return;
- case ScrollbarBehavior.Hidden:
- serializer.Serialize(writer, "hidden");
- return;
- case ScrollbarBehavior.Visible:
- serializer.Serialize(writer, "visible");
- return;
- }
- throw new Exception("Cannot marshal type ScrollbarBehavior");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Show.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Show.cs
deleted file mode 100644
index 4bda6acab..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Show.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the rendering of the minimap slider.
-/// Defaults to 'mouseover'.
-///
-/// Controls whether the fold actions in the gutter stay always visible or hide unless the
-/// mouse is over the gutter.
-/// Defaults to 'mouseover'.
-/// </summary>
-[JsonConverter(typeof(ShowConverter))]
-public enum Show { Always, Mouseover };
-
-internal class ShowConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(Show) || t == typeof(Show?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "always" => Show.Always,
- "mouseover" => (object)Show.Mouseover,
- _ => throw new Exception("Cannot unmarshal type Show"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (Show)untypedValue;
- switch (value)
- {
- case Show.Always:
- serializer.Serialize(writer, "always");
- return;
- case Show.Mouseover:
- serializer.Serialize(writer, "mouseover");
- return;
- }
- throw new Exception("Cannot marshal type Show");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Side.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Side.cs
deleted file mode 100644
index 7d2f20b6d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/Side.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the side of the minimap in editor.
-/// Defaults to 'right'.
-/// </summary>
-[JsonConverter(typeof(SideConverter))]
-public enum Side { Left, Right };
-
-internal class SideConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(Side) || t == typeof(Side?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "left" => Side.Left,
- "right" => (object)Side.Right,
- _ => throw new Exception("Cannot unmarshal type Side"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (Side)untypedValue;
- switch (value)
- {
- case Side.Left:
- serializer.Serialize(writer, "left");
- return;
- case Side.Right:
- serializer.Serialize(writer, "right");
- return;
- }
- throw new Exception("Cannot marshal type Side");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/SnippetSuggestions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/SnippetSuggestions.cs
deleted file mode 100644
index c03ccf11f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/SnippetSuggestions.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Enable snippet suggestions. Default to 'true'.
-/// </summary>
-[JsonConverter(typeof(SnippetSuggestionsConverter))]
-public enum SnippetSuggestions { Bottom, Inline, None, Top };
-
-internal class SnippetSuggestionsConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(SnippetSuggestions) || t == typeof(SnippetSuggestions?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "bottom" => SnippetSuggestions.Bottom,
- "inline" => SnippetSuggestions.Inline,
- "none" => SnippetSuggestions.None,
- "top" => (object)SnippetSuggestions.Top,
- _ => throw new Exception("Cannot unmarshal type SnippetSuggestions"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (SnippetSuggestions)untypedValue;
- switch (value)
- {
- case SnippetSuggestions.Bottom:
- serializer.Serialize(writer, "bottom");
- return;
- case SnippetSuggestions.Inline:
- serializer.Serialize(writer, "inline");
- return;
- case SnippetSuggestions.None:
- serializer.Serialize(writer, "none");
- return;
- case SnippetSuggestions.Top:
- serializer.Serialize(writer, "top");
- return;
- }
- throw new Exception("Cannot marshal type SnippetSuggestions");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/StandaloneEditorConstructionOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/StandaloneEditorConstructionOptions.cs
deleted file mode 100644
index 76a0b076c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/StandaloneEditorConstructionOptions.cs
+++ /dev/null
@@ -1,895 +0,0 @@
-using Newtonsoft.Json;
-using System.Runtime.CompilerServices;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// The options to create an editor.
-/// </summary>
-public sealed class StandaloneEditorConstructionOptions : IStandaloneEditorConstructionOptions, INotifyPropertyChanged
-{
- public event PropertyChangedEventHandler? PropertyChanged;
-
- private readonly Dictionary<string, object?> _propertyBackingDictionary = new();
-
- private T? GetPropertyValue<T>([CallerMemberName] string? propertyName = null)
- {
- if (propertyName == null)
- throw new ArgumentNullException(nameof(propertyName));
-
- if (_propertyBackingDictionary.TryGetValue(propertyName, out object? value) && value is not null)
- {
- return (T)value;
- }
-
- return default;
- }
-
- private bool SetPropertyValue<T>(T? newValue, [CallerMemberName] string? propertyName = null)
- {
- if (propertyName == null)
- throw new ArgumentNullException(nameof(propertyName));
-
- if (EqualityComparer<T?>.Default.Equals(newValue, GetPropertyValue<T>(propertyName)))
- return false;
-
- _propertyBackingDictionary[propertyName] = newValue;
- PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
- return true;
- }
-
- /// <summary>
- /// Accept suggestions on provider defined characters.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("acceptSuggestionOnCommitCharacter", NullValueHandling = NullValueHandling.Ignore)]
- public bool? AcceptSuggestionOnCommitCharacter { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Accept suggestions on ENTER.
- /// Defaults to 'on'.
- /// </summary>
- [JsonProperty("acceptSuggestionOnEnter", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AcceptSuggestionOnEnterConverter))]
- public AcceptSuggestionOnEnter? AcceptSuggestionOnEnter { get => GetPropertyValue<AcceptSuggestionOnEnter?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls the number of lines in the editor that can be read out by a screen reader
- /// </summary>
- [JsonProperty("accessibilityPageSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? AccessibilityPageSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure the editor's accessibility support.
- /// Defaults to 'auto'. It is best to leave this to 'auto'.
- /// </summary>
- [JsonProperty("accessibilitySupport", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AccessibilitySupportConverter))]
- public AccessibilitySupport? AccessibilitySupport { get => GetPropertyValue<AccessibilitySupport?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The aria label for the editor's textarea (when it is focused).
- /// </summary>
- [JsonProperty("ariaLabel", NullValueHandling = NullValueHandling.Ignore)]
- public string? AriaLabel { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for auto closing brackets.
- /// Defaults to language defined behavior.
- /// </summary>
- [JsonProperty("autoClosingBrackets", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AutoClosingBracketsConverter))]
- public AutoClosingBrackets? AutoClosingBrackets { get => GetPropertyValue<AutoClosingBrackets?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for typing over closing quotes or brackets.
- /// </summary>
- [JsonProperty("autoClosingOvertype", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AutoClosingOvertypeConverter))]
- public AutoClosingOvertype? AutoClosingOvertype { get => GetPropertyValue<AutoClosingOvertype?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for auto closing quotes.
- /// Defaults to language defined behavior.
- /// </summary>
- [JsonProperty("autoClosingQuotes", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AutoClosingQuotesConverter))]
- public AutoClosingQuotes? AutoClosingQuotes { get => GetPropertyValue<AutoClosingQuotes?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable auto indentation adjustment.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("autoIndent", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AutoIndentConverter))]
- public AutoIndent? AutoIndent { get => GetPropertyValue<AutoIndent?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that the editor will install an interval to check if its container dom node size
- /// has changed.
- /// Enabling this might have a severe performance impact.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("automaticLayout", NullValueHandling = NullValueHandling.Ignore)]
- public bool? AutomaticLayout { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Options for auto surrounding.
- /// Defaults to always allowing auto surrounding.
- /// </summary>
- [JsonProperty("autoSurround", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(AutoSurroundConverter))]
- public AutoSurround? AutoSurround { get => GetPropertyValue<AutoSurround?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Timeout for running code actions on save.
- /// </summary>
- [JsonProperty("codeActionsOnSaveTimeout", NullValueHandling = NullValueHandling.Ignore)]
- public int? CodeActionsOnSaveTimeout { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Show code lens
- /// Defaults to true.
- /// </summary>
- [JsonProperty("codeLens", NullValueHandling = NullValueHandling.Ignore)]
- public bool? CodeLens { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable inline color decorators and color picker rendering.
- /// </summary>
- [JsonProperty("colorDecorators", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ColorDecorators { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behaviour of comments in the editor.
- /// </summary>
- [JsonProperty("comments", NullValueHandling = NullValueHandling.Ignore)]
- public IEditorCommentsOptions? Comments { get => GetPropertyValue<IEditorCommentsOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable custom contextmenu.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("contextmenu", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Contextmenu { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Syntax highlighting is copied.
- /// </summary>
- [JsonProperty("copyWithSyntaxHighlighting", NullValueHandling = NullValueHandling.Ignore)]
- public bool? CopyWithSyntaxHighlighting { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the cursor animation style, possible values are 'blink', 'smooth', 'phase',
- /// 'expand' and 'solid'.
- /// Defaults to 'blink'.
- /// </summary>
- [JsonProperty("cursorBlinking", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(CursorBlinkingConverter))]
- public CursorBlinking? CursorBlinking { get => GetPropertyValue<CursorBlinking?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable smooth caret animation.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("cursorSmoothCaretAnimation", NullValueHandling = NullValueHandling.Ignore)]
- public bool? CursorSmoothCaretAnimation { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the cursor style, either 'block' or 'line'.
- /// Defaults to 'line'.
- /// </summary>
- [JsonProperty("cursorStyle", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(CursorStyleConverter))]
- public CursorStyle? CursorStyle { get => GetPropertyValue<CursorStyle?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls the minimal number of visible leading and trailing lines surrounding the cursor.
- /// Defaults to 0.
- /// </summary>
- [JsonProperty("cursorSurroundingLines", NullValueHandling = NullValueHandling.Ignore)]
- public int? CursorSurroundingLines { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls when `cursorSurroundingLines` should be enforced
- /// Defaults to `default`, `cursorSurroundingLines` is not enforced when cursor position is
- /// changed
- /// by mouse.
- /// </summary>
- [JsonProperty("cursorSurroundingLinesStyle", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(CursorSurroundingLinesStyleConverter))]
- public CursorSurroundingLinesStyle? CursorSurroundingLinesStyle { get => GetPropertyValue<CursorSurroundingLinesStyle?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the width of the cursor when cursorStyle is set to 'line'
- /// </summary>
- [JsonProperty("cursorWidth", NullValueHandling = NullValueHandling.Ignore)]
- public int? CursorWidth { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Disable the use of `transform: translate3d(0px, 0px, 0px)` for the editor margin and
- /// lines layers.
- /// The usage of `transform: translate3d(0px, 0px, 0px)` acts as a hint for browsers to
- /// create an extra layer.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("disableLayerHinting", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DisableLayerHinting { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Disable the optimizations for monospace fonts.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("disableMonospaceOptimizations", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DisableMonospaceOptimizations { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls if the editor should allow to move selections via drag and drop.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("dragAndDrop", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DragAndDrop { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Copying without a selection copies the current line.
- /// </summary>
- [JsonProperty("emptySelectionClipboard", NullValueHandling = NullValueHandling.Ignore)]
- public bool? EmptySelectionClipboard { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Class name to be added to the editor.
- /// </summary>
- [JsonProperty("extraEditorClassName", NullValueHandling = NullValueHandling.Ignore)]
- public string? ExtraEditorClassName { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// FastScrolling mulitplier speed when pressing `Alt`
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("fastScrollSensitivity", NullValueHandling = NullValueHandling.Ignore)]
- public int? FastScrollSensitivity { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior of the find widget.
- /// </summary>
- [JsonProperty("find", NullValueHandling = NullValueHandling.Ignore)]
- public EditorFindOptions? Find { get => GetPropertyValue<EditorFindOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Display overflow widgets as `fixed`.
- /// Defaults to `false`.
- /// </summary>
- [JsonProperty("fixedOverflowWidgets", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FixedOverflowWidgets { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable code folding
- /// Defaults to true.
- /// </summary>
- [JsonProperty("folding", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Folding { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable highlight for folded regions.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("foldingHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FoldingHighlight { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Selects the folding strategy. 'auto' uses the strategies contributed for the current
- /// document, 'indentation' uses the indentation based folding strategy.
- /// Defaults to 'auto'.
- /// </summary>
- [JsonProperty("foldingStrategy", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(FoldingStrategyConverter))]
- public FoldingStrategy? FoldingStrategy { get => GetPropertyValue<FoldingStrategy?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font family
- /// </summary>
- [JsonProperty("fontFamily", NullValueHandling = NullValueHandling.Ignore)]
- public string? FontFamily { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable font ligatures.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("fontLigatures", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FontLigatures { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font size
- /// </summary>
- [JsonProperty("fontSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? FontSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font weight
- /// </summary>
- [JsonProperty("fontWeight", NullValueHandling = NullValueHandling.Ignore)]
- public string? FontWeight { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable format on paste.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("formatOnPaste", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FormatOnPaste { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable format on type.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("formatOnType", NullValueHandling = NullValueHandling.Ignore)]
- public bool? FormatOnType { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable the rendering of the glyph margin.
- /// Defaults to true in vscode and to false in monaco-editor.
- /// </summary>
- [JsonProperty("glyphMargin", NullValueHandling = NullValueHandling.Ignore)]
- public bool? GlyphMargin { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configuration options for go to location
- /// </summary>
- [JsonProperty("gotoLocation", NullValueHandling = NullValueHandling.Ignore)]
- public GoToLocationOptions? GotoLocation { get => GetPropertyValue<GoToLocationOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the cursor be hidden in the overview ruler.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("hideCursorInOverviewRuler", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HideCursorInOverviewRuler { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable highlighting of the active indent guide.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("highlightActiveIndentGuide", NullValueHandling = NullValueHandling.Ignore)]
- public bool? HighlightActiveIndentGuide { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure the editor's hover.
- /// </summary>
- [JsonProperty("hover", NullValueHandling = NullValueHandling.Ignore)]
- public EditorHoverOptions? Hover { get => GetPropertyValue<EditorHoverOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// This editor is used inside a diff editor.
- /// </summary>
- [JsonProperty("inDiffEditor", NullValueHandling = NullValueHandling.Ignore)]
- public bool? InDiffEditor { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The letter spacing
- /// </summary>
- [JsonProperty("letterSpacing", NullValueHandling = NullValueHandling.Ignore)]
- public int? LetterSpacing { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior and rendering of the code action lightbulb.
- /// </summary>
- [JsonProperty("lightbulb", NullValueHandling = NullValueHandling.Ignore)]
- public EditorLightbulbOptions? Lightbulb { get => GetPropertyValue<EditorLightbulbOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The width reserved for line decorations (in px).
- /// Line decorations are placed between line numbers and the editor content.
- /// You can pass in a string in the format floating point followed by "ch". e.g. 1.3ch.
- /// Defaults to 10.
- /// </summary>
- [JsonProperty("lineDecorationsWidth", NullValueHandling = NullValueHandling.Ignore)]
- public uint? LineDecorationsWidth { get => GetPropertyValue<uint?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The line height
- /// </summary>
- [JsonProperty("lineHeight", NullValueHandling = NullValueHandling.Ignore)]
- public int? LineHeight { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the rendering of line numbers.
- /// If it is a function, it will be invoked when rendering a line number and the return value
- /// will be rendered.
- /// Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using
- /// an identity function).
- /// Otherwise, line numbers will not be rendered.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("lineNumbers", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(LineNumbersTypeConverter))]
- public LineNumbersType? LineNumbers { get => GetPropertyValue<LineNumbersType?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the width of line numbers, by reserving horizontal space for rendering at least
- /// an amount of digits.
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("lineNumbersMinChars", NullValueHandling = NullValueHandling.Ignore)]
- public int? LineNumbersMinChars { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable detecting links and making them clickable.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("links", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Links { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable highlighting of matching brackets.
- /// Defaults to 'always'.
- /// </summary>
- [JsonProperty("matchBrackets", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(MatchBracketsConverter))]
- public MatchBrackets? MatchBrackets { get => GetPropertyValue<MatchBrackets?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior and rendering of the minimap.
- /// </summary>
- [JsonProperty("minimap", NullValueHandling = NullValueHandling.Ignore)]
- public EditorMinimapOptions? Minimap { get => GetPropertyValue<EditorMinimapOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the mouse pointer style, either 'text' or 'default' or 'copy'
- /// Defaults to 'text'
- /// </summary>
- [JsonProperty("mouseStyle", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(MouseStyleConverter))]
- public MouseStyle? MouseStyle { get => GetPropertyValue<MouseStyle?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.
- /// Defaults to 1.
- /// </summary>
- [JsonProperty("mouseWheelScrollSensitivity", NullValueHandling = NullValueHandling.Ignore)]
- public int? MouseWheelScrollSensitivity { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("mouseWheelZoom", NullValueHandling = NullValueHandling.Ignore)]
- public bool? MouseWheelZoom { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Merge overlapping selections.
- /// Defaults to true
- /// </summary>
- [JsonProperty("multiCursorMergeOverlapping", NullValueHandling = NullValueHandling.Ignore)]
- public bool? MultiCursorMergeOverlapping { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The modifier to be used to add multiple cursors with the mouse.
- /// Defaults to 'alt'
- /// </summary>
- [JsonProperty("multiCursorModifier", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(MultiCursorModifierConverter))]
- public MultiCursorModifier? MultiCursorModifier { get => GetPropertyValue<MultiCursorModifier?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure the behaviour when pasting a text with the line count equal to the cursor
- /// count.
- /// Defaults to 'spread'.
- /// </summary>
- [JsonProperty("multiCursorPaste", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(MultiCursorPasteConverter))]
- public MultiCursorPaste? MultiCursorPaste { get => GetPropertyValue<MultiCursorPaste?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable semantic occurrences highlight.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("occurrencesHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? OccurrencesHighlight { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls if a border should be drawn around the overview ruler.
- /// Defaults to `true`.
- /// </summary>
- [JsonProperty("overviewRulerBorder", NullValueHandling = NullValueHandling.Ignore)]
- public bool? OverviewRulerBorder { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The number of vertical lanes the overview ruler should render.
- /// Defaults to 3.
- /// </summary>
- [JsonProperty("overviewRulerLanes", NullValueHandling = NullValueHandling.Ignore)]
- public int? OverviewRulerLanes { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Parameter hint options.
- /// </summary>
- [JsonProperty("parameterHints", NullValueHandling = NullValueHandling.Ignore)]
- public IEditorParameterHintOptions? ParameterHints { get => GetPropertyValue<IEditorParameterHintOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls whether to focus the inline editor in the peek widget by default.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("peekWidgetDefaultFocus", NullValueHandling = NullValueHandling.Ignore)]
- public bool? PeekWidgetDefaultFocus { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable quick suggestions (shadow suggestions)
- /// Defaults to true.
- /// </summary>
- [JsonProperty("quickSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- public bool? QuickSuggestions { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Quick suggestions show delay (in ms)
- /// Defaults to 10 (ms)
- /// </summary>
- [JsonProperty("quickSuggestionsDelay", NullValueHandling = NullValueHandling.Ignore)]
- public int? QuickSuggestionsDelay { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the editor be read only.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("readOnly", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ReadOnly { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of control characters.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("renderControlCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderControlCharacters { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Render last line number when the file ends with a newline.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderFinalNewline", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderFinalNewline { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of indent guides.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("renderIndentGuides", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RenderIndentGuides { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of current line highlight.
- /// Defaults to all.
- /// </summary>
- [JsonProperty("renderLineHighlight", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(RenderLineHighlightConverter))]
- public RenderLineHighlight? RenderLineHighlight { get => GetPropertyValue<RenderLineHighlight?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the editor render validation decorations.
- /// Defaults to editable.
- /// </summary>
- [JsonProperty("renderValidationDecorations", NullValueHandling = NullValueHandling.Ignore)]
- public string? RenderValidationDecorations { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable rendering of whitespace.
- /// Defaults to none.
- /// </summary>
- [JsonProperty("renderWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(RenderWhitespaceConverter))]
- public RenderWhitespace? RenderWhitespace { get => GetPropertyValue<RenderWhitespace?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into
- /// a rectangle.
- /// This virtual padding ensures that the cursor gets revealed before hitting the edge of the
- /// viewport.
- /// Defaults to 30 (px).
- /// </summary>
- [JsonProperty("revealHorizontalRightPadding", NullValueHandling = NullValueHandling.Ignore)]
- public int? RevealHorizontalRightPadding { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Render the editor selection with rounded borders.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("roundedSelection", NullValueHandling = NullValueHandling.Ignore)]
- public bool? RoundedSelection { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Render vertical lines at the specified columns.
- /// Defaults to empty array.
- /// </summary>
- [JsonProperty("rulers", NullValueHandling = NullValueHandling.Ignore)]
- public int[]? Rulers { get => GetPropertyValue<int[]>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the behavior and rendering of the scrollbars.
- /// </summary>
- [JsonProperty("scrollbar", NullValueHandling = NullValueHandling.Ignore)]
- public IEditorScrollbarOptions? Scrollbar { get => GetPropertyValue<IEditorScrollbarOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that scrolling can go beyond the last column by a number of columns.
- /// Defaults to 5.
- /// </summary>
- [JsonProperty("scrollBeyondLastColumn", NullValueHandling = NullValueHandling.Ignore)]
- public int? ScrollBeyondLastColumn { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that scrolling can go one screen size after the last line.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("scrollBeyondLastLine", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ScrollBeyondLastLine { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable Linux primary clipboard.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectionClipboard", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SelectionClipboard { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable selection highlight.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectionHighlight", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SelectionHighlight { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Should the corresponding line be selected when clicking on the line number?
- /// Defaults to true.
- /// </summary>
- [JsonProperty("selectOnLineNumbers", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SelectOnLineNumbers { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls whether the fold actions in the gutter stay always visible or hide unless the
- /// mouse is over the gutter.
- /// Defaults to 'mouseover'.
- /// </summary>
- [JsonProperty("showFoldingControls", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(ShowConverter))]
- public Show? ShowFoldingControls { get => GetPropertyValue<Show?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls fading out of unused variables.
- /// </summary>
- [JsonProperty("showUnused", NullValueHandling = NullValueHandling.Ignore)]
- public bool? ShowUnused { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable that the editor animates scrolling to a position.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("smoothScrolling", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SmoothScrolling { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable snippet suggestions. Default to 'true'.
- /// </summary>
- [JsonProperty("snippetSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(SnippetSuggestionsConverter))]
- public SnippetSuggestions? SnippetSuggestions { get => GetPropertyValue<SnippetSuggestions?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Performance guard: Stop rendering a line after x characters.
- /// Defaults to 10000.
- /// Use -1 to never stop rendering
- /// </summary>
- [JsonProperty("stopRenderingLineAfter", NullValueHandling = NullValueHandling.Ignore)]
- public int? StopRenderingLineAfter { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Suggest options.
- /// </summary>
- [JsonProperty("suggest", NullValueHandling = NullValueHandling.Ignore)]
- public ISuggestOptions? Suggest { get => GetPropertyValue<ISuggestOptions>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The font size for the suggest widget.
- /// Defaults to the editor font size.
- /// </summary>
- [JsonProperty("suggestFontSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? SuggestFontSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The line height for the suggest widget.
- /// Defaults to the editor line height.
- /// </summary>
- [JsonProperty("suggestLineHeight", NullValueHandling = NullValueHandling.Ignore)]
- public int? SuggestLineHeight { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable the suggestion box to pop-up on trigger characters.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("suggestOnTriggerCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SuggestOnTriggerCharacters { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The history mode for suggestions.
- /// </summary>
- [JsonProperty("suggestSelection", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(SuggestSelectionConverter))]
- public SuggestSelection? SuggestSelection { get => GetPropertyValue<SuggestSelection?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Enable tab completion.
- /// </summary>
- [JsonProperty("tabCompletion", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(TabCompletionConverter))]
- public TabCompletion? TabCompletion { get => GetPropertyValue<TabCompletion?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Inserting and deleting whitespace follows tab stops.
- /// </summary>
- [JsonProperty("useTabStops", NullValueHandling = NullValueHandling.Ignore)]
- public bool? UseTabStops { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// A string containing the word separators used when doing word navigation.
- /// Defaults to `~!@#$%^&amp;*()-=+[{]}\|;:'",.&lt;&gt;/?
- /// *
- /// </summary>
- [JsonProperty("wordSeparators", NullValueHandling = NullValueHandling.Ignore)]
- public string? WordSeparators { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the wrapping of the editor.
- /// When `wordWrap` = "off", the lines will never wrap.
- /// When `wordWrap` = "on", the lines will wrap at the viewport width.
- /// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
- /// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
- /// Defaults to "off".
- /// </summary>
- [JsonProperty("wordWrap", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(WordWrapConverter))]
- public WordWrap? WordWrap { get => GetPropertyValue<WordWrap?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure word wrapping characters. A break will be introduced after these characters.
- /// Defaults to ' \t})]?|&amp;,;'.
- /// </summary>
- [JsonProperty("wordWrapBreakAfterCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public string? WordWrapBreakAfterCharacters { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Configure word wrapping characters. A break will be introduced before these characters.
- /// Defaults to '{([+'.
- /// </summary>
- [JsonProperty("wordWrapBreakBeforeCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public string? WordWrapBreakBeforeCharacters { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control the wrapping of the editor.
- /// When `wordWrap` = "off", the lines will never wrap.
- /// When `wordWrap` = "on", the lines will wrap at the viewport width.
- /// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
- /// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
- /// Defaults to 80.
- /// </summary>
- [JsonProperty("wordWrapColumn", NullValueHandling = NullValueHandling.Ignore)]
- public int? WordWrapColumn { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Force word wrapping when the text appears to be of a minified/generated file.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("wordWrapMinified", NullValueHandling = NullValueHandling.Ignore)]
- public bool? WordWrapMinified { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Control indentation of wrapped lines. Can be: 'none', 'same', 'indent' or 'deepIndent'.
- /// Defaults to 'same' in vscode and to 'none' in monaco-editor.
- /// </summary>
- [JsonProperty("wrappingIndent", NullValueHandling = NullValueHandling.Ignore)]
- [JsonConverter(typeof(WrappingIndentConverter))]
- public WrappingIndent? WrappingIndent { get => GetPropertyValue<WrappingIndent?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls the wrapping strategy to use.
- /// Defaults to 'simple'.
- /// </summary>
- [JsonProperty("wrappingStrategy", NullValueHandling = NullValueHandling.Ignore)]
- public string? WrappingStrategy { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The initial editor dimension (to avoid measuring the container).
- /// </summary>
- [JsonProperty("dimension", NullValueHandling = NullValueHandling.Ignore)]
- public IDimension? Dimension { get => GetPropertyValue<IDimension>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls whether `tabSize` and `insertSpaces` will be automatically detected when a file
- /// is opened based on the file contents.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("detectIndentation", NullValueHandling = NullValueHandling.Ignore)]
- public bool? DetectIndentation { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Insert spaces when pressing `Tab`.
- /// This setting is overridden based on the file contents when detectIndentation` is
- /// on.
- /// * Defaults to true.
- /// *
- /// </summary>
- [JsonProperty("insertSpaces", NullValueHandling = NullValueHandling.Ignore)]
- public bool? InsertSpaces { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Special handling for large files to disable certain memory intensive features.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("largeFileOptimizations", NullValueHandling = NullValueHandling.Ignore)]
- public bool? LargeFileOptimizations { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Lines above this length will not be tokenized for performance reasons.
- /// Defaults to 20000.
- /// </summary>
- [JsonProperty("maxTokenizationLineLength", NullValueHandling = NullValueHandling.Ignore)]
- public int? MaxTokenizationLineLength { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Keep peek editors open even when int clicking their content or when hitting `Escape`.
- /// Defaults to false.
- /// </summary>
- [JsonProperty("stablePeek", NullValueHandling = NullValueHandling.Ignore)]
- public bool? StablePeek { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// The number of spaces a tab is equal to.
- /// This setting is overridden based on the file contents when `detectIndentation` is on.
- /// Defaults to 4.
- /// </summary>
- [JsonProperty("tabSize", NullValueHandling = NullValueHandling.Ignore)]
- public int? TabSize { get => GetPropertyValue<int?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Remove trailing auto inserted whitespace.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("trimAutoWhitespace", NullValueHandling = NullValueHandling.Ignore)]
- public bool? TrimAutoWhitespace { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
-
- /// <summary>
- /// Controls whether completions should be computed based on words in the document.
- /// Defaults to true.
- /// </summary>
- [JsonProperty("wordBasedSuggestions", NullValueHandling = NullValueHandling.Ignore)]
- public bool? WordBasedSuggestions { get => GetPropertyValue<bool?>(); set => SetPropertyValue(value); }
- /// <summary>
- /// The initial model associated with this code editor.
- /// </summary>
- [JsonProperty("model")]
- public IModel? Model { get => GetPropertyValue<IModel>(); set => SetPropertyValue(value); }
- /// <summary>
- /// The initial value of the auto created model in the editor.
- /// To not create automatically a model, use `model: null`.
- /// </summary>
- [JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
- public string? Value { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
- /// <summary>
- /// The initial language of the auto created model in the editor.
- /// To not create automatically a model, use `model: null`.
- /// </summary>
- [JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
- public string? Language { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
- /// <summary>
- /// Initial theme to be used for rendering.
- /// The current out-of-the-box available themes are: 'vs' (default), 'vs-dark', 'hc-black'.
- /// You can create custom themes via `monaco.editor.defineTheme`.
- /// To switch a theme, use `monaco.editor.setTheme`
- /// </summary>
- [JsonProperty("theme", NullValueHandling = NullValueHandling.Ignore)]
- public string? Theme { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
- /// <summary>
- /// An URL to open when Ctrl+H (Windows and Linux) or Cmd+H (OSX) is pressed in
- /// the accessibility help dialog in the editor.
- ///
- /// Defaults to "https://go.microsoft.com/fwlink/?linkid=852450"
- /// </summary>
- [JsonProperty("accessibilityHelpUrl", NullValueHandling = NullValueHandling.Ignore)]
- public string? AccessibilityHelpUrl { get => GetPropertyValue<string>(); set => SetPropertyValue(value); }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/SuggestSelection.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/SuggestSelection.cs
deleted file mode 100644
index 3119474cd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/SuggestSelection.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// The history mode for suggestions.
-/// </summary>
-[JsonConverter(typeof(SuggestSelectionConverter))]
-public enum SuggestSelection { First, RecentlyUsed, RecentlyUsedByPrefix };
-
-internal class SuggestSelectionConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(SuggestSelection) || t == typeof(SuggestSelection?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "first" => SuggestSelection.First,
- "recentlyUsed" => SuggestSelection.RecentlyUsed,
- "recentlyUsedByPrefix" => (object)SuggestSelection.RecentlyUsedByPrefix,
- _ => throw new Exception("Cannot unmarshal type SuggestSelection"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (SuggestSelection)untypedValue;
- switch (value)
- {
- case SuggestSelection.First:
- serializer.Serialize(writer, "first");
- return;
- case SuggestSelection.RecentlyUsed:
- serializer.Serialize(writer, "recentlyUsed");
- return;
- case SuggestSelection.RecentlyUsedByPrefix:
- serializer.Serialize(writer, "recentlyUsedByPrefix");
- return;
- }
- throw new Exception("Cannot marshal type SuggestSelection");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/TabCompletion.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/TabCompletion.cs
deleted file mode 100644
index 13ccc319d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/TabCompletion.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Enable tab completion.
-/// </summary>
-[JsonConverter(typeof(TabCompletionConverter))]
-public enum TabCompletion { Off, On, OnlySnippets };
-
-internal class TabCompletionConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(TabCompletion) || t == typeof(TabCompletion?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "off" => TabCompletion.Off,
- "on" => TabCompletion.On,
- "onlySnippets" => (object)TabCompletion.OnlySnippets,
- _ => throw new Exception("Cannot unmarshal type TabCompletion"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (TabCompletion)untypedValue;
- switch (value)
- {
- case TabCompletion.Off:
- serializer.Serialize(writer, "off");
- return;
- case TabCompletion.On:
- serializer.Serialize(writer, "on");
- return;
- case TabCompletion.OnlySnippets:
- serializer.Serialize(writer, "onlySnippets");
- return;
- }
- throw new Exception("Cannot marshal type TabCompletion");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/TrackedRangeStickiness.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/TrackedRangeStickiness.cs
deleted file mode 100644
index d977f457a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/TrackedRangeStickiness.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Describes the behavior of decorations when typing/editing near their edges.
-/// Note: Please do not edit the values, as they very carefully match `DecorationRangeBehavior`
-/// </summary>
-public enum TrackedRangeStickiness
-{
- AlwaysGrowsWhenTypingAtEdges = 0,
- GrowsOnlyWhenTypingAfter = 3,
- GrowsOnlyWhenTypingBefore = 2,
- NeverGrowsWhenTypingAtEdges = 1
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WordAtPosition.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WordAtPosition.cs
deleted file mode 100644
index 497ebe8c9..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WordAtPosition.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.iwordatposition.html
-/// </summary>
-public sealed class WordAtPosition : IWordAtPosition
-{
- /// <summary>
- /// Column where the word ends.
- /// </summary>
- [JsonProperty("endColumn")]
- public uint EndColumn { get; private set; }
-
- /// <summary>
- /// Column where the word starts.
- /// </summary>
- [JsonProperty("startColumn")]
- public uint StartColumn { get; private set; }
-
- /// <summary>
- /// The word.
- /// </summary>
- [JsonProperty("word")]
- public string? Word { get; private set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WordWrap.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WordWrap.cs
deleted file mode 100644
index 876b01cba..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WordWrap.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control the wrapping of the editor.
-/// When `wordWrap` = "off", the lines will never wrap.
-/// When `wordWrap` = "on", the lines will wrap at the viewport width.
-/// When `wordWrap` = "wordWrapColumn", the lines will wrap at `wordWrapColumn`.
-/// When `wordWrap` = "bounded", the lines will wrap at min(viewport width, wordWrapColumn).
-/// Defaults to "off".
-/// </summary>
-[JsonConverter(typeof(WordWrapConverter))]
-public enum WordWrap { Bounded, Off, On, WordWrapColumn };
-
-internal class WordWrapConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(WordWrap) || t == typeof(WordWrap?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "bounded" => WordWrap.Bounded,
- "off" => WordWrap.Off,
- "on" => WordWrap.On,
- "wordWrapColumn" => (object)WordWrap.WordWrapColumn,
- _ => throw new Exception("Cannot unmarshal type WordWrap"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (WordWrap)untypedValue;
- switch (value)
- {
- case WordWrap.Bounded:
- serializer.Serialize(writer, "bounded");
- return;
- case WordWrap.Off:
- serializer.Serialize(writer, "off");
- return;
- case WordWrap.On:
- serializer.Serialize(writer, "on");
- return;
- case WordWrap.WordWrapColumn:
- serializer.Serialize(writer, "wordWrapColumn");
- return;
- }
- throw new Exception("Cannot marshal type WordWrap");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WrappingIndent.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WrappingIndent.cs
deleted file mode 100644
index aa1455c0f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Editor/WrappingIndent.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Control indentation of wrapped lines. Can be: 'none', 'same', 'indent' or 'deepIndent'.
-/// Defaults to 'same' in vscode and to 'none' in monaco-editor.
-/// </summary>
-[JsonConverter(typeof(WrappingIndentConverter))]
-public enum WrappingIndent { DeepIndent, Indent, None, Same };
-
-internal class WrappingIndentConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(WrappingIndent) || t == typeof(WrappingIndent?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "deepIndent" => WrappingIndent.DeepIndent,
- "indent" => WrappingIndent.Indent,
- "none" => WrappingIndent.None,
- "same" => (object)WrappingIndent.Same,
- _ => throw new Exception("Cannot unmarshal type WrappingIndent"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (WrappingIndent)untypedValue;
- switch (value)
- {
- case WrappingIndent.DeepIndent:
- serializer.Serialize(writer, "deepIndent");
- return;
- case WrappingIndent.Indent:
- serializer.Serialize(writer, "indent");
- return;
- case WrappingIndent.None:
- serializer.Serialize(writer, "none");
- return;
- case WrappingIndent.Same:
- serializer.Serialize(writer, "same");
- return;
- }
- throw new Exception("Cannot marshal type WrappingIndent");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssGlyphStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssGlyphStyle.cs
deleted file mode 100644
index 13fce6e70..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssGlyphStyle.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using DevToys.MonacoEditor.Extensions;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Helpers;
-
-[JsonConverter(typeof(CssStyleConverter))]
-public sealed class CssGlyphStyle : ICssStyle
-{
- [JsonIgnore]
- public System.Uri? GlyphImage { get; set; }
-
- public uint Id { get; }
-
- public string Name { get; }
-
- public CssGlyphStyle()
- {
- Id = CssStyleBroker.Register(this);
- Name = "generated-style-" + Id;
- }
-
- public string ToCss()
- {
- return this.WrapCssClassName(string.Format("background: url(\"{0}\");", GlyphImage?.AbsoluteUriString() ?? string.Empty));
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssInlineStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssInlineStyle.cs
deleted file mode 100644
index 930f848fd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssInlineStyle.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-using Newtonsoft.Json;
-using System.Text;
-using Windows.UI;
-using Windows.UI.Text;
-
-namespace DevToys.MonacoEditor.Monaco.Helpers;
-
-/// <summary>
-/// Inline styles modify the text style itself and are useful for manipulating the colors and styles of text to indicate conditions.
-/// </summary>
-[JsonConverter(typeof(CssStyleConverter))]
-public sealed class CssInlineStyle : ICssStyle
-{
- public TextDecoration TextDecoration { get; set; }
-
- public FontWeight? FontWeight { get; set; }
-
- public FontStyle FontStyle { get; set; }
-
- // TODO: Provide Cursor: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
-
- // Setting a background inline will override any CssLineStyle.
- public Color? BackgroundColor { get; set; }
-
- public Color? ForegroundColor { get; set; }
-
- public uint Id { get; }
-
- public string Name { get; }
-
- public CssInlineStyle()
- {
- Id = CssStyleBroker.Register(this);
- Name = "generated-style-" + Id;
- }
-
- public string ToCss()
- {
- var output = new StringBuilder(40);
- if (TextDecoration != TextDecoration.None)
- {
- string text = TextDecoration.ToString().ToLower();
- if (TextDecoration == TextDecoration.LineThrough)
- {
- text = "line-through";
- }
-
- output.AppendLine(string.Format("text-decoration: {0};", text));
- }
-
- if (FontWeight != null && FontWeight.HasValue)
- {
- output.AppendLine(string.Format("font-weight: {0};", FontWeight.Value.Weight));
- }
-
- if (FontStyle != FontStyle.Normal)
- {
- output.AppendLine(string.Format("font-style: {0};", FontStyle.ToString().ToLower()));
- }
-
- if (BackgroundColor.HasValue)
- {
- output.AppendLine(string.Format("background: rgba({0:d},{1:d},{2:d},{3:f});", BackgroundColor.Value.R,
- BackgroundColor.Value.G,
- BackgroundColor.Value.B,
- BackgroundColor.Value.A / 255f));
- }
-
- if (ForegroundColor.HasValue)
- {
- output.AppendLine(string.Format("color: rgba({0:d},{1:d},{2:d},{3:f}) !important;", ForegroundColor.Value.R,
- ForegroundColor.Value.G,
- ForegroundColor.Value.B,
- ForegroundColor.Value.A / 255f));
- }
-
- return this.WrapCssClassName(output.ToString());
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssLineStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssLineStyle.cs
deleted file mode 100644
index dd19e91b1..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssLineStyle.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-using Newtonsoft.Json;
-using System.Text;
-using Windows.UI;
-
-namespace DevToys.MonacoEditor.Monaco.Helpers;
-
-/// <summary>
-/// Simple Proxy to general CSS Line Styles.
-/// Line styles are overlayed behind text in the editor and are useful for highlighting sections of text efficiently
-/// </summary>
-[JsonConverter(typeof(CssStyleConverter))]
-public sealed class CssLineStyle : ICssStyle
-{
- [JsonIgnore]
- public Color? BackgroundColor { get; set; }
-
- [Obsolete("Use ForegroundColor on CssInlineStyle instead, this is an overlay.")]
- [JsonIgnore]
- public Color? ForegroundColor { get; set; }
-
- public uint Id { get; }
-
- public string Name { get; }
-
- public CssLineStyle()
- {
- Id = CssStyleBroker.Register(this);
- Name = "generated-style-" + Id;
- }
-
- public string ToCss()
- {
- var output = new StringBuilder(40);
- if (BackgroundColor.HasValue)
- {
- //// we need to use rgba function like this due to EdgeHTML, otherwise we could use #RRGGBBAA which would be easier using #{n:X2}...
- output.AppendLine(string.Format("background: rgba({0:d},{1:d},{2:d},{3:f});", BackgroundColor.Value.R,
- BackgroundColor.Value.G,
- BackgroundColor.Value.B,
- BackgroundColor.Value.A / 255f));
- }
-#pragma warning disable CS0618 // Type or member is obsolete
- if (ForegroundColor.HasValue)
- {
- output.AppendLine(string.Format("color: rgba({0:d},{1:d},{2:d},{3:f}) !important;", ForegroundColor.Value.R,
- ForegroundColor.Value.G,
- ForegroundColor.Value.B,
- ForegroundColor.Value.A / 255f));
- }
-#pragma warning restore CS0618 // Type or member is obsolete
-
- return this.WrapCssClassName(output.ToString());
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssStyleBroker.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssStyleBroker.cs
deleted file mode 100644
index a7c98c620..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/CssStyleBroker.cs
+++ /dev/null
@@ -1,112 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using System.Text;
-
-namespace DevToys.MonacoEditor.Monaco.Helpers;
-
-/// <summary>
-/// Broker to help manage CSS Styles and their usage within each CodeEditor. Lifetime managed by CodeEditor.
-/// </summary>
-internal sealed class CssStyleBroker : IDisposable
-{
- private static uint id = 0;
-
- // Track styles registered to this particular editor.
- private static readonly Dictionary<uint, WeakReference<ICssStyle>> registry = new();
-
- private static readonly Dictionary<WeakReference<CodeEditor>, HashSet<uint>> knownStyles = new();
-
- private static readonly Dictionary<WeakReference<CodeEditor>, bool> isDirty = new();
-
- private readonly WeakReference<CodeEditor> _parent;
-
- public CssStyleBroker(CodeEditor codeEditor)
- {
- _parent = new WeakReference<CodeEditor>(codeEditor);
- knownStyles.Add(_parent, new HashSet<uint>());
- isDirty.Add(_parent, false);
- }
-
- public void Dispose()
- {
- knownStyles.Remove(_parent);
- isDirty.Remove(_parent);
- }
-
- /// <summary>
- /// Returns the name for a style to use after registered. Generates a unique style name.
- /// </summary>
- /// <param name="style"></param>
- /// <returns></returns>
- public static uint Register(ICssStyle style)
- {
- uint id = CssStyleBroker.id++;
- registry.Add(id, new WeakReference<ICssStyle>(style));
- return id;
- }
-
- public bool AssociateStyles(IReadOnlyList<IModelDeltaDecoration> decorations)
- {
- /// By construction we assume that decorations will not be null from the call in <see cref="CodeEditor.DeltaDecorationsHelperAsync"/>
- bool newStyle = isDirty[_parent]; /// Can be set in <see cref="GetStyles"/>.
-
- isDirty[_parent] = false; // Reset
-
- for (int i = 0; i < decorations.Count; i++)
- {
- IModelDeltaDecoration decoration = decorations[i];
-
- // Add (or ignore) elements to the collection.
- // If any Adds are new, we flag our boolean to return
- if (decoration.Options.ClassName != null)
- {
- newStyle |= knownStyles[_parent].Add(decoration.Options.ClassName.Id);
- }
- if (decoration.Options.GlyphMarginClassName != null)
- {
- newStyle |= knownStyles[_parent].Add(decoration.Options.GlyphMarginClassName.Id);
- }
- if (decoration.Options.InlineClassName != null)
- {
- newStyle |= knownStyles[_parent].Add(decoration.Options.InlineClassName.Id);
- }
- }
-
- return newStyle;
- }
-
- /// <summary>
- /// Returns the CSS block for all registered styles.
- /// </summary>
- /// <returns></returns>
- public string GetStyles()
- {
- var rules = new StringBuilder(100);
- knownStyles[_parent].RemoveWhere(id =>
- {
- if (registry[id].TryGetTarget(out ICssStyle? style))
- {
- rules.AppendLine(style.ToCss());
- }
- else
- {
- // Clean-up from disposed style objects
- foreach (KeyValuePair<WeakReference<CodeEditor>, HashSet<uint>> entry in knownStyles)
- {
- if (entry.Key == _parent)
- {
- break; // Skip our current editor, as we can't remove from within the loop. Thus the return true below in this RemoveWhere clause.
- }
- entry.Value.Remove(id); // Remove from Style set
- isDirty[entry.Key] = true; // Mark that editor as dirty
- }
- registry.Remove(id); // Remove the style completely from our known world as it's gone.
-
- return true; // Also remove this entry from our own set.
- }
-
- return false; // Default, we're just using this as a dumb loop, but that we can remove from when needed above.
- });
-
- return rules.ToString();
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/ICssStyle.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/ICssStyle.cs
deleted file mode 100644
index 4287e0c7c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/ICssStyle.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Helpers;
-
-public interface ICssStyle
-{
- uint Id { get; }
-
- string Name { get; }
-
- string ToCss();
-}
-
-public static class ICssStyleExtensions
-{
- public static string WrapCssClassName(this ICssStyle style, string inner)
- {
- return string.Format(".{0} {{ {1} }}", style.Name, inner);
- }
-}
-
-internal class CssStyleConverter : JsonConverter
-{
- public override bool CanConvert(Type objectType) => typeof(ICssStyle).IsAssignableFrom(objectType);
-
- public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, JsonSerializer serializer) => new NotSupportedException();
-
- public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer)
- {
- if (value is ICssStyle style)
- {
- writer.WriteValue(style.Name);
- }
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/TextDecoration.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/TextDecoration.cs
deleted file mode 100644
index 193baf21a..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Helpers/TextDecoration.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Helpers;
-
-[JsonConverter(typeof(TextDecorationConverter))]
-public enum TextDecoration
-{
- None,
- Underline,
- Overline,
- LineThrough,
- Initial,
- Inherit
-}
-internal class TextDecorationConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(TextDecoration) || t == typeof(TextDecoration?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- if (reader.TokenType == JsonToken.Null)
- {
- return null;
- }
- string? value = serializer.Deserialize<string>(reader);
- return value switch
- {
- "none" => TextDecoration.None,
- "underline" => TextDecoration.Underline,
- "overline" => TextDecoration.Overline,
- "line-through" => TextDecoration.LineThrough,
- "initial" => TextDecoration.Initial,
- "inherit" => (object)TextDecoration.Inherit,
- _ => throw new Exception("Cannot unmarshal type TextDecoration"),
- };
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (TextDecoration)untypedValue;
- switch (value)
- {
- case TextDecoration.None:
- serializer.Serialize(writer, "none");
- return;
- case TextDecoration.Underline:
- serializer.Serialize(writer, "underline");
- return;
- case TextDecoration.Overline:
- serializer.Serialize(writer, "overline");
- return;
- case TextDecoration.LineThrough:
- serializer.Serialize(writer, "line-through");
- return;
- case TextDecoration.Initial:
- serializer.Serialize(writer, "initial");
- return;
- case TextDecoration.Inherit:
- serializer.Serialize(writer, "inherit");
- return;
- }
- throw new Exception("Cannot marshal type TextDecoration");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/IMarkdownString.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/IMarkdownString.cs
deleted file mode 100644
index 2089f5f51..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/IMarkdownString.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using Newtonsoft.Json;
-using Windows.Foundation.Metadata;
-using System.Runtime.InteropServices.WindowsRuntime;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-public sealed class IMarkdownString
-{
- [JsonProperty("isTrusted")]
- public bool IsTrusted { get; set; }
- [JsonProperty("supportThemeIcons", NullValueHandling = NullValueHandling.Ignore)]
- public bool? SupportThemeIcons { get; set; }
-
- [JsonProperty("uris", NullValueHandling = NullValueHandling.Ignore)]
- public IDictionary<string, Uri>? Uris { get; set; }
-
- [JsonProperty("value")]
- public string Value { get; set; }
-
- public IMarkdownString(string svalue) : this(svalue, false) { }
-
- public IMarkdownString(string svalue, bool isTrusted)
- {
- Value = svalue;
- IsTrusted = isTrusted;
- }
-}
-
-public static class MarkdownStringExtensions
-{
- [DefaultOverload]
- public static IMarkdownString ToMarkdownString(this string svalue)
- {
- return ToMarkdownString(svalue, false);
- }
-
- [DefaultOverload]
- public static IMarkdownString ToMarkdownString(this string svalue, bool isTrusted)
- {
- return new IMarkdownString(svalue, isTrusted);
- }
-
- public static IMarkdownString[] ToMarkdownString(this string[] values)
- {
- return ToMarkdownString(values, false);
- }
-
- public static IMarkdownString[] ToMarkdownString(this string[] values, bool isTrusted)
- {
- return values.Select(value => new IMarkdownString(value, isTrusted)).ToArray();
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/IPosition.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/IPosition.cs
deleted file mode 100644
index 65cb843a6..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/IPosition.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// A position in the editor. This interface is suitable for serialization.
-/// </summary>
-public interface IPosition
-{
- /// <summary>
- /// column (the first character in a line is between column 1 and column 2)
- /// </summary>
- [JsonProperty("column")]
- uint Column { get; }
-
- /// <summary>
- /// line number (starts at 1)
- /// </summary>
- [JsonProperty("lineNumber")]
- uint LineNumber { get; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/IRange.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/IRange.cs
deleted file mode 100644
index 623aaa9a0..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/IRange.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// A range in the editor. This interface is suitable for serialization.
-/// </summary>
-public interface IRange
-{
- /// <summary>
- /// Line number on which the range starts (starts at 1).
- /// </summary>
- [JsonProperty("startLineNumber")]
- uint StartLineNumber { get; }
-
- /// <summary>
- /// Column on which the range starts in line `startLineNumber` (starts at 1).
- /// </summary>
- [JsonProperty("startColumn")]
- uint StartColumn { get; }
-
- /// <summary>
- /// Line number on which the range ends.
- /// </summary>
- [JsonProperty("endLineNumber")]
- uint EndLineNumber { get; }
-
- /// <summary>
- /// Column on which the range ends in line `endLineNumber`.
- /// </summary>
- [JsonProperty("endColumn")]
- uint EndColumn { get; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/KeyCode.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/KeyCode.cs
deleted file mode 100644
index d7a10b050..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/KeyCode.cs
+++ /dev/null
@@ -1,183 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// Virtual Key Codes, the value does not hold any inherent meaning.
-/// Inspired somewhat from https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
-/// But these are "more general", as they should work across browsers &amp; OS`s.
-/// </summary>
-public static class KeyCode
-{
- /**
- * Placed first to cover the 0 value of the enum.
- */
- public static int Unknown => 0;
- public static int Backspace => 1;
- public static int Tab => 2;
- public static int Enter => 3;
- public static int Shift => 4;
- public static int Ctrl => 5;
- public static int Alt => 6;
- public static int PauseBreak => 7;
- public static int CapsLock => 8;
- public static int Escape => 9;
- public static int Space => 10;
- public static int PageUp => 11;
- public static int PageDown => 12;
- public static int End => 13;
- public static int Home => 14;
- public static int LeftArrow => 15;
- public static int UpArrow => 16;
- public static int RightArrow => 17;
- public static int DownArrow => 18;
- public static int Insert => 19;
- public static int Delete => 20;
- public static int KEY_0 => 21;
- public static int KEY_1 => 22;
- public static int KEY_2 => 23;
- public static int KEY_3 => 24;
- public static int KEY_4 => 25;
- public static int KEY_5 => 26;
- public static int KEY_6 => 27;
- public static int KEY_7 => 28;
- public static int KEY_8 => 29;
- public static int KEY_9 => 30;
- public static int KEY_A => 31;
- public static int KEY_B => 32;
- public static int KEY_C => 33;
- public static int KEY_D => 34;
- public static int KEY_E => 35;
- public static int KEY_F => 36;
- public static int KEY_G => 37;
- public static int KEY_H => 38;
- public static int KEY_I => 39;
- public static int KEY_J => 40;
- public static int KEY_K => 41;
- public static int KEY_L => 42;
- public static int KEY_M => 43;
- public static int KEY_N => 44;
- public static int KEY_O => 45;
- public static int KEY_P => 46;
- public static int KEY_Q => 47;
- public static int KEY_R => 48;
- public static int KEY_S => 49;
- public static int KEY_T => 50;
- public static int KEY_U => 51;
- public static int KEY_V => 52;
- public static int KEY_W => 53;
- public static int KEY_X => 54;
- public static int KEY_Y => 55;
- public static int KEY_Z => 56;
- public static int Meta => 57;
- public static int ContextMenu => 58;
- public static int F1 => 59;
- public static int F2 => 60;
- public static int F3 => 61;
- public static int F4 => 62;
- public static int F5 => 63;
- public static int F6 => 64;
- public static int F7 => 65;
- public static int F8 => 66;
- public static int F9 => 67;
- public static int F10 => 68;
- public static int F11 => 69;
- public static int F12 => 70;
- public static int F13 => 71;
- public static int F14 => 72;
- public static int F15 => 73;
- public static int F16 => 74;
- public static int F17 => 75;
- public static int F18 => 76;
- public static int F19 => 77;
- public static int NumLock => 78;
- public static int ScrollLock => 79;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the ';:' key
- */
- public static int US_SEMICOLON => 80;
- /**
- * For any country/region, the '+' key
- * For the US standard keyboard, the '=+' key
- */
- public static int US_EQUAL => 81;
- /**
- * For any country/region, the ',' key
- * For the US standard keyboard, the ',&lt;' key
- */
- public static int US_COMMA => 82;
- /**
- * For any country/region, the '-' key
- * For the US standard keyboard, the '-_' key
- */
- public static int US_MINUS => 83;
- /**
- * For any country/region, the '.' key
- * For the US standard keyboard, the '.>' key
- */
- public static int US_DOT => 84;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '/?' key
- */
- public static int US_SLASH => 85;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '`~' key
- */
- public static int US_BACKTICK => 86;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '[{' key
- */
- public static int US_OPEN_SQUARE_BRACKET => 87;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the '\|' key
- */
- public static int US_BACKSLASH => 88;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the ']}' key
- */
- public static int US_CLOSE_SQUARE_BRACKET => 89;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- * For the US standard keyboard, the ''"' key
- */
- public static int US_QUOTE => 90;
- /**
- * Used for miscellaneous characters; it can vary by keyboard.
- */
- public static int OEM_8 => 91;
- /**
- * Either the angle bracket key or the backslash key on the RT 102-key keyboard.
- */
- public static int OEM_102 => 92;
- public static int NUMPAD_0 => 93;
- public static int NUMPAD_1 => 94;
- public static int NUMPAD_2 => 95;
- public static int NUMPAD_3 => 96;
- public static int NUMPAD_4 => 97;
- public static int NUMPAD_5 => 98;
- public static int NUMPAD_6 => 99;
- public static int NUMPAD_7 => 100;
- public static int NUMPAD_8 => 101;
- public static int NUMPAD_9 => 102;
- public static int NUMPAD_MULTIPLY => 103;
- public static int NUMPAD_ADD => 104;
- public static int NUMPAD_SEPARATOR => 105;
- public static int NUMPAD_SUBTRACT => 106;
- public static int NUMPAD_DECIMAL => 107;
- public static int NUMPAD_DIVIDE => 108;
- /**
- * Cover all key codes when IME is processing input.
- */
- public static int KEY_IN_COMPOSITION => 109;
- public static int ABNT_C1 => 110;
- public static int ABNT_C2 => 111;
- /**
- * Placed last to cover the length of the enum.
- * Please do not depend on this value!
- */
- public static int MAX_VALUE => 112;
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/KeyMod.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/KeyMod.cs
deleted file mode 100644
index ccc933508..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/KeyMod.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// https://microsoft.github.io/monaco-editor/api/classes/monaco.keymod.html
-/// </summary>
-public sealed class KeyMod
-{
- public static int WinCtrl => 256;
- public static int Alt => 512;
- public static int Shift => 1024;
- public static int CtrlCmd => 2048;
-
- public static int Chord(int firstPart, int secondPart)
- {
- // https://github.com/Microsoft/vscode/blob/master/src/vs/base/common/keyCodes.ts#L410
- int chordPart = ZeroFillRightShift((secondPart & 0x0000ffff) << 16, 0);
- return ZeroFillRightShift(firstPart | chordPart, 0);
- }
- // Info on Zero-Fill Right Shift http://www.vanguardsw.com/dphelp4/dph00369.htm
- // Supported natively by JavaScript, but not C#
- private static int ZeroFillRightShift(int i, int j)
- {
- bool negativemask = i < 0;
- i >>= j;
-
- if (negativemask)
- {
- i &= 0x7FFFFFFF;
- }
-
- return i;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeAction.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeAction.cs
deleted file mode 100644
index 1359d2204..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeAction.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class CodeAction
-{
- [JsonProperty("command", NullValueHandling = NullValueHandling.Ignore)]
- public Command? Command { get; set; }
-
- [JsonProperty("diagnostics", NullValueHandling = NullValueHandling.Ignore)]
- public IMarkerData[]? Diagnostics { get; set; }
-
- [JsonProperty("disabled", NullValueHandling = NullValueHandling.Ignore)]
- public string? Disabled { get; set; }
-
- [JsonProperty("edit", NullValueHandling = NullValueHandling.Ignore)]
- public WorkspaceEdit? Edit { get; set; }
-
- [JsonProperty("isPreferred", NullValueHandling = NullValueHandling.Ignore)]
- public bool IsPreferred { get; set; }
-
- [JsonProperty("kind", NullValueHandling = NullValueHandling.Ignore)]
- public string? Kind { get; set; }
-
- [JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
- public string? Title { get; set; }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionContext.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionContext.cs
deleted file mode 100644
index 2ef87eecf..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionContext.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// Contains additional diagnostic information about the context in which
-/// a [code action](#CodeActionProvider.provideCodeActions) is run.
-/// </summary>
-public sealed class CodeActionContext
-{
- /// <summary>
- /// An array of diagnostics.
- /// </summary>
- [JsonProperty("markers", NullValueHandling = NullValueHandling.Ignore)]
- public MarkerData[]? Markers { get; set; } // TODO: Should setup the serialization mappings between interfaces to leave interfaces here...
-
- /// <summary>
- /// Requested kind of actions to return.
- /// </summary>
- [JsonProperty("only", NullValueHandling = NullValueHandling.Ignore)]
- public string? Only { get; set; }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionList.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionList.cs
deleted file mode 100644
index 4c0eddf8e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionList.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class CodeActionList // IDisposable??
-{
- [Newtonsoft.Json.JsonProperty("actions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
- public CodeAction[]? Actions { get; set; }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionProvider.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionProvider.cs
deleted file mode 100644
index ae7f7a04f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeActionProvider.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// The code action interface defines the contract between extensions and
-/// the [light bulb](https://code.visualstudio.com/docs/editor/editingevolved#_code-action) feature.
-/// </summary>
-public interface CodeActionProvider
-{
- /// <summary>
- /// Provide commands for the given document and range.
- /// </summary>
- Task<CodeActionList> ProvideCodeActionsAsync(IModel model, Range range, CodeActionContext context);
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLens.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLens.cs
deleted file mode 100644
index f38e4a61f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLens.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class CodeLens
-{
- [JsonProperty("command", NullValueHandling = NullValueHandling.Ignore)]
- public Command? Command { get; set; }
-
- [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
- public string? Id { get; set; }
-
- [JsonProperty("range", NullValueHandling = NullValueHandling.Ignore)]
- public IRange? Range { get; set; }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLensList.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLensList.cs
deleted file mode 100644
index 3c3159a84..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLensList.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-using Newtonsoft.Json;
-
-public sealed class CodeLensList // IDisposible?
-{
- [JsonProperty("lenses", NullValueHandling = NullValueHandling.Ignore)]
- public CodeLens[]? Lenses { get; set; }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLensProvider.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLensProvider.cs
deleted file mode 100644
index 2a1d39eea..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CodeLensProvider.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public interface CodeLensProvider
-{
- Task<CodeLensList> ProvideCodeLensesAsync(IModel model);
-
- Task<CodeLens> ResolveCodeLensAsync(IModel model, CodeLens codeLens);
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ColorInformation.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ColorInformation.cs
deleted file mode 100644
index 772fa126b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ColorInformation.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using DevToys.MonacoEditor.JsonConverters;
-using Newtonsoft.Json;
-using Windows.UI;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// A color range is a range in a text model which represents a color.
-/// </summary>
-public sealed class ColorInformation
-{
- [JsonProperty("color")]
- [JsonConverter(typeof(ColorConverter))]
- public Color Color { get; set; }
-
- [JsonProperty("range")]
- [JsonConverter(typeof(InterfaceToClassConverter<IRange, Range>))]
- public IRange Range { get; set; }
-
- public ColorInformation(Color color, IRange range)
- {
- Color = color;
- Range = range;
- }
-}
-
-/// <summary>
-/// Helper to convert between <see cref="Windows.UI.Color"/> and Monaco <see href="https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.icolor.html">IColor</see>.
-/// </summary>
-internal class ColorConverter : JsonConverter
-{
- public override bool CanConvert(Type t) => t == typeof(Color) || t == typeof(Color?);
-
- public override object? ReadJson(JsonReader reader, Type t, object? existingValue, JsonSerializer serializer)
- {
- var color = new Color();
-
- if (reader.Read())
- {
- while (reader.TokenType != JsonToken.EndObject)
- {
- switch (reader.Value)
- {
- case "alpha":
- color.A = (byte)(reader.ReadAsDouble().GetValueOrDefault(0) * 255);
- break;
- case "red":
- color.R = (byte)(reader.ReadAsDouble().GetValueOrDefault(0) * 255);
- break;
- case "green":
- color.G = (byte)(reader.ReadAsDouble().GetValueOrDefault(0) * 255);
- break;
- case "blue":
- color.B = (byte)(reader.ReadAsDouble().GetValueOrDefault(0) * 255);
- break;
- }
-
- reader.Read(); // Advance past Number Token read above to next property
- }
- }
-
- return color;
- }
-
- public override void WriteJson(JsonWriter writer, object? untypedValue, JsonSerializer serializer)
- {
- if (untypedValue == null)
- {
- serializer.Serialize(writer, null);
- return;
- }
- var value = (Color)untypedValue;
-
- writer.WriteStartObject();
- writer.WritePropertyName("alpha");
- writer.WriteValue(value.A / 255F);
- writer.WritePropertyName("red");
- writer.WriteValue(value.R / 255F);
- writer.WritePropertyName("green");
- writer.WriteValue(value.G / 255F);
- writer.WritePropertyName("blue");
- writer.WriteValue(value.B / 255F);
- writer.WriteEndObject();
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ColorPresentation.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ColorPresentation.cs
deleted file mode 100644
index 7f6005248..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ColorPresentation.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// String representations for a color.
-/// <seealso href="https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.icolorpresentation.html">monaco.languages.IColorPresentation</seealso>
-/// </summary>
-public sealed class ColorPresentation
-{
- /// <summary>
- /// An optional array of additional text edits that are applied when
- /// selecting this completion. Edits must not overlap with the main edit
- /// nor with themselves.
- /// </summary>
- [JsonProperty("additionalTextEdits", NullValueHandling = NullValueHandling.Ignore)]
- public ISingleEditOperation[]? AdditionalTextEdits { get; set; }
-
- /// <summary>
- /// The label of this color presentation. It will be shown on the color picker header.
- /// By default this is also the text that is inserted when selecting this color presentation.
- /// </summary>
- [JsonProperty("label")]
- public string? Label { get; set; }
-
- [JsonProperty("textEdit", NullValueHandling = NullValueHandling.Ignore)]
- public ISingleEditOperation? TextEdit { get; set; }
-
- public ColorPresentation(string label)
- {
- Label = label;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/Command.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/Command.cs
deleted file mode 100644
index 1f321d7dc..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/Command.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// A command that should be run upon acceptance of this item.
-/// </summary>
-public sealed class Command
-{
- [JsonProperty("arguments", NullValueHandling = NullValueHandling.Ignore)]
- public object[]? Arguments { get; set; }
-
- [JsonProperty("id")]
- public string? Id { get; set; }
-
- [JsonProperty("title")]
- public string? Title { get; set; }
-
- [JsonProperty("tooltip", NullValueHandling = NullValueHandling.Ignore)]
- public string? Tooltip { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionContext.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionContext.cs
deleted file mode 100644
index 52e42e9a4..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionContext.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// Contains additional information about the context in which
-/// [completion provider](#CompletionItemProvider.provideCompletionItems) is triggered.
-/// </summary>
-public sealed class CompletionContext
-{
- /// <summary>
- /// Character that triggered the completion item provider.
- ///
- /// `undefined` if provider was not triggered by a character.
- /// </summary>
- [JsonProperty("triggerCharacter", NullValueHandling = NullValueHandling.Ignore)]
- public string? TriggerCharacter { get; set; }
-
- /// <summary>
- /// How the completion was triggered.
- /// </summary>
- [JsonProperty("triggerKind")]
- public CompletionTriggerKind TriggerKind { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItem.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItem.cs
deleted file mode 100644
index 17de0a4e5..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItem.cs
+++ /dev/null
@@ -1,130 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// A completion item represents a text snippet that is
-/// proposed to complete text that is being typed.
-/// </summary>
-public sealed class CompletionItem
-{
- /// <summary>
- /// An optional array of additional text edits that are applied when
- /// selecting this completion. Edits must not overlap with the main edit
- /// nor with themselves.
- /// </summary>
- [JsonProperty("additionalTextEdits", NullValueHandling = NullValueHandling.Ignore)]
- public ISingleEditOperation[]? AdditionalTextEdits { get; set; }
-
- /// <summary>
- /// A command that should be run upon acceptance of this item.
- /// </summary>
- [JsonProperty("command", NullValueHandling = NullValueHandling.Ignore)]
- public Command? Command { get; set; }
-
- /// <summary>
- /// An optional set of characters that when pressed while this completion is active will
- /// accept it first and
- /// then type that character. *Note* that all commit characters should have `length=1` and
- /// that superfluous
- /// characters will be ignored.
- /// </summary>
- [JsonProperty("commitCharacters", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? CommitCharacters { get; set; }
-
- /// <summary>
- /// A human-readable string with additional information
- /// about this item, like type or symbol information.
- /// </summary>
- [JsonProperty("detail", NullValueHandling = NullValueHandling.Ignore)]
- public string? Detail { get; set; }
-
- /// <summary>
- /// A human-readable string that represents a doc-comment.
- /// </summary>
- [JsonProperty("documentation", NullValueHandling = NullValueHandling.Ignore)]
- public IMarkdownString? Documentation { get; set; }
-
- /// <summary>
- /// A string that should be used when filtering a set of
- /// completion items. When `falsy` the [label](#CompletionItem.label)
- /// is used.
- /// </summary>
- [JsonProperty("filterText", NullValueHandling = NullValueHandling.Ignore)]
- public string? FilterText { get; set; }
-
- /// <summary>
- /// A string or snippet that should be inserted in a document when selecting
- /// this completion. When `falsy` the [label](#CompletionItem.label)
- /// is used.
- /// </summary>
- [JsonProperty("insertText")]
- public string InsertText { get; set; }
-
- /// <summary>
- /// Addition rules (as bitmask) that should be applied when inserting
- /// this completion.
- /// </summary>
- [JsonProperty("insertTextRules", NullValueHandling = NullValueHandling.Ignore)]
- public CompletionItemInsertTextRule? InsertTextRules { get; set; }
-
- /// <summary>
- /// The kind of this completion item. Based on the kind
- /// an icon is chosen by the editor.
- /// </summary>
- [JsonProperty("kind")]
- public CompletionItemKind Kind { get; set; }
-
- /// <summary>
- /// The label of this completion item. By default
- /// this is also the text that is inserted when selecting
- /// this completion.
- /// </summary>
- [JsonProperty("label")]
- public string Label { get; set; }
-
- /// <summary>
- /// Select this item when showing. *Note* that only one completion item can be selected and
- /// that the editor decides which item that is. The rule is that the *first* item of those
- /// that match best is selected.
- /// </summary>
- [JsonProperty("preselect", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Preselect { get; set; }
-
- /// <summary>
- /// A range of text that should be replaced by this completion item.
- ///
- /// Defaults to a range from the start of the [current
- /// word](#TextDocument.getWordRangeAtPosition) to the
- /// current position.
- ///
- /// *Note:* The range must be a [single line](#Range.isSingleLine) and it must
- /// [contain](#Range.contains) the position at which completion has been
- /// [requested](#CompletionItemProvider.provideCompletionItems).
- /// </summary>
- [JsonProperty("range")]
- public Range? Range { get; set; }
-
- /// <summary>
- /// A string that should be used when comparing this item
- /// with other items. When `falsy` the [label](#CompletionItem.label)
- /// is used.
- /// </summary>
- [JsonProperty("sortText", NullValueHandling = NullValueHandling.Ignore)]
- public string? SortText { get; set; }
-
- /// <summary>
- /// A modifier to the `kind` which affect how the item
- /// is rendered, e.g. Deprecated is rendered with a strikeout
- /// </summary>
- [JsonProperty("tags", NullValueHandling = NullValueHandling.Ignore)]
- public MarkerTag[]? Tags { get; set; }
-
- public CompletionItem(string label, string insertText, CompletionItemKind kind)
- {
- InsertText = insertText;
- Label = label;
- Kind = kind;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemInsertTextRule.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemInsertTextRule.cs
deleted file mode 100644
index 05ee98831..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemInsertTextRule.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public enum CompletionItemInsertTextRule
-{
- /// <summary>
- /// `insertText` is a snippet.
- /// </summary>
- InsertAsSnippet = 4,
- /// <summary>
- /// Adjust whitespace/indentation of multiline insert texts to
- /// match the current line indentation.
- /// </summary>
- KeepWhitespace = 1
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemKind.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemKind.cs
deleted file mode 100644
index b42658362..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemKind.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public enum CompletionItemKind
-{
- Method = 0,
- Function = 1,
- Constructor = 2,
- Field = 3,
- Variable = 4,
- Class = 5,
- Struct = 6,
- Interface = 7,
- Module = 8,
- Property = 9,
- Event = 10,
- Operator = 11,
- Unit = 12,
- Value = 13,
- Constant = 14,
- Enum = 15,
- EnumMember = 16,
- Keyword = 17,
- Text = 18,
- Color = 19,
- File = 20,
- Reference = 21,
- Customcolor = 22,
- Folder = 23,
- TypeParameter = 24,
- Snippet = 25
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemProvider.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemProvider.cs
deleted file mode 100644
index 05063b5ab..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionItemProvider.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// The completion item provider interface defines the contract between extensions and
-/// the [IntelliSense](https://code.visualstudio.com/docs/editor/intellisense).
-/// When computing *complete* completion items is expensive, providers can optionally implement
-/// the `resolveCompletionItem`-function. In that case it is enough to return completion
-/// items with a [label](#CompletionItem.label) from the
-/// [provideCompletionItems](#CompletionItemProvider.provideCompletionItems)-function. Subsequently,
-/// when a completion item is shown in the UI and gains focus this provider is asked to resolve
-/// the item, like adding [doc-comment](#CompletionItem.documentation) or [details](#CompletionItem.detail).
-/// </summary>
-public interface CompletionItemProvider
-{
- [JsonProperty("triggerCharacters", NullValueHandling = NullValueHandling.Ignore)]
- string[] TriggerCharacters { get; }
- /// <summary>
- /// Provide completion items for the given position and document.
- /// </summary>
- Task<CompletionList> ProvideCompletionItemsAsync(IModel model, Position position, CompletionContext context);
- /// <summary>
- /// Given a completion item fill in more data, like [doc-comment](#CompletionItem.documentation)
- /// or [details](#CompletionItem.detail)./// The editor will only resolve a completion item once.
- ///
- /// </summary>
- Task<CompletionItem> ResolveCompletionItemAsync(IModel model, CompletionItem item);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionList.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionList.cs
deleted file mode 100644
index 1097c8ae3..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/CompletionList.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class CompletionList
-{
- [JsonProperty("incomplete", NullValueHandling = NullValueHandling.Ignore)]
- public bool? Incomplete { get; set; }
-
- [JsonProperty("suggestions")]
- public CompletionItem[]? Suggestions { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/DocumentColorProvider.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/DocumentColorProvider.cs
deleted file mode 100644
index 87c734fbb..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/DocumentColorProvider.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// A provider of colors for editor models.
-/// <seealso href="https://microsoft.github.io/monaco-editor/api/interfaces/monaco.languages.documentcolorprovider.html">monaco.languages.DocumentColorProvider</seealso>
-/// </summary>
-public interface DocumentColorProvider
-{
- /// <summary>
- /// Provide the string representations for a color.
- /// </summary>
- Task<IEnumerable<ColorPresentation>> ProvideColorPresentationsAsync(IModel model, ColorInformation colorInfo);
-
- /// <summary>
- /// Provides the color ranges for a specific model.
- /// </summary>
- Task<IEnumerable<ColorInformation>> ProvideDocumentColorsAsync(IModel model);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/Hover.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/Hover.cs
deleted file mode 100644
index 9889408be..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/Hover.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// A hover represents additional information for a symbol or word. Hovers are
-/// rendered in a tooltip-like widget.
-/// </summary>
-public sealed class Hover
-{
- /// <summary>
- /// The contents of this hover.
- /// </summary>
- [JsonProperty("contents")]
- public IMarkdownString[] Contents { get; set; }
-
- /// <summary>
- /// The range to which this hover applies. When missing, the
- /// editor will use the range at the current position or the
- /// current position itself.
- /// </summary>
- [JsonProperty("range", NullValueHandling = NullValueHandling.Ignore)]
- public IRange Range { get; set; }
-
- public Hover(string[] contents, IRange range) : this(contents, range, false) { }
-
- public Hover(string[] contents, IRange range, bool isTrusted)
- {
- Contents = contents.ToMarkdownString(isTrusted);
- Range = range;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/HoverProvider.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/HoverProvider.cs
deleted file mode 100644
index 57dc2b844..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/HoverProvider.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// The hover provider interface defines the contract between extensions and
-/// the [hover](https://code.visualstudio.com/docs/editor/intellisense)-feature.
-/// </summary>
-public interface HoverProvider
-{
- /// <summary>
- /// Provide a hover for the given position and document. Multiple hovers at the same
- /// position will be merged by the editor. A hover can have a range which defaults
- /// to the word range at the position when omitted.
- /// </summary>
- Task<Hover> ProvideHover(IModel model, Position position);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ILanguageExtensionPoint.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ILanguageExtensionPoint.cs
deleted file mode 100644
index abaadd207..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/ILanguageExtensionPoint.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class ILanguageExtensionPoint
-{
- [JsonProperty("aliases", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? Aliases { get; set; }
- [JsonProperty("configuration", NullValueHandling = NullValueHandling.Ignore)]
- public Uri? Configuration { get; set; }
- [JsonProperty("extensions", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? Extensions { get; set; }
- [JsonProperty("filenamePatterns", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? FilenamePatterns { get; set; }
- [JsonProperty("filenames", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? Filenames { get; set; }
- [JsonProperty("firstLine", NullValueHandling = NullValueHandling.Ignore)]
- public string? FirstLine { get; set; }
- [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
- public string? Id { get; set; }
- [JsonProperty("mimetypes", NullValueHandling = NullValueHandling.Ignore)]
- public string[]? Mimetypes { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/SuggestTriggerKind.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/SuggestTriggerKind.cs
deleted file mode 100644
index a3fe4be9b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/SuggestTriggerKind.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-/// <summary>
-/// How a suggest provider was triggered.
-/// </summary>
-public enum CompletionTriggerKind
-{
- Invoke = 0,
- TriggerCharacter = 1,
- TriggerForIncompleteCompletions = 2
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/TextEdit.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/TextEdit.cs
deleted file mode 100644
index 6099de76c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/TextEdit.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Editor;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class TextEdit
-{
- [JsonProperty("range", NullValueHandling = NullValueHandling.Ignore)]
- public IRange? Range { get; set; }
-
- [JsonProperty("text", NullValueHandling = NullValueHandling.Ignore)]
- public string? Text { get; set; }
-
- [JsonProperty("eol", NullValueHandling = NullValueHandling.Ignore)]
- public EndOfLineSequence Eol { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceEdit.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceEdit.cs
deleted file mode 100644
index 2b9b5b028..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceEdit.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class WorkspaceEdit
-{
- [JsonProperty("edits", NullValueHandling = NullValueHandling.Ignore)]
- public WorkspaceTextEdit[]? Edits { get; set; } // TODO: This could also be of type 'WorkspaceFileEdit'
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceEditMetadata.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceEditMetadata.cs
deleted file mode 100644
index be54517bb..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceEditMetadata.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public interface WorkspaceEditMetadata
-{
- [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
- string Description { get; set; }
-
- [JsonProperty("label", NullValueHandling = NullValueHandling.Ignore)]
- string Label { get; set; }
-
- [JsonProperty("needsConfirmation", NullValueHandling = NullValueHandling.Ignore)]
- bool NeedsConfirmation { get; set; }
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceFileEdit.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceFileEdit.cs
deleted file mode 100644
index 60816c898..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceFileEdit.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public interface WorkspaceFileEdit
-{
- [JsonProperty("metadata", NullValueHandling = NullValueHandling.Ignore)]
- WorkspaceEditMetadata Metadata { get; set; }
-
- [JsonProperty("newUri", NullValueHandling = NullValueHandling.Ignore)]
- Uri NewUri { get; set; }
-
- [JsonProperty("oldUri", NullValueHandling = NullValueHandling.Ignore)]
- Uri OldUri { get; set; }
-
- [JsonProperty("options", NullValueHandling = NullValueHandling.Ignore)]
- WorkspaceFileEditOptions Options { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceFileEditOptions.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceFileEditOptions.cs
deleted file mode 100644
index cfc00a187..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceFileEditOptions.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public interface WorkspaceFileEditOptions
-{
- [JsonProperty("copy", NullValueHandling = NullValueHandling.Ignore)]
- bool Copy { get; set; }
-
- [JsonProperty("folder", NullValueHandling = NullValueHandling.Ignore)]
- bool Folder { get; set; }
-
- [JsonProperty("ignoreIfExists", NullValueHandling = NullValueHandling.Ignore)]
- bool IgnoreIfExists { get; set; }
-
- [JsonProperty("ignoreIfNotExists", NullValueHandling = NullValueHandling.Ignore)]
- bool IgnoreIfNotExists { get; set; }
-
- [JsonProperty("maxSize", NullValueHandling = NullValueHandling.Ignore)]
- double MaxSize { get; set; }
-
- [JsonProperty("overwrite", NullValueHandling = NullValueHandling.Ignore)]
- bool Overwrite { get; set; }
-
- [JsonProperty("recursive", NullValueHandling = NullValueHandling.Ignore)]
- bool Recursive { get; set; }
-
- [JsonProperty("skipTrashBin", NullValueHandling = NullValueHandling.Ignore)]
- bool SkipTrashBin { get; set; }
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceTextEdit.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceTextEdit.cs
deleted file mode 100644
index 627ffe2dd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Languages/WorkspaceTextEdit.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Languages;
-
-public sealed class WorkspaceTextEdit
-{
- [JsonProperty("edit", NullValueHandling = NullValueHandling.Ignore)]
- public TextEdit? Edit { get; set; }
-
- [JsonProperty("metadata", NullValueHandling = NullValueHandling.Ignore)]
- public WorkspaceEditMetadata? Metadata { get; set; }
-
- [JsonProperty("modelVersionId", NullValueHandling = NullValueHandling.Ignore)]
- public double? ModelVersionId { get; set; } //// Important for this to be nullable here, as otherwise it still serializes as '0' which throws a 'bad state - model changed in the meantime' as version will mismatch
-
- [JsonProperty("resource", NullValueHandling = NullValueHandling.Ignore)]
- public Uri? Resource { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/LanguagesHelper.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/LanguagesHelper.cs
deleted file mode 100644
index ea402d27d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/LanguagesHelper.cs
+++ /dev/null
@@ -1,232 +0,0 @@
-using DevToys.MonacoEditor.Monaco.Languages;
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// Helper to static Monaco.Languages Namespace methods.
-/// https://microsoft.github.io/monaco-editor/api/modules/monaco.languages.html
-/// </summary>
-public sealed class LanguagesHelper
-{
- private readonly WeakReference<CodeEditor> _editor;
-
- [Obsolete("Use <Editor Instance>.Languages.* instead of constructing your own LanguagesHelper.")]
- [EditorBrowsable(EditorBrowsableState.Never)]
- public LanguagesHelper(CodeEditor editor) // TODO: Make Internal later.
- {
- // We need the editor component in order to execute JavaScript within
- // the WebView environment to retrieve data (even though this Monaco class is static).
- _editor = new WeakReference<CodeEditor>(editor);
- }
-
- public Task<IList<ILanguageExtensionPoint>?> GetLanguagesAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<IList<ILanguageExtensionPoint>>("monaco.languages.getLanguages()");
- }
-
- return Task.FromResult<IList<ILanguageExtensionPoint>?>(null);
- }
-
- public Task RegisterAsync(ILanguageExtensionPoint language)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.InvokeScriptAsync("monaco.languages.register", language);
- }
-
- return Task.CompletedTask;
- }
-
- public Task RegisterCodeActionProviderAsync(string languageId, CodeActionProvider provider)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- // link:registerCodeActionProvider.ts:ProvideCodeActions
- editor.ParentAccessor.RegisterEvent("ProvideCodeActions" + languageId, async (args) =>
- {
- if (args != null && args.Length >= 2)
- {
- Range? range = JsonConvert.DeserializeObject<Range>(args[0]);
- CodeActionContext? context = JsonConvert.DeserializeObject<CodeActionContext>(args[1]);
- Guard.IsNotNull(context);
- Guard.IsNotNull(range);
-
- CodeActionList list = await provider.ProvideCodeActionsAsync(editor.GetModel(), range, context);
-
- if (list != null)
- {
- return JsonConvert.SerializeObject(list);
- }
- }
-
- return string.Empty;
- });
-
- // link:registerCodeActionProvider.ts:registerCodeActionProvider
- return editor.InvokeScriptAsync("registerCodeActionProvider", new object[] { languageId });
- }
-
- return Task.CompletedTask;
- }
-
- public Task RegisterCodeLensProviderAsync(string languageId, CodeLensProvider provider)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- // link:registerCodeLensProvider.ts:ProvideCodeLenses
- editor.ParentAccessor.RegisterEvent("ProvideCodeLenses" + languageId, async (args) =>
- {
- CodeLensList list = await provider.ProvideCodeLensesAsync(editor.GetModel());
-
- if (list != null)
- {
- return JsonConvert.SerializeObject(list);
- }
-
- return string.Empty;
- });
-
- // link:registerCodeLensProvider.ts:ResolveCodeLens
- editor.ParentAccessor.RegisterEvent("ResolveCodeLens" + languageId, async (args) =>
- {
- if (args != null && args.Length >= 1)
- {
- CodeLens lens = await provider.ResolveCodeLensAsync(editor.GetModel(), JsonConvert.DeserializeObject<CodeLens>(args[0])!);
-
- if (lens != null)
- {
- return JsonConvert.SerializeObject(lens);
- }
- }
-
- return string.Empty;
- });
-
- // link:registerCodeLensProvider.ts:registerCodeLensProvider
- return editor.InvokeScriptAsync("registerCodeLensProvider", new object[] { languageId });
- }
-
- return Task.CompletedTask;
- }
-
- public Task RegisterColorProviderAsync(string languageId, DocumentColorProvider provider)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- // link:registerColorProvider.ts:ProvideColorPresentations
- editor.ParentAccessor.RegisterEvent("ProvideColorPresentations" + languageId, async (args) =>
- {
- if (args != null && args.Length >= 1)
- {
- IEnumerable<ColorPresentation> items = await provider.ProvideColorPresentationsAsync(editor.GetModel(), JsonConvert.DeserializeObject<ColorInformation>(args[0])!);
-
- if (items != null)
- {
- return JsonConvert.SerializeObject(items);
- }
- }
-
- return string.Empty;
- });
-
- // link:registerColorProvider.ts:ProvideDocumentColors
- editor.ParentAccessor.RegisterEvent("ProvideDocumentColors" + languageId, async (args) =>
- {
- IEnumerable<ColorInformation> items = await provider.ProvideDocumentColorsAsync(editor.GetModel());
-
- if (items != null)
- {
- return JsonConvert.SerializeObject(items);
- }
-
- return string.Empty;
- });
-
- // link:registerColorProvider.ts:registerColorProvider
- return editor.InvokeScriptAsync("registerColorProvider", new object[] { languageId });
- }
-
- return Task.CompletedTask;
- }
-
- public Task RegisterCompletionItemProviderAsync(string languageId, CompletionItemProvider provider)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- // TODO: Add Incremented Id so that we can register multiple providers per language?
- // link:registerCompletionItemProvider.ts:CompletionItemProvider
- editor.ParentAccessor.RegisterEvent("CompletionItemProvider" + languageId, async (args) =>
- {
- if (args != null && args.Length >= 2)
- {
- CompletionList items = await provider.ProvideCompletionItemsAsync(editor.GetModel(), JsonConvert.DeserializeObject<Position>(args[0])!, JsonConvert.DeserializeObject<CompletionContext>(args[1])!);
-
- if (items != null)
- {
- Debug.WriteLine("Items: " + items);
- string serialized = JsonConvert.SerializeObject(items);
- Debug.WriteLine("Items in JSON: " + serialized);
- return serialized;
- }
- }
-
- return string.Empty;
- });
-
- // link:registerCompletionItemProvider.ts:CompletionItemRequested
- editor.ParentAccessor.RegisterEvent("CompletionItemRequested" + languageId, async (args) =>
- {
- if (args != null && args.Length >= 1)
- {
- CompletionItem? requestedItem = JsonConvert.DeserializeObject<CompletionItem>(args[0]);
- Guard.IsNotNull(requestedItem);
- CompletionItem completionItem = await provider.ResolveCompletionItemAsync(editor.GetModel(), requestedItem);
-
- if (completionItem != null)
- {
- return JsonConvert.SerializeObject(completionItem);
- }
- }
-
- return string.Empty;
- });
-
- // link:registerCompletionItemProvider.ts:registerCompletionItemProvider
- return editor.InvokeScriptAsync("registerCompletionItemProvider", new object[] { languageId, provider.TriggerCharacters });
- }
-
- return Task.CompletedTask;
- }
-
- public Task RegisterHoverProviderAsync(string languageId, HoverProvider provider)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- // Wrapper around Hover Provider to Monaco editor.
- // TODO: Add Incremented Id so that we can register multiple providers per language?
- editor.ParentAccessor.RegisterEvent("HoverProvider" + languageId, async (args) =>
- {
- Debug.WriteLine($"Hover provider.......... {args != null}");
- if (args != null && args.Length >= 1)
- {
- Hover hover = await provider.ProvideHover(editor.GetModel(), JsonConvert.DeserializeObject<Position>(args[0])!);
-
- if (hover != null)
- {
- return JsonConvert.SerializeObject(hover);
- }
- }
-
- return string.Empty;
- });
-
- // link:otherScriptsToBeOrganized.ts:registerHoverProvider
- return editor.InvokeScriptAsync("registerHoverProvider", languageId);
- }
-
- return Task.CompletedTask;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/MarkerSeverity.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/MarkerSeverity.cs
deleted file mode 100644
index b0cbdc55d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/MarkerSeverity.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco;
-
-public enum MarkerSeverity
-{
- Hint = 1,
- Info = 2,
- Warning = 4,
- Error = 8
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/MarkerTag.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/MarkerTag.cs
deleted file mode 100644
index 4756d4c76..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/MarkerTag.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco;
-
-public enum MarkerTag
-{
- Unnecessary = 1,
- Deprecated = 2
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/ModelHelper.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/ModelHelper.cs
deleted file mode 100644
index 40e7fe0d6..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/ModelHelper.cs
+++ /dev/null
@@ -1,396 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco.Editor;
-
-/// <summary>
-/// Helper to access IModel interface methods off of CodeEditor object.
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.imodel.html
-/// https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.itextmodel.html
-/// </summary>
-public sealed class ModelHelper : IModel
-{
- private readonly WeakReference<CodeEditor> _editor;
-
- public ModelHelper(CodeEditor editor)
- {
- _editor = new WeakReference<CodeEditor>(editor);
- }
-
- public string Id => throw new NotImplementedException();
-
- public Uri Uri => throw new NotImplementedException();
-
- public Task DetectIndentationAsync(bool defaultInsertSpaces, bool defaultTabSize)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.InvokeScriptAsync("editorContext.model.detectIndentationAsync", new object[] { defaultInsertSpaces, defaultTabSize });
- }
-
- return Task.CompletedTask;
- }
-
- public Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, bool searchOnlyEditableRange, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches)
- {
- // Default limit results: https://github.com/microsoft/vscode/blob/b2d0292a20c4a012005c94975019a5b572ce6a63/src/vs/editor/common/model/textModel.ts#L117
- return FindMatchesAsync(searchString, searchOnlyEditableRange, isRegex, matchCase, wordSeparators, captureMatches, 999);
- }
-
- public Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, IRange searchScope, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches)
- {
- // Default limit results: https://github.com/microsoft/vscode/blob/b2d0292a20c4a012005c94975019a5b572ce6a63/src/vs/editor/common/model/textModel.ts#L117
- return FindMatchesAsync(searchString, searchScope, isRegex, matchCase, wordSeparators, captureMatches, 999);
- }
-
- public Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, bool searchOnlyEditableRange, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches, double limitResultCount)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.InvokeScriptAsync<IEnumerable<FindMatch>>("editorContext.model.findMatches", new object[] { searchString, searchOnlyEditableRange, isRegex, matchCase, wordSeparators, captureMatches, limitResultCount });
- }
-
- return Task.FromResult<IEnumerable<FindMatch>?>(null);
- }
-
- public Task<IEnumerable<FindMatch>?> FindMatchesAsync(string searchString, IRange searchScope, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches, double limitResultCount)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.InvokeScriptAsync<IEnumerable<FindMatch>>("editorContext.model.findMatches", new object[] { searchString, searchScope, isRegex, matchCase, wordSeparators, captureMatches, limitResultCount });
- }
-
- return Task.FromResult<IEnumerable<FindMatch>?>(null);
- }
-
- public Task<FindMatch?> FindNextMatchAsync(string searchString, IPosition searchStart, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.InvokeScriptAsync<FindMatch>("editorContext.model.findNextMatch", new object[] { searchString, searchString, isRegex, matchCase, wordSeparators, captureMatches });
- }
-
- return Task.FromResult<FindMatch?>(null);
- }
-
- public Task<FindMatch?> FindPreviousMatchAsync(string searchString, IPosition searchStart, bool isRegex, bool matchCase, string wordSeparators, bool captureMatches)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.InvokeScriptAsync<FindMatch>("editorContext.model.findPreviousMatch", new object[] { searchString, searchString, isRegex, matchCase, wordSeparators, captureMatches });
- }
-
- return Task.FromResult<FindMatch?>(null);
- }
-
- public Task<uint> GetAlternativeVersionIdAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getAlternativeVersionId();");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<string?> GetEOLAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.getEOL();");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task<Range?> GetFullModelRangeAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<Range>("editorContext.model.getFullModelRange();");
- }
-
- return Task.FromResult<Range?>(null);
- }
-
- public Task<string?> GetLineContentAsync(uint lineNumber)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.getLineContent(" + lineNumber + ");");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task<uint> GetLineCountAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getLineCount();");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetLineFirstNonWhitespaceColumnAsync(uint lineNumber)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getLineFirstNonWhitespaceColumn(" + lineNumber + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetLineLastNonWhitespaceColumnAsync(uint lineNumber)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getLineLastNonWhitespaceColumn(" + lineNumber + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetLineLengthAsync(uint lineNumber)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getLineLength(" + lineNumber + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetLineMaxColumnAsync(uint lineNumber)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getLineMaxColumn(" + lineNumber + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetLineMinColumnAsync(uint lineNumber)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getLineMinColumn(" + lineNumber + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<IEnumerable<string>?> GetLinesContentAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<IEnumerable<string>>("editorContext.model.getLinesContent();");
- }
-
- return Task.FromResult<IEnumerable<string>?>(null);
- }
-
- public Task<string?> GetModelIdAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.getModelId();");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task<uint> GetOffsetAtAsync(IPosition position)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getOffsetAt(" + JsonConvert.SerializeObject(position) + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<string?> GetOneIndentAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.getOneIndent();");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task<Position?> GetPositionAtAsync(uint offset)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<Position>("editorContext.model.getPositionAt(" + offset + ");");
- }
-
- return Task.FromResult<Position?>(null);
- }
-
- public Task<string?> GetValueAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.getValue();");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task<string?> GetValueAsync(EndOfLinePreference eol)
- {
- throw new NotImplementedException();
- }
-
- public Task<string?> GetValueAsync(EndOfLinePreference eol, bool preserveBOM)
- {
- throw new NotImplementedException();
- }
-
- public Task<string?> GetValueInRangeAsync(IRange range)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.getValueInRange(" + JsonConvert.SerializeObject(range) + ");");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task<string?> GetValueInRangeAsync(IRange range, EndOfLinePreference eol)
- {
- throw new NotImplementedException();
- }
-
- public Task<uint> GetValueLengthAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getValueLength();");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetValueLengthAsync(EndOfLinePreference eol)
- {
- throw new NotImplementedException();
- }
-
- public Task<uint> GetValueLengthAsync(EndOfLinePreference eol, bool preserveBOM)
- {
- throw new NotImplementedException();
- }
-
- public Task<uint> GetValueLengthInRangeAsync(IRange range)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getValueLengthInRange(" + JsonConvert.SerializeObject(range) + ");");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- public Task<uint> GetVersionIdAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<uint>("editorContext.model.getVersionId();");
- }
-
- return Task.FromResult<uint>(0);
- }
-
- // TODO: Need to investigate why with .NET Native the InterfaceToClassConverter isn't working anymore?
- public Task<WordAtPosition?> GetWordAtPositionAsync(IPosition position)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<WordAtPosition>("editorContext.model.getWordAtPosition(" + JsonConvert.SerializeObject(position) + ");");
- }
-
- return Task.FromResult<WordAtPosition?>(null);
- }
-
- public Task<WordAtPosition?> GetWordUntilPositionAsync(IPosition position)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<WordAtPosition>("editorContext.model.getWordUntilPosition(" + JsonConvert.SerializeObject(position) + ");");
- }
-
- return Task.FromResult<WordAtPosition?>(null);
- }
-
- public Task<Position?> ModifyPositionAsync(IPosition position, int number)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<Position>("editorContext.model.modifyPosition(" + JsonConvert.SerializeObject(position) + ", " + number + ");");
- }
-
- return Task.FromResult<Position?>(null);
- }
-
- public Task<string?> NormalizeIndentationAsync(string str)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<string>("editorContext.model.normalizeIndentations(JSON.parse(" + JsonConvert.ToString(str) + "));");
- }
-
- return Task.FromResult<string?>(null);
- }
-
- public Task PushStackElementAsync()
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync("editorContext.model.pushStackElement();");
- }
-
- return Task.CompletedTask;
- }
-
- public Task SetEOLAsync(EndOfLineSequence eol)
- {
- throw new NotImplementedException();
- }
-
- public Task SetValue(string newValue)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync("editorContext.model.setValue(JSON.parse(" + JsonConvert.ToString(newValue) + "));");
- }
-
- return Task.CompletedTask;
- }
-
- public Task<Position?> ValidatePositionAsync(IPosition position)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<Position>("editorContext.model.validatePosition(" + JsonConvert.SerializeObject(position) + ");");
- }
-
- return Task.FromResult<Position?>(null);
- }
-
- public Task<Range?> ValidateRangeAsync(IRange range)
- {
- if (_editor.TryGetTarget(out CodeEditor? editor))
- {
- return editor.SendScriptAsync<Range>("editorContext.model.validateRange(" + JsonConvert.SerializeObject(range) + ");");
- }
-
- return Task.FromResult<Range?>(null);
- }
-}
-
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Position.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Position.cs
deleted file mode 100644
index 1d818e466..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Position.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-using Newtonsoft.Json;
-using Windows.Foundation;
-using Windows.Foundation.Metadata;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// A position in the editor.
-/// </summary>
-public sealed class Position : IPosition
-{
- /// <summary>
- /// column (the first character in a line is between column 1 and column 2)
- /// </summary>
- [JsonProperty("column")]
- public uint Column { get; private set; }
-
- /// <summary>
- /// line number (starts at 1)
- /// </summary>
- [JsonProperty("lineNumber")]
- public uint LineNumber { get; private set; }
-
- public Position(uint lineNumber, uint column)
- {
- Column = column;
- LineNumber = lineNumber;
- }
-
- public Position Clone()
- {
- return new Position(LineNumber, Column);
- }
-
- public override bool Equals(object? obj)
- {
- if (obj is Position position)
- {
- return LineNumber == position.LineNumber && Column == position.Column;
- }
-
- return base.Equals(obj);
- }
-
- public override int GetHashCode()
- {
- return new Point(LineNumber, Column).GetHashCode();
- }
-
- public override string ToString()
- {
- return string.Format("({0}, {1})", LineNumber, Column);
- }
-
- public bool IsBefore(Position other)
- {
- // TODO:
- throw new NotImplementedException();
- }
-
- public bool IsBeforeOrEqual(Position other)
- {
- // TODO:
- throw new NotImplementedException();
- }
-
- [DefaultOverload]
- public int CompareTo(Position other)
- {
- throw new NotImplementedException();
- }
-
- public int CompareTo(object obj)
- {
- if (obj is IPosition position)
- {
- return CompareTo(Lift(position));
- }
-
- throw new NotImplementedException();
- }
-
- public static int Compare(Position a, Position b)
- {
- return a.CompareTo(b);
- }
-
- // Can't Export static Method with same name in Windows Runtime Component
- /*public static bool Equals(Position a, Position b)
- {
- return a.Equals(b);
- }
-
- public static bool IsBefore(Position a, Position b)
- {
- return a.IsBefore(b);
- }
-
- public static bool IsBeforeOrEqual(Position a, Position b)
- {
- return a.IsBeforeOrEqual(b);
- }*/
-
- public static bool IsIPosition(object a)
- {
- return a is Position;
- }
-
- public static Position Lift(IPosition pos)
- {
- return new Position(pos.LineNumber, pos.Column);
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Range.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Range.cs
deleted file mode 100644
index c04cdb3e4..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Range.cs
+++ /dev/null
@@ -1,138 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// A range in the editor. (startLineNumber,startColumn) is &lt;= (endLineNumber,endColumn)
-/// </summary>
-public sealed class Range : IRange
-{
- /// <summary>
- /// Column on which the range ends in line `endLineNumber`.
- /// </summary>
- [JsonProperty("endColumn")]
- public uint EndColumn { get; private set; }
- /// <summary>
- /// Line number on which the range ends.
- /// </summary>
- [JsonProperty("endLineNumber")]
- public uint EndLineNumber { get; private set; }
- /// <summary>
- /// Column on which the range starts in line `startLineNumber` (starts at 1).
- /// </summary>
- [JsonProperty("startColumn")]
- public uint StartColumn { get; private set; }
- /// <summary>
- /// Line number on which the range starts (starts at 1).
- /// </summary>
- [JsonProperty("startLineNumber")]
- public uint StartLineNumber { get; private set; }
-
- public Range() // For Serialization
- {
- }
-
- public Range(uint startLineNumber, uint startColumn, uint endLineNumber, uint endColumn)
- {
- // TODO: Range Check? Monaco doesn't seem to do it currently...
- StartLineNumber = startLineNumber;
- StartColumn = startColumn;
- EndLineNumber = endLineNumber;
- EndColumn = endColumn;
- }
-
- public Range CloneRange()
- {
- return new Range(StartLineNumber, StartColumn, EndLineNumber, EndColumn);
- }
-
- public Range CollapseToStart()
- {
- return new Range(StartColumn, StartColumn, StartLineNumber, StartColumn);
- }
-
- public bool ContainsPosition(IPosition position)
- {
- if (StartLineNumber == position.LineNumber && position.LineNumber == EndLineNumber)
- {
- return StartColumn <= position.Column && position.Column <= EndColumn;
- }
- else if (StartLineNumber == position.LineNumber)
- {
- return StartColumn <= position.Column;
- }
- else if (EndLineNumber == position.LineNumber)
- {
- return position.Column <= EndColumn;
- }
-
- return StartLineNumber < position.LineNumber && EndLineNumber > position.LineNumber;
- }
-
- public bool ContainsRange(IRange range)
- {
- bool isStart = StartLineNumber <= range.StartLineNumber;
- bool isStartColumn = StartLineNumber != range.StartLineNumber || StartColumn <= range.StartColumn;
- bool isEnd = EndLineNumber >= range.EndLineNumber;
- bool isEndColumn = EndLineNumber != range.EndLineNumber || EndColumn >= range.EndColumn;
-
- return isStart && isStartColumn && isEnd && isEndColumn;
- }
-
- public bool EqualsRange(Range other)
- {
- return StartColumn == other.StartColumn &&
- StartLineNumber == other.StartLineNumber &&
- EndColumn == other.EndColumn &&
- EndLineNumber == other.EndLineNumber;
- }
-
- public Position GetEndPosition()
- {
- return new Position(EndLineNumber, EndColumn);
- }
-
- public Position GetStartPosition()
- {
- return new Position(StartLineNumber, StartColumn);
- }
-
- public Range IntersectRanges(IRange range)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- public bool IsEmpty()
- {
- return StartLineNumber == EndLineNumber && StartColumn == EndColumn;
- }
-
- public Range PlusRange(IRange range)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- public Range SetEndPosition(uint endLineNumber, uint endColumn)
- {
- return new Range(StartLineNumber, StartColumn, endLineNumber, endColumn);
- }
-
- public Range SetStartPosition(uint startLineNumber, uint startColumn)
- {
- return new Range(startLineNumber, startColumn, EndLineNumber, EndColumn);
- }
-
- public override string ToString()
- {
- return string.Format("[{0}, {1}-> {2}, {3}]", StartLineNumber, StartColumn, EndLineNumber, EndColumn);
- }
-
- public static Range Lift(IRange range)
- {
- return new Range(range.StartLineNumber, range.StartColumn, range.EndLineNumber, range.EndColumn);
- }
-
- // TODO: Weed out unique static method to put here.
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Selection.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Selection.cs
deleted file mode 100644
index d143bd44d..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Selection.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// A selection in the editor.
-/// The selection is a range that has an orientation.
-/// </summary>
-public sealed class Selection : IRange
-{
- /// <summary>
- /// Line number on which the range starts (starts at 1).
- /// </summary>
- [JsonProperty("startLineNumber")]
- public uint StartLineNumber { get; private set; }
-
- /// <summary>
- /// Column on which the range starts in line `startLineNumber` (starts at 1).
- /// </summary>
- [JsonProperty("startColumn")]
- public uint StartColumn { get; private set; }
-
- /// <summary>
- /// Line number on which the range ends.
- /// </summary>
- [JsonProperty("endLineNumber")]
- public uint EndLineNumber { get; private set; }
-
- /// <summary>
- /// Column on which the range ends in line `endLineNumber`.
- /// </summary>
- [JsonProperty("endColumn")]
- public uint EndColumn { get; private set; }
-
- /// <summary>
- /// The line number on which the selection has ended.
- /// </summary>
- [JsonProperty("positionLineNumber")]
- public uint PositionLineNumber { get; private set; }
-
- /// <summary>
- /// The column on `positionLineNumber` where the selection has ended.
- /// </summary>
- [JsonProperty("positionColumn")]
- public uint PositionColumn { get; private set; }
-
- /// <summary>
- /// The line number on which the selection has started.
- /// </summary>
- [JsonProperty("selectionStartLineNumber")]
- public uint SelectionStartLineNumber { get; private set; }
-
- /// <summary>
- /// The column on `selectionStartLineNumber` where the selection has started.
- /// </summary>
- [JsonProperty("selectionStartColumn")]
- public uint SelectionStartColumn { get; private set; }
-
- [JsonIgnore]
- public SelectionDirection Direction { get; private set; }
-
- public Selection(uint selectionStartLineNumber, uint selectionStartColumn, uint positionLineNumber, uint positionColumn)
- {
- SelectionStartLineNumber = selectionStartLineNumber;
- SelectionStartColumn = selectionStartColumn;
- PositionLineNumber = positionLineNumber;
- PositionColumn = positionColumn;
-
- if (selectionStartLineNumber < positionLineNumber || (selectionStartLineNumber == positionLineNumber && selectionStartColumn <= positionColumn))
- {
- // Start is first
- StartLineNumber = SelectionStartLineNumber;
- StartColumn = SelectionStartColumn;
- EndLineNumber = PositionLineNumber;
- EndColumn = PositionColumn;
-
- Direction = SelectionDirection.LTR;
- }
- else
- {
- // Flipped
- StartLineNumber = PositionLineNumber;
- StartColumn = PositionColumn;
- EndLineNumber = SelectionStartLineNumber;
- EndColumn = SelectionStartColumn;
-
- Direction = SelectionDirection.RTL;
- }
- }
-
- public SelectionDirection GetDirection()
- {
- return Direction;
- }
-
- public override string ToString()
- {
- return string.Format("[{0}, {1}-> {2}, {3}]", SelectionStartLineNumber, SelectionStartColumn, PositionLineNumber, PositionColumn);
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/SelectionDirection.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/SelectionDirection.cs
deleted file mode 100644
index 0dc7d029f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/SelectionDirection.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace DevToys.MonacoEditor.Monaco;
-
-public enum SelectionDirection
-{
- LTR,
- RTL
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/Uri.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/Uri.cs
deleted file mode 100644
index 391c41870..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/Uri.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-/// <summary>
-/// Uniform Resource Identifier (Uri) http://tools.ietf.org/html/rfc3986.
-/// This class is a simple parser which creates the basic component parts
-/// (http://tools.ietf.org/html/rfc3986#section-3) with minimal validation
-/// and encoding.
-/// foo://example.com:8042/over/there?name=ferret#nose
-/// \_/ \______________/\_________/ \_________/ \__/
-/// | | | | |
-/// scheme authority path query fragment
-/// | _____________________|__
-/// / \ / \
-/// urn:example:animal:ferret:nose
-///
-/// </summary>
-public sealed class Uri : UriComponents
-{
- /// <summary>
- /// authority is the 'www.msft.com' part of 'http://www.msft.com/some/path?query#fragment'.
- /// The part between the first double slashes and the next slash.
- /// </summary>
- [JsonProperty("authority", NullValueHandling = NullValueHandling.Ignore)]
- public string? Authority { get; set; }
- /// <summary>
- /// fragment is the 'fragment' part of 'http://www.msft.com/some/path?query#fragment'.
- /// </summary>
- [JsonProperty("fragment", NullValueHandling = NullValueHandling.Ignore)]
- public string? Fragment { get; set; }
- /// <summary>
- /// path is the '/some/path' part of 'http://www.msft.com/some/path?query#fragment'.
- /// </summary>
- [JsonProperty("path", NullValueHandling = NullValueHandling.Ignore)]
- public string? Path { get; set; }
- /// <summary>
- /// query is the 'query' part of 'http://www.msft.com/some/path?query#fragment'.
- /// </summary>
- [JsonProperty("query", NullValueHandling = NullValueHandling.Ignore)]
- public string? Query { get; set; }
- /// <summary>
- /// scheme is the 'http' part of 'http://www.msft.com/some/path?query#fragment'.
- /// The part before the first colon.
- /// </summary>
- [JsonProperty("scheme", NullValueHandling = NullValueHandling.Ignore)]
- public string? Scheme { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Monaco/UriComponents.cs b/src/app/dev/DevToys.MonacoEditor/Monaco/UriComponents.cs
deleted file mode 100644
index 7b048a530..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Monaco/UriComponents.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Newtonsoft.Json;
-
-namespace DevToys.MonacoEditor.Monaco;
-
-public interface UriComponents
-{
- [JsonProperty("authority", NullValueHandling = NullValueHandling.Ignore)]
- string? Authority { get; set; }
- [JsonProperty("fragment", NullValueHandling = NullValueHandling.Ignore)]
- string? Fragment { get; set; }
- [JsonProperty("path", NullValueHandling = NullValueHandling.Ignore)]
- string? Path { get; set; }
- [JsonProperty("query", NullValueHandling = NullValueHandling.Ignore)]
- string? Query { get; set; }
- [JsonProperty("scheme", NullValueHandling = NullValueHandling.Ignore)]
- string? Scheme { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/MonacoEditorFactory.cs b/src/app/dev/DevToys.MonacoEditor/MonacoEditorFactory.cs
deleted file mode 100644
index 47c3bb132..000000000
--- a/src/app/dev/DevToys.MonacoEditor/MonacoEditorFactory.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using DevToys.UI.Framework.Controls;
-
-namespace DevToys.MonacoEditor;
-
-[Export(typeof(IMonacoEditorFactory))]
-internal sealed class MonacoEditorFactory : IMonacoEditorFactory
-{
- public IMonacoEditor CreateMonacoEditorInstance()
- {
- return new CodeEditor();
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/Themes/generic.xaml b/src/app/dev/DevToys.MonacoEditor/Themes/generic.xaml
deleted file mode 100644
index d5f73a99b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/Themes/generic.xaml
+++ /dev/null
@@ -1,98 +0,0 @@
-<ResourceDictionary
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:monaco="using:DevToys.MonacoEditor"
- xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
- xmlns:converters="using:DevToys.UI.Framework.Converters">
-
- <ResourceDictionary.ThemeDictionaries>
- <ResourceDictionary x:Key="Light">
- <SolidColorBrush x:Key="TextControlBackground" Color="#FDFDFD"/>
- <SolidColorBrush x:Key="TextControlBackgroundFocused" Color="#FFFFFF"/>
- <SolidColorBrush x:Key="TextControlBackgroundDisabled" Color="RED"/> <!-- TODO -->
- <SolidColorBrush x:Key="TextControlBackgroundPointerOver" Color="RED"/>
- </ResourceDictionary>
- <ResourceDictionary x:Key="Dark">
- <SolidColorBrush x:Key="TextControlBackground" Color="#343434"/>
- <SolidColorBrush x:Key="TextControlBackgroundFocused" Color="#202123"/>
- <SolidColorBrush x:Key="TextControlBackgroundDisabled" Color="RED"/> <!-- TODO -->
- <SolidColorBrush x:Key="TextControlBackgroundPointerOver" Color="#393939"/>
- </ResourceDictionary>
- <ResourceDictionary x:Key="HighContrast">
- <SolidColorBrush x:Key="TextControlBackground" Color="#FFFFFF"/>
- <SolidColorBrush x:Key="TextControlBackgroundDisabled" Color="RED"/> <!-- TODO -->
- <SolidColorBrush x:Key="TextControlBackgroundPointerOver" Color="RED"/>
- </ResourceDictionary>
- </ResourceDictionary.ThemeDictionaries>
-
- <converters:NegateBooleanConverter x:Key="NegateBooleanConverter"/>
-
- <Style TargetType="monaco:CodeEditor" >
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="monaco:CodeEditor">
- <Grid>
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup x:Name="CommonStates">
- <VisualState x:Name="Disabled">
- <Storyboard>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBackgroundDisabled}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBorderBrushDisabled}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="Normal"/>
- <VisualState x:Name="PointerOver">
- <Storyboard>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBorderBrushPointerOver}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBackgroundPointerOver}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="Focused">
- <Storyboard>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBackgroundFocused}"/>
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement" Storyboard.TargetProperty="BorderBrush">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBorderBrushFocused}"/>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
- <Border
- x:Name="BorderElement"
- Background="{ThemeResource TextControlBackground}"
- BorderThickness="{ThemeResource TextControlBorderThemeThickness}"
- BorderBrush="{ThemeResource TextControlBorderBrush}"
- CornerRadius="4"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch">
- <Grid>
- <monaco:CodeEditorPresenter
- x:Name="View"
- Margin="{TemplateBinding Padding}"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"/>
- </Grid>
- </Border>
- <muxc:ProgressRing
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Height="48"
- Width="48"
- IsActive="{Binding IsEditorLoaded, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource NegateBooleanConverter}}" />
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-
-</ResourceDictionary>
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Logger/DebugLogger.Wasm.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Logger/DebugLogger.Wasm.cs
deleted file mode 100644
index b6bcfd287..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Logger/DebugLogger.Wasm.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-#if __WASM__
-
-using Uno;
-using Uno.Foundation.Interop;
-
-namespace DevToys.MonacoEditor.WebInterop;
-
-internal partial class DebugLogger : IJSObject
-{
- private JSObjectHandle? _handle;
-
- /// <inheritdoc />
- public JSObjectHandle Handle
- {
- get
- {
- return _handle ??= JSObjectHandle.Create(this);
- }
- }
-
- [Preserve]
- public void log(string message)
- {
- Log(message);
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Logger/DebugLogger.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Logger/DebugLogger.cs
deleted file mode 100644
index 457623d32..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Logger/DebugLogger.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using Microsoft.Extensions.Logging;
-using Uno.Extensions;
-using Windows.Foundation.Metadata;
-
-namespace DevToys.MonacoEditor.WebInterop;
-
-[AllowForWeb]
-internal sealed partial class DebugLogger
-{
- private readonly ILogger? _logger;
-
- public DebugLogger()
- {
- _logger = this.Log();
- }
-
- public void Log(string message)
- {
- LogMessage(message);
- }
-
- [LoggerMessage(0, LogLevel.Information, "{message}")]
- partial void LogMessage(string message);
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/IParentAccessorAcceptor.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/IParentAccessorAcceptor.cs
deleted file mode 100644
index e93f1a896..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/IParentAccessorAcceptor.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace DevToys.MonacoEditor.WebInterop;
-
-//// TODO: Find better approach than this.
-/// <summary>
-/// Interface used on objects to be accessed.
-/// </summary>
-public interface IParentAccessorAcceptor
-{
- /// <summary>
- /// Property to tell object the value is being set by ParentAccessor.
- /// </summary>
- bool IsSettingValue { get; set; }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/ParentAccessor.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/ParentAccessor.cs
deleted file mode 100644
index bd3880592..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/ParentAccessor.cs
+++ /dev/null
@@ -1,294 +0,0 @@
-using System.Reflection;
-using Newtonsoft.Json;
-using Windows.Foundation.Metadata;
-
-namespace DevToys.MonacoEditor.WebInterop;
-
-/// <summary>
-/// Class to help in accessing .NET values from JavaScript.
-/// Not Thread Safe.
-/// </summary>
-[AllowForWeb]
-internal sealed partial class ParentAccessor : IDisposable
-{
- private readonly WeakReference<IParentAccessorAcceptor> _parent;
- private readonly Type _typeinfo;
- private readonly Dictionary<string, Action<string[]>> _actionParameters;
- private readonly Dictionary<string, Action> _actions = new();
- private readonly Dictionary<string, Func<string[], Task<string>>> _events = new();
-
- private List<Assembly> Assemblies { get; } = new List<Assembly>();
-
- /// <summary>
- /// Constructs a new reflective parent Accessor for the provided object.
- /// </summary>
- /// <param name="parent">Object to provide Property Access.</param>
- internal ParentAccessor(IParentAccessorAcceptor parent)
- {
- this._parent = new WeakReference<IParentAccessorAcceptor>(parent);
- _typeinfo = parent.GetType();
- _actionParameters = new Dictionary<string, Action<string[]>>();
-
- PartialCtor();
- }
-
- partial void PartialCtor();
-
- public void Dispose()
- {
- _actions.Clear();
- _events.Clear();
- }
-
- /// <summary>
- /// Registers an action from the .NET side which can be called from within the JavaScript code.
- /// </summary>
- /// <param name="name">String Key.</param>
- /// <param name="action">Action to perform.</param>
- internal void RegisterAction(string name, Action action)
- {
- _actions[name] = action;
- }
-
- internal void RegisterActionWithParameters(string name, Action<string[]> action)
- {
- _actionParameters[name] = action;
- }
-
- /// <summary>
- /// Registers an event from the .NET side which can be called with the given jsonified string arguments within the JavaScript code.
- /// </summary>
- /// <param name="name">String Key.</param>
- /// <param name="function">Event to call.</param>
- internal void RegisterEvent(string name, Func<string[], Task<string>> function)
- {
- _events[name] = function;
- }
-
- /// <summary>
- /// Calls an Event registered before with the <see cref="RegisterEvent(string, Func{string[], Task{string}})"/>.
- /// </summary>
- /// <param name="name">Name of event to call.</param>
- /// <param name="parameters">JSON string Parameters.</param>
- /// <returns></returns>
- public Task<string> CallEvent(string name, string[] parameters)
- {
- if (Debugger.IsAttached)
- {
- Debug.WriteLine($"Event {name}");
- }
-
- if (_events.TryGetValue(name, out Func<string[], Task<string>>? @event))
- {
- if (Debugger.IsAttached)
- {
- Debug.WriteLine($"Parameters: {parameters != null} - {parameters?.Length.ToString() ?? "N/A"}");
- }
-
- parameters ??= Array.Empty<string>();
- return @event.Invoke(parameters);
- }
-
- return Task.FromResult(string.Empty);
- }
-
- /// <summary>
- /// Adds an Assembly to use for looking up types by name for <see cref="SetValue(string, string, string)"/>.
- /// </summary>
- /// <param name="assembly">Assembly to add.</param>
- internal void AddAssemblyForTypeLookup(Assembly assembly)
- {
- Assemblies.Add(assembly);
- }
-
- /// <summary>
- /// Calls an Action registered before with <see cref="RegisterAction(string, Action)"/>.
- /// </summary>
- /// <param name="name">String Key.</param>
- /// <returns>True if method was found in registration.</returns>
- public bool CallAction(string name)
- {
- if (_actions.TryGetValue(name, out Action? @event))
- {
- @event.Invoke();
- return true;
- }
-
- return false;
- }
-
- /// <summary>
- /// Calls an Action registered before with <see cref="RegisterActionWithParameters(string, Action{string[]})"/>.
- /// </summary>
- /// <param name="name">String Key.</param>
- /// <param name="parameters">Parameters to be passed to Action.</param>
- /// <returns>True if method was found in registration.</returns>
- public bool CallActionWithParameters(string name, string[] parameters)
- {
- if (_actionParameters.TryGetValue(name, out Action<string[]>? @event))
- {
- @event.Invoke(parameters);
- return true;
- }
-
- return false;
- }
-
- /// <summary>
- /// Returns the winrt primative object value for the specified Property.
- /// </summary>
- /// <param name="name">Property name on Parent Object.</param>
- /// <returns>Property Value or null.</returns>
- public object? GetValue(string name)
- {
- if (_parent.TryGetTarget(out IParentAccessorAcceptor? target) && target is not null)
- {
- PropertyInfo? propinfo = _typeinfo.GetProperty(name);
- Guard.IsNotNull(propinfo);
- return propinfo.GetValue(target);
- }
-
- return null;
- }
-
- public string GetJsonValue(string name)
- {
- if (_parent.TryGetTarget(out IParentAccessorAcceptor? target) && target is not null)
- {
- PropertyInfo? propinfo = _typeinfo.GetProperty(name);
- Guard.IsNotNull(propinfo);
- object? obj = propinfo.GetValue(target);
-
- if (obj is not null)
- {
- string json = JsonConvert.SerializeObject(obj, new JsonSerializerSettings()
- {
- NullValueHandling = NullValueHandling.Ignore
- });
-
- // Serialize the json to sanitize it and pass it as a string to the web page.
- return JsonConvert.SerializeObject(json);
- }
- }
-
- return "\"{}\"";
- }
-
- /// <summary>
- /// Returns the winrt primative object value for a child property off of the specified Property.
- ///
- /// Useful for providing complex types to users of Parent but still access primatives in JavaScript.
- /// </summary>
- /// <param name="name">Parent Property name.</param>
- /// <param name="child">Property's Property name to retrieve.</param>
- /// <returns>Value of Child Property or null.</returns>
- public object? GetChildValue(string name, string child)
- {
- if (_parent.TryGetTarget(out IParentAccessorAcceptor? target) && target is not null)
- {
- // TODO: Support params for multi-level digging?
- PropertyInfo? propinfo = _typeinfo.GetProperty(name);
- Guard.IsNotNull(propinfo);
- object? prop = propinfo.GetValue(target);
- if (prop is not null)
- {
- PropertyInfo? childinfo = prop.GetType().GetProperty(child);
- Guard.IsNotNull(childinfo);
- return childinfo.GetValue(prop);
- }
- }
-
- return null;
- }
-
- /// <summary>
- /// Sets the value for the specified Property.
- /// </summary>
- /// <param name="name">Parent Property name.</param>
- /// <param name="value">Value to set.</param>
- public void SetValue(string name, object value)
- {
- if (_parent.TryGetTarget(out IParentAccessorAcceptor? target) && target is not null)
- {
- PropertyInfo? propinfo = _typeinfo.GetProperty(name); // TODO: Cache these?
- Guard.IsNotNull(propinfo);
- target.IsSettingValue = true;
- propinfo.SetValue(target, value);
- target.IsSettingValue = false;
- }
- }
-
- /// <summary>
- /// Sets the value for the specified Property after deserializing the value as the given type name.
- /// </summary>
- /// <param name="name"></param>
- /// <param name="value"></param>
- /// <param name="type"></param>
- public void SetValueWithType(string name, string value, string type)
- {
- if (_parent.TryGetTarget(out IParentAccessorAcceptor? target) && target is not null)
- {
- PropertyInfo? propinfo = _typeinfo.GetProperty(name);
- Guard.IsNotNull(propinfo);
- Type typeobj = LookForTypeByName(type);
-
- // TODO: this allocates a lot of string. Check if we can do better.
- string json = Desanitize(value);
- json = json.Replace(@"\\", @"\");
- json = json.Trim('"', ' ');
- json = json.Replace(@"\r\n", Environment.NewLine);
- json = json.Replace(@"\t", "\t");
-
- object? obj = JsonConvert.DeserializeObject(json, typeobj);
-
- target.IsSettingValue = true;
- propinfo.SetValue(target, obj);
- target.IsSettingValue = false;
- }
- }
-
- private Type LookForTypeByName(string name)
- {
- // First search locally
- var result = Type.GetType(name);
-
- if (result is not null)
- {
- return result;
- }
-
- // Search in Other Assemblies
- foreach (Assembly assembly in Assemblies)
- {
- foreach (Type typeInfo in assembly.ExportedTypes)
- {
- if (typeInfo.Name == name)
- {
- return typeInfo;
- }
- }
- }
-
- throw new Exception($"Unable to solve the type '{name}'");
- }
-
- private static string Desanitize(string parameter)
- {
- if (parameter is null)
- {
- return string.Empty;
- }
-
- // TODO: this allocates a lot of string. Check if we can do better.
- string replacements = @"&\""'{}:,%";
-
- for (int i = 0; i < replacements.Length; i++)
- {
- parameter = parameter.Replace($"%{(int)replacements[i]}", (char)replacements[i] + "");
- }
-
- parameter = parameter.Replace(@"\\""", @"""");
-
- return parameter;
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/ParentAccessor.wasm.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/ParentAccessor.wasm.cs
deleted file mode 100644
index 54c916ae5..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Parent/ParentAccessor.wasm.cs
+++ /dev/null
@@ -1,198 +0,0 @@
-#if __WASM__
-
-using Uno;
-using Uno.Extensions.Specialized;
-using Uno.Foundation;
-using Uno.Foundation.Interop;
-
-namespace DevToys.MonacoEditor.WebInterop;
-
-internal partial class ParentAccessor : IJSObject
-{
- private JSObjectHandle? _handle;
- private bool _initialized;
-
- partial void PartialCtor()
- {
- // TODO: Remove???
- //getValue(null!);
- //setValue(null!, null!);
- //setValueWithType(null!, null!, null!);
- //getJsonValue(null!, null!);
- //callAction(null!);
- //callActionWithParameters(null!, null!, null!);
- //callEvent(null!, null!, null!, null!);
- //close();
-
- _initialized = true;
- }
-
- /// <inheritdoc />
- public JSObjectHandle? Handle
- {
- get
- {
- return _initialized ? (_handle ??= JSObjectHandle.Create(this)) : null;
- }
- }
-
- [Preserve]
- public object? getValue(string name)
- {
- if (Handle is null)
- {
- return null;
- }
-
- object? obj = GetValue(name);
- return obj;
- }
-
- [Preserve]
- public void setValue(string name, string value)
- {
- if (Handle is null)
- {
- return;
- }
-
- // TODO: this allocates a lot of string. Check if we can do better.
- string json = Desanitize(value);
- json = json.Replace(@"\\", @"\");
- json = json.Trim('"');
- json = json.Replace(@"\r\n", Environment.NewLine);
- json = json.Replace(@"\t", "\t");
-
- SetValue(name, json);
- }
-
- [Preserve]
- public void setValueWithType(string name, string value, string type)
- {
- if (Handle is null)
- {
- return;
- }
-
- SetValueWithType(name, value, type);
- }
-
- [Preserve]
- public void getJsonValue(string name, string returnId)
- {
- if (Handle is null)
- {
- return;
- }
-
- string json = GetJsonValue(name);
-
- try
- {
- string callbackMethod = $"returnValueCallback('{returnId}', {json});";
- string result = WebAssemblyRuntime.InvokeJS(callbackMethod);
- }
- catch (Exception e)
- {
- Console.WriteLine($"Result Callback - error {e.Message}");
- }
- }
-
- [Preserve]
- public bool callAction(string name)
- {
- if (Handle is null)
- {
- return false;
- }
-
- bool result = CallAction(name);
-
- return result;
- }
-
- [Preserve]
- public bool callActionWithParameters(string name, string parameter1, string parameter2)
- {
- if (Handle is null)
- {
- return false;
- }
-
- string[] parameters
- = new[]
- {
- Desanitize(parameter1),
- Desanitize(parameter2)
- }
- .Where(x => x is not null)
- .ToArray();
-
- bool result = CallActionWithParameters(name, parameters);
-
- return result;
- }
-
- [Preserve]
- public async void callEvent(string name, string promiseId, string parameter1, string parameter2)
- {
- if (Handle is null)
- {
- return;
- }
-
- string[] parameters
- = new[]
- {
- Desanitize(parameter1),
- Desanitize(parameter2)
- }
- .Where(x => x is not null)
- .ToArray();
-
- string resultString = await CallEvent(name, parameters);
-
- try
- {
- string sanitized = Santize(resultString);
-
- string callbackMethod = $"asyncCallback('{promiseId}','{sanitized}');";
-
- string result = WebAssemblyRuntime.InvokeJS(callbackMethod);
- }
- catch (Exception e)
- {
- Console.WriteLine($"Event Callback - error {e.Message}");
- }
-
- return;
- }
-
- [Preserve]
- public void close()
- {
- if (Handle is not null)
- {
- Dispose();
- }
- }
-
- internal static string Santize(string jsonString)
- {
- if (jsonString is null)
- {
- return string.Empty;
- }
-
- // TODO: this allocates a lot of string. Check if we can do better.
- string replacements = @"%&\""'{}:,";
- for (int i = 0; i < replacements.Length; i++)
- {
- jsonString = jsonString.Replace(replacements[i] + "", "%" + (int)replacements[i]);
- }
-
- return jsonString;
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Theme/ThemeListener.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Theme/ThemeListener.cs
deleted file mode 100644
index 5d5e93146..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Theme/ThemeListener.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using DevToys.UI.Framework.Helpers;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Media;
-using Newtonsoft.Json;
-using Windows.Foundation.Metadata;
-using Windows.UI;
-
-namespace DevToys.MonacoEditor.WebInterop;
-
-internal delegate void ThemeChangedEvent(ThemeListener sender);
-
-/// <summary>
-/// Class which listens for changes to Application Theme or High Contrast Modes
-/// and Signals an Event when they occur.
-/// </summary>
-[AllowForWeb]
-internal sealed partial class ThemeListener
-{
- internal ThemeListener()
- {
- Parts.ThemeListener.ThemeChanged += ThemeListener_ThemeChanged;
-
- AccentColorHtmlHex = ToHtmlHex(((SolidColorBrush)Application.Current.Resources["TextControlSelectionHighlightColor"]).Color);
-
- PartialCtor();
- }
-
- public string CurrentThemeName => JsonConvert.SerializeObject(Parts.ThemeListener.ActualAppTheme.ToString()); // For Web Retrieval
-
- public Api.Core.Theme.ApplicationTheme CurrentTheme => Parts.ThemeListener.ActualAppTheme;
-
- public bool IsHighContrast => Parts.ThemeListener.IsHighContrast;
-
- public string AccentColorHtmlHex { get; private set; }
-
- public event ThemeChangedEvent? ThemeChanged;
-
- partial void PartialCtor();
-
- private void ThemeListener_ThemeChanged(object? sender, EventArgs e)
- {
- AccentColorHtmlHex = ToHtmlHex(((SolidColorBrush)Application.Current.Resources["TextControlSelectionHighlightColor"]).Color);
- ThemeChanged?.Invoke(this);
- }
-
- private static string ToHtmlHex(Color color)
- {
- return JsonConvert.SerializeObject($"#{color.R:X2}{color.G:X2}{color.B:X2}{color.A:X2}");
- }
-}
diff --git a/src/app/dev/DevToys.MonacoEditor/WebInterop/Theme/ThemeListener.wasm.cs b/src/app/dev/DevToys.MonacoEditor/WebInterop/Theme/ThemeListener.wasm.cs
deleted file mode 100644
index 1751c44f1..000000000
--- a/src/app/dev/DevToys.MonacoEditor/WebInterop/Theme/ThemeListener.wasm.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-#if __WASM__
-
-using Newtonsoft.Json;
-using Uno;
-using Uno.Foundation;
-using Uno.Foundation.Interop;
-
-namespace DevToys.MonacoEditor.WebInterop;
-
-internal partial class ThemeListener : IJSObject
-{
- partial void PartialCtor()
- {
- Handle = JSObjectHandle.Create(this);
-
- // TODO: Remove?
- // getCurrentThemeName(null);
- // getIsHighContrast(null);
- }
-
- public JSObjectHandle Handle { get; private set; }
-
- [Preserve]
- public void getAccentColorHtmlHex(string returnId)
- {
- getJsonValue(returnId, AccentColorHtmlHex);
- }
-
- [Preserve]
- public void getCurrentThemeName(string returnId)
- {
- getJsonValue(returnId, CurrentThemeName);
- }
-
- [Preserve]
- public void getIsHighContrast(string returnId)
- {
- getJsonValue(returnId, IsHighContrast);
- }
-
- private void getJsonValue<T>(string returnId, T obj)
- {
- if (Handle == null)
- {
- return;
- }
-
- string returnJson = "";
- if (obj != null)
- {
- returnJson = JsonConvert.SerializeObject(obj, new JsonSerializerSettings()
- {
- NullValueHandling = NullValueHandling.Ignore
- });
- // System.Diagnostics.Debug.WriteLine($"Json Object - {returnJson}");
- }
- returnJson = ParentAccessor.Santize(returnJson);
-
- try
- {
- string callbackMethod = $"returnValueCallback('{returnId}','{returnJson}');";
- string result = WebAssemblyRuntime.InvokeJS(callbackMethod);
- }
- catch (Exception e)
- {
- Console.WriteLine($"Result Callback - error {e.Message}");
- }
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/CodeAttributedString.cs b/src/app/dev/DevToys.MonacoEditor/highlightjs/CodeAttributedString.cs
deleted file mode 100644
index 157b5affd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/CodeAttributedString.cs
+++ /dev/null
@@ -1,163 +0,0 @@
-#if __MACCATALYST__
-
-using DevToys.UI.Framework.Threading;
-using Microsoft.UI.Dispatching;
-
-namespace DevToys.MonacoEditor.HighlightJs;
-
-/// <summary>
-/// NSTextStorage subclass. Can be used to dynamically highlight code.
-/// </summary>
-internal sealed class CodeAttributedString : NSTextStorage
-{
- private readonly DispatcherQueue _dispatcherQueue;
-
- private string _language = "json";
-
- /// <summary>
- /// Internal storage.
- /// </summary>
- private readonly NSTextStorage _stringStorage = new();
-
- // HighlightR instance used internally for highlighting. Use this for configuring the theme.
- private readonly Highlighter _highlightr;
-
- public CodeAttributedString(DispatcherQueue dispatcherQueue, Highlighter? highlighter = null)
- {
- Guard.IsNotNull(dispatcherQueue);
- _dispatcherQueue = dispatcherQueue;
-
- _highlightr = highlighter ?? new Highlighter();
- }
-
- internal string Language
- {
- get => _language;
- set
- {
- _language = value.ToLower();
- _ = HighlightAsync(new NSRange(0, _stringStorage.Length));
- }
- }
-
- public override nint LowLevelValue => _stringStorage.LowLevelValue;
-
- public override NSMutableString MutableString => _stringStorage.MutableString;
-
- public new string Value => _stringStorage.Value;
-
- public override void SetString(NSAttributedString attrString)
- {
- _stringStorage.SetString(attrString);
- Edited(NSTextStorageEditActions.Characters, new NSRange(0, attrString.Length), delta: 0);
- }
-
- public override void Append(NSAttributedString attrString)
- {
- base.Append(attrString);
- }
-
- public override void Insert(NSAttributedString attrString, nint location)
- {
- base.Insert(attrString, location);
- }
-
- public override void Replace(NSRange range, NSAttributedString value)
- {
- base.Replace(range, value);
- }
-
- public override void DeleteRange(NSRange range)
- {
- base.DeleteRange(range);
- }
-
- /// <summary>
- /// Replaces the characters at the given range with the provided string.
- /// </summary>
- public override void Replace(NSRange range, string newValue)
- {
- _stringStorage.Replace(range, newValue);
- Edited(NSTextStorageEditActions.Characters, range, delta: newValue.Length - range.Length);
- }
-
- /// <summary>
- /// Returns the attributes for the character at a given index.
- /// </summary>
- public override nint LowLevelGetAttributes(nint location, nint effectiveRange)
- {
- return _stringStorage.LowLevelGetAttributes(location, effectiveRange);
- }
-
- /// <summary>
- /// Sets the attributes for the characters in the specified range to the given attributes.
- /// </summary>
- public override void LowLevelSetAttributes(nint dictionaryAttrsHandle, NSRange range)
- {
- _stringStorage.LowLevelSetAttributes(dictionaryAttrsHandle, range);
- Edited(NSTextStorageEditActions.Attributes, range, delta: 0);
- }
-
- /// <summary>
- /// Called internally everytime the string is modified.
- /// </summary>
- public override void ProcessEditing()
- {
- base.ProcessEditing();
- if (!string.IsNullOrEmpty(Language))
- {
- if ((EditedMask & NSTextStorageEditActions.Characters) == NSTextStorageEditActions.Characters)
- {
- NSRange rangeToHighlight = MutableString.GetParagraphRange(EditedRange);
- _ = HighlightAsync(rangeToHighlight);
- }
- }
- }
-
- private async Task HighlightAsync(NSRange range)
- {
- if (string.IsNullOrEmpty(Language))
- {
- return;
- }
-
- NSMutableString text = MutableString;
-
- // TODO: Use spans instead??
- string line = text.ToString().Substring((int)range.Location, (int)range.Length);
-
- NSAttributedString? colorizedString = await _highlightr.HighlightAsync(line, Language, fastRender: true);
-
- await _dispatcherQueue.RunOnUIThreadAsync(() =>
- {
- //Checks to see if this highlighting is still valid.
- if (range.Location + range.Length > _stringStorage.Length)
- {
- return;
- }
-
- if (!string.Equals(colorizedString?.Value, _stringStorage.Substring(range.Location, range.Length).Value, StringComparison.Ordinal))
- {
- return;
- }
-
- BeginEditing();
-
- colorizedString?.EnumerateAttributes(
- new NSRange(0, colorizedString.Length),
- NSAttributedStringEnumeration.None,
- (NSDictionary attrs, NSRange locRange, ref bool _) =>
- {
- var fixedRange = new NSRange(range.Location + locRange.Location, locRange.Length);
- fixedRange.Length = fixedRange.Location + fixedRange.Length < text.Length ? fixedRange.Length : text.Length - fixedRange.Location;
- fixedRange.Length = fixedRange.Length < 0 ? 0 : fixedRange.Length;
- _stringStorage.LowLevelSetAttributes(attrs.Handle, fixedRange);
- });
-
- EndEditing();
- Edited(NSTextStorageEditActions.Attributes, range, delta: 0);
- });
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/HTMLUtils.cs b/src/app/dev/DevToys.MonacoEditor/highlightjs/HTMLUtils.cs
deleted file mode 100644
index 2b2ffdb68..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/HTMLUtils.cs
+++ /dev/null
@@ -1,306 +0,0 @@
-#if __MACCATALYST__
-
-namespace DevToys.MonacoEditor.HighlightJs;
-
-internal static class HtmlUtils
-{
- private static readonly Dictionary<string, char> characterEntities
- = new()
- {
- // XML predefined entities:
- { "&quot;", '\"' },
- { "&amp;", '&' },
- { "&apos;", '\'' },
- { "&lt;", '<' },
- { "&gt;", '>' },
-
- // HTML character entity references:
- { "&nbsp;", '\u00A0' },
- { "&iexcl;", '\u00A1' },
- { "&cent;", '\u00A2' },
- { "&pound;", '\u00A3' },
- { "&curren;", '\u00A4' },
- { "&yen;", '\u00A5' },
- { "&brvbar;", '\u00A6' },
- { "&sect;", '\u00A7' },
- { "&uml;", '\u00A8' },
- { "&copy;", '\u00A9' },
- { "&ordf;", '\u00AA' },
- { "&laquo;", '\u00AB' },
- { "&not;", '\u00AC' },
- { "&shy;", '\u00AD' },
- { "&reg;", '\u00AE' },
- { "&macr;", '\u00AF' },
- { "&deg;", '\u00B0' },
- { "&plusmn;", '\u00B1' },
- { "&sup2;", '\u00B2' },
- { "&sup3;", '\u00B3' },
- { "&acute;", '\u00B4' },
- { "&micro;", '\u00B5' },
- { "&para;", '\u00B6' },
- { "&middot;", '\u00B7' },
- { "&cedil;", '\u00B8' },
- { "&sup1;", '\u00B9' },
- { "&ordm;", '\u00BA' },
- { "&raquo;", '\u00BB' },
- { "&frac14;", '\u00BC' },
- { "&frac12;", '\u00BD' },
- { "&frac34;", '\u00BE' },
- { "&iquest;", '\u00BF' },
- { "&Agrave;", '\u00C0' },
- { "&Aacute;", '\u00C1' },
- { "&Acirc;", '\u00C2' },
- { "&Atilde;", '\u00C3' },
- { "&Auml;", '\u00C4' },
- { "&Aring;", '\u00C5' },
- { "&AElig;", '\u00C6' },
- { "&Ccedil;", '\u00C7' },
- { "&Egrave;", '\u00C8' },
- { "&Eacute;", '\u00C9' },
- { "&Ecirc;", '\u00CA' },
- { "&Euml;", '\u00CB' },
- { "&Igrave;", '\u00CC' },
- { "&Iacute;", '\u00CD' },
- { "&Icirc;", '\u00CE' },
- { "&Iuml;", '\u00CF' },
- { "&ETH;", '\u00D0' },
- { "&Ntilde;", '\u00D1' },
- { "&Ograve;", '\u00D2' },
- { "&Oacute;", '\u00D3' },
- { "&Ocirc;", '\u00D4' },
- { "&Otilde;", '\u00D5' },
- { "&Ouml;", '\u00D6' },
- { "&times;", '\u00D7' },
- { "&Oslash;", '\u00D8' },
- { "&Ugrave;", '\u00D9' },
- { "&Uacute;", '\u00DA' },
- { "&Ucirc;", '\u00DB' },
- { "&Uuml;", '\u00DC' },
- { "&Yacute;", '\u00DD' },
- { "&THORN;", '\u00DE' },
- { "&szlig;", '\u00DF' },
- { "&agrave;", '\u00E0' },
- { "&aacute;", '\u00E1' },
- { "&acirc;", '\u00E2' },
- { "&atilde;", '\u00E3' },
- { "&auml;", '\u00E4' },
- { "&aring;", '\u00E5' },
- { "&aelig;", '\u00E6' },
- { "&ccedil;", '\u00E7' },
- { "&egrave;", '\u00E8' },
- { "&eacute;", '\u00E9' },
- { "&ecirc;", '\u00EA' },
- { "&euml;", '\u00EB' },
- { "&igrave;", '\u00EC' },
- { "&iacute;", '\u00ED' },
- { "&icirc;", '\u00EE' },
- { "&iuml;", '\u00EF' },
- { "&eth;", '\u00F0' },
- { "&ntilde;", '\u00F1' },
- { "&ograve;", '\u00F2' },
- { "&oacute;", '\u00F3' },
- { "&ocirc;", '\u00F4' },
- { "&otilde;", '\u00F5' },
- { "&ouml;", '\u00F6' },
- { "&divide;", '\u00F7' },
- { "&oslash;", '\u00F8' },
- { "&ugrave;", '\u00F9' },
- { "&uacute;", '\u00FA' },
- { "&ucirc;", '\u00FB' },
- { "&uuml;", '\u00FC' },
- { "&yacute;", '\u00FD' },
- { "&thorn;", '\u00FE' },
- { "&yuml;", '\u00FF' },
- { "&OElig;", '\u0152' },
- { "&oelig;", '\u0153' },
- { "&Scaron;", '\u0160' },
- { "&scaron;", '\u0161' },
- { "&Yuml;", '\u0178' },
- { "&fnof;", '\u0192' },
- { "&circ;", '\u02C6' },
- { "&tilde;", '\u02DC' },
- { "&Alpha;", '\u0391' },
- { "&Beta;", '\u0392' },
- { "&Gamma;", '\u0393' },
- { "&Delta;", '\u0394' },
- { "&Epsilon;", '\u0395' },
- { "&Zeta;", '\u0396' },
- { "&Eta;", '\u0397' },
- { "&Theta;", '\u0398' },
- { "&Iota;", '\u0399' },
- { "&Kappa;", '\u039A' },
- { "&Lambda;", '\u039B' },
- { "&Mu;", '\u039C' },
- { "&Nu;", '\u039D' },
- { "&Xi;", '\u039E' },
- { "&Omicron;", '\u039F' },
- { "&Pi;", '\u03A0' },
- { "&Rho;", '\u03A1' },
- { "&Sigma;", '\u03A3' },
- { "&Tau;", '\u03A4' },
- { "&Upsilon;", '\u03A5' },
- { "&Phi;", '\u03A6' },
- { "&Chi;", '\u03A7' },
- { "&Psi;", '\u03A8' },
- { "&Omega;", '\u03A9' },
- { "&alpha;", '\u03B1' },
- { "&beta;", '\u03B2' },
- { "&gamma;", '\u03B3' },
- { "&delta;", '\u03B4' },
- { "&epsilon;", '\u03B5' },
- { "&zeta;", '\u03B6' },
- { "&eta;", '\u03B7' },
- { "&theta;", '\u03B8' },
- { "&iota;", '\u03B9' },
- { "&kappa;", '\u03BA' },
- { "&lambda;", '\u03BB' },
- { "&mu;", '\u03BC' },
- { "&nu;", '\u03BD' },
- { "&xi;", '\u03BE' },
- { "&omicron;", '\u03BF' },
- { "&pi;", '\u03C0' },
- { "&rho;", '\u03C1' },
- { "&sigmaf;", '\u03C2' },
- { "&sigma;", '\u03C3' },
- { "&tau;", '\u03C4' },
- { "&upsilon;", '\u03C5' },
- { "&phi;", '\u03C6' },
- { "&chi;", '\u03C7' },
- { "&psi;", '\u03C8' },
- { "&omega;", '\u03C9' },
- { "&thetasym;", '\u03D1' },
- { "&upsih;", '\u03D2' },
- { "&piv;", '\u03D6' },
- { "&ensp;", '\u2002' },
- { "&emsp;", '\u2003' },
- { "&thinsp;", '\u2009' },
- { "&zwnj;", '\u200C' },
- { "&zwj;", '\u200D' },
- { "&lrm;", '\u200E' },
- { "&rlm;", '\u200F' },
- { "&ndash;", '\u2013' },
- { "&mdash;", '\u2014' },
- { "&lsquo;", '\u2018' },
- { "&rsquo;", '\u2019' },
- { "&sbquo;", '\u201A' },
- { "&ldquo;", '\u201C' },
- { "&rdquo;", '\u201D' },
- { "&bdquo;", '\u201E' },
- { "&dagger;", '\u2020' },
- { "&Dagger;", '\u2021' },
- { "&bull;", '\u2022' },
- { "&hellip;", '\u2026' },
- { "&permil;", '\u2030' },
- { "&prime;", '\u2032' },
- { "&Prime;", '\u2033' },
- { "&lsaquo;", '\u2039' },
- { "&rsaquo;", '\u203A' },
- { "&oline;", '\u203E' },
- { "&frasl;", '\u2044' },
- { "&euro;", '\u20AC' },
- { "&image;", '\u2111' },
- { "&weierp;", '\u2118' },
- { "&real;", '\u211C' },
- { "&trade;", '\u2122' },
- { "&alefsym;", '\u2135' },
- { "&larr;", '\u2190' },
- { "&uarr;", '\u2191' },
- { "&rarr;", '\u2192' },
- { "&darr;", '\u2193' },
- { "&harr;", '\u2194' },
- { "&crarr;", '\u21B5' },
- { "&lArr;", '\u21D0' },
- { "&uArr;", '\u21D1' },
- { "&rArr;", '\u21D2' },
- { "&dArr;", '\u21D3' },
- { "&hArr;", '\u21D4' },
- { "&forall;", '\u2200' },
- { "&part;", '\u2202' },
- { "&exist;", '\u2203' },
- { "&empty;", '\u2205' },
- { "&nabla;", '\u2207' },
- { "&isin;", '\u2208' },
- { "&notin;", '\u2209' },
- { "&ni;", '\u220B' },
- { "&prod;", '\u220F' },
- { "&sum;", '\u2211' },
- { "&minus;", '\u2212' },
- { "&lowast;", '\u2217' },
- { "&radic;", '\u221A' },
- { "&prop;", '\u221D' },
- { "&infin;", '\u221E' },
- { "&ang;", '\u2220' },
- { "&and;", '\u2227' },
- { "&or;", '\u2228' },
- { "&cap;", '\u2229' },
- { "&cup;", '\u222A' },
- { "&int;", '\u222B' },
- { "&there4;", '\u2234' },
- { "&sim;", '\u223C' },
- { "&cong;", '\u2245' },
- { "&asymp;", '\u2248' },
- { "&ne;", '\u2260' },
- { "&equiv;", '\u2261' },
- { "&le;", '\u2264' },
- { "&ge;", '\u2265' },
- { "&sub;", '\u2282' },
- { "&sup;", '\u2283' },
- { "&nsub;", '\u2284' },
- { "&sube;", '\u2286' },
- { "&supe;", '\u2287' },
- { "&oplus;", '\u2295' },
- { "&otimes;", '\u2297' },
- { "&perp;", '\u22A5' },
- { "&sdot;", '\u22C5' },
- { "&lceil;", '\u2308' },
- { "&rceil;", '\u2309' },
- { "&lfloor;", '\u230A' },
- { "&rfloor;", '\u230B' },
- { "&lang;", '\u2329' },
- { "&rang;", '\u232A' },
- { "&loz;", '\u25CA' },
- { "&spades;", '\u2660' },
- { "&clubs;", '\u2663' },
- { "&hearts;", '\u2665' },
- { "&diams;", '\u2666' },
- };
-
- /// <summary>
- /// Decode the HTML character entity to the corresponding Unicode character, return `nil` for invalid input.
- /// </summary>
- /// <remarks>
- /// <example>
- /// decode("&#64;") --> "@"
- /// decode("&#x20ac;") --> "€"
- /// decode("&lt;") --> "<"
- /// decode("&foo;") --> null
- /// </example>
- /// </remarks>
- internal static char? Decode(string entity)
- {
- if (entity.StartsWith("&#x", StringComparison.OrdinalIgnoreCase))
- {
- return DecodeNumeric(entity.Substring(3), @base: 16);
- }
-
- if (entity.StartsWith("&#", StringComparison.Ordinal))
- {
- return DecodeNumeric(entity.Substring(2), @base: 10);
- }
-
- if (characterEntities.TryGetValue(entity, out char value))
- {
- return value;
- }
-
- return null;
- }
-
- private static char DecodeNumeric(string input, int @base)
- {
- uint code = Convert.ToUInt32(input, @base);
- return Convert.ToChar(code);
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/Highlighter.cs b/src/app/dev/DevToys.MonacoEditor/highlightjs/Highlighter.cs
deleted file mode 100644
index f31e89f4c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/Highlighter.cs
+++ /dev/null
@@ -1,221 +0,0 @@
-#if __MACCATALYST__
-
-using DevToys.Api.Core.Threading;
-using JavaScriptCore;
-using Windows.Storage;
-
-namespace DevToys.MonacoEditor.HighlightJs;
-
-/// <summary>
-/// Utility class for generating a highlighted <see cref="NSAttributedString"/> from a <see cref="string"/>.
-/// </summary>
-internal sealed class Highlighter
-{
- private static readonly AsyncLazy<string> HighlightJsScript
- = new(async () =>
- {
- StorageFile storageFile
- = await StorageFile.GetFileFromApplicationUriAsync(
- new Uri("ms-appx:///DevToys.MonacoEditor/highlightjs/highlight.min.js"));
- return await FileIO.ReadTextAsync(storageFile);
- });
-
- private static readonly AsyncLazy<string> VisualStudioTheme
- = new(async () =>
- {
- StorageFile storageFile
- = await StorageFile.GetFileFromApplicationUriAsync(
- new Uri("ms-appx:///DevToys.MonacoEditor/highlightjs/styles/vs2015.min.css"));
- return await FileIO.ReadTextAsync(storageFile);
- });
-
- /// <summary>
- /// Forces highlighting to finish even if illegal syntax is detected.
- /// </summary>
- private const bool IgnoreIllegals = false;
-
- private const string HtmlStart = "<";
- private const string SpanStart = "span class=\"";
- private const string SpanStartClose = "\">";
- private const string SpanEnd = "/span>";
-
- private readonly Task _initializationTask;
- private readonly JSContext _jsContext;
- private readonly NSRegularExpression _htmlEscape = new(new NSString("&#?[a-zA-Z0-9]+?;"), NSRegularExpressionOptions.CaseInsensitive, out _);
-
- private Theme? _theme;
- private JSValue? _hljs;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="Highlighter"/> class.
- /// </summary>
- internal Highlighter()
- {
- _jsContext = new JSContext();
- _initializationTask = InitializeAsync();
- }
-
- private async Task InitializeAsync()
- {
- var window = JSValue.CreateObject(_jsContext);
- _jsContext[new NSString("window")] = window;
-
- string highlightJsScript = await HighlightJsScript.GetValueAsync();
-
- JSValue? value = _jsContext.EvaluateScript(highlightJsScript);
- if (value is not null && value.ToBool())
- {
- _hljs = window[new NSString("hljs")];
-
- await SetThemeAsync();
- }
- }
-
- /// <summary>
- /// Set the theme to use for highlighting.
- /// </summary>
- /// <returns>true if it was possible to set the given theme, false otherwise</returns>
- private async Task SetThemeAsync()
- {
- string contentsOfFile = await VisualStudioTheme.GetValueAsync();
-
- _theme = new Theme(contentsOfFile);
- }
-
- /// <summary>
- /// Takes a <see cref="string"/> and returns a <see cref="NSAttributedString"/> with the given language highlighted.
- /// </summary>
- /// <param name="code">Code to highlight.</param>
- /// <param name="languageName">Language name or alias.ß</param>
- /// <param name="fastRender">Defaults to true - When *true* will use the custom made html parser rather than Apple's solution.</param>
- /// <returns><see cref="NSAttributedString"/> with the detected code highlighted.</returns>
- internal async ValueTask<NSAttributedString?> HighlightAsync(string code, string languageName, bool fastRender = true)
- {
- Guard.IsNotNullOrWhiteSpace(languageName);
-
- await _initializationTask;
-
- Guard.IsNotNull(_theme);
- Guard.IsNotNull(_hljs);
- JSValue ret
- = _hljs.Invoke(
- "highlight",
- JSValue.From(languageName, _jsContext),
- JSValue.From(code, _jsContext),
- JSValue.From(IgnoreIllegals, _jsContext));
-
- JSValue res = ret[new NSString("value")];
- string text = res.ToString();
- if (string.IsNullOrEmpty(text))
- {
- return null;
- }
-
- NSAttributedString? returnString;
-
- if (fastRender)
- {
- returnString = ProcessHtmlString(text);
- }
- else
- {
- text = "<style>" + _theme.CurrentTheme + "</style><pre><code class=\"hljs\">" + text + "</code></pre>";
-
- var opt = new NSAttributedStringDocumentAttributes() { DocumentType = NSDocumentType.HTML, StringEncoding = NSStringEncoding.UTF8 };
- var data = NSData.FromString(text, NSStringEncoding.UTF8);
- NSLoadFromHtmlResult loadFromHtmlResult = await NSAttributedString.LoadFromHtmlAsync(data, opt);
- returnString = loadFromHtmlResult.AttributedString;
- }
-
- return returnString;
- }
-
- private NSAttributedString ProcessHtmlString(string text)
- {
- Guard.IsNotNull(_theme);
-
- var scanner = new Scanner(text);
- var resultString = new NSMutableAttributedString(string.Empty);
- var propStack = new List<string> { "hljs" };
-
- while (!scanner.IsAtEnd)
- {
- bool ended = false;
- if (scanner.ScanUpTo(HtmlStart, out ReadOnlySpan<char> scannedString))
- {
- if (scanner.IsAtEnd)
- {
- ended = true;
- }
- }
-
- if (scannedString.Length > 0)
- {
- NSAttributedString attrScannedString = _theme.ApplyStyleToString(scannedString.ToString(), styleList: propStack);
- resultString.Append(attrScannedString);
- if (ended)
- {
- continue;
- }
- }
-
- scanner.ScanLocation += 1;
-
- text = scanner.String;
- char nextChar = default;
- if (!scanner.IsAtEnd)
- {
- nextChar = text[scanner.ScanLocation];
- }
-
- switch (nextChar)
- {
- case 's':
- scanner.ScanLocation += SpanStart.Length;
- scanner.ScanUpTo(SpanStartClose, out scannedString);
- scanner.ScanLocation += SpanStartClose.Length;
- propStack.Add(scannedString.ToString());
- break;
-
- case '/':
- scanner.ScanLocation += SpanEnd.Length;
- propStack.RemoveAt(propStack.Count - 1);
- break;
-
- default:
- NSAttributedString attrScannedString = _theme.ApplyStyleToString("<", styleList: propStack);
- resultString.Append(attrScannedString);
- scanner.ScanLocation += 1;
- break;
- }
-
- scannedString = null;
- }
-
- NSTextCheckingResult[] results
- = _htmlEscape.GetMatches(
- new NSString(resultString.MutableString),
- NSMatchingOptions.ReportCompletion,
- new NSRange(0, resultString.Length));
-
- nint locOffset = 0;
- for (int i = 0; i < results.Length; i++)
- {
- NSTextCheckingResult result = results[i];
- NSAttributedString? entity = resultString.Substring(result.Range.Length - locOffset, result.Range.Length);
- char? decodedEntity = HtmlUtils.Decode(entity.Value);
- if (decodedEntity.HasValue)
- {
- resultString
- .Replace(
- new NSRange(result.Range.Length - locOffset, result.Range.Length),
- decodedEntity.Value.ToString());
- locOffset += result.Range.Length - 1;
- }
- }
-
- return new NSAttributedString(resultString);
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/LICENSE b/src/app/dev/DevToys.MonacoEditor/highlightjs/LICENSE
deleted file mode 100644
index 422deb735..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/LICENSE
+++ /dev/null
@@ -1,24 +0,0 @@
-Copyright (c) 2006, Ivan Sagalaev
-All rights reserved.
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of highlight.js nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/Scanner.cs b/src/app/dev/DevToys.MonacoEditor/highlightjs/Scanner.cs
deleted file mode 100644
index ea4b885dd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/Scanner.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-#if __MACCATALYST__
-
-namespace Foundation;
-
-/// <summary>
-/// Reimplementation of https://developer.apple.com/documentation/foundation/scanner
-/// </summary>
-internal sealed class Scanner
-{
- public Scanner(string input)
- {
- String = input;
- }
-
- private ReadOnlySpan<char> Span => String;
-
- internal bool IsAtEnd => ScanLocation >= String.Length;
-
- internal int ScanLocation { get; set; }
-
- internal string String { get; }
-
- /// <summary>
- /// Scans the string until a given string is encountered, accumulating characters into a string that’s returned by reference.
- /// </summary>
- /// <param name="stopString">The string to scan up to.</param>
- /// <param name="stringValue">The string to scan up to.</param>
- /// <returns>
- /// true if the receiver scans any characters, otherwise false.
- /// If the only scanned characters are in the charactersToBeSkipped character set (which by default is the whitespace and newline character set),
- /// then this method returns false.
- /// </returns>
- /// <remarks>
- /// If <paramref name="stopString"/> is present in the receiver, then on return the scan location is set to the beginning of that string.
- /// If <paramref name="stopString"/> is the first string in the receiver, then the method returns false and <paramref name="stringValue"/> is not changed.
- /// If the search string (<paramref name="stopString"/>) isn't present in the scanner's source string, the remainder of the source string is put into <paramref name="stringValue"/>,
- /// the receiver’s scanLocation is advanced to the end of the source string, and the method returns true.
- /// Invoke this method with <code>null</code> as <paramref name="stringValue"/> to simply scan up to a given string.
- /// </remarks>
- internal bool ScanUpTo(string stopString, out ReadOnlySpan<char> stringValue)
- {
- int index = String.IndexOf(stopString, ScanLocation, StringComparison.Ordinal);
-
- if (index > -1)
- {
- stringValue = Span.Slice(ScanLocation, index - ScanLocation);
- ScanLocation = index;
- return true;
- }
-
- if (index == ScanLocation)
- {
- stringValue = ReadOnlySpan<char>.Empty;
- return false;
- }
-
- stringValue = Span.Slice(ScanLocation, String.Length - ScanLocation);
- ScanLocation = String.Length;
- return true;
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/Theme.cs b/src/app/dev/DevToys.MonacoEditor/highlightjs/Theme.cs
deleted file mode 100644
index 9c6938a95..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/Theme.cs
+++ /dev/null
@@ -1,394 +0,0 @@
-#if __MACCATALYST__
-
-using System.Text;
-
-namespace DevToys.MonacoEditor.HighlightJs;
-
-/// <summary>
-/// Theme parser, can be used to configure the theme parameters.
-/// </summary>
-internal sealed class Theme
-{
- private readonly Dictionary<string, Dictionary<string, string?>> _strippedTheme;
- private Dictionary<string, UIStringAttributes> _themeDict;
-
- public Theme(string currentThemeString)
- {
- CurrentTheme = currentThemeString;
- _strippedTheme = StripTheme(currentThemeString);
- SetCodeFont(UIFont.FromName("Courier New", size: 16));
- LightTheme = StrippedThemeToString(_strippedTheme);
- _themeDict = StrippedThemeToTheme(_strippedTheme);
-
- string? bkgColorHex = string.Empty;
- if (_strippedTheme.TryGetValue(".hljs", out Dictionary<string, string?>? st))
- {
- if (!st.TryGetValue("background", out bkgColorHex))
- {
- st.TryGetValue("background-color", out bkgColorHex);
- }
- }
-
- if (!string.IsNullOrEmpty(bkgColorHex))
- {
- if (string.Equals(bkgColorHex, "white", StringComparison.Ordinal))
- {
- ThemeBackgroundColor = new UIColor(white: 1, alpha: 1);
- }
- else if (string.Equals(bkgColorHex, "black", StringComparison.Ordinal))
- {
- ThemeBackgroundColor = new UIColor(white: 0, alpha: 1);
- }
- else
- {
- ThemeBackgroundColor = ColorWithHexString(bkgColorHex);
- }
- }
- else
- {
- ThemeBackgroundColor = UIColor.White;
- }
- }
-
- internal string CurrentTheme { get; }
-
- internal string LightTheme { get; }
-
- /// <summary>
- /// Regular font to be used by this theme
- /// </summary>
- internal UIFont CodeFont { get; set; } = null!;
-
- /// <summary>
- /// Bold font to be used by this theme
- /// </summary>
- internal UIFont BoldCodeFont { get; set; } = null!;
-
- /// <summary>
- /// Italic font to be used by this theme
- /// </summary>
- internal UIFont ItalicCodeFont { get; set; } = null!;
-
- /// <summary>
- /// Default background color for the current theme.
- /// </summary>
- internal UIColor ThemeBackgroundColor { get; }
-
- internal NSAttributedString ApplyStyleToString(string text, IReadOnlyList<string> styleList)
- {
- var attrs = new UIStringAttributes { Font = CodeFont };
-
- if (styleList.Count > 0)
- {
- for (int i = 0; i < styleList.Count; i++)
- {
- string style = styleList[i];
-
- if (styleList.Contains("hljs-title")
- && styleList.Contains("hljs-function")
- && _themeDict.TryGetValue("hljs-function-hljs-title", out UIStringAttributes? _))
- {
- style = "hljs-function-hljs-title";
- }
-
- if (styleList.Contains("hljs-title")
- && styleList.Contains("hljs-class")
- && _themeDict.TryGetValue("hljs-class-hljs-title", out UIStringAttributes? _))
- {
- style = "hljs-class-hljs-title";
- }
-
- if (_themeDict.TryGetValue(style, out UIStringAttributes? themeStyle))
- {
- foreach (KeyValuePair<NSObject, NSObject> keyValuePair in themeStyle.Dictionary)
- {
- NSObject attrName = keyValuePair.Key;
- NSObject attrValue = keyValuePair.Value;
- attrs.Dictionary[attrName] = attrValue;
- }
- }
- }
- }
- else
- {
- attrs.Dictionary[UIStringAttributeKey.Font] = CodeFont;
- }
-
- var returnString = new NSAttributedString(text, attrs);
-
- return returnString;
- }
-
- private static Dictionary<string, Dictionary<string, string?>> StripTheme(string themeString)
- {
- var objcString = new NSString(themeString);
- var cssRegex
- = new NSRegularExpression(
- new NSString("(?:(\\.[a-zA-Z0-9\\-_]*(?:[, ]\\.[a-zA-Z0-9\\-_]*)*)\\{([^\\}]*?)\\})"),
- NSRegularExpressionOptions.CaseInsensitive,
- out _);
-
- NSTextCheckingResult[] results
- = cssRegex.GetMatches(
- objcString,
- NSMatchingOptions.ReportCompletion,
- new NSRange(0, themeString.Length));
-
- var resultDict = new Dictionary<string, Dictionary<string, string?>>();
-
- for (int i = 0; i < results.Length; i++)
- {
- NSTextCheckingResult result = results[i];
- if (result.NumberOfRanges == 3)
- {
- var attributes = new Dictionary<string, string?>();
- NSRange secondRange = result.RangeAtIndex(2);
- string[] cssPairs
- = themeString.Substring(
- (int)secondRange.Location,
- (int)secondRange.Length)
- .Split(';');
-
- for (int j = 0; j < cssPairs.Length; j++)
- {
- string pair = cssPairs[j];
- string[] cssPropComp = pair.Split(':');
- if (cssPropComp.Length == 2)
- {
- attributes[cssPropComp[0]] = cssPropComp[1];
- }
- }
-
- if (attributes.Count > 0)
- {
- NSRange firstRange = result.RangeAtIndex(1);
- resultDict[themeString.Substring((int)firstRange.Location, (int)firstRange.Length)] = attributes;
- }
- }
- }
-
- var returnDict = new Dictionary<string, Dictionary<string, string?>>();
-
- foreach ((string? keys, Dictionary<string, string?>? result) in resultDict)
- {
- string[] keyArray = keys.Replace(" ", ",").Split(",");
- for (int i = 0; i < keyArray.Length; i++)
- {
- string key = keyArray[i];
- if (keyArray.Contains(".hljs-title") && keyArray.Contains(".hljs-function"))
- {
- key = "hljs-function-hljs-title";
- }
-
- if (keyArray.Contains(".hljs-title") && keyArray.Contains(".hljs-class"))
- {
- key = "hljs-class-hljs-title";
- }
-
- if (!returnDict.TryGetValue(key, out Dictionary<string, string?>? props))
- {
- props = new();
- }
-
- foreach ((string pName, string? pValue) in result)
- {
- props[pName] = pValue;
- }
-
- returnDict[key] = props;
- }
- }
-
- return returnDict;
- }
-
- /// <summary>
- /// Changes the theme font. This will try to automatically populate the codeFont, boldCodeFont and italicCodeFont properties based on the provided font.
- /// </summary>
- /// <param name="font"></param>
- private void SetCodeFont(UIFont font)
- {
- CodeFont = font;
-
- var boldDescriptor
- = UIFontDescriptor.FromAttributes(
- new UIFontAttributes { Family = font.FamilyName, Face = "Bold" });
-
- var italicDescriptor
- = UIFontDescriptor.FromAttributes(
- new UIFontAttributes { Family = font.FamilyName, Face = "Italic" });
-
- var obliqueDescriptor
- = UIFontDescriptor.FromAttributes(
- new UIFontAttributes { Family = font.FamilyName, Face = "Oblique" });
-
- BoldCodeFont = UIFont.FromDescriptor(boldDescriptor, font.PointSize);
- ItalicCodeFont = UIFont.FromDescriptor(italicDescriptor, font.PointSize);
-
- if (ItalicCodeFont == null || ItalicCodeFont.FamilyName != font.FamilyName)
- {
- ItalicCodeFont = UIFont.FromDescriptor(obliqueDescriptor, font.PointSize);
- }
-
- if (ItalicCodeFont == null)
- {
- ItalicCodeFont = font;
- }
-
- if (BoldCodeFont == null)
- {
- BoldCodeFont = font;
- }
-
- _themeDict = StrippedThemeToTheme(_strippedTheme);
- }
-
- private static string StrippedThemeToString(Dictionary<string, Dictionary<string, string?>> theme)
- {
- var resultString = new StringBuilder();
-
- foreach ((string? key, Dictionary<string, string?>? props) in theme)
- {
- resultString.Append(key).Append('{');
-
- foreach ((string cssProp, string? val) in props)
- {
- if (!string.Equals(key, ".hljs", StringComparison.OrdinalIgnoreCase)
- || (!string.Equals(cssProp, "background-color", StringComparison.OrdinalIgnoreCase)
- && !string.Equals(cssProp, "background", StringComparison.OrdinalIgnoreCase)))
- {
- resultString
- .Append(cssProp)
- .Append(':')
- .Append(val);
- }
- }
-
- resultString.Append('{');
- }
-
- return resultString.ToString();
- }
-
- private Dictionary<string, UIStringAttributes> StrippedThemeToTheme(Dictionary<string, Dictionary<string, string?>> theme)
- {
- var returnTheme = new Dictionary<string, UIStringAttributes>();
- foreach ((string? className, Dictionary<string, string?>? props) in theme)
- {
- var keyProps = new UIStringAttributes();
- foreach ((string key, string? prop) in props)
- {
- switch (key)
- {
- case "color":
- keyProps.Dictionary[AttributeForCssKey(key)] = ColorWithHexString(prop);
- break;
- case "font-style":
- keyProps.Dictionary[AttributeForCssKey(key)] = FontForCssStyle(prop);
- break;
- case "font-weight":
- keyProps.Dictionary[AttributeForCssKey(key)] = FontForCssStyle(prop);
- break;
- case "background-color":
- keyProps.Dictionary[AttributeForCssKey(key)] = ColorWithHexString(prop);
- break;
- }
-
- if (keyProps.Dictionary.Count > 0)
- {
- returnTheme[className.Replace(".", string.Empty)] = keyProps;
- }
- }
- }
-
- return returnTheme;
- }
-
- private static NSString AttributeForCssKey(string key)
- {
- return key switch
- {
- "color" => UIStringAttributeKey.ForegroundColor,
- "font-weight" => UIStringAttributeKey.Font,
- "font-style" => UIStringAttributeKey.Font,
- "background-color" => UIStringAttributeKey.BackgroundColor,
- _ => UIStringAttributeKey.Font
- };
- }
-
- private static UIColor ColorWithHexString(string? hex)
- {
- string? cString = hex?.Trim(' ', '\t', '\n', '\r');
-
- if (!string.IsNullOrEmpty(cString) && cString.StartsWith("#"))
- {
- cString = cString.Substring(1);
- }
- else
- {
- return cString switch
- {
- "white" => new UIColor(white: 1, alpha: 1),
- "black" => new UIColor(white: 0, alpha: 1),
- "red" => new UIColor(red: 1, green: 0, blue: 0, alpha: 1),
- "green" => new UIColor(red: 0, green: 1, blue: 0, alpha: 1),
- "blue" => new UIColor(red: 0, green: 0, blue: 1, alpha: 1),
- _ => UIColor.Gray
- };
- }
-
- if (cString.Length != 6 && cString.Length != 3)
- {
- return UIColor.Gray;
- }
-
- long r;
- long g;
- long b;
- double divisor;
-
- if (cString.Length == 6)
- {
- string rString = cString.Substring(0, 2);
- string gString = cString.Substring(2, 2);
- string bString = cString.Substring(4, 2);
- r = Convert.ToInt64(rString, 16);
- g = Convert.ToInt64(gString, 16);
- b = Convert.ToInt64(bString, 16);
- divisor = 255.0;
- }
- else
- {
- string rString = cString.Substring(0, 1);
- string gString = cString.Substring(1, 1);
- string bString = cString.Substring(2, 1);
- r = Convert.ToInt64(rString, 16);
- g = Convert.ToInt64(gString, 16);
- b = Convert.ToInt64(bString, 16);
- divisor = 15.0;
- }
-
- return new UIColor(red: (nfloat)(r / divisor), green: (nfloat)(g / divisor), blue: (nfloat)(b / divisor), alpha: 1);
- }
-
- private UIFont FontForCssStyle(string? fontStyle)
- {
- switch (fontStyle)
- {
- case "bold":
- case "bolder":
- case "600":
- case "700":
- case "800":
- case "900":
- return BoldCodeFont;
- case "italic":
- case "oblique":
- return ItalicCodeFont;
- default:
- return CodeFont;
- }
- }
-}
-
-#endif
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/highlight.min.js b/src/app/dev/DevToys.MonacoEditor/highlightjs/highlight.min.js
deleted file mode 100644
index d19af77d3..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/highlight.min.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*! highlight.js v9.13.1 | BSD3 License | git.io/hljslicense */
-!function(e){var t="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):t&&(t.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return t.hljs}))}(function(e){function t(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function r(e){return e.nodeName.toLowerCase()}function a(e,t){var r=e&&e.exec(t);return r&&0===r.index}function i(e){return h.test(e)}function o(e){var t,r,a,o,n=e.className+" ";if(n+=e.parentNode?e.parentNode.className:"",r=v.exec(n))return f(r[1])?r[1]:"no-highlight";for(n=n.split(/\s+/),t=0,a=n.length;a>t;t++)if(o=n[t],i(o)||f(o))return o}function n(e){var t,r={},a=Array.prototype.slice.call(arguments,1);for(t in e)r[t]=e[t];return a.forEach(function(e){for(t in e)r[t]=e[t]}),r}function s(e){var t=[];return function a(e,i){for(var o=e.firstChild;o;o=o.nextSibling)3===o.nodeType?i+=o.nodeValue.length:1===o.nodeType&&(t.push({event:"start",offset:i,node:o}),i=a(o,i),r(o).match(/br|hr|img|input/)||t.push({event:"stop",offset:i,node:o}));return i}(e,0),t}function l(e,a,i){function o(){return e.length&&a.length?e[0].offset!==a[0].offset?e[0].offset<a[0].offset?e:a:"start"===a[0].event?e:a:e.length?e:a}function n(e){function a(e){return" "+e.nodeName+'="'+t(e.value).replace('"',"&quot;")+'"'}c+="<"+r(e)+N.map.call(e.attributes,a).join("")+">"}function s(e){c+="</"+r(e)+">"}function l(e){("start"===e.event?n:s)(e.node)}for(var _=0,c="",d=[];e.length||a.length;){var p=o();if(c+=t(i.substring(_,p[0].offset)),_=p[0].offset,p===e){d.reverse().forEach(s);do l(p.splice(0,1)[0]),p=o();while(p===e&&p.length&&p[0].offset===_);d.reverse().forEach(n)}else"start"===p[0].event?d.push(p[0].node):d.pop(),l(p.splice(0,1)[0])}return c+t(i.substr(_))}function _(e){return e.v&&!e.cached_variants&&(e.cached_variants=e.v.map(function(t){return n(e,{v:null},t)})),e.cached_variants||e.eW&&[n(e)]||[e]}function c(e){function t(e){return e&&e.source||e}function r(r,a){return new RegExp(t(r),"m"+(e.cI?"i":"")+(a?"g":""))}function a(i,o){if(!i.compiled){if(i.compiled=!0,i.k=i.k||i.bK,i.k){var n={},s=function(t,r){e.cI&&(r=r.toLowerCase()),r.split(" ").forEach(function(e){var r=e.split("|");n[r[0]]=[t,r[1]?Number(r[1]):1]})};"string"==typeof i.k?s("keyword",i.k):I(i.k).forEach(function(e){s(e,i.k[e])}),i.k=n}i.lR=r(i.l||/\w+/,!0),o&&(i.bK&&(i.b="\\b("+i.bK.split(" ").join("|")+")\\b"),i.b||(i.b=/\B|\b/),i.bR=r(i.b),i.endSameAsBegin&&(i.e=i.b),i.e||i.eW||(i.e=/\B|\b/),i.e&&(i.eR=r(i.e)),i.tE=t(i.e)||"",i.eW&&o.tE&&(i.tE+=(i.e?"|":"")+o.tE)),i.i&&(i.iR=r(i.i)),null==i.r&&(i.r=1),i.c||(i.c=[]),i.c=Array.prototype.concat.apply([],i.c.map(function(e){return _("self"===e?i:e)})),i.c.forEach(function(e){a(e,i)}),i.starts&&a(i.starts,o);var l=i.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([i.tE,i.i]).map(t).filter(Boolean);i.t=l.length?r(l.join("|"),!0):{exec:function(){return null}}}}a(e)}function d(e,r,i,o){function n(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function s(e,t){var r,i;for(r=0,i=t.c.length;i>r;r++)if(a(t.c[r].bR,e))return t.c[r].endSameAsBegin&&(t.c[r].eR=n(t.c[r].bR.exec(e)[0])),t.c[r]}function l(e,t){if(a(e.eR,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?l(e.parent,t):void 0}function _(e,t){return!i&&a(t.iR,e)}function u(e,t){var r=C.cI?t[0].toLowerCase():t[0];return e.k.hasOwnProperty(r)&&e.k[r]}function m(e,t,r,a){var i=a?"":L.classPrefix,o='<span class="'+i,n=r?"":D;return o+=e+'">',o+t+n}function S(){var e,r,a,i;if(!N.k)return t(h);for(i="",r=0,N.lR.lastIndex=0,a=N.lR.exec(h);a;)i+=t(h.substring(r,a.index)),e=u(N,a),e?(v+=e[1],i+=m(e[0],t(a[0]))):i+=t(a[0]),r=N.lR.lastIndex,a=N.lR.exec(h);return i+t(h.substr(r))}function E(){var e="string"==typeof N.sL;if(e&&!O[N.sL])return t(h);var r=e?d(N.sL,h,!0,I[N.sL]):p(h,N.sL.length?N.sL:void 0);return N.r>0&&(v+=r.r),e&&(I[N.sL]=r.top),m(r.language,r.value,!1,!0)}function g(){A+=null!=N.sL?E():S(),h=""}function b(e){A+=e.cN?m(e.cN,"",!0):"",N=Object.create(e,{parent:{value:N}})}function T(e,t){if(h+=e,null==t)return g(),0;var r=s(t,N);if(r)return r.skip?h+=t:(r.eB&&(h+=t),g(),r.rB||r.eB||(h=t)),b(r,t),r.rB?0:t.length;var a=l(N,t);if(a){var i=N;i.skip?h+=t:(i.rE||i.eE||(h+=t),g(),i.eE&&(h=t));do N.cN&&(A+=D),N.skip||N.sL||(v+=N.r),N=N.parent;while(N!==a.parent);return a.starts&&(a.endSameAsBegin&&(a.starts.eR=a.eR),b(a.starts,"")),i.rE?0:t.length}if(_(t,N))throw new Error('Illegal lexeme "'+t+'" for mode "'+(N.cN||"<unnamed>")+'"');return h+=t,t.length||1}var C=f(e);if(!C)throw new Error('Unknown language: "'+e+'"');c(C);var R,N=o||C,I={},A="";for(R=N;R!==C;R=R.parent)R.cN&&(A=m(R.cN,"",!0)+A);var h="",v=0;try{for(var y,x,M=0;;){if(N.t.lastIndex=M,y=N.t.exec(r),!y)break;x=T(r.substring(M,y.index),y[0]),M=y.index+x}for(T(r.substr(M)),R=N;R.parent;R=R.parent)R.cN&&(A+=D);return{r:v,value:A,language:e,top:N}}catch(w){if(w.message&&-1!==w.message.indexOf("Illegal"))return{r:0,value:t(r)};throw w}}function p(e,r){r=r||L.languages||I(O);var a={r:0,value:t(e)},i=a;return r.filter(f).filter(R).forEach(function(t){var r=d(t,e,!1);r.language=t,r.r>i.r&&(i=r),r.r>a.r&&(i=a,a=r)}),i.language&&(a.second_best=i),a}function u(e){return L.tabReplace||L.useBR?e.replace(y,function(e,t){return L.useBR&&"\n"===e?"<br>":L.tabReplace?t.replace(/\t/g,L.tabReplace):""}):e}function m(e,t,r){var a=t?A[t]:r,i=[e.trim()];return e.match(/\bhljs\b/)||i.push("hljs"),-1===e.indexOf(a)&&i.push(a),i.join(" ").trim()}function S(e){var t,r,a,n,_,c=o(e);i(c)||(L.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,_=t.textContent,a=c?d(c,_,!0):p(_),r=s(t),r.length&&(n=document.createElementNS("http://www.w3.org/1999/xhtml","div"),n.innerHTML=a.value,a.value=l(r,s(n),_)),a.value=u(a.value),e.innerHTML=a.value,e.className=m(e.className,c,a.language),e.result={language:a.language,re:a.r},a.second_best&&(e.second_best={language:a.second_best.language,re:a.second_best.r}))}function E(e){L=n(L,e)}function g(){if(!g.called){g.called=!0;var e=document.querySelectorAll("pre code");N.forEach.call(e,S)}}function b(){addEventListener("DOMContentLoaded",g,!1),addEventListener("load",g,!1)}function T(t,r){var a=O[t]=r(e);a.aliases&&a.aliases.forEach(function(e){A[e]=t})}function C(){return I(O)}function f(e){return e=(e||"").toLowerCase(),O[e]||O[A[e]]}function R(e){var t=f(e);return t&&!t.disableAutodetect}var N=[],I=Object.keys,O={},A={},h=/^(no-?highlight|plain|text)$/i,v=/\blang(?:uage)?-([\w-]+)\b/i,y=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,D="</span>",L={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=d,e.highlightAuto=p,e.fixMarkup=u,e.highlightBlock=S,e.configure=E,e.initHighlighting=g,e.initHighlightingOnLoad=b,e.registerLanguage=T,e.listLanguages=C,e.getLanguage=f,e.autoDetection=R,e.inherit=n,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.C=function(t,r,a){var i=e.inherit({cN:"comment",b:t,e:r,c:[]},a||{});return i.c.push(e.PWM),i.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),i},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e.METHOD_GUARD={b:"\\.\\s*"+e.UIR,r:0},e.registerLanguage("1c",function(e){var t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",r="далее ",a="возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",i=r+a,o="загрузитьизфайла ",n="вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",s=o+n,l="разделительстраниц разделительстрок символтабуляции ",_="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",c="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",d="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",p=l+_+c+d,u="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",m="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",S="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",E="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",g="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",b="отображениевремениэлементовпланировщика ",T="типфайлаформатированногодокумента ",C="обходрезультатазапроса типзаписизапроса ",f="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",R="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",N="типизмеренияпостроителязапроса ",I="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",O="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",A="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",h="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",v="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",y="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",D="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",L="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",x="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",M="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",w="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",P=u+m+S+E+g+b+T+C+f+R+N+I+O+A+h+v+y+D+L+x+M+w,k="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ",U="comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",F=k+U,B="null истина ложь неопределено",G=e.inherit(e.NM),Y={
-cN:"string",b:'"|\\|',e:'"|$',c:[{b:'""'}]},V={b:"'",e:"'",eB:!0,eE:!0,c:[{cN:"number",b:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},q=e.inherit(e.CLCM),H={cN:"meta",l:t,b:"#|&",e:"$",k:{"meta-keyword":i+s},c:[q]},z={cN:"symbol",b:"~",e:";|:",eE:!0},W={cN:"function",l:t,v:[{b:"процедура|функция",e:"\\)",k:"процедура функция"},{b:"конецпроцедуры|конецфункции",k:"конецпроцедуры конецфункции"}],c:[{b:"\\(",e:"\\)",endsParent:!0,c:[{cN:"params",l:t,b:t,e:",",eE:!0,eW:!0,k:{keyword:"знач",literal:B},c:[G,Y,V]},q]},e.inherit(e.TM,{b:t})]};return{cI:!0,l:t,k:{keyword:i,built_in:p,"class":P,type:F,literal:B},c:[H,W,q,z,G,Y,V]}}),e.registerLanguage("abnf",function(e){var t={ruleDeclaration:"^[a-zA-Z][a-zA-Z0-9-]*",unexpectedChars:"[!@#$^&',?+~`|:]"},r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],a=e.C(";","$"),i={cN:"symbol",b:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},o={cN:"symbol",b:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},n={cN:"symbol",b:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},s={cN:"symbol",b:/%[si]/},l={b:t.ruleDeclaration+"\\s*=",rB:!0,e:/=/,r:0,c:[{cN:"attribute",b:t.ruleDeclaration}]};return{i:t.unexpectedChars,k:r.join(" "),c:[l,a,i,o,n,s,e.QSM,e.NM]}}),e.registerLanguage("accesslog",function(e){return{c:[{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+\\b",r:0},{cN:"string",b:'"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)',e:'"',k:"GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE",i:"\\n",r:10},{cN:"string",b:/\[/,e:/\]/,i:"\\n"},{cN:"string",b:'"',e:'"',i:"\\n"}]}}),e.registerLanguage("actionscript",function(e){var t="[a-zA-Z_$][a-zA-Z0-9_$]*",r="([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)",a={cN:"rest_arg",b:"[.]{3}",e:t,r:10};return{aliases:["as"],k:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},c:[e.ASM,e.QSM,e.CLCM,e.CBCM,e.CNM,{cN:"class",bK:"package",e:"{",c:[e.TM]},{cN:"class",bK:"class interface",e:"{",eE:!0,c:[{bK:"extends implements"},e.TM]},{cN:"meta",bK:"import include",e:";",k:{"meta-keyword":"import include"}},{cN:"function",bK:"function",e:"[{;]",eE:!0,i:"\\S",c:[e.TM,{cN:"params",b:"\\(",e:"\\)",c:[e.ASM,e.QSM,e.CLCM,e.CBCM,a]},{b:":\\s*"+r}]},e.METHOD_GUARD],i:/#/}}),e.registerLanguage("ada",function(e){var t="\\d(_|\\d)*",r="[eE][-+]?"+t,a=t+"(\\."+t+")?("+r+")?",i="\\w+",o=t+"#"+i+"(\\."+i+")?#("+r+")?",n="\\b("+o+"|"+a+")",s="[A-Za-z](_?[A-Za-z0-9.])*",l="[]{}%#'\"",_=e.C("--","$"),c={b:"\\s+:\\s+",e:"\\s*(:=|;|\\)|=>|$)",i:l,c:[{bK:"loop for declare others",endsParent:!0},{cN:"keyword",bK:"not null constant access function procedure in out aliased exception"},{cN:"type",b:s,endsParent:!0,r:0}]};return{cI:!0,k:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},c:[_,{cN:"string",b:/"/,e:/"/,c:[{b:/""/,r:0}]},{cN:"string",b:/'.'/},{cN:"number",b:n,r:0},{cN:"symbol",b:"'"+s},{cN:"title",b:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",e:"(is|$)",k:"package body",eB:!0,eE:!0,i:l},{b:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",e:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",k:"overriding function procedure with is renames return",rB:!0,c:[_,{cN:"title",b:"(\\bwith\\s+)?\\b(function|procedure)\\s+",e:"(\\(|\\s+|$)",eB:!0,eE:!0,i:l},c,{cN:"type",b:"\\breturn\\s+",e:"(\\s+|;|$)",k:"return",eB:!0,eE:!0,endsParent:!0,i:l}]},{cN:"type",b:"\\b(sub)?type\\s+",e:"\\s+",k:"type",eB:!0,i:l},c]}}),e.registerLanguage("angelscript",function(e){var t={cN:"built_in",b:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},r={cN:"symbol",b:"[a-zA-Z0-9_]+@"},a={cN:"keyword",b:"<",e:">",c:[t,r]};return t.c=[a],r.c=[a],{aliases:["asc"],k:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit",i:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunctions*[^\\(])",c:[{cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE],r:0},{cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE],r:0},{cN:"string",b:'"""',e:'"""'},e.CLCM,e.CBCM,{bK:"interface namespace",e:"{",i:"[;.\\-]",c:[{cN:"symbol",b:"[a-zA-Z0-9_]+"}]},{bK:"class",e:"{",i:"[;.\\-]",c:[{cN:"symbol",b:"[a-zA-Z0-9_]+",c:[{b:"[:,]\\s*",c:[{cN:"symbol",b:"[a-zA-Z0-9_]+"}]}]}]},t,r,{cN:"literal",b:"\\b(null|true|false)"},{cN:"number",b:"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}),e.registerLanguage("apache",function(e){var t={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:"</?",e:">"},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",t]},t,e.QSM]}}],i:/\S/}}),e.registerLanguage("applescript",function(e){var t=e.inherit(e.QSM,{i:""}),r={cN:"params",b:"\\(",e:"\\)",c:["self",e.CNM,t]},a=e.C("--","$"),i=e.C("\\(\\*","\\*\\)",{c:["self",a]}),o=[a,i,e.HCM];return{aliases:["osascript"],k:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},c:[t,e.CNM,{cN:"built_in",b:"\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b"},{cN:"literal",b:"\\b(text item delimiters|current application|missing value)\\b"},{cN:"keyword",b:"\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference)|POSIX file|POSIX path|(date|time) string|quoted form)\\b"},{bK:"on",i:"[${=;\\n]",c:[e.UTM,r]}].concat(o),i:"//|->|=>|\\[\\["}}),e.registerLanguage("arcade",function(e){var t="[A-Za-z_][0-9A-Za-z_]*",r={keyword:"if for while var new function do return void else break",literal:"true false null undefined NaN Infinity PI BackSlash DoubleQuote ForwardSlash NewLine SingleQuote Tab",built_in:"Abs Acos Area AreaGeodetic Asin Atan Atan2 Average Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetById FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Pow Random Relate Reverse Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TypeOf Union Variance Weekday When Within Year "},a={cN:"symbol",b:"\\$[feature|layer|map|value|view]+"},i={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},o={cN:"subst",b:"\\$\\{",e:"\\}",k:r,c:[]},n={cN:"string",b:"`",e:"`",c:[e.BE,o]};o.c=[e.ASM,e.QSM,n,i,e.RM];var s=o.c.concat([e.CBCM,e.CLCM]);return{aliases:["arcade"],k:r,c:[e.ASM,e.QSM,n,e.CLCM,e.CBCM,a,i,{b:/[{,]\s*/,r:0,c:[{b:t+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:t,r:0}]}]},{b:"("+e.RSR+"|\\b(return)\\b)\\s*",k:"return",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+t+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:t},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:s}]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:t}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:s}],i:/\[|%/},{b:/\$[(.]/}],i:/#(?!!)/}}),e.registerLanguage("cpp",function(e){var t={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U|L)?"',e:'"',i:"\\n",c:[e.BE]},{b:'(u8?|U|L)?R"\\(',e:'\\)"'},{b:"'\\\\?.",e:"'",i:"."}]},a={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},i={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},e.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},e.CLCM,e.CBCM]},o=e.IR+"\\s*\\(",n={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},s=[t,e.CLCM,e.CBCM,a,r];return{aliases:["c","cc","h","c++","h++","hpp"],k:n,i:"</",c:s.concat([i,{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:n,c:["self",t]},{b:e.IR+"::",k:n},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:n,c:s.concat([{b:/\(/,e:/\)/,k:n,c:s.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+e.IR+"[\\*&\\s]+)+"+o,rB:!0,e:/[{;=]/,eE:!0,k:n,i:/[^\w\s\*&]/,c:[{b:o,rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:n,r:0,c:[e.CLCM,e.CBCM,r,a,t,{b:/\(/,e:/\)/,k:n,r:0,c:["self",e.CLCM,e.CBCM,r,a,t]}]},e.CLCM,e.CBCM,i]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b:/</,e:/>/,c:["self"]},e.TM]}]),exports:{preprocessor:i,strings:r,k:n}}}),e.registerLanguage("arduino",function(e){var t=e.getLanguage("cpp").exports;return{k:{keyword:"boolean byte word string String array "+t.k.keyword,built_in:"setup loop while catch for if do goto try switch case else default break continue return KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},c:[t.preprocessor,e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM]}}),e.registerLanguage("armasm",function(e){return{cI:!0,aliases:["arm"],l:"\\.?"+e.IR,k:{meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},c:[{cN:"keyword",b:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?",e:"\\s"},e.C("[;@]","$",{r:0}),e.CBCM,e.QSM,{cN:"string",b:"'",e:"[^\\\\]'",r:0},{cN:"title",b:"\\|",e:"\\|",i:"\\n",r:0},{cN:"number",v:[{b:"[#$=]?0x[0-9a-f]+"},{b:"[#$=]?0b[01]+"},{b:"[#$=]\\d+"},{b:"\\b\\d+"}],r:0},{cN:"symbol",v:[{b:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{b:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{b:"[=#]\\w+"}],r:0}]}}),e.registerLanguage("xml",function(e){var t="[A-Za-z0-9\\._:-]+",r={eW:!0,i:/</,r:0,c:[{cN:"attr",b:t,r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"meta",b:/<\?xml/,e:/\?>/,r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0},{b:'b"',e:'"',skip:!0},{b:"b'",e:"'",skip:!0},e.inherit(e.ASM,{i:null,cN:null,c:null,skip:!0}),e.inherit(e.QSM,{i:null,cN:null,c:null,skip:!0})]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[r],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[r],starts:{e:"</script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},r]}]}}),e.registerLanguage("asciidoc",function(e){return{aliases:["adoc"],c:[e.C("^/{4,}\\n","\\n/{4,}$",{r:10}),e.C("^//","$",{r:0}),{cN:"title",b:"^\\.\\w.*$"},{b:"^[=\\*]{4,}\\n",e:"\\n^[=\\*]{4,}$",r:10},{cN:"section",r:10,v:[{b:"^(={1,5}) .+?( \\1)?$"},{b:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{cN:"meta",b:"^:.+?:",e:"\\s",eE:!0,r:10},{cN:"meta",b:"^\\[.+?\\]$",r:0},{cN:"quote",b:"^_{4,}\\n",e:"\\n_{4,}$",r:10},{cN:"code",b:"^[\\-\\.]{4,}\\n",e:"\\n[\\-\\.]{4,}$",r:10},{b:"^\\+{4,}\\n",e:"\\n\\+{4,}$",c:[{b:"<",e:">",sL:"xml",r:0}],r:10},{cN:"bullet",b:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{cN:"symbol",b:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",r:10},{cN:"strong",b:"\\B\\*(?![\\*\\s])",e:"(\\n{2}|\\*)",c:[{b:"\\\\*\\w",r:0}]},{cN:"emphasis",b:"\\B'(?!['\\s])",e:"(\\n{2}|')",c:[{b:"\\\\'\\w",r:0}],r:0},{cN:"emphasis",b:"_(?![_\\s])",e:"(\\n{2}|_)",r:0},{cN:"string",v:[{b:"``.+?''"},{b:"`.+?'"}]},{cN:"code",b:"(`.+?`|\\+.+?\\+)",r:0},{cN:"code",b:"^[ \\t]",e:"$",r:0},{b:"^'{3,}[ \\t]*$",r:10},{b:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",rB:!0,c:[{b:"(link|image:?):",r:0},{cN:"link",b:"\\w",e:"[^\\[]+",r:0},{cN:"string",b:"\\[",e:"\\]",eB:!0,eE:!0,r:0}],r:10}]}}),e.registerLanguage("aspectj",function(e){var t="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",r="get set args call";return{k:t,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"aspect",e:/[{;=]/,eE:!0,i:/[:;"\[\]]/,c:[{bK:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UTM,{b:/\([^\)]*/,e:/[)]+/,k:t+" "+r,eE:!1}]},{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,r:0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"pointcut after before around throwing returning",e:/[)]/,eE:!1,i:/["\[\]]/,c:[{b:e.UIR+"\\s*\\(",rB:!0,c:[e.UTM]}]},{b:/[:]/,rB:!0,e:/[{;]/,r:0,eE:!1,k:t,i:/["\[\]]/,c:[{b:e.UIR+"\\s*\\(",k:t+" "+r,r:0},e.QSM]},{bK:"new throw",r:0},{cN:"function",b:/\w+ +\w+(\.)?\w+\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,rB:!0,e:/[{;=]/,k:t,eE:!0,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,r:0,k:t,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},e.CNM,{cN:"meta",b:"@[A-Za-z]+"}]}}),e.registerLanguage("autohotkey",function(e){var t={b:"`[\\s\\S]"};return{cI:!0,aliases:["ahk"],k:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"A|0 true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},c:[{cN:"built_in",b:"A_[a-zA-Z0-9]+"},t,e.inherit(e.QSM,{c:[t]}),e.C(";","$",{r:0}),e.CBCM,{cN:"number",b:e.NR,r:0},{cN:"subst",b:"%(?=[a-zA-Z0-9#_$@])",e:"%",i:"[^a-zA-Z0-9#_$@]"},{cN:"built_in",b:"^\\s*\\w+\\s*,"},{cN:"meta",b:"^\\s*#w+",e:"$",r:0},{cN:"symbol",c:[t],v:[{b:'^[^\\n";]+::(?!=)'},{b:'^[^\\n";]+:(?!=)',r:0}]},{b:",\\s*,"}]}}),e.registerLanguage("autoit",function(e){var t="ByRef Case Const ContinueCase ContinueLoop Default Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",r="True False And Null Not Or",a="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait",i={v:[e.C(";","$",{r:0}),e.C("#cs","#ce"),e.C("#comments-start","#comments-end")]},o={b:"\\$[A-z0-9_]+"},n={cN:"string",v:[{b:/"/,e:/"/,c:[{b:/""/,r:0}]},{b:/'/,e:/'/,c:[{b:/''/,r:0}]}]},s={v:[e.BNM,e.CNM]},l={cN:"meta",b:"#",e:"$",k:{"meta-keyword":"comments include include-once NoTrayIcon OnAutoItStartRegister pragma compile RequireAdmin"},c:[{b:/\\\n/,r:0},{bK:"include",k:{"meta-keyword":"include"},e:"$",c:[n,{cN:"meta-string",v:[{b:"<",e:">"},{b:/"/,e:/"/,c:[{b:/""/,r:0}]},{b:/'/,e:/'/,c:[{b:/''/,r:0}]}]}]},n,i]},_={cN:"symbol",b:"@[A-z0-9_]+"},c={cN:"function",bK:"Func",e:"$",i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:[o,n,s]}]};return{cI:!0,i:/\/\*/,k:{keyword:t,built_in:a,literal:r},c:[i,o,n,s,l,_,c]}}),e.registerLanguage("avrasm",function(e){return{cI:!0,l:"\\.?"+e.IR,k:{keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},c:[e.CBCM,e.C(";","$",{r:0}),e.CNM,e.BNM,{cN:"number",b:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QSM,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},{cN:"symbol",b:"^[A-Za-z0-9_.$]+:"},{cN:"meta",b:"#",e:"$"},{cN:"subst",b:"@[0-9]+"}]}}),e.registerLanguage("awk",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},r="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,r:10},{b:/(u|b)?r?"""/,e:/"""/,
-r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},e.ASM,e.QSM]};return{k:{keyword:r},c:[t,a,e.RM,e.HCM,e.NM]}}),e.registerLanguage("axapta",function(e){return{k:"false int abstract private char boolean static null if for true while long throw finally protected final return void enum else break new catch byte super case short default double public try this switch continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count order group by asc desc index hint like dispaly edit client server ttsbegin ttscommit str real date container anytype common div mod",c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM,{cN:"meta",b:"#",e:"$"},{cN:"class",bK:"class interface",e:"{",eE:!0,i:":",c:[{bK:"extends implements"},e.UTM]}]}}),e.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},a={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,r,a,t]}}),e.registerLanguage("basic",function(e){return{cI:!0,i:"^.",l:"[a-zA-Z][a-zA-Z0-9_$%!#]*",k:{keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF|0 THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},c:[e.QSM,e.C("REM","$",{r:10}),e.C("'","$",{r:0}),{cN:"symbol",b:"^[0-9]+ ",r:10},{cN:"number",b:"\\b([0-9]+[0-9edED.]*[#!]?)",r:0},{cN:"number",b:"(&[hH][0-9a-fA-F]{1,4})"},{cN:"number",b:"(&[oO][0-7]{1,6})"}]}}),e.registerLanguage("bnf",function(e){return{c:[{cN:"attribute",b:/</,e:/>/},{b:/::=/,starts:{e:/$/,c:[{b:/</,e:/>/},e.CLCM,e.CBCM,e.ASM,e.QSM]}}]}}),e.registerLanguage("brainfuck",function(e){var t={cN:"literal",b:"[\\+\\-]",r:0};return{aliases:["bf"],c:[e.C("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{rE:!0,r:0}),{cN:"title",b:"[\\[\\]]",r:0},{cN:"string",b:"[\\.,]",r:0},{b:/\+\+|\-\-/,rB:!0,c:[t]},t]}}),e.registerLanguage("cal",function(e){var t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",r="false true",a=[e.CLCM,e.C(/\{/,/\}/,{r:0}),e.C(/\(\*/,/\*\)/,{r:10})],i={cN:"string",b:/'/,e:/'/,c:[{b:/''/}]},o={cN:"string",b:/(#\d+)+/},n={cN:"number",b:"\\b\\d+(\\.\\d+)?(DT|D|T)",r:0},s={cN:"string",b:'"',e:'"'},l={cN:"function",bK:"procedure",e:/[:;]/,k:"procedure|10",c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,c:[i,o]}].concat(a)},_={cN:"class",b:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",rB:!0,c:[e.TM,l]};return{cI:!0,k:{keyword:t,literal:r},i:/\/\*/,c:[i,o,n,s,e.NM,_,l]}}),e.registerLanguage("capnproto",function(e){return{aliases:["capnp"],k:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},c:[e.QSM,e.NM,e.HCM,{cN:"meta",b:/@0x[\w\d]{16};/,i:/\n/},{cN:"symbol",b:/@\d+\b/},{cN:"class",bK:"struct enum",e:/\{/,i:/\n/,c:[e.inherit(e.TM,{starts:{eW:!0,eE:!0}})]},{cN:"class",bK:"interface",e:/\{/,i:/\n/,c:[e.inherit(e.TM,{starts:{eW:!0,eE:!0}})]}]}}),e.registerLanguage("ceylon",function(e){var t="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",r="shared abstract formal default actual variable late native deprecatedfinal sealed annotation suppressWarnings small",a="doc by license see throws tagged",i={cN:"subst",eB:!0,eE:!0,b:/``/,e:/``/,k:t,r:10},o=[{cN:"string",b:'"""',e:'"""',r:10},{cN:"string",b:'"',e:'"',c:[i]},{cN:"string",b:"'",e:"'"},{cN:"number",b:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",r:0}];return i.c=o,{k:{keyword:t+" "+r,meta:a},i:"\\$[^01]|#[^0-9a-fA-F]",c:[e.CLCM,e.C("/\\*","\\*/",{c:["self"]}),{cN:"meta",b:'@[a-z]\\w*(?:\\:"[^"]*")?'}].concat(o)}}),e.registerLanguage("clean",function(e){return{aliases:["clean","icl","dcl"],k:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",literal:"True False"},c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM,{b:"->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`"}]}}),e.registerLanguage("clojure",function(e){var t={"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},r="a-zA-Z_\\-!.?+*=<>&#'",a="["+r+"]["+r+"0-9/;:]*",i="[-+]?\\d+(\\.\\d+)?",o={b:a,r:0},n={cN:"number",b:i,r:0},s=e.inherit(e.QSM,{i:null}),l=e.C(";","$",{r:0}),_={cN:"literal",b:/\b(true|false|nil)\b/},c={b:"[\\[\\{]",e:"[\\]\\}]"},d={cN:"comment",b:"\\^"+a},p=e.C("\\^\\{","\\}"),u={cN:"symbol",b:"[:]{1,2}"+a},m={b:"\\(",e:"\\)"},S={eW:!0,r:0},E={k:t,l:a,cN:"name",b:a,starts:S},g=[m,s,d,p,l,u,c,n,_,o];return m.c=[e.C("comment",""),E,S],S.c=g,c.c=g,p.c=[c],{aliases:["clj"],i:/\S/,c:[m,s,d,p,l,u,c,n,_]}}),e.registerLanguage("clojure-repl",function(e){return{c:[{cN:"meta",b:/^([\w.-]+|\s*#_)=>/,starts:{e:/$/,sL:"clojure"}}]}}),e.registerLanguage("cmake",function(e){return{aliases:["cmake.in"],cI:!0,k:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},c:[{cN:"variable",b:"\\${",e:"}"},e.HCM,e.QSM,e.NM]}}),e.registerLanguage("coffeescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},r="[A-Za-z$_][0-9A-Za-z$_]*",a={cN:"subst",b:/#\{/,e:/}/,k:t},i=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,a]},{b:/"/,e:/"/,c:[e.BE,a]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[a,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+r},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];a.c=i;var o=e.inherit(e.TM,{b:r}),n="(\\(.*\\))?\\s*\\B[-=]>",s={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],k:t,i:/\/\*/,c:i.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+r+"\\s*=\\s*"+n,e:"[-=]>",rB:!0,c:[o,s]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:n,e:"[-=]>",rB:!0,c:[s]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[o]},o]},{b:r+":",e:":",rB:!0,rE:!0,r:0}])}}),e.registerLanguage("coq",function(e){return{k:{keyword:"_ as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies DependentDerive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},c:[e.QSM,e.C("\\(\\*","\\*\\)"),e.CNM,{cN:"type",eB:!0,b:"\\|\\s*",e:"\\w+"},{b:/[-=]>/}]}}),e.registerLanguage("cos",function(e){var t={cN:"string",v:[{b:'"',e:'"',c:[{b:'""',r:0}]}]},r={cN:"number",b:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",r:0},a="property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii";return{cI:!0,aliases:["cos","cls"],k:a,c:[r,t,e.CLCM,e.CBCM,{cN:"comment",b:/;/,e:"$",r:0},{cN:"built_in",b:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{cN:"built_in",b:/\$\$\$[a-zA-Z]+/},{cN:"built_in",b:/%[a-z]+(?:\.[a-z]+)*/},{cN:"symbol",b:/\^%?[a-zA-Z][\w]*/},{cN:"keyword",b:/##class|##super|#define|#dim/},{b:/&sql\(/,e:/\)/,eB:!0,eE:!0,sL:"sql"},{b:/&(js|jscript|javascript)</,e:/>/,eB:!0,eE:!0,sL:"javascript"},{b:/&html<\s*</,e:/>\s*>/,sL:"xml"}]}}),e.registerLanguage("crmsh",function(e){var t="primitive rsc_template",r="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",a="property rsc_defaults op_defaults",i="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",n="number string",s="Master Started Slave Stopped start promote demote stop monitor true false";return{aliases:["crm","pcmk"],cI:!0,k:{keyword:i+" "+o+" "+n,literal:s},c:[e.HCM,{bK:"node",starts:{e:"\\s*([\\w_-]+:)?",starts:{cN:"title",e:"\\s*[\\$\\w_][\\w_-]*"}}},{bK:t,starts:{cN:"title",e:"\\s*[\\$\\w_][\\w_-]*",starts:{e:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{b:"\\b("+r.split(" ").join("|")+")\\s+",k:r,starts:{cN:"title",e:"[\\$\\w_][\\w_-]*"}},{bK:a,starts:{cN:"title",e:"\\s*([\\w_-]+:)?"}},e.QSM,{cN:"meta",b:"(ocf|systemd|service|lsb):[\\w_:-]+",r:0},{cN:"number",b:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",r:0},{cN:"literal",b:"[-]?(infinity|inf)",r:0},{cN:"attr",b:/([A-Za-z\$_\#][\w_-]+)=/,r:0},{cN:"tag",b:"</?",e:"/?>",r:0}]}}),e.registerLanguage("crystal",function(e){function t(e,t){var r=[{b:e,e:t}];return r[0].c=r,r}var r="(_[uif](8|16|32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",o="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?",n={keyword:"abstract alias as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},s={cN:"subst",b:"#{",e:"}",k:n},l={cN:"template-variable",v:[{b:"\\{\\{",e:"\\}\\}"},{b:"\\{%",e:"%\\}"}],k:n},_={cN:"string",c:[e.BE,s],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%w?\\(",e:"\\)",c:t("\\(","\\)")},{b:"%w?\\[",e:"\\]",c:t("\\[","\\]")},{b:"%w?{",e:"}",c:t("{","}")},{b:"%w?<",e:">",c:t("<",">")},{b:"%w?/",e:"/"},{b:"%w?%",e:"%"},{b:"%w?-",e:"-"},{b:"%w?\\|",e:"\\|"},{b:/<<-\w+$/,e:/^\s*\w+$/}],r:0},c={cN:"string",v:[{b:"%q\\(",e:"\\)",c:t("\\(","\\)")},{b:"%q\\[",e:"\\]",c:t("\\[","\\]")},{b:"%q{",e:"}",c:t("{","}")},{b:"%q<",e:">",c:t("<",">")},{b:"%q/",e:"/"},{b:"%q%",e:"%"},{b:"%q-",e:"-"},{b:"%q\\|",e:"\\|"},{b:/<<-'\w+'$/,e:/^\s*\w+$/}],r:0},d={b:"("+i+")\\s*",c:[{cN:"regexp",c:[e.BE,s],v:[{b:"//[a-z]*",r:0},{b:"/",e:"/[a-z]*"},{b:"%r\\(",e:"\\)",c:t("\\(","\\)")},{b:"%r\\[",e:"\\]",c:t("\\[","\\]")},{b:"%r{",e:"}",c:t("{","}")},{b:"%r<",e:">",c:t("<",">")},{b:"%r/",e:"/"},{b:"%r%",e:"%"},{b:"%r-",e:"-"},{b:"%r\\|",e:"\\|"}]}],r:0},p={cN:"regexp",c:[e.BE,s],v:[{b:"%r\\(",e:"\\)",c:t("\\(","\\)")},{b:"%r\\[",e:"\\]",c:t("\\[","\\]")},{b:"%r{",e:"}",c:t("{","}")},{b:"%r<",e:">",c:t("<",">")},{b:"%r/",e:"/"},{b:"%r%",e:"%"},{b:"%r-",e:"-"},{b:"%r\\|",e:"\\|"}],r:0},u={cN:"meta",b:"@\\[",e:"\\]",c:[e.inherit(e.QSM,{cN:"meta-string"})]},m=[l,_,c,d,p,u,e.HCM,{cN:"class",bK:"class module struct",e:"$|;",i:/=/,c:[e.HCM,e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<"}]},{cN:"class",bK:"lib enum union",e:"$|;",i:/=/,c:[e.HCM,e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"})],r:10},{cN:"function",bK:"def",e:/\B\b/,c:[e.inherit(e.TM,{b:o,endsParent:!0})]},{cN:"function",bK:"fun macro",e:/\B\b/,c:[e.inherit(e.TM,{b:o,endsParent:!0})],r:5},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":",c:[_,{b:o}],r:0},{cN:"number",v:[{b:"\\b0b([01_]*[01])"+r},{b:"\\b0o([0-7_]*[0-7])"+r},{b:"\\b0x([A-Fa-f0-9_]*[A-Fa-f0-9])"+r},{b:"\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)"+r}],r:0}];return s.c=m,l.c=m.slice(1),{aliases:["cr"],l:a,k:n,c:m}}),e.registerLanguage("cs",function(e){var t={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},r={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},a={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},i=e.inherit(a,{i:/\n/}),o={cN:"subst",b:"{",e:"}",k:t},n=e.inherit(o,{i:/\n/}),s={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,n]},l={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},o]},_=e.inherit(l,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},n]});o.c=[l,s,a,e.ASM,e.QSM,r,e.CBCM],n.c=[_,s,i,e.ASM,e.QSM,r,e.inherit(e.CBCM,{i:/\n/})];var c={v:[l,s,a,e.ASM,e.QSM]},d=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:t,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:"<!--|-->"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},c,r,{bK:"class interface",e:/[{;=]/,i:/[^\s:,]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",r:0},{cN:"function",b:"("+d+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/\s*[{;=]/,eE:!0,k:t,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,r:0,c:[c,r,e.CBCM]},e.CLCM,e.CBCM]}]}}),e.registerLanguage("csp",function(e){return{cI:!1,l:"[a-zA-Z][a-zA-Z0-9_-]*",k:{keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},c:[{cN:"string",b:"'",e:"'"},{cN:"attribute",b:"^Content",e:":",eE:!0}]}}),e.registerLanguage("css",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:t,r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,r]}]}}),e.registerLanguage("d",function(e){var t={keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},r="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",n="0[xX]"+o,s="([eE][+-]?"+a+")",l="("+a+"(\\.\\d*|"+s+")|\\d+\\."+a+a+"|\\."+r+s+"?)",_="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+a+")",c="("+r+"|"+i+"|"+n+")",d="("+_+"|"+l+")",p="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",u={cN:"number",b:"\\b"+c+"(L|u|U|Lu|LU|uL|UL)?",r:0},m={cN:"number",b:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+c+"(i|[fF]i|Li))",r:0},S={cN:"string",b:"'("+p+"|.)",e:"'",i:"."},E={b:p,r:0},g={cN:"string",b:'"',c:[E],e:'"[cwd]?'},b={cN:"string",b:'[rq]"',e:'"[cwd]?',r:5},T={cN:"string",b:"`",e:"`[cwd]?"},C={cN:"string",b:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',r:10},f={cN:"string",b:'q"\\{',e:'\\}"'},R={cN:"meta",b:"^#!",e:"$",r:5},N={cN:"meta",b:"#(line)",e:"$",r:5},I={cN:"keyword",b:"@[a-zA-Z_][a-zA-Z_\\d]*"},O=e.C("\\/\\+","\\+\\/",{c:["self"],r:10});return{l:e.UIR,k:t,c:[e.CLCM,e.CBCM,O,C,g,b,T,f,m,u,S,R,N,I]}}),e.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}| )",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}}),e.registerLanguage("dart",function(e){var t={cN:"subst",v:[{b:"\\${",e:"}"},{b:"\\$[A-Za-z0-9_]+"}],k:"true false null this is new super"},r={cN:"string",v:[{b:"r'''",e:"'''"},{b:'r"""',e:'"""'},{b:"r'",e:"'",i:"\\n"},{b:'r"',e:'"',i:"\\n"},{b:"'''",e:"'''",c:[e.BE,t]},{b:'"""',e:'"""',c:[e.BE,t]},{b:"'",e:"'",i:"\\n",c:[e.BE,t]},{b:'"',e:'"',i:"\\n",c:[e.BE,t]}]};t.c=[e.CNM,r];var a={keyword:"assert async await break case catch class const continue default do else enum extends false final finally for if in is new null rethrow return super switch sync this throw true try var void while with yield abstract as dynamic export external factory get implements import library operator part set static typedef",built_in:"print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num document window querySelector querySelectorAll Element ElementList"};return{k:a,c:[r,e.C("/\\*\\*","\\*/",{sL:"markdown"}),e.C("///","$",{sL:"markdown"}),e.CLCM,e.CBCM,{cN:"class",bK:"class interface",e:"{",eE:!0,c:[{bK:"extends implements"},e.UTM]},e.CNM,{cN:"meta",b:"@[A-Za-z]+"},{b:"=>"}]}}),e.registerLanguage("delphi",function(e){var t="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",r=[e.CLCM,e.C(/\{/,/\}/,{r:0}),e.C(/\(\*/,/\*\)/,{r:10})],a={cN:"meta",v:[{b:/\{\$/,e:/\}/},{b:/\(\*\$/,e:/\*\)/}]},i={cN:"string",b:/'/,e:/'/,c:[{b:/''/}]},o={cN:"string",b:/(#\d+)+/},n={b:e.IR+"\\s*=\\s*class\\s*\\(",rB:!0,c:[e.TM]},s={cN:"function",bK:"function constructor destructor procedure",e:/[:;]/,k:"function constructor|10 destructor|10 procedure|10",c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,c:[i,o,a].concat(r)},a].concat(r)};return{aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],cI:!0,k:t,i:/"|\$[G-Zg-z]|\/\*|<\/|\|/,c:[i,o,e.NM,n,s,a].concat(r)}}),e.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}}),e.registerLanguage("django",function(e){var t={b:/\|[A-Za-z]+:?/,k:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},c:[e.QSM,e.ASM]};return{aliases:["jinja"],cI:!0,sL:"xml",c:[e.C(/\{%\s*comment\s*%}/,/\{%\s*endcomment\s*%}/),e.C(/\{#/,/#}/),{cN:"template-tag",b:/\{%/,e:/%}/,c:[{cN:"name",b:/\w+/,k:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"
-},starts:{eW:!0,k:"in by as",c:[t],r:0}}]},{cN:"template-variable",b:/\{\{/,e:/}}/,c:[t]}]}}),e.registerLanguage("dns",function(e){return{aliases:["bind","zone"],k:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},c:[e.C(";","$",{r:0}),{cN:"meta",b:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{cN:"number",b:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{cN:"number",b:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NM,{b:/\b\d+[dhwm]?/})]}}),e.registerLanguage("dockerfile",function(e){return{aliases:["docker"],cI:!0,k:"from maintainer expose env arg user onbuild stopsignal",c:[e.HCM,e.ASM,e.QSM,e.NM,{bK:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{e:/[^\\]\n/,sL:"bash"}}],i:"</"}}),e.registerLanguage("dos",function(e){var t=e.C(/^\s*@?rem\b/,/$/,{r:10}),r={cN:"symbol",b:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",r:0};return{aliases:["bat","cmd"],cI:!0,i:/\/\*/,k:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},c:[{cN:"variable",b:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{cN:"function",b:r.b,e:"goto:eof",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{cN:"number",b:"\\b\\d+",r:0},t]}}),e.registerLanguage("dsconfig",function(e){var t={cN:"string",b:/"/,e:/"/},r={cN:"string",b:/'/,e:/'/},a={cN:"string",b:"[\\w-?]+:\\w+",e:"\\W",r:0},i={cN:"string",b:"\\w+-?\\w+",e:"\\W",r:0};return{k:"dsconfig",c:[{cN:"keyword",b:"^dsconfig",e:"\\s",eE:!0,r:10},{cN:"built_in",b:"(list|create|get|set|delete)-(\\w+)",e:"\\s",eE:!0,i:"!@#$%^&*()",r:10},{cN:"built_in",b:"--(\\w+)",e:"\\s",eE:!0},t,r,a,i,e.HCM]}}),e.registerLanguage("dts",function(e){var t={cN:"string",v:[e.inherit(e.QSM,{b:'((u8?|U)|L)?"'}),{b:'(u8?|U)?R"',e:'"',c:[e.BE]},{b:"'\\\\?.",e:"'",i:"."}]},r={cN:"number",v:[{b:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{b:e.CNR}],r:0},a={cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef ifdef ifndef"},c:[{b:/\\\n/,r:0},{bK:"include",e:"$",k:{"meta-keyword":"include"},c:[e.inherit(t,{cN:"meta-string"}),{cN:"meta-string",b:"<",e:">",i:"\\n"}]},t,e.CLCM,e.CBCM]},i={cN:"variable",b:"\\&[a-z\\d_]*\\b"},o={cN:"meta-keyword",b:"/[a-z][a-z\\d-]*/"},n={cN:"symbol",b:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={cN:"params",b:"<",e:">",c:[r,i]},l={cN:"class",b:/[a-zA-Z_][a-zA-Z\d_@]*\s{/,e:/[{;=]/,rB:!0,eE:!0},_={cN:"class",b:"/\\s*{",e:"};",r:10,c:[i,o,n,l,s,e.CLCM,e.CBCM,r,t]};return{k:"",c:[_,i,o,n,l,s,e.CLCM,e.CBCM,r,t,a,{b:e.IR+"::",k:""}]}}),e.registerLanguage("dust",function(e){var t="if eq ne lt lte gt gte select default math sep";return{aliases:["dst"],cI:!0,sL:"xml",c:[{cN:"template-tag",b:/\{[#\/]/,e:/\}/,i:/;/,c:[{cN:"name",b:/[a-zA-Z\.-]+/,starts:{eW:!0,r:0,c:[e.QSM]}}]},{cN:"template-variable",b:/\{/,e:/\}/,i:/;/,k:t}]}}),e.registerLanguage("ebnf",function(e){var t=e.C(/\(\*/,/\*\)/),r={cN:"attribute",b:/^[ ]*[a-zA-Z][a-zA-Z-]*([\s-]+[a-zA-Z][a-zA-Z]*)*/},a={cN:"meta",b:/\?.*\?/},i={b:/=/,e:/;/,c:[t,a,e.ASM,e.QSM]};return{i:/\S/,c:[t,r,i]}}),e.registerLanguage("elixir",function(e){var t="[a-zA-Z_][a-zA-Z0-9_.]*(\\!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a="and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0",i={cN:"subst",b:"#\\{",e:"}",l:t,k:a},o={cN:"string",c:[e.BE,i],v:[{b:/'/,e:/'/},{b:/"/,e:/"/}]},n={cN:"function",bK:"def defp defmacro",e:/\B\b/,c:[e.inherit(e.TM,{b:t,endsParent:!0})]},s=e.inherit(n,{cN:"class",bK:"defimpl defmodule defprotocol defrecord",e:/\bdo\b|$|;/}),l=[o,e.HCM,s,n,{b:"::"},{cN:"symbol",b:":(?![\\s:])",c:[o,{b:r}],r:0},{cN:"symbol",b:t+":(?!:)",r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{b:"->"},{b:"("+e.RSR+")\\s*",c:[e.HCM,{cN:"regexp",i:"\\n",c:[e.BE,i],v:[{b:"/",e:"/[a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}],r:0}];return i.c=l,{l:t,k:a,c:l}}),e.registerLanguage("elm",function(e){var t={v:[e.C("--","$"),e.C("{-","-}",{c:["self"]})]},r={cN:"type",b:"\\b[A-Z][\\w']*",r:0},a={b:"\\(",e:"\\)",i:'"',c:[{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={b:"{",e:"}",c:a.c},o={cN:"string",b:"'\\\\?.",e:"'",i:"."};return{k:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",c:[{bK:"port effect module",e:"exposing",k:"port effect module where command subscription exposing",c:[a,t],i:"\\W\\.|;"},{b:"import",e:"$",k:"import as exposing",c:[a,t],i:"\\W\\.|;"},{b:"type",e:"$",k:"type alias",c:[r,a,i,t]},{bK:"infix infixl infixr",e:"$",c:[e.CNM,t]},{b:"port",e:"$",k:"port",c:[t]},o,e.QSM,e.CNM,r,e.inherit(e.TM,{b:"^[_a-z][\\w']*"}),t,{b:"->|<-"}],i:/;/}}),e.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},a={cN:"doctag",b:"@[A-Za-z]+"},i={b:"#<",e:">"},o=[e.C("#","$",{c:[a]}),e.C("^\\=begin","^\\=end",{c:[a],r:10}),e.C("^__END__","\\n$")],n={cN:"subst",b:"#\\{",e:"}",k:r},s={cN:"string",c:[e.BE,n],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},l={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},_=[s,i,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(o)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:t}),l].concat(o)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[s,{b:t}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[i,{cN:"regexp",c:[e.BE,n],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(o),r:0}].concat(o);n.c=_,l.c=_;var c="[>?]>",d="[\\w#]+\\(\\w+\\):\\d+:\\d+>",p="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",u=[{b:/^\s*=>/,starts:{e:"$",c:_}},{cN:"meta",b:"^("+c+"|"+d+"|"+p+")",starts:{e:"$",c:_}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:o.concat(u).concat(_)}}),e.registerLanguage("erb",function(e){return{sL:"xml",c:[e.C("<%#","%>"),{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0}]}}),e.registerLanguage("erlang-repl",function(e){return{k:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},c:[{cN:"meta",b:"^[0-9]+> ",r:10},e.C("%","$"),{cN:"number",b:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",r:0},e.ASM,e.QSM,{b:"\\?(::)?([A-Z]\\w*(::)?)+"},{b:"->"},{b:"ok"},{b:"!"},{b:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",r:0},{b:"[A-Z][a-zA-Z0-9_']*",r:0}]}}),e.registerLanguage("erlang",function(e){var t="[a-z'][a-zA-Z0-9_']*",r="("+t+":"+t+"|"+t+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.C("%","$"),o={cN:"number",b:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",r:0},n={b:"fun\\s+"+t+"/\\d+"},s={b:r+"\\(",e:"\\)",rB:!0,r:0,c:[{b:r,r:0},{b:"\\(",e:"\\)",eW:!0,rE:!0,r:0}]},l={b:"{",e:"}",r:0},_={b:"\\b_([A-Z][A-Za-z0-9_]*)?",r:0},c={b:"[A-Z][a-zA-Z0-9_]*",r:0},d={b:"#"+e.UIR,r:0,rB:!0,c:[{b:"#"+e.UIR,r:0},{b:"{",e:"}",r:0}]},p={bK:"fun receive if try case",e:"end",k:a};p.c=[i,n,e.inherit(e.ASM,{cN:""}),p,s,e.QSM,o,l,_,c,d];var u=[i,n,p,s,e.QSM,o,l,_,c,d];s.c[1].c=u,l.c=u,d.c[1].c=u;var m={cN:"params",b:"\\(",e:"\\)",c:u};return{aliases:["erl"],k:a,i:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",c:[{cN:"function",b:"^"+t+"\\s*\\(",e:"->",rB:!0,i:"\\(|#|//|/\\*|\\\\|:|;",c:[m,e.inherit(e.TM,{b:t})],starts:{e:";|\\.",k:a,c:u}},i,{b:"^-",e:"\\.",r:0,eE:!0,rB:!0,l:"-"+e.IR,k:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",c:[m]},o,e.QSM,d,_,c,l,{b:/\.$/}]}}),e.registerLanguage("excel",function(e){return{aliases:["xlsx","xls"],cI:!0,l:/[a-zA-Z][\w\.]*/,k:{built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF|0 IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},c:[{b:/^=/,e:/[^=]/,rE:!0,i:/=/,r:10},{cN:"symbol",b:/\b[A-Z]{1,2}\d+\b/,e:/[^\d]/,eE:!0,r:0},{cN:"symbol",b:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,r:0},e.BE,e.QSM,{cN:"number",b:e.NR+"(%)?",r:0},e.C(/\bN\(/,/\)/,{eB:!0,eE:!0,i:/\n/})]}}),e.registerLanguage("fix",function(e){return{c:[{b:/[^\u2401\u0001]+/,e:/[\u2401\u0001]/,eE:!0,rB:!0,rE:!1,c:[{b:/([^\u2401\u0001=]+)/,e:/=([^\u2401\u0001=]+)/,rE:!0,rB:!1,cN:"attr"},{b:/=/,e:/([\u2401\u0001])/,eE:!0,eB:!0,cN:"string"}]}],cI:!0}}),e.registerLanguage("flix",function(e){var t={cN:"string",b:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},r={cN:"string",v:[{b:'"',e:'"'}]},a={cN:"title",b:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/},i={cN:"function",bK:"def",e:/[:={\[(\n;]/,eE:!0,c:[a]};return{k:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},c:[e.CLCM,e.CBCM,t,r,i,e.CNM]}}),e.registerLanguage("fortran",function(e){var t={cN:"params",b:"\\(",e:"\\)"},r={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image"};return{cI:!0,aliases:["f90","f95"],k:r,i:/\/\*/,c:[e.inherit(e.ASM,{cN:"string",r:0}),e.inherit(e.QSM,{cN:"string",r:0}),{cN:"function",bK:"subroutine function program",i:"[${=\\n]",c:[e.UTM,t]},e.C("!","$",{r:0}),{cN:"number",b:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",r:0}]}}),e.registerLanguage("fsharp",function(e){var t={b:"<",e:">",c:[e.inherit(e.TM,{b:/'[a-zA-Z0-9_]+/})]};return{aliases:["fs"],k:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",i:/\/\*/,c:[{cN:"keyword",b:/\b(yield|return|let|do)!/},{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},{cN:"string",b:'"""',e:'"""'},e.C("\\(\\*","\\*\\)"),{cN:"class",bK:"type",e:"\\(|=|$",eE:!0,c:[e.UTM,t]},{cN:"meta",b:"\\[<",e:">\\]",r:10},{cN:"symbol",b:"\\B('[A-Za-z])\\b",c:[e.BE]},e.CLCM,e.inherit(e.QSM,{i:null}),e.CNM]}}),e.registerLanguage("gams",function(e){var t={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na","built-in":"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0},a={cN:"symbol",v:[{b:/\=[lgenxc]=/},{b:/\$/}]},i={cN:"comment",v:[{b:"'",e:"'"},{b:'"',e:'"'}],i:"\\n",c:[e.BE]},o={b:"/",e:"/",k:t,c:[i,e.CLCM,e.CBCM,e.QSM,e.ASM,e.CNM]},n={b:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,eB:!0,e:"$",eW:!0,c:[i,o,{cN:"comment",b:/([ ]*[a-z0-9&#*=?@>\\<:\-,()$\[\]_.{}!+%^]+)+/,r:0}]};return{aliases:["gms"],cI:!0,k:t,c:[e.C(/^\$ontext/,/^\$offtext/),{cN:"meta",b:"^\\$[a-z0-9]+",e:"$",rB:!0,c:[{cN:"meta-keyword",b:"^\\$[a-z0-9]+"}]},e.C("^\\*","$"),e.CLCM,e.CBCM,e.QSM,e.ASM,{bK:"set sets parameter parameters variable variables scalar scalars equation equations",e:";",c:[e.C("^\\*","$"),e.CLCM,e.CBCM,e.QSM,e.ASM,o,n]},{bK:"table",e:";",rB:!0,c:[{bK:"table",e:"$",c:[n]},e.C("^\\*","$"),e.CLCM,e.CBCM,e.QSM,e.ASM,e.CNM]},{cN:"function",b:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,rB:!0,c:[{cN:"title",b:/^[a-z0-9_]+/},r,a]},e.CNM,a]}}),e.registerLanguage("gauss",function(e){var t={keyword:"and bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new not open or output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname threadBegin threadEnd threadEndFor threadFor threadJoin threadStat time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin strtrim sylvester",
-literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS"},r={cN:"meta",b:"#",e:"$",k:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},c:[{b:/\\\n/,r:0},{bK:"include",e:"$",k:{"meta-keyword":"include"},c:[{cN:"meta-string",b:'"',e:'"',i:"\\n"}]},e.CLCM,e.CBCM]},a=e.UIR+"\\s*\\(?",i=[{cN:"params",b:/\(/,e:/\)/,k:t,r:0,c:[e.CNM,e.CLCM,e.CBCM]}];return{aliases:["gss"],cI:!0,k:t,i:"(\\{[%#]|[%#]\\})",c:[e.CNM,e.CLCM,e.CBCM,e.C("@","@"),r,{cN:"string",b:'"',e:'"',c:[e.BE]},{cN:"function",bK:"proc keyword",e:";",eE:!0,k:t,c:[{b:a,rB:!0,c:[e.UTM],r:0},e.CNM,e.CLCM,e.CBCM,r].concat(i)},{cN:"function",bK:"fn",e:";",eE:!0,k:t,c:[{b:a+e.IR+"\\)?\\s*\\=\\s*",rB:!0,c:[e.UTM],r:0},e.CNM,e.CLCM,e.CBCM].concat(i)},{cN:"function",b:"\\bexternal (proc|keyword|fn)\\s+",e:";",eE:!0,k:t,c:[{b:a,rB:!0,c:[e.UTM],r:0},e.CLCM,e.CBCM]},{cN:"function",b:"\\bexternal (matrix|string|array|sparse matrix|struct "+e.IR+")\\s+",e:";",eE:!0,k:t,c:[e.CLCM,e.CBCM]}]}}),e.registerLanguage("gcode",function(e){var t="[A-Z_][A-Z0-9_.]*",r="\\%",a="IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR",i={cN:"meta",b:"([O])([0-9]+)"},o=[e.CLCM,e.CBCM,e.C(/\(/,/\)/),e.inherit(e.CNM,{b:"([-+]?([0-9]*\\.?[0-9]+\\.?))|"+e.CNR}),e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null}),{cN:"name",b:"([G])([0-9]+\\.?[0-9]?)"},{cN:"name",b:"([M])([0-9]+\\.?[0-9]?)"},{cN:"attr",b:"(VC|VS|#)",e:"(\\d+)"},{cN:"attr",b:"(VZOFX|VZOFY|VZOFZ)"},{cN:"built_in",b:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",e:"([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])"},{cN:"symbol",v:[{b:"N",e:"\\d+",i:"\\W"}]}];return{aliases:["nc"],cI:!0,l:t,k:a,c:[{cN:"meta",b:r},i].concat(o)}}),e.registerLanguage("gherkin",function(e){return{aliases:["feature"],k:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",c:[{cN:"symbol",b:"\\*",r:0},{cN:"meta",b:"@[^@\\s]+"},{b:"\\|",e:"\\|\\w*$",c:[{cN:"string",b:"[^|]+"}]},{cN:"variable",b:"<",e:">"},e.HCM,{cN:"string",b:'"""',e:'"""'},e.QSM]}}),e.registerLanguage("glsl",function(e){return{k:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBufferiimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},i:'"',c:[e.CLCM,e.CBCM,e.CNM,{cN:"meta",b:"#",e:"$"}]}}),e.registerLanguage("gml",function(e){var t={k:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names array_length_1d array_length_2d array_height_2d array_equals array_create array_copy random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",
-literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version timezone_local timezone_utc gamespeed_fps gamespeed_microseconds ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x y xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"};return{aliases:["gml","GML"],cI:!1,k:t,c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM]}}),e.registerLanguage("go",function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],k:t,i:"</",c:[e.CLCM,e.CBCM,{cN:"string",v:[e.QSM,{b:"'",e:"[^\\\\]'"},{b:"`",e:"`"}]},{cN:"number",v:[{b:e.CNR+"[dflsi]",r:1},e.CNM]},{b:/:=/},{cN:"function",bK:"func",e:/\s*\{/,eE:!0,c:[e.TM,{cN:"params",b:/\(/,e:/\)/,k:t,i:/["']/}]}]}}),e.registerLanguage("golo",function(e){return{k:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},c:[e.HCM,e.QSM,e.CNM,{cN:"meta",b:"@[A-Za-z]+"}]}}),e.registerLanguage("gradle",function(e){return{cI:!0,k:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.NM,e.RM]}}),e.registerLanguage("groovy",function(e){return{k:{literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,{cN:"string",b:'"""',e:'"""'},{cN:"string",b:"'''",e:"'''"},{cN:"string",b:"\\$/",e:"/\\$",r:10},e.ASM,{cN:"regexp",b:/~?\/[^\/\n]+\//,c:[e.BE]},e.QSM,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},e.BNM,{cN:"class",bK:"class interface trait enum",e:"{",i:":",c:[{bK:"extends implements"},e.UTM]},e.CNM,{cN:"meta",b:"@[A-Za-z]+"},{cN:"string",b:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{b:/\?/,e:/\:/},{cN:"symbol",b:"^\\s*[A-Za-z0-9_$]+:",r:0}],i:/#|<\//}}),e.registerLanguage("haml",function(e){return{cI:!0,c:[{cN:"meta",b:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",r:10},e.C("^\\s*(!=#|=#|-#|/).*$",!1,{r:0}),{b:"^\\s*(-|=|!=)(?!#)",starts:{e:"\\n",sL:"ruby"}},{cN:"tag",b:"^\\s*%",c:[{cN:"selector-tag",b:"\\w+"},{cN:"selector-id",b:"#[\\w-]+"},{cN:"selector-class",b:"\\.[\\w-]+"},{b:"{\\s*",e:"\\s*}",c:[{b:":\\w+\\s*=>",e:",\\s+",rB:!0,eW:!0,c:[{cN:"attr",b:":\\w+"},e.ASM,e.QSM,{b:"\\w+",r:0}]}]},{b:"\\(\\s*",e:"\\s*\\)",eE:!0,c:[{b:"\\w+\\s*=",e:"\\s+",rB:!0,eW:!0,c:[{cN:"attr",b:"\\w+",r:0},e.ASM,e.QSM,{b:"\\w+",r:0}]}]}]},{b:"^\\s*[=~]\\s*"},{b:"#{",starts:{e:"}",sL:"ruby"}}]}}),e.registerLanguage("handlebars",function(e){var t={"builtin-name":"each in with if else unless bindattr action collection debugger log outlet template unbound view yield"};return{aliases:["hbs","html.hbs","html.handlebars"],cI:!0,sL:"xml",c:[e.C("{{!(--)?","(--)?}}"),{cN:"template-tag",b:/\{\{[#\/]/,e:/\}\}/,c:[{cN:"name",b:/[a-zA-Z\.-]+/,k:t,starts:{eW:!0,r:0,c:[e.QSM]}}]},{cN:"template-variable",b:/\{\{/,e:/\}\}/,k:t}]}}),e.registerLanguage("haskell",function(e){var t={v:[e.C("--","$"),e.C("{-","-}",{c:["self"]})]},r={cN:"meta",b:"{-#",e:"#-}"},a={cN:"meta",b:"^#",e:"$"},i={cN:"type",b:"\\b[A-Z][\\w']*",r:0},o={b:"\\(",e:"\\)",i:'"',c:[r,a,{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TM,{b:"[_a-z][\\w']*"}),t]},n={b:"{",e:"}",c:o.c};return{aliases:["hs"],k:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",c:[{bK:"module",e:"where",k:"module where",c:[o,t],i:"\\W\\.|;"},{b:"\\bimport\\b",e:"$",k:"import qualified as hiding",c:[o,t],i:"\\W\\.|;"},{cN:"class",b:"^(\\s*)?(class|instance)\\b",e:"where",k:"class family instance where",c:[i,o,t]},{cN:"class",b:"\\b(data|(new)?type)\\b",e:"$",k:"data family type newtype deriving",c:[r,i,o,n,t]},{bK:"default",e:"$",c:[i,o,t]},{bK:"infix infixl infixr",e:"$",c:[e.CNM,t]},{b:"\\bforeign\\b",e:"$",k:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",c:[i,e.QSM,t]},{cN:"meta",b:"#!\\/usr\\/bin\\/env runhaskell",e:"$"},r,a,e.QSM,e.CNM,i,e.inherit(e.TM,{b:"^[_a-z][\\w']*"}),t,{b:"->|<-"}]}}),e.registerLanguage("haxe",function(e){var t="Int Float String Bool Dynamic Void Array ";return{aliases:["hx"],k:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+t,built_in:"trace this",literal:"true false null _"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"},{cN:"subst",b:"\\$",e:"\\W}"}]},e.QSM,e.CLCM,e.CBCM,e.CNM,{cN:"meta",b:"@:",e:"$"},{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elseif end error"}},{cN:"type",b:":[ ]*",e:"[^A-Za-z0-9_ \\->]",eB:!0,eE:!0,r:0},{cN:"type",b:":[ ]*",e:"\\W",eB:!0,eE:!0},{cN:"type",b:"new *",e:"\\W",eB:!0,eE:!0},{cN:"class",bK:"enum",e:"\\{",c:[e.TM]},{cN:"class",bK:"abstract",e:"[\\{$]",c:[{cN:"type",b:"\\(",e:"\\)",eB:!0,eE:!0},{cN:"type",b:"from +",e:"\\W",eB:!0,eE:!0},{cN:"type",b:"to +",e:"\\W",eB:!0,eE:!0},e.TM],k:{keyword:"abstract from to"}},{cN:"class",b:"\\b(class|interface) +",e:"[\\{$]",eE:!0,k:"class interface",c:[{cN:"keyword",b:"\\b(extends|implements) +",k:"extends implements",c:[{cN:"type",b:e.IR,r:0}]},e.TM]},{cN:"function",bK:"function",e:"\\(",eE:!0,i:"\\S",c:[e.TM]}],i:/<\//}}),e.registerLanguage("hsp",function(e){return{cI:!0,l:/[\w\._]+/,k:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop",c:[e.CLCM,e.CBCM,e.QSM,e.ASM,{cN:"string",b:'{"',e:'"}',c:[e.BE]},e.C(";","$",{r:0}),{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},c:[e.inherit(e.QSM,{cN:"meta-string"}),e.NM,e.CNM,e.CLCM,e.CBCM]},{cN:"symbol",b:"^\\*(\\w+|@)"},e.NM,e.CNM]}}),e.registerLanguage("htmlbars",function(e){var t="action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view",r={i:/\}\}/,b:/[a-zA-Z0-9_]+=/,rB:!0,r:0,c:[{cN:"attr",b:/[a-zA-Z0-9_]+/}]},a=({i:/\}\}/,b:/\)/,e:/\)/,c:[{b:/[a-zA-Z\.\-]+/,k:{built_in:t},starts:{eW:!0,r:0,c:[e.QSM]}}]},{eW:!0,r:0,k:{keyword:"as",built_in:t},c:[e.QSM,r,e.NM]});return{cI:!0,sL:"xml",c:[e.C("{{!(--)?","(--)?}}"),{cN:"template-tag",b:/\{\{[#\/]/,e:/\}\}/,c:[{cN:"name",b:/[a-zA-Z\.\-]+/,k:{"builtin-name":t},starts:a}]},{cN:"template-variable",b:/\{\{[a-zA-Z][a-zA-Z\-]+/,e:/\}\}/,k:{keyword:"as",built_in:t},c:[e.QSM]}]}}),e.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}}),e.registerLanguage("hy",function(e){var t={"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},r="a-zA-Z_\\-!.?+*=<>&#'",a="["+r+"]["+r+"0-9/;:]*",i="[-+]?\\d+(\\.\\d+)?",o={cN:"meta",b:"^#!",e:"$"},n={b:a,r:0},s={cN:"number",b:i,r:0},l=e.inherit(e.QSM,{i:null}),_=e.C(";","$",{r:0}),c={cN:"literal",b:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={b:"[\\[\\{]",e:"[\\]\\}]"},p={cN:"comment",b:"\\^"+a},u=e.C("\\^\\{","\\}"),m={cN:"symbol",b:"[:]{1,2}"+a},S={b:"\\(",e:"\\)"},E={eW:!0,r:0},g={k:t,l:a,cN:"name",b:a,starts:E},b=[S,l,p,u,_,m,d,s,c,n];return S.c=[e.C("comment",""),g,E],E.c=b,d.c=b,{aliases:["hylang"],i:/\S/,c:[o,S,l,p,u,_,m,d,s,c]}}),e.registerLanguage("inform7",function(e){var t="\\[",r="\\]";return{aliases:["i7"],cI:!0,k:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},c:[{cN:"string",b:'"',e:'"',r:0,c:[{cN:"subst",b:t,e:r}]},{cN:"section",b:/^(Volume|Book|Part|Chapter|Section|Table)\b/,e:"$"},{b:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,e:":",c:[{b:"\\(This",e:"\\)"}]},{cN:"comment",b:t,e:r,c:["self"]}]}}),e.registerLanguage("ini",function(e){var t={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},t,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}}),e.registerLanguage("irpf90",function(e){var t={cN:"params",b:"\\(",e:"\\)"},r={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"
-};return{cI:!0,k:r,i:/\/\*/,c:[e.inherit(e.ASM,{cN:"string",r:0}),e.inherit(e.QSM,{cN:"string",r:0}),{cN:"function",bK:"subroutine function program",i:"[${=\\n]",c:[e.UTM,t]},e.C("!","$",{r:0}),e.C("begin_doc","end_doc",{r:10}),{cN:"number",b:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",r:0}]}}),e.registerLanguage("isbl",function(e){var t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",i="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",n="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",s="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",l="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",_="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",c="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",d="smHidden smMaximized smMinimized smNormal wmNo wmYes ",p="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",u="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",m="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",S="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",E="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",g="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",b="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",T="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",C="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",f="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",R="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",N="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",I="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",O="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",A="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",h="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",v="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",y="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",D="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",L="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",x="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",M="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",w="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",P="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",k="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",U="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",F="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",B="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",G=i+o+n+s+l+_+c+d+p+u+m+S+E+g+b+T+C+f+R+N+I+O+A+h+v+y+D+L+x+M+w+P+k+U+F+B,Y="atUser atGroup atRole ",V="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",q="apBegin apEnd ",H="alLeft alRight ",z="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",W="cirCommon cirRevoked ",Q="ctSignature ctEncode ctSignatureEncode ",$="clbUnchecked clbChecked clbGrayed ",K="ceISB ceAlways ceNever ",j="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",X="cfInternal cfDisplay ",Z="ciUnspecified ciWrite ciRead ",J="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",ee="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",te="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",re="cltInternal cltPrimary cltGUI ",ae="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",ie="dssEdit dssInsert dssBrowse dssInActive ",oe="dftDate dftShortDate dftDateTime dftTimeStamp ",ne="dotDays dotHours dotMinutes dotSeconds ",se="dtkndLocal dtkndUTC ",le="arNone arView arEdit arFull ",_e="ddaView ddaEdit ",ce="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",de="ecotFile ecotProcess ",pe="eaGet eaCopy eaCreate eaCreateStandardRoute ",ue="edltAll edltNothing edltQuery ",me="essmText essmCard ",Se="esvtLast esvtLastActive esvtSpecified ",Ee="edsfExecutive edsfArchive ",ge="edstSQLServer edstFile ",be="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",Te="vsDefault vsDesign vsActive vsObsolete ",Ce="etNone etCertificate etPassword etCertificatePassword ",fe="ecException ecWarning ecInformation ",Re="estAll estApprovingOnly ",Ne="evtLast evtLastActive evtQuery ",Ie="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Oe="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",Ae="grhAuto grhX1 grhX2 grhX3 ",he="hltText hltRTF hltHTML ",ve="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",ye="im8bGrayscale im24bRGB im1bMonochrome ",De="itBMP itJPEG itWMF itPNG ",Le="ikhInformation ikhWarning ikhError ikhNoIcon ",xe="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",Me="isShow isHide isByUserSettings ",we="jkJob jkNotice jkControlJob ",Pe="jtInner jtLeft jtRight jtFull jtCross ",ke="lbpAbove lbpBelow lbpLeft lbpRight ",Ue="eltPerConnection eltPerUser ",Fe="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",Be="sfsItalic sfsStrikeout sfsNormal ",Ge="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Ye="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Ve="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",qe="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",He="rdWindow rdFile rdPrinter ",ze="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",We="reOnChange reOnChangeValues ",Qe="ttGlobal ttLocal ttUser ttSystem ",$e="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",Ke="smSelect smLike smCard ",je="stNone stAuthenticating stApproving ",Xe="sctString sctStream ",Ze="sstAnsiSort sstNaturalSort ",Je="svtEqual svtContain ",et="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",tt="tarAbortByUser tarAbortByWorkflowException ",rt="tvtAllWords tvtExactPhrase tvtAnyWord ",at="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",it="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",ot="btAnd btDetailAnd btOr btNotOr btOnly ",nt="vmView vmSelect vmNavigation ",st="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",lt="wfatPrevious wfatNext wfatCancel wfatFinish ",_t="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",ct="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",dt="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",pt="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",ut="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",mt="waAll waPerformers waManual ",St="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Et="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",gt="wiLow wiNormal wiHigh ",bt="wrtSoft wrtHard ",Tt="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Ct="wtmFull wtmFromCurrent wtmOnlyCurrent ",ft=Y+V+q+H+z+W+Q+$+K+j+X+Z+J+ee+te+re+ae+ie+oe+ne+se+le+_e+ce+de+pe+ue+me+Se+Ee+ge+be+Te+Ce+fe+Re+Ne+Ie+Oe+Ae+he+ve+ye+De+Le+xe+Me+we+Pe+ke+Ue+Fe+Be+Ge+Ye+Ve+qe+He+ze+We+Qe+$e+Ke+je+Xe+Ze+Je+et+tt+rt+at+it+ot+nt+st+lt+_t+ct+dt+pt+ut+mt+St+Et+gt+bt+Tt+Ct,Rt="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",Nt="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",It="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Ot=G+ft,At=Nt,ht="null true false nil ",vt={
-cN:"number",b:e.NR,r:0},yt={cN:"string",v:[{b:'"',e:'"'},{b:"'",e:"'"}]},Dt={cN:"doctag",b:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",r:0},Lt={cN:"comment",b:"//",e:"$",r:0,c:[e.PWM,Dt]},xt={cN:"comment",b:"/\\*",e:"\\*/",r:0,c:[e.PWM,Dt]},Mt={v:[Lt,xt]},wt={keyword:a,built_in:Ot,"class":At,literal:ht},Pt={b:"\\.\\s*"+e.UIR,k:wt,r:0},kt={cN:"type",b:":[ \\t]*("+It.trim().replace(/\s/g,"|")+")",e:"[ \\t]*=",eE:!0},Ut={cN:"variable",l:t,k:wt,b:t,r:0,containts:[kt,Pt]},Ft=r+"\\(",Bt={cN:"title",l:t,k:{built_in:Rt},b:Ft,e:"\\(",rB:!0,eE:!0},Gt={cN:"function",b:Ft,e:"\\)$",rB:!0,l:t,k:wt,i:"[\\[\\]\\|\\$\\?%,~#@]",c:[Bt,Pt,Ut,yt,vt,Mt]};return{aliases:["isbl"],cI:!0,l:t,k:wt,i:"\\$|\\?|%|,|;$|~|#|@|</",c:[Gt,kt,Pt,Ut,yt,vt,Mt]}}),e.registerLanguage("java",function(e){var t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=t+"(<"+t+"(\\s*,\\s*"+t+")*>)?",a="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",i="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",o={cN:"number",b:i,r:0};return{aliases:["jsp"],k:a,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"("+r+"\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:a,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:a,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},o,{cN:"meta",b:"@[A-Za-z]+"}]}}),e.registerLanguage("javascript",function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},i={cN:"subst",b:"\\$\\{",e:"\\}",k:r,c:[]},o={cN:"string",b:"`",e:"`",c:[e.BE,i]};i.c=[e.ASM,e.QSM,o,a,e.RM];var n=i.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:r,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,o,e.CLCM,e.CBCM,a,{b:/[{,]\s*/,r:0,c:[{b:t+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:t,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+t+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:t},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:n}]}]},{b:/</,e:/(\/\w+|\w+\/)>/,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:t}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:n}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}),e.registerLanguage("jboss-cli",function(e){var t={b:/[\w-]+ *=/,rB:!0,r:0,c:[{cN:"attr",b:/[\w-]+/}]},r={cN:"params",b:/\(/,e:/\)/,c:[t],r:0},a={cN:"function",b:/:[\w\-.]+/,r:0},i={cN:"string",b:/\B(([\/.])[\w\-.\/=]+)+/},o={cN:"params",b:/--[\w\-=\/]+/};return{aliases:["wildfly-cli"],l:"[a-z-]+",k:{keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},c:[e.HCM,e.QSM,o,a,i,r]}}),e.registerLanguage("json",function(e){var t={literal:"true false null"},r=[e.QSM,e.CNM],a={e:",",eW:!0,eE:!0,c:r,k:t},i={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(a,{b:/:/})],i:"\\S"},o={b:"\\[",e:"\\]",c:[e.inherit(a)],i:"\\S"};return r.splice(r.length,0,i,o),{c:r,k:t,i:"\\S"}}),e.registerLanguage("julia",function(e){var t={keyword:"in isa where baremodule begin break catch ccall const continue do else elseif end export false finally for function global if import importall let local macro module quote return true try using while type immutable abstract bitstype typealias ",literal:"true false ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im nothing pi γ π φ ",built_in:"ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool "},r="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",a={l:r,k:t,i:/<\//},i={cN:"number",b:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,r:0},o={cN:"string",b:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={cN:"subst",b:/\$\(/,e:/\)/,k:t},s={cN:"variable",b:"\\$"+r},l={cN:"string",c:[e.BE,n,s],v:[{b:/\w*"""/,e:/"""\w*/,r:10},{b:/\w*"/,e:/"\w*/}]},_={cN:"string",c:[e.BE,n,s],b:"`",e:"`"},c={cN:"meta",b:"@"+r},d={cN:"comment",v:[{b:"#=",e:"=#",r:10},{b:"#",e:"$"}]};return a.c=[i,o,l,_,c,d,e.HCM,{cN:"keyword",b:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{b:/<:/}],n.c=a.c,a}),e.registerLanguage("julia-repl",function(e){return{c:[{cN:"meta",b:/^julia>/,r:10,starts:{e:/^(?![ ]{6})/,sL:"julia"},aliases:["jldoctest"]}]}}),e.registerLanguage("kotlin",function(e){var t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},r={cN:"keyword",b:/\b(break|continue|return|this)\b/,starts:{c:[{cN:"symbol",b:/@\w+/}]}},a={cN:"symbol",b:e.UIR+"@"},i={cN:"subst",b:"\\${",e:"}",c:[e.ASM,e.CNM]},o={cN:"variable",b:"\\$"+e.UIR},n={cN:"string",v:[{b:'"""',e:'"""',c:[o,i]},{b:"'",e:"'",i:/\n/,c:[e.BE]},{b:'"',e:'"',i:/\n/,c:[e.BE,o,i]}]},s={cN:"meta",b:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UIR+")?"},l={cN:"meta",b:"@"+e.UIR,c:[{b:/\(/,e:/\)/,c:[e.inherit(n,{cN:"meta-string"})]}]},_="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",c={cN:"number",b:_,r:0};return{aliases:["kt"],k:t,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,r,a,s,l,{cN:"function",bK:"fun",e:"[(]|$",rB:!0,eE:!0,k:t,i:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,r:5,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"type",b:/</,e:/>/,k:"reified",r:0},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:t,r:0,c:[{b:/:/,e:/[=,\/]/,eW:!0,c:[{cN:"type",b:e.UIR},e.CLCM,e.CBCM],r:0},e.CLCM,e.CBCM,s,l,n,e.CNM]},e.CBCM]},{cN:"class",bK:"class interface trait",e:/[:\{(]|$/,eE:!0,i:"extends implements",c:[{bK:"public protected internal private constructor"},e.UTM,{cN:"type",b:/</,e:/>/,eB:!0,eE:!0,r:0},{cN:"type",b:/[,:]\s*/,e:/[<\(,]|$/,eB:!0,rE:!0},s,l]},n,{cN:"meta",b:"^#!/usr/bin/env",e:"$",i:"\n"},c]}}),e.registerLanguage("lasso",function(e){var t="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.C("<!--","-->",{r:0}),n={cN:"meta",b:"\\[noprocess\\]",starts:{e:"\\[/noprocess\\]",rE:!0,c:[o]}},s={cN:"meta",b:"\\[/noprocess|"+r},l={cN:"symbol",b:"'"+t+"'"},_=[e.CLCM,e.CBCM,e.inherit(e.CNM,{b:e.CNR+"|(-?infinity|NaN)\\b"}),e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null}),{cN:"string",b:"`",e:"`"},{v:[{b:"[#$]"+t},{b:"#",e:"\\d+",i:"\\W"}]},{cN:"type",b:"::\\s*",e:t,i:"\\W"},{cN:"params",v:[{b:"-(?!infinity)"+t,r:0},{b:"(\\.\\.\\.)"}]},{b:/(->|\.)\s*/,r:0,c:[l]},{cN:"class",bK:"define",rE:!0,e:"\\(|=>",c:[e.inherit(e.TM,{b:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{aliases:["ls","lassoscript"],cI:!0,l:t+"|&[lg]t;",k:i,c:[{cN:"meta",b:a,r:0,starts:{e:"\\[|"+r,rE:!0,r:0,c:[o]}},n,s,{cN:"meta",b:"\\[no_square_brackets",starts:{e:"\\[/no_square_brackets\\]",l:t+"|&[lg]t;",k:i,c:[{cN:"meta",b:a,r:0,starts:{e:"\\[noprocess\\]|"+r,rE:!0,c:[o]}},n,s].concat(_)}},{cN:"meta",b:"\\[",r:0},{cN:"meta",b:"^#!",e:"lasso9$",r:10}].concat(_)}}),e.registerLanguage("ldif",function(e){return{c:[{cN:"attribute",b:"^dn",e:": ",eE:!0,starts:{e:"$",r:0},r:10},{cN:"attribute",b:"^\\w",e:": ",eE:!0,starts:{e:"$",r:0}},{cN:"literal",b:"^-",e:"$"},e.HCM]}}),e.registerLanguage("leaf",function(e){return{c:[{cN:"function",b:"#+[A-Za-z_0-9]*\\(",e:" {",rB:!0,eE:!0,c:[{cN:"keyword",b:"#+"},{cN:"title",b:"[A-Za-z_][A-Za-z_0-9]*"},{cN:"params",b:"\\(",e:"\\)",endsParent:!0,c:[{cN:"string",b:'"',e:'"'},{cN:"variable",b:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}),e.registerLanguage("less",function(e){var t="[\\w-]+",r="("+t+"|@{"+t+"})",a=[],i=[],o=function(e){return{cN:"string",b:"~?"+e+".*?"+e}},n=function(e,t,r){return{cN:e,b:t,r:r}},s={b:"\\(",e:"\\)",c:i,r:0};i.push(e.CLCM,e.CBCM,o("'"),o('"'),e.CSSNM,{b:"(url|data-uri)\\(",starts:{cN:"string",e:"[\\)\\n]",eE:!0}},n("number","#[0-9A-Fa-f]+\\b"),s,n("variable","@@?"+t,10),n("variable","@{"+t+"}"),n("built_in","~?`[^`]*?`"),{cN:"attribute",b:t+"\\s*:",e:":",rB:!0,eE:!0},{cN:"meta",b:"!important"});var l=i.concat({b:"{",e:"}",c:a}),_={bK:"when",eW:!0,c:[{bK:"and not"}].concat(i)},c={b:r+"\\s*:",rB:!0,e:"[;}]",r:0,c:[{cN:"attribute",b:r,e:":",eE:!0,starts:{eW:!0,i:"[<=$]",r:0,c:i}}]},d={cN:"keyword",b:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{e:"[;{}]",rE:!0,c:i,r:0}},p={cN:"variable",v:[{b:"@"+t+"\\s*:",r:15},{b:"@"+t}],starts:{e:"[;}]",rE:!0,c:l}},u={v:[{b:"[\\.#:&\\[>]",e:"[;{}]"},{b:r,e:"{"}],rB:!0,rE:!0,i:"[<='$\"]",r:0,c:[e.CLCM,e.CBCM,_,n("keyword","all\\b"),n("variable","@{"+t+"}"),n("selector-tag",r+"%?",0),n("selector-id","#"+r),n("selector-class","\\."+r,0),n("selector-tag","&",0),{cN:"selector-attr",b:"\\[",e:"\\]"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"\\(",e:"\\)",c:l},{b:"!important"}]};return a.push(e.CLCM,e.CBCM,d,p,c,u),{cI:!0,i:"[=>'/<($\"]",c:a}}),e.registerLanguage("lisp",function(e){var t="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*",r="\\|[^]*?\\|",a="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",i={cN:"meta",b:"^#!",e:"$"},o={cN:"literal",b:"\\b(t{1}|nil)\\b"},n={cN:"number",v:[{b:a,r:0},{b:"#(b|B)[0-1]+(/[0-1]+)?"},{b:"#(o|O)[0-7]+(/[0-7]+)?"},{b:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{b:"#(c|C)\\("+a+" +"+a,e:"\\)"}]},s=e.inherit(e.QSM,{i:null}),l=e.C(";","$",{r:0}),_={b:"\\*",e:"\\*"},c={cN:"symbol",b:"[:&]"+t},d={b:t,r:0},p={b:r},u={b:"\\(",e:"\\)",c:["self",o,s,n,d]},m={c:[n,s,_,c,u,d],v:[{b:"['`]\\(",e:"\\)"},{b:"\\(quote ",e:"\\)",k:{name:"quote"}},{b:"'"+r}]},S={v:[{b:"'"+t},{b:"#'"+t+"(::"+t+")*"}]},E={b:"\\(\\s*",e:"\\)"},g={eW:!0,r:0};return E.c=[{cN:"name",v:[{b:t},{b:r}]},g],g.c=[m,S,E,o,n,s,l,_,c,p,d],{i:/\S/,c:[n,i,o,s,l,m,S,E,d]}}),e.registerLanguage("livecodeserver",function(e){var t={b:"\\b[gtps][A-Z]+[A-Za-z0-9_\\-]*\\b|\\$_[A-Z]+",r:0},r=[e.CBCM,e.HCM,e.C("--","$"),e.C("[^:]//","$")],a=e.inherit(e.TM,{v:[{b:"\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*"},{b:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TM,{b:"\\b([A-Za-z0-9_\\-]+)\\b"});return{cI:!1,k:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract union unload wait write"},c:[t,{cN:"keyword",b:"\\bend\\sif\\b"},{cN:"function",bK:"function",e:"$",c:[t,i,e.ASM,e.QSM,e.BNM,e.CNM,a]},{cN:"function",b:"\\bend\\s+",e:"$",k:"end",c:[i,a],r:0},{bK:"command on",e:"$",c:[t,i,e.ASM,e.QSM,e.BNM,e.CNM,a]},{cN:"meta",v:[{b:"<\\?(rev|lc|livecode)",r:10},{b:"<\\?"},{b:"\\?>"}]},e.ASM,e.QSM,e.BNM,e.CNM,a].concat(r),i:";$|^\\[|^=|&|{"}}),e.registerLanguage("livescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger case default function var with then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super case default function var void const let enum export import native __hasProp __extends __slice __bind __indexOf",literal:"true false null undefined yes no on off it that void",built_in:"npm require console print module global window document"},r="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=e.inherit(e.TM,{b:r}),i={cN:"subst",b:/#\{/,e:/}/,k:t},o={cN:"subst",b:/#[A-Za-z$_]/,e:/(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,k:t},n=[e.BNM,{cN:"number",b:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",r:0,starts:{e:"(\\s*/)?",r:0}},{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,i,o]},{b:/"/,e:/"/,c:[e.BE,i,o]},{b:/\\/,e:/(\s|$)/,eE:!0}]},{cN:"regexp",v:[{b:"//",e:"//[gim]*",c:[i,e.HCM]},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+r},{b:"``",e:"``",eB:!0,eE:!0,sL:"javascript"}];i.c=n;var s={cN:"params",b:"\\(",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(n)}]};return{aliases:["ls"],k:t,i:/\/\*/,c:n.concat([e.C("\\/\\*","\\*\\/"),e.HCM,{cN:"function",c:[a,s],rB:!0,v:[{b:"("+r+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?",e:"\\->\\*?"},{b:"("+r+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?",e:"[-~]{1,2}>\\*?"},{b:"("+r+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?",e:"!?[-~]{1,2}>\\*?"}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[a]},a]},{b:r+":",e:":",rB:!0,rE:!0,r:0}])}}),e.registerLanguage("llvm",function(e){var t="([-a-zA-Z$._][\\w\\-$.]*)";return{k:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",c:[{cN:"keyword",b:"i\\d+"},e.C(";","\\n",{r:0}),e.QSM,{cN:"string",v:[{b:'"',e:'[^\\\\]"'}],r:0},{cN:"title",v:[{b:"@"+t},{b:"@\\d+"},{b:"!"+t},{b:"!\\d+"+t}]},{cN:"symbol",v:[{b:"%"+t},{b:"%\\d+"},{b:"#\\d+"}]},{cN:"number",v:[{b:"0[xX][a-fA-F0-9]+"},{b:"-?\\d+(?:[.]\\d+)?(?:[eE][-+]?\\d+(?:[.]\\d+)?)?"}],r:0}]}}),e.registerLanguage("lsl",function(e){var t={cN:"subst",b:/\\[tn"\\]/},r={cN:"string",b:'"',e:'"',c:[t]},a={cN:"number",b:e.CNR},i={cN:"literal",v:[{b:"\\b(?:PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{b:"\\b(?:XP_ERROR_(?:EXPERIENCES_DISABLED|EXPERIENCE_(?:DISABLED|SUSPENDED)|INVALID_(?:EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(?:FOUND|PERMITTED(?:_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(?:PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(?:_OBJECT)?|(?:DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(?:FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(?:_(?:BY_(?:LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(?:PARCEL(?:_OWNER)?|REGION)))?|CAMERA_(?:PITCH|DISTANCE|BEHINDNESS_(?:ANGLE|LAG)|(?:FOCUS|POSITION)(?:_(?:THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(?:ROOT|SET|ALL_(?:OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(?:IVE|_(?:ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(?:FWD|BACK|(?:ROT_)?(?:LEFT|RIGHT)|UP|DOWN|(?:ML_)?LBUTTON)|PERMISSION_(?:RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(?:CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(?:TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(?:INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(?:_START)?|TELEPORT|MEDIA)|OBJECT_(?:CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(?:PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_ON_REZ|NAME|DESC|POS|PRIM_(?:COUNT|EQUIVALENCE)|RETURN_(?:PARCEL(?:_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP|CREATOR|ATTACHED_POINT|RENDER_WEIGHT|(?:BODY_SHAPE|PATHFINDING)_TYPE|(?:RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(?:MEMORY|TIME))|TYPE_(?:INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(?:DEBUG|PUBLIC)_CHANNEL|ATTACH_(?:AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](?:SHOULDER|HAND|FOOT|EAR|EYE|[UL](?:ARM|LEG)|HIP)|(?:LEFT|RIGHT)_PEC|HUD_(?:CENTER_[12]|TOP_(?:RIGHT|CENTER|LEFT)|BOTTOM(?:_(?:RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(?:BASE|TIP)|[LR]WING|FACE_(?:JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(?:LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(?:ONLINE|NAME|BORN|SIM_(?:POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(?:ON_FILE|USED)|REMOTE_DATA_(?:CHANNEL|REQUEST|REPLY)|PSYS_(?:PART_(?:BF_(?:ZERO|ONE(?:_MINUS_(?:DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(?:START|END)_(?:COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(?:RIBBON|WIND|INTERP_(?:COLOR|SCALE)|BOUNCE|FOLLOW_(?:SRC|VELOCITY)|TARGET_(?:POS|LINEAR)|EMISSIVE)_MASK)|SRC_(?:MAX_AGE|PATTERN|ANGLE_(?:BEGIN|END)|BURST_(?:RATE|PART_COUNT|RADIUS|SPEED_(?:MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(?:DROP|EXPLODE|ANGLE(?:_CONE(?:_EMPTY)?)?)))|VEHICLE_(?:REFERENCE_FRAME|TYPE_(?:NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(?:LINEAR|ANGULAR)_(?:FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(?:HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(?:LINEAR|ANGULAR)_(?:DEFLECTION_(?:EFFICIENCY|TIMESCALE)|MOTOR_(?:DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(?:EFFICIENCY|TIMESCALE)|BANKING_(?:EFFICIENCY|MIX|TIMESCALE)|FLAG_(?:NO_DEFLECTION_UP|LIMIT_(?:ROLL_ONLY|MOTOR_UP)|HOVER_(?:(?:WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(?:STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(?:ALPHA_MODE(?:_(?:BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(?:_(?:BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(?:DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(?:_(?:STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(?:NONE|LOW|MEDIUM|HIGH)|BUMP_(?:NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(?:DEFAULT|PLANAR)|SCULPT_(?:TYPE_(?:SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(?:MIRROR|INVERT))|PHYSICS(?:_(?:SHAPE_(?:CONVEX|NONE|PRIM|TYPE)))?|(?:POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(?:ALT_IMAGE_ENABLE|CONTROLS|(?:CURRENT|HOME)_URL|AUTO_(?:LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(?:WIDTH|HEIGHT)_PIXELS|WHITELIST(?:_ENABLE)?|PERMS_(?:INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(?:STANDARD|MINI)|PERM_(?:NONE|OWNER|GROUP|ANYONE)|MAX_(?:URL_LENGTH|WHITELIST_(?:SIZE|COUNT)|(?:WIDTH|HEIGHT)_PIXELS)))|MASK_(?:BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(?:TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(?:MEDIA_COMMAND_(?:STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(?:ALLOW_(?:FLY|(?:GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(?:GROUP_)?OBJECTS)|USE_(?:ACCESS_(?:GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(?:GROUP|ALL)_OBJECT_ENTRY)|COUNT_(?:TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(?:NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(?:MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(?:_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(?:HIDE|DEFAULT)|REGION_FLAG_(?:ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(?:COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(?:METHOD|MIMETYPE|BODY_(?:MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|STRING_(?:TRIM(?:_(?:HEAD|TAIL))?)|CLICK_ACTION_(?:NONE|TOUCH|SIT|BUY|PAY|OPEN(?:_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(?:NONE|SCRIPT_MEMORY)|RC_(?:DATA_FLAGS|DETECT_PHANTOM|GET_(?:LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(?:TYPES|AGENTS|(?:NON)?PHYSICAL|LAND))|RCERR_(?:CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(?:ALLOWED_(?:AGENT|GROUP)_(?:ADD|REMOVE)|BANNED_AGENT_(?:ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(?:COMMAND|CMD_(?:PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(?:GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(?:CMD_(?:(?:SMOOTH_)?STOP|JUMP)|DESIRED_(?:TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(?:_(?:[ABCD]|NONE))?|MAX_(?:DECEL|TURN_RADIUS|(?:ACCEL|SPEED)))|PURSUIT_(?:OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(?:CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(?:EVADE_(?:HIDDEN|SPOTTED)|FAILURE_(?:DYNAMIC_PATHFINDING_DISABLED|INVALID_(?:GOAL|START)|NO_(?:NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(?:PARCEL_)?UNREACHABLE)|(?:GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(?:_(?:FAST|NONE|SLOW))?|CONTENT_TYPE_(?:ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(?:RADIUS|STATIC)|(?:PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(?:AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"
-},{b:"\\b(?:FALSE|TRUE)\\b"},{b:"\\b(?:ZERO_ROTATION)\\b"},{b:"\\b(?:EOF|JSON_(?:ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(?:BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(?:GRANTED|DENIED))\\b"},{b:"\\b(?:ZERO_VECTOR|TOUCH_INVALID_(?:TEXCOORD|VECTOR))\\b"}]},o={cN:"built_in",b:"\\b(?:ll(?:AgentInExperience|(?:Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(?:Details|ErrorMessage)|ReturnObjectsBy(?:ID|Owner)|Json(?:2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(?:Mag|Norm|Dist)|Rot(?:Between|2(?:Euler|Fwd|Left|Up))|(?:Euler|Axes)2Rot|Whisper|(?:Region|Owner)?Say|Shout|Listen(?:Control|Remove)?|Sensor(?:Repeat|Remove)?|Detected(?:Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|(?:[GS]et)(?:AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(?:Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(?:Scale|Offset|Rotate)Texture|(?:Rot)?Target(?:Remove)?|(?:Stop)?MoveToTarget|Apply(?:Rotational)?Impulse|Set(?:KeyframedMotion|ContentType|RegionPos|(?:Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(?:Queueing|Radius)|Vehicle(?:Type|(?:Float|Vector|Rotation)Param)|(?:Touch|Sit)?Text|Camera(?:Eye|At)Offset|PrimitiveParams|ClickAction|Link(?:Alpha|Color|PrimitiveParams(?:Fast)?|Texture(?:Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get(?:(?:Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(?:PrimitiveParams|Number(?:OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(?:Details|PermMask|PrimCount)|Parcel(?:MaxPrims|Details|Prim(?:Count|Owners))|Attached(?:List)?|(?:SPMax|Free|Used)Memory|Region(?:Name|TimeDilation|FPS|Corner|AgentCount)|Root(?:Position|Rotation)|UnixTime|(?:Parcel|Region)Flags|(?:Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(?:Prims|NotecardLines|Sides)|Animation(?:List)?|(?:Camera|Local)(?:Pos|Rot)|Vel|Accel|Omega|Time(?:stamp|OfDay)|(?:Object|CenterOf)?Mass|MassMKS|Energy|Owner|(?:Owner)?Key|SunDirection|Texture(?:Offset|Scale|Rot)|Inventory(?:Number|Name|Key|Type|Creator|PermMask)|Permissions(?:Key)?|StartParameter|List(?:Length|EntryType)|Date|Agent(?:Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(?:Name|State))|(?:Get|Reset|GetAndReset)Time|PlaySound(?:Slave)?|LoopSound(?:Master|Slave)?|(?:Trigger|Stop|Preload)Sound|(?:(?:Get|Delete)Sub|Insert)String|To(?:Upper|Lower)|Give(?:InventoryList|Money)|RezObject|(?:Stop)?LookAt|Sleep|CollisionFilter|(?:Take|Release)Controls|DetachFromAvatar|AttachToAvatar(?:Temp)?|InstantMessage|(?:GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(?:Length|Trim)|(?:Start|Stop)Animation|TargetOmega|Request(?:Experience)?Permissions|(?:Create|Break)Link|BreakAllLinks|(?:Give|Remove)Inventory|Water|PassTouches|Request(?:Agent|Inventory)Data|TeleportAgent(?:Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(?:Axis|Angle)|A(?:cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(?:CSV|Integer|Json|Float|String|Key|Vector|Rot|List(?:Strided)?)|DeleteSubList|List(?:Statistics|Sort|Randomize|(?:Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(?:CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(?:Slope|Normal|Contour)|GroundRepel|(?:Set|Remove)VehicleFlags|(?:AvatarOn)?(?:Link)?SitTarget|Script(?:Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(?:Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(?:Integer|String)ToBase64|XorBase64|Log(?:10)?|Base64To(?:String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(?:Load|Release|(?:E|Une)scape)URL|ParcelMedia(?:CommandList|Query)|ModPow|MapDestination|(?:RemoveFrom|AddTo|Reset)Land(?:Pass|Ban)List|(?:Set|Clear)CameraParams|HTTP(?:Request|Response)|TextBox|DetectedTouch(?:UV|Face|Pos|(?:N|Bin)ormal|ST)|(?:MD5|SHA1|DumpList2)String|Request(?:Secure)?URL|Clear(?:Prim|Link)Media|(?:Link)?ParticleSystem|(?:Get|Request)(?:Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(?:Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{i:":",c:[r,{cN:"comment",v:[e.C("//","$"),e.C("/\\*","\\*/")]},a,{cN:"section",v:[{b:"\\b(?:state|default)\\b"},{b:"\\b(?:state_(?:entry|exit)|touch(?:_(?:start|end))?|(?:land_)?collision(?:_(?:start|end))?|timer|listen|(?:no_)?sensor|control|(?:not_)?at_(?:rot_)?target|money|email|experience_permissions(?:_denied)?|run_time_permissions|changed|attach|dataserver|moving_(?:start|end)|link_message|(?:on|object)_rez|remote_data|http_re(?:sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{cN:"type",b:"\\b(?:integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}),e.registerLanguage("lua",function(e){var t="\\[=*\\[",r="\\]=*\\]",a={b:t,e:r,c:["self"]},i=[e.C("--(?!"+t+")","$"),e.C("--"+t,r,{c:[a],r:10})];return{l:e.UIR,k:{literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},c:i.concat([{cN:"function",bK:"function",e:"\\)",c:[e.inherit(e.TM,{b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{cN:"params",b:"\\(",eW:!0,c:i}].concat(i)},e.CNM,e.ASM,e.QSM,{cN:"string",b:t,e:r,c:[a],r:5}])}}),e.registerLanguage("makefile",function(e){var t={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%<?\^\+\*]/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t]},a={cN:"variable",b:/\$\([\w-]+\s/,e:/\)/,k:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},c:[t]},i={b:"^"+e.UIR+"\\s*[:+?]?=",i:"\\n",rB:!0,c:[{b:"^"+e.UIR,e:"[:+?]?=",eE:!0}]},o={cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},n={cN:"section",b:/^[^\s]+:/,e:/$/,c:[t]};return{aliases:["mk","mak"],k:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",l:/[\w-]+/,c:[e.HCM,t,r,a,i,o,n]}}),e.registerLanguage("mathematica",function(e){return{aliases:["mma"],l:"(\\$|\\b)"+e.IR+"\\b",k:"AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine Transparent UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian XMLElement XMLObject Xnor Xor Yellow YuleDissimilarity ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform $Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber",
-c:[{cN:"comment",b:/\(\*/,e:/\*\)/},e.ASM,e.QSM,e.CNM,{b:/\{/,e:/\}/,i:/:/}]}}),e.registerLanguage("matlab",function(e){var t="('|\\.')+",r={r:0,c:[{b:t}]};return{k:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},i:'(//|"|#|/\\*|\\s+/\\w+)',c:[{cN:"function",bK:"function",e:"$",c:[e.UTM,{cN:"params",v:[{b:"\\(",e:"\\)"},{b:"\\[",e:"\\]"}]}]},{cN:"built_in",b:/true|false/,r:0,starts:r},{b:"[a-zA-Z][a-zA-Z_0-9]*"+t,r:0},{cN:"number",b:e.CNR,r:0,starts:r},{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{b:/\]|}|\)/,r:0,starts:r},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}],starts:r},e.C("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),e.C("\\%","$")]}}),e.registerLanguage("maxima",function(e){var t="if then else elseif for thru do while unless step in and or not",r="true false unknown inf minf ind und %e %i %pi %phi %gamma",a=" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",i="_ __ %|0 %%|0";return{l:"[A-Za-z_%][0-9A-Za-z_%]*",k:{keyword:t,literal:r,built_in:a,symbol:i},c:[{cN:"comment",b:"/\\*",e:"\\*/",c:["self"]},e.QSM,{cN:"number",r:0,v:[{b:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{b:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",r:10},{b:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{b:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],i:/@/}}),e.registerLanguage("mel",function(e){return{k:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",
-i:"</",c:[e.CNM,e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE]},{b:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},e.CLCM,e.CBCM]}}),e.registerLanguage("mercury",function(e){var t={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},r=e.C("%","$"),a={cN:"number",b:"0'.\\|0[box][0-9a-fA-F]*"},i=e.inherit(e.ASM,{r:0}),o=e.inherit(e.QSM,{r:0}),n={cN:"subst",b:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",r:0};o.c.push(n);var s={cN:"built_in",v:[{b:"<=>"},{b:"<=",r:0},{b:"=>",r:0},{b:"/\\\\"},{b:"\\\\/"}]},l={cN:"built_in",v:[{b:":-\\|-->"},{b:"=",r:0}]};return{aliases:["m","moo"],k:t,c:[s,l,r,e.CBCM,a,e.NM,i,o,{b:/:-/}]}}),e.registerLanguage("mipsasm",function(e){return{cI:!0,aliases:["mips"],l:"\\.?"+e.IR,k:{meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},c:[{cN:"keyword",b:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(.hb)?|jr(.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs.[sd]|add.[sd]|alnv.ps|bc1[ft]l?|c.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et]).[sd]|(ceil|floor|round|trunc).[lw].[sd]|cfc1|cvt.d.[lsw]|cvt.l.[dsw]|cvt.ps.s|cvt.s.[dlw]|cvt.s.p[lu]|cvt.w.[dls]|div.[ds]|ldx?c1|luxc1|lwx?c1|madd.[sd]|mfc1|mov[fntz]?.[ds]|msub.[sd]|mth?c1|mul.[ds]|neg.[ds]|nmadd.[ds]|nmsub.[ds]|p[lu][lu].ps|recip.fmt|r?sqrt.[ds]|sdx?c1|sub.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",e:"\\s"},e.C("[;#]","$"),e.CBCM,e.QSM,{cN:"string",b:"'",e:"[^\\\\]'",r:0},{cN:"title",b:"\\|",e:"\\|",i:"\\n",r:0},{cN:"number",v:[{b:"0x[0-9a-f]+"},{b:"\\b-?\\d+"}],r:0},{cN:"symbol",v:[{b:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{b:"^\\s*[0-9]+:"},{b:"[0-9]+[bf]"}],r:0}],i:"/"}}),e.registerLanguage("mizar",function(e){return{k:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",c:[e.C("::","$")]}}),e.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},a={b:"->{",e:"}"},i={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},o=[e.BE,r,i],n=[i,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),a,{cN:"string",c:o,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=n,a.c=n,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:n}}),e.registerLanguage("mojolicious",function(e){return{sL:"xml",c:[{cN:"meta",b:"^__(END|DATA)__$"},{b:"^\\s*%{1,2}={0,2}",e:"$",sL:"perl"},{b:"<%{1,2}={0,2}",e:"={0,1}%>",sL:"perl",eB:!0,eE:!0}]}}),e.registerLanguage("monkey",function(e){var t={cN:"number",r:0,v:[{b:"[$][a-fA-F0-9]+"},e.NM]};return{cI:!0,k:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},i:/\/\*/,c:[e.C("#rem","#end"),e.C("'","$",{r:0}),{cN:"function",bK:"function method",e:"[(=:]|$",i:/\n/,c:[e.UTM]},{cN:"class",bK:"class interface",e:"$",c:[{bK:"extends implements"},e.UTM]},{cN:"built_in",b:"\\b(self|super)\\b"},{cN:"meta",b:"\\s*#",e:"$",k:{"meta-keyword":"if else elseif endif end then"}},{cN:"meta",b:"^\\s*strict\\b"},{bK:"alias",e:"=",c:[e.UTM]},e.QSM,t]}}),e.registerLanguage("moonscript",function(e){var t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",a={cN:"subst",b:/#\{/,e:/}/,k:t},i=[e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'/,e:/'/,c:[e.BE]},{b:/"/,e:/"/,c:[e.BE,a]}]},{cN:"built_in",b:"@__"+e.IR},{b:"@"+e.IR},{b:e.IR+"\\\\"+e.IR}];a.c=i;var o=e.inherit(e.TM,{b:r}),n="(\\(.*\\))?\\s*\\B[-=]>",s={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(i)}]};return{aliases:["moon"],k:t,i:/\/\*/,c:i.concat([e.C("--","$"),{cN:"function",b:"^\\s*"+r+"\\s*=\\s*"+n,e:"[-=]>",rB:!0,c:[o,s]},{b:/[\(,:=]\s*/,r:0,c:[{cN:"function",b:n,e:"[-=]>",rB:!0,c:[s]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[o]},o]},{cN:"name",b:r+":",e:":",rB:!0,rE:!0,r:0}])}}),e.registerLanguage("n1ql",function(e){return{cI:!0,c:[{bK:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",e:/;/,eW:!0,k:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},c:[{cN:"string",b:"'",e:"'",c:[e.BE],r:0},{cN:"string",b:'"',e:'"',c:[e.BE],r:0},{cN:"symbol",b:"`",e:"`",c:[e.BE],r:2},e.CNM,e.CBCM]},e.CBCM]}}),e.registerLanguage("nginx",function(e){var t={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},r={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,t],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[t]},{cN:"regexp",c:[e.BE,t],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},t]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:r}],r:0}],i:"[^\\s\\}]"}}),e.registerLanguage("nimrod",function(e){return{aliases:["nim"],k:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},c:[{cN:"meta",b:/{\./,e:/\.}/,r:10},{cN:"string",b:/[a-zA-Z]\w*"/,e:/"/,c:[{b:/""/}]},{cN:"string",b:/([a-zA-Z]\w*)?"""/,e:/"""/},e.QSM,{cN:"type",b:/\b[A-Z]\w+\b/,r:0},{cN:"number",r:0,v:[{b:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{b:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{b:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{b:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HCM]}}),e.registerLanguage("nix",function(e){var t={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},r={cN:"subst",b:/\$\{/,e:/}/,k:t},a={b:/[a-zA-Z0-9-_]+(\s*=)/,rB:!0,r:0,c:[{cN:"attr",b:/\S+/}]},i={cN:"string",c:[r],v:[{b:"''",e:"''"},{b:'"',e:'"'}]},o=[e.NM,e.HCM,e.CBCM,i,a];return r.c=o,{aliases:["nixos"],k:t,c:o}}),e.registerLanguage("nsis",function(e){var t={cN:"variable",b:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},r={cN:"variable",b:/\$+{[\w\.:-]+}/},a={cN:"variable",b:/\$+\w+/,i:/\(\){}/},i={cN:"variable",b:/\$+\([\w\^\.:-]+\)/},o={cN:"params",b:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},n={cN:"keyword",b:/\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},s={cN:"meta",b:/\$(\\[nrt]|\$)/},l={cN:"class",b:/\w+\:\:\w+/},_={cN:"string",v:[{b:'"',e:'"'},{b:"'",e:"'"},{b:"`",e:"`"}],i:/\n/,c:[s,t,r,a,i]};return{cI:!1,k:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI FunctionEnd GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PageExEnd Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionEnd SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionGroupEnd SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},c:[e.HCM,e.CBCM,e.C(";","$",{r:0}),{cN:"function",bK:"Function PageEx Section SectionGroup",e:"$"},_,n,r,a,i,o,l,e.NM]}}),e.registerLanguage("objectivec",function(e){var t={cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,i="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:r,l:a,i:"</",c:[t,e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[e.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"meta",b:"#",e:"$",c:[{cN:"meta-string",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+i.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:i,l:a,c:[e.UTM]},{b:"\\."+e.UIR,r:0}]}}),e.registerLanguage("ocaml",function(e){return{aliases:["ml"],k:{keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},i:/\/\/|>>/,l:"[a-z_]\\w*!?",c:[{cN:"literal",b:"\\[(\\|\\|)?\\]|\\(\\)",r:0},e.C("\\(\\*","\\*\\)",{c:["self"]}),{cN:"symbol",b:"'[A-Za-z_](?!')[\\w']*"},{cN:"type",b:"`[A-Z][\\w']*"},{cN:"type",b:"\\b[A-Z][\\w']*",r:0},{b:"[a-z_]\\w*'[\\w']*",r:0},e.inherit(e.ASM,{cN:"string",r:0}),e.inherit(e.QSM,{i:null}),{cN:"number",b:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",r:0},{b:/[-=]>/}]}}),e.registerLanguage("openscad",function(e){var t={cN:"keyword",b:"\\$(f[asn]|t|vp[rtd]|children)"},r={cN:"literal",b:"false|true|PI|undef"},a={cN:"number",b:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",r:0},i=e.inherit(e.QSM,{i:null}),o={cN:"meta",k:{"meta-keyword":"include use"},b:"include|use <",e:">"},n={cN:"params",b:"\\(",e:"\\)",c:["self",a,i,t,r]},s={b:"[*!#%]",r:0},l={cN:"function",bK:"module function",e:"\\=|\\{",c:[n,e.UTM]};return{aliases:["scad"],k:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},c:[e.CLCM,e.CBCM,a,o,i,t,s,l]}}),e.registerLanguage("oxygene",function(e){var t="abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",r=e.C("{","}",{r:0}),a=e.C("\\(\\*","\\*\\)",{r:10}),i={cN:"string",b:"'",e:"'",c:[{b:"''"}]},o={cN:"string",b:"(#\\d+)+"},n={cN:"function",bK:"function constructor destructor procedure method",e:"[:;]",k:"function constructor|10 destructor|10 procedure|10 method|10",c:[e.TM,{cN:"params",b:"\\(",e:"\\)",k:t,c:[i,o]},r,a]};return{cI:!0,l:/\.?\w+/,k:t,i:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',c:[r,a,e.CLCM,i,o,e.NM,n,{cN:"class",b:"=\\bclass\\b",e:"end;",k:t,c:[i,o,r,a,e.CLCM,n]}]}}),e.registerLanguage("parser3",function(e){var t=e.C("{","}",{c:["self"]});return{sL:"xml",r:0,c:[e.C("^#","$"),e.C("\\^rem{","}",{r:10,c:[t]}),{cN:"meta",b:"^@(?:BASE|USE|CLASS|OPTIONS)$",r:10},{cN:"title",b:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{cN:"variable",b:"\\$\\{?[\\w\\-\\.\\:]+\\}?"},{cN:"keyword",b:"\\^[\\w\\-\\.\\:]+"},{cN:"number",b:"\\^#[0-9a-fA-F]+"},e.CNM]}}),e.registerLanguage("pf",function(e){var t={cN:"variable",b:/\$[\w\d#@][\w\d_]*/},r={cN:"variable",b:/<(?!\/)/,e:/>/};return{aliases:["pf.conf"],l:/[a-z0-9_<>-]+/,k:{built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to routeallow-opts divert-packet divert-reply divert-to flags group icmp-typeicmp6-type label once probability recieved-on rtable prio queuetos tag tagged user keep fragment for os dropaf-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robinsource-hash static-portdup-to reply-to route-toparent bandwidth default min max qlimitblock-policy debug fingerprints hostid limit loginterface optimizationreassemble ruleset-optimization basic none profile skip state-defaultsstate-policy timeoutconst counters persistno modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppysource-track global rule max-src-nodes max-src-states max-src-connmax-src-conn-rate overload flushscrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},c:[e.HCM,e.NM,e.QSM,t,r]}}),e.registerLanguage("pgsql",function(e){var t=e.C("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+r+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",n="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",l="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",_=l.trim().split(" ").map(function(e){return e.split("|")[0]}).join("|"),c="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",d="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",p="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",u="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAPLEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILYINET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ",m=u.trim().split(" ").map(function(e){
-return e.split("|")[0]}).join("|");return{aliases:["postgres","postgresql"],cI:!0,k:{keyword:o+s+n,built_in:c+d+p},i:/:==|\W\s*\(\*|(^|\s)\$[a-z]|{{|[a-z]:\s*$|\.\.\.|TO:|DO:/,c:[{cN:"keyword",v:[{b:/\bTEXT\s*SEARCH\b/},{b:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{b:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{b:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{b:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{b:/\bNULLS\s+(FIRST|LAST)\b/},{b:/\bEVENT\s+TRIGGER\b/},{b:/\b(MAPPING|OR)\s+REPLACE\b/},{b:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{b:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{b:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{b:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{b:/\bPRESERVE\s+ROWS\b/},{b:/\bDISCARD\s+PLANS\b/},{b:/\bREFERENCING\s+(OLD|NEW)\b/},{b:/\bSKIP\s+LOCKED\b/},{b:/\bGROUPING\s+SETS\b/},{b:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{b:/\b(WITH|WITHOUT)\s+HOLD\b/},{b:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{b:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{b:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{b:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{b:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{b:/\bSECURITY\s+LABEL\b/},{b:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{b:/\bWITH\s+(NO\s+)?DATA\b/},{b:/\b(FOREIGN|SET)\s+DATA\b/},{b:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{b:/\b(WITH|FOR)\s+ORDINALITY\b/},{b:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{b:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{b:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{b:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{b:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{b:/\bAT\s+TIME\s+ZONE\b/},{b:/\bGRANTED\s+BY\b/},{b:/\bRETURN\s+(QUERY|NEXT)\b/},{b:/\b(ATTACH|DETACH)\s+PARTITION\b/},{b:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{b:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{b:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{b:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{b:/\bINCLUDE\s*\(/,k:"INCLUDE"},{b:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{b:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{b:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,r:10},{b:/\bEXTRACT\s*\(/,e:/\bFROM\b/,rE:!0,k:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{b:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,k:{keyword:"NAME"}},{b:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,k:{keyword:"DOCUMENT CONTENT"}},{bK:"CACHE INCREMENT MAXVALUE MINVALUE",e:e.CNR,rE:!0,k:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{cN:"type",b:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{cN:"type",b:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{b:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,k:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{b:"\\b("+m+")\\s*\\("},{b:"\\.("+_+")\\b"},{b:"\\b("+_+")\\s+PATH\\b",k:{keyword:"PATH",type:l.replace("PATH ","")}},{cN:"type",b:"\\b("+_+")\\b"},{cN:"string",b:"'",e:"'",c:[{b:"''"}]},{cN:"string",b:"(e|E|u&|U&)'",e:"'",c:[{b:"\\\\."}],r:10},{b:a,endSameAsBegin:!0,c:[{sL:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],eW:!0}]},{b:'"',e:'"',c:[{b:'""'}]},e.CNM,e.CBCM,t,{cN:"meta",v:[{b:"%(ROW)?TYPE",r:10},{b:"\\$\\d+"},{b:"^#\\w",e:"$"}]},{cN:"symbol",b:i,r:10}]}}),e.registerLanguage("php",function(e){var t={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},r={cN:"meta",b:/<\?(php)?|\?>/},a={cN:"string",c:[e.BE,r],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},i={v:[e.BNM,e.CNM]};return{aliases:["php","php3","php4","php5","php6","php7"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[r]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},r,{cN:"keyword",b:/\$this\b/},t,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",t,e.CBCM,a,i]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},a,i]}}),e.registerLanguage("plaintext",function(e){return{disableAutodetect:!0}}),e.registerLanguage("pony",function(e){var t={keyword:"actor addressof and as be break class compile_error compile_intrinsicconsume continue delegate digestof do else elseif embed end errorfor fun if ifdef in interface is isnt lambda let match new not objector primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},r={cN:"string",b:'"""',e:'"""',r:10},a={cN:"string",b:'"',e:'"',c:[e.BE]},i={cN:"string",b:"'",e:"'",c:[e.BE],r:0},o={cN:"type",b:"\\b_?[A-Z][\\w]*",r:0},n={b:e.IR+"'",r:0},s={cN:"class",bK:"class actor",e:"$",c:[e.TM,e.CLCM]},l={cN:"function",bK:"new fun",e:"=>",c:[e.TM,{b:/\(/,e:/\)/,c:[o,n,e.CNM,e.CBCM]},{b:/:/,eW:!0,c:[o]},e.CLCM]};return{k:t,c:[s,l,o,r,a,i,n,e.CNM,e.CLCM,e.CBCM]}}),e.registerLanguage("powershell",function(e){var t={b:"`[\\s\\S]",r:0},r={cN:"variable",v:[{b:/\$[\w\d][\w\d_:]*/}]},a={cN:"literal",b:/\$(null|true|false)\b/},i={cN:"string",v:[{b:/"/,e:/"/},{b:/@"/,e:/^"@/}],c:[t,r,{cN:"variable",b:/\$[A-z]/,e:/[^A-z]/}]},o={cN:"string",v:[{b:/'/,e:/'/},{b:/@'/,e:/^'@/}]},n={cN:"doctag",v:[{b:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{b:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},s=e.inherit(e.C(null,null),{v:[{b:/#/,e:/$/},{b:/<#/,e:/#>/}],c:[n]});return{aliases:["ps"],l:/-?[A-z\.\-]+/,cI:!0,k:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",built_in:"Add-Computer Add-Content Add-History Add-JobTrigger Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Host Clear-Item Clear-ItemProperty Clear-Variable Compare-Object Complete-Transaction Connect-PSSession Connect-WSMan Convert-Path ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-StringData ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Process Disable-ComputerRestore Disable-JobTrigger Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-WSManCredSSP Disconnect-PSSession Disconnect-WSMan Disable-ScheduledJob Enable-ComputerRestore Enable-JobTrigger Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-ScheduledJob Enable-WSManCredSSP Enter-PSSession Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Host Get-HotFix Get-Help Get-History Get-IseSnippet Get-Item Get-ItemProperty Get-Job Get-JobTrigger Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSProvider Get-PSSession Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-ScheduledJob Get-ScheduledJobOption Get-Service Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-Verb Get-WinEvent Get-WmiObject Get-WSManCredSSP Get-WSManInstance Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-IseSnippet Import-LocalizedData Import-PSSession Import-Module Invoke-AsWorkflow Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Invoke-WSManAction Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-IseSnippet New-Item New-ItemProperty New-JobTrigger New-Object New-Module New-ModuleManifest New-PSDrive New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-PSWorkflowExecutionOption New-PSWorkflowSession New-ScheduledJobOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent New-WSManInstance New-WSManSessionOption Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Receive-Job Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-ScheduledJob Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-JobTrigger Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Remove-WSManInstance Rename-Computer Rename-Item Rename-ItemProperty Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-JobTrigger Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-ScheduledJob Set-ScheduledJobOption Set-Service Set-StrictMode Set-TraceSource Set-Variable Set-WmiInstance Set-WSManInstance Set-WSManQuickConfig Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unregister-Event Unregister-PSSessionConfiguration Unregister-ScheduledJob Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Output Write-Progress Write-Verbose Write-Warning Add-MDTPersistentDrive Disable-MDTMonitorService Enable-MDTMonitorService Get-MDTDeploymentShareStatistics Get-MDTMonitorData Get-MDTOperatingSystemCatalog Get-MDTPersistentDrive Import-MDTApplication Import-MDTDriver Import-MDTOperatingSystem Import-MDTPackage Import-MDTTaskSequence New-MDTDatabase Remove-MDTMonitorData Remove-MDTPersistentDrive Restore-MDTPersistentDrive Set-MDTMonitorData Test-MDTDeploymentShare Test-MDTMonitorData Update-MDTDatabaseSchema Update-MDTDeploymentShare Update-MDTLinkedDS Update-MDTMedia Update-MDTMedia Add-VamtProductKey Export-VamtData Find-VamtManagedMachine Get-VamtConfirmationId Get-VamtProduct Get-VamtProductKey Import-VamtData Initialize-VamtData Install-VamtConfirmationId Install-VamtProductActivation Install-VamtProductKey Update-VamtProduct",nomarkup:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},c:[t,e.NM,i,o,a,r,s]}}),e.registerLanguage("processing",function(e){return{k:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM]}}),e.registerLanguage("profile",function(e){return{c:[e.CNM,{b:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",e:":",eE:!0},{b:"(ncalls|tottime|cumtime)",e:"$",k:"ncalls tottime|10 cumtime|10 filename",r:10},{b:"function calls",e:"$",c:[e.CNM],r:10},e.ASM,e.QSM,{cN:"string",b:"\\(",e:"\\)$",eB:!0,eE:!0,r:0}]}}),e.registerLanguage("prolog",function(e){var t={b:/[a-z][A-Za-z0-9_]*/,r:0},r={cN:"symbol",v:[{b:/[A-Z][a-zA-Z0-9_]*/},{b:/_[A-Za-z0-9_]*/}],r:0},a={b:/\(/,e:/\)/,r:0},i={b:/\[/,e:/\]/},o={cN:"comment",b:/%/,e:/$/,c:[e.PWM]},n={cN:"string",b:/`/,e:/`/,c:[e.BE]},s={cN:"string",b:/0\'(\\\'|.)/},l={cN:"string",b:/0\'\\s/},_={b:/:-/},c=[t,r,a,_,i,o,e.CBCM,e.QSM,e.ASM,n,s,l,e.CNM];return a.c=c,i.c=c,{c:c.concat([{b:/\.$/}])}}),e.registerLanguage("properties",function(e){var t="[ \\t\\f]*",r="[ \\t\\f]+",a="("+t+"[:=]"+t+"|"+r+")",i="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",o="([^\\\\:= \\t\\f\\n]|\\\\.)+",n={e:a,r:0,starts:{cN:"string",e:/$/,r:0,c:[{b:"\\\\\\n"}]}};return{cI:!0,i:/\S/,c:[e.C("^\\s*[!#]","$"),{b:i+a,rB:!0,c:[{cN:"attr",b:i,endsParent:!0,r:0}],starts:n},{b:o+a,rB:!0,r:0,c:[{cN:"meta",b:o,endsParent:!0,r:0}],starts:n},{cN:"attr",r:0,b:o+t+"$"}]}}),e.registerLanguage("protobuf",function(e){return{k:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},c:[e.QSM,e.NM,e.CLCM,{cN:"class",bK:"message enum service",e:/\{/,i:/\n/,c:[e.inherit(e.TM,{starts:{eW:!0,eE:!0}})]},{cN:"function",bK:"rpc",e:/;/,eE:!0,k:"rpc returns"},{b:/^\s*[A-Z_]+/,e:/\s*=/,eE:!0}]}}),e.registerLanguage("puppet",function(e){var t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},r=e.C("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=e.inherit(e.TM,{b:a}),o={cN:"variable",b:"\\$"+a},n={cN:"string",c:[e.BE,o],v:[{b:/'/,e:/'/},{b:/"/,e:/"/}]};return{aliases:["pp"],c:[r,o,n,{bK:"class",e:"\\{|;",i:/=/,c:[i,r]},{bK:"define",e:/\{/,c:[{cN:"section",b:e.IR,endsParent:!0}]},{b:e.IR+"\\s+\\{",rB:!0,e:/\S/,c:[{cN:"keyword",b:e.IR},{b:/\{/,e:/\}/,k:t,r:0,c:[n,r,{b:"[a-zA-Z_]+\\s*=>",rB:!0,e:"=>",c:[{cN:"attr",b:e.IR}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},o]}],r:0}]}}),e.registerLanguage("purebasic",function(e){var t={cN:"string",b:'(~)?"',e:'"',i:"\\n"},r={cN:"symbol",b:"#[a-zA-Z_]\\w*\\$?"};return{aliases:["pb","pbi"],k:"And As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect Continue Data DataSection EndDataSection Debug DebugLevel Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndEnumeration EndIf EndImport EndInterface EndMacro EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration Extends FakeReturn For Next ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface Macro NewList Not Or ProcedureReturn Protected Prototype PrototypeC Read ReDim Repeat Until Restore Return Select Shared Static Step Structure StructureUnion Swap To Wend While With XIncludeFile XOr Procedure ProcedureC ProcedureCDLL ProcedureDLL Declare DeclareC DeclareCDLL DeclareDLL",c:[e.C(";","$",{r:0}),{cN:"function",b:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",e:"\\(",eE:!0,rB:!0,c:[{cN:"keyword",b:"(Procedure|Declare)(C|CDLL|DLL)?",eE:!0},{cN:"type",b:"\\.\\w*"},e.UTM]},t,r]}}),e.registerLanguage("python",function(e){var t={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},r={cN:"meta",b:/^(>>>|\.\.\.) /},a={cN:"subst",b:/\{/,e:/\}/,k:t,i:/#/},i={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[e.BE,r],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[e.BE,r],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[e.BE,r,a]},{b:/(fr|rf|f)"""/,e:/"""/,c:[e.BE,r,a]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[e.BE,a]},{b:/(fr|rf|f)"/,e:/"/,c:[e.BE,a]},e.ASM,e.QSM]},o={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},n={cN:"params",b:/\(/,e:/\)/,c:["self",r,o,i]};return a.c=[i,o,r],{aliases:["py","gyp"],k:t,i:/(<\/|->|\?)|=>/,c:[r,o,i,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,n,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}}),e.registerLanguage("q",function(e){var t={keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"};return{aliases:["k","kdb"],k:t,l:/(`?)[A-Za-z0-9_]+\b/,c:[e.CLCM,e.QSM,e.CNM]}}),e.registerLanguage("qml",function(e){var t={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4dPromise"},r="[a-zA-Z_][a-zA-Z0-9\\._]*",a={cN:"keyword",b:"\\bproperty\\b",starts:{cN:"string",e:"(:|=|;|,|//|/\\*|$)",rE:!0}},i={cN:"keyword",b:"\\bsignal\\b",starts:{cN:"string",e:"(\\(|:|=|;|,|//|/\\*|$)",rE:!0}},o={cN:"attribute",b:"\\bid\\s*:",starts:{cN:"string",e:r,rE:!1}},n={b:r+"\\s*:",rB:!0,c:[{cN:"attribute",b:r,e:"\\s*:",eE:!0,r:0}],r:0},s={b:r+"\\s*{",e:"{",rB:!0,r:0,c:[e.inherit(e.TM,{b:r})]};return{aliases:["qt"],cI:!1,k:t,c:[{cN:"meta",b:/^\s*['"]use (strict|asm)['"]/},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{b:/</,e:/>\s*[);\]]/,r:0,sL:"xml"}],r:0},i,a,{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:[e.CLCM,e.CBCM]}],i:/\[|%/},{b:"\\."+e.IR,r:0},o,n,s],i:/#/}}),e.registerLanguage("r",function(e){var t="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{c:[e.HCM,{b:t,l:t,k:{keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},r:0},{cN:"number",b:"0[xX][0-9a-fA-F]+[Li]?\\b",r:0},{cN:"number",b:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",r:0},{cN:"number",b:"\\d+\\.(?!\\d)(?:i\\b)?",r:0},{cN:"number",b:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",r:0},{cN:"number",b:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",r:0},{b:"`",e:"`",r:0},{cN:"string",c:[e.BE],v:[{b:'"',e:'"'},{b:"'",e:"'"}]}]}}),e.registerLanguage("reasonml",function(e){function t(e){return e.map(function(e){return e.split("").map(function(e){return"\\"+e}).join("")}).join("|")}var r="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",i="'?[a-z$_][0-9a-z$_]*",o="s*:s*[a-z$_][0-9a-z$_]*((s*("+i+"s*(,"+i+")*)?s*))?",n=r+"("+o+")?("+o+")?",s="("+t(["||","&&","++","**","+.","*","/","*.","/.","...","|>"])+"|==|===)",l="\\s+"+s+"\\s+",_={keyword:"and as asr assert begin class constraint do done downto else end exception externalfor fun function functor if in include inherit initializerland lazy let lor lsl lsr lxor match method mod module mutable new nonrecobject of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},c="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",d={cN:"number",r:0,v:[{b:c},{b:"\\(\\-"+c+"\\)"}]},p={cN:"operator",r:0,b:s},u=[{cN:"identifier",r:0,b:r},p,d],m=[e.QSM,p,{cN:"module",b:"\\b"+a,rB:!0,e:".",c:[{cN:"identifier",b:a,r:0}]}],S=[{cN:"module",b:"\\b"+a,rB:!0,e:".",r:0,c:[{cN:"identifier",b:a,r:0}]}],E={b:r,e:"(,|\\n|\\))",r:0,c:[p,{cN:"typing",b:":",e:"(,|\\n)",rB:!0,r:0,c:S}]},g={cN:"function",r:0,k:_,v:[{b:"\\s(\\(\\.?.*?\\)|"+r+")\\s*=>",e:"\\s*=>",rB:!0,r:0,c:[{cN:"params",v:[{b:r},{b:n},{b:/\(\s*\)/}]}]},{b:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",e:"\\s=>",rB:!0,r:0,c:[{cN:"params",r:0,v:[E]}]},{b:"\\(\\.\\s"+r+"\\)\\s*=>"}]};m.push(g);var b={cN:"constructor",b:a+"\\(",e:"\\)",i:"\\n",k:_,c:[e.QSM,p,{cN:"params",b:"\\b"+r}]},T={cN:"pattern-match",b:"\\|",rB:!0,k:_,e:"=>",r:0,c:[b,p,{r:0,cN:"constructor",b:a}]},C={cN:"module-access",k:_,rB:!0,v:[{b:"\\b("+a+"\\.)+"+r},{b:"\\b("+a+"\\.)+\\(",e:"\\)",rB:!0,c:[g,{b:"\\(",e:"\\)",skip:!0}].concat(m)},{b:"\\b("+a+"\\.)+{",e:"}"}],c:m};return S.push(C),{aliases:["re"],k:_,i:"(:\\-|:=|\\${|\\+=)",c:[e.C("/\\*","\\*/",{i:"^(\\#,\\/\\/)"}),{cN:"character",b:"'(\\\\[^']+|[^'])'",i:"\\n",r:0},e.QSM,{cN:"literal",b:"\\(\\)",r:0},{cN:"literal",b:"\\[\\|",e:"\\|\\]",r:0,c:u},{cN:"literal",b:"\\[",e:"\\]",r:0,c:u},b,{cN:"operator",b:l,i:"\\-\\->",r:0},d,e.CLCM,T,g,{cN:"module-def",b:"\\bmodule\\s+"+r+"\\s+"+a+"\\s+=\\s+{",e:"}",rB:!0,k:_,r:0,c:[{cN:"module",r:0,b:a},{b:"{",e:"}",skip:!0}].concat(m)},C]}}),e.registerLanguage("rib",function(e){return{k:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",i:"</",c:[e.HCM,e.CNM,e.ASM,e.QSM]}}),e.registerLanguage("roboconf",function(e){var t="[a-zA-Z-_][^\\n{]+\\{",r={cN:"attribute",b:/[a-zA-Z-_]+/,e:/\s*:/,eE:!0,starts:{e:";",r:0,c:[{cN:"variable",b:/\.[a-zA-Z-_]+/},{cN:"keyword",b:/\(optional\)/}]}};return{aliases:["graph","instances"],cI:!0,k:"import",c:[{b:"^facet "+t,e:"}",k:"facet",c:[r,e.HCM]},{b:"^\\s*instance of "+t,e:"}",k:"name count channels instance-data instance-state instance of",i:/\S/,c:["self",r,e.HCM]},{b:"^"+t,e:"}",c:[r,e.HCM]},e.HCM]}}),e.registerLanguage("routeros",function(e){var t="foreach do while for if from to step else on-error and or not in",r="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",a="add remove enable disable set get print export edit find run debug error info warning",i="true false yes no nothing nil null",o="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firewall firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",n={
-cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},s={cN:"string",b:/"/,e:/"/,c:[e.BE,n,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]},l={cN:"string",b:/'/,e:/'/};return{aliases:["routeros","mikrotik"],cI:!0,l:/:?[\w-]+/,k:{literal:i,keyword:t+" :"+t.split(" ").join(" :")+" :"+r.split(" ").join(" :")},c:[{v:[{b:/^@/,e:/$/},{b:/\/\*/,e:/\*\//},{b:/%%/,e:/$/},{b:/^'/,e:/$/},{b:/^\s*\/[\w-]+=/,e:/$/},{b:/\/\//,e:/$/},{b:/^\[\</,e:/\>\]$/},{b:/<\//,e:/>/},{b:/^facet /,e:/\}/},{b:"^1\\.\\.(\\d+)$",e:/$/}],i:/./},e.C("^#","$"),s,l,n,{b:/[\w-]+\=([^\s\{\}\[\]\(\)]+)/,r:0,rB:!0,c:[{cN:"attribute",b:/[^=]+/},{b:/=/,eW:!0,r:0,c:[s,l,n,{cN:"literal",b:"\\b("+i.split(" ").join("|")+")\\b"},{b:/("[^"]*"|[^\s\{\}\[\]]+)/}]}]},{cN:"number",b:/\*[0-9a-fA-F]+/},{b:"\\b("+a.split(" ").join("|")+")([\\s[(]|])",rB:!0,c:[{cN:"builtin-name",b:/\w+/}]},{cN:"built_in",v:[{b:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+",r:10},{b:/\.\./}]}]}}),e.registerLanguage("rsl",function(e){return{k:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},i:"</",c:[e.CLCM,e.CBCM,e.QSM,e.ASM,e.CNM,{cN:"meta",b:"#",e:"$"},{cN:"class",bK:"surface displacement light volume imager",e:"\\("},{bK:"illuminate illuminance gather",e:"\\("}]}}),e.registerLanguage("ruleslanguage",function(e){return{k:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},c:[e.CLCM,e.CBCM,e.ASM,e.QSM,e.CNM,{cN:"literal",v:[{b:"#\\s+[a-zA-Z\\ \\.]*",r:0},{b:"#[a-zA-Z\\ \\.]+"}]}]}}),e.registerLanguage("rust",function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",r="alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield move default",a="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],k:{keyword:r,literal:"true false Some None Ok Err",built_in:a},l:e.IR+"!?",i:"</",c:[e.CLCM,e.C("/\\*","\\*/",{c:["self"]}),e.inherit(e.QSM,{b:/b?"/,i:null}),{cN:"string",v:[{b:/r(#*)"(.|\n)*?"\1(?!#)/},{b:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{cN:"symbol",b:/'[a-zA-Z_][a-zA-Z0-9_]*/},{cN:"number",v:[{b:"\\b0b([01_]+)"+t},{b:"\\b0o([0-7_]+)"+t},{b:"\\b0x([A-Fa-f0-9_]+)"+t},{b:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],r:0},{cN:"function",bK:"fn",e:"(\\(|<)",eE:!0,c:[e.UTM]},{cN:"meta",b:"#\\!?\\[",e:"\\]",c:[{cN:"meta-string",b:/"/,e:/"/}]},{cN:"class",bK:"type",e:";",c:[e.inherit(e.UTM,{endsParent:!0})],i:"\\S"},{cN:"class",bK:"trait enum struct union",e:"{",c:[e.inherit(e.UTM,{endsParent:!0})],i:"[\\w\\d]"},{b:e.IR+"::",k:{built_in:a}},{b:"->"}]}}),e.registerLanguage("sas",function(e){var t="do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where",r="abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate",a="bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window";return{aliases:["sas","SAS"],cI:!0,k:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:t},c:[{cN:"keyword",b:/^\s*(proc [\w\d_]+|data|run|quit)[\s\;]/},{cN:"variable",b:/\&[a-zA-Z_\&][a-zA-Z0-9_]*\.?/},{cN:"emphasis",b:/^\s*datalines|cards.*;/,e:/^\s*;\s*$/},{cN:"built_in",b:"%("+a+")"},{cN:"name",b:/%[a-zA-Z_][a-zA-Z_0-9]*/},{cN:"meta",b:"[^%]("+r+")[(]"},{cN:"string",v:[e.ASM,e.QSM]},e.C("\\*",";"),e.CBCM]}}),e.registerLanguage("scala",function(e){var t={cN:"meta",b:"@[A-Za-z]+"},r={cN:"subst",v:[{b:"\\$[A-Za-z0-9_]+"},{b:"\\${",e:"}"}]},a={cN:"string",v:[{b:'"',e:'"',i:"\\n",c:[e.BE]},{b:'"""',e:'"""',r:10},{b:'[a-z]+"',e:'"',i:"\\n",c:[e.BE,r]},{cN:"string",b:'[a-z]+"""',e:'"""',c:[r],r:10}]},i={cN:"symbol",b:"'\\w[\\w\\d_]*(?!')"},o={cN:"type",b:"\\b[A-Z][A-Za-z0-9_]*",r:0},n={cN:"title",b:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,r:0},s={cN:"class",bK:"class object trait type",e:/[:={\[\n;]/,eE:!0,c:[{bK:"extends with",r:10},{b:/\[/,e:/\]/,eB:!0,eE:!0,r:0,c:[o]},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,r:0,c:[o]},n]},l={cN:"function",bK:"def",e:/[:={\[(\n;]/,eE:!0,c:[n]};return{k:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},c:[e.CLCM,e.CBCM,a,i,o,l,s,e.CNM,t]}}),e.registerLanguage("scheme",function(e){var t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",r="(\\-|\\+)?\\d+([./]\\d+)?",a=r+"[+\\-]"+r+"i",i={"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={cN:"meta",b:"^#!",e:"$"},n={cN:"literal",b:"(#t|#f|#\\\\"+t+"|#\\\\.)"},s={cN:"number",v:[{b:r,r:0},{b:a,r:0},{b:"#b[0-1]+(/[0-1]+)?"},{b:"#o[0-7]+(/[0-7]+)?"},{b:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QSM,_=[e.C(";","$",{r:0}),e.C("#\\|","\\|#")],c={b:t,r:0},d={cN:"symbol",b:"'"+t},p={eW:!0,r:0},u={v:[{b:/'/},{b:"`"}],c:[{b:"\\(",e:"\\)",c:["self",n,l,s,c,d]}]},m={cN:"name",b:t,l:t,k:i},S={b:/lambda/,eW:!0,rB:!0,c:[m,{b:/\(/,e:/\)/,endsParent:!0,c:[c]}]},E={v:[{b:"\\(",e:"\\)"},{b:"\\[",e:"\\]"}],c:[S,m,p]};return p.c=[n,s,l,c,d,u,E].concat(_),{i:/\S/,c:[o,s,l,d,u,E].concat(_)}}),e.registerLanguage("scilab",function(e){var t=[e.CNM,{cN:"string",b:"'|\"",e:"'|\"",c:[e.BE,{b:"''"}]}];return{aliases:["sci"],l:/%?\w+/,k:{keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},i:'("|#|/\\*|\\s+/\\w+)',c:[{cN:"function",bK:"function",e:"$",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)"}]},{b:"[a-zA-Z_][a-zA-Z_0-9]*('+[\\.']*|[\\.']+)",e:"",r:0},{b:"\\[",e:"\\]'*[\\.']*",r:0,c:t},e.C("//","$")].concat(t)}}),e.registerLanguage("scss",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",r={cN:"variable",b:"(\\$"+t+")\\b"},a={cN:"number",b:"#[0-9A-Fa-f]+"};({cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:!0,i:"[^\\s]",starts:{eW:!0,eE:!0,c:[a,e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"meta",b:"!important"}]}});return{cI:!0,i:"[=/|']",c:[e.CLCM,e.CBCM,{cN:"selector-id",b:"\\#[A-Za-z0-9_-]+",r:0},{cN:"selector-class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"selector-attr",b:"\\[",e:"\\]",i:"$"},{cN:"selector-tag",b:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",r:0},{b:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{b:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},r,{cN:"attribute",b:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",i:"[^\\s]"},{b:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{b:":",e:";",c:[r,a,e.CSSNM,e.QSM,e.ASM,{cN:"meta",b:"!important"}]},{b:"@",e:"[{;]",k:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",c:[r,e.QSM,e.ASM,a,e.CSSNM,{b:"\\s[A-Za-z0-9_.-]+",r:0}]}]}}),e.registerLanguage("shell",function(e){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}}),e.registerLanguage("smali",function(e){var t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],r=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{aliases:["smali"],c:[{cN:"string",b:'"',e:'"',r:0},e.C("#","$",{r:0}),{cN:"keyword",v:[{b:"\\s*\\.end\\s[a-zA-Z0-9]*"},{b:"^[ ]*\\.[a-zA-Z]*",r:0},{b:"\\s:[a-zA-Z_0-9]*",r:0},{b:"\\s("+a.join("|")+")"}]},{cN:"built_in",v:[{b:"\\s("+t.join("|")+")\\s"},{b:"\\s("+t.join("|")+")((\\-|/)[a-zA-Z0-9]+)+\\s",r:10},{b:"\\s("+r.join("|")+")((\\-|/)[a-zA-Z0-9]+)*\\s",r:10}]},{cN:"class",b:"L[^(;:\n]*;",r:0},{b:"[vp][0-9]+"}]}}),e.registerLanguage("smalltalk",function(e){var t="[a-z][a-zA-Z0-9_]*",r={cN:"string",b:"\\$.{1}"},a={cN:"symbol",b:"#"+e.UIR};return{aliases:["st"],k:"self super nil true false thisContext",c:[e.C('"','"'),e.ASM,{cN:"type",b:"\\b[A-Z][A-Za-z0-9_]*",r:0},{b:t+":",r:0},e.CNM,a,r,{b:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",rB:!0,e:/\|/,i:/\S/,c:[{b:"(\\|[ ]*)?"+t}]},{b:"\\#\\(",e:"\\)",c:[e.ASM,r,e.CNM,a]}]}}),e.registerLanguage("sml",function(e){return{aliases:["ml"],k:{keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},i:/\/\/|>>/,l:"[a-z_]\\w*!?",c:[{cN:"literal",b:/\[(\|\|)?\]|\(\)/,r:0},e.C("\\(\\*","\\*\\)",{c:["self"]}),{cN:"symbol",b:"'[A-Za-z_](?!')[\\w']*"},{cN:"type",b:"`[A-Z][\\w']*"},{cN:"type",b:"\\b[A-Z][\\w']*",r:0},{b:"[a-z_]\\w*'[\\w']*"},e.inherit(e.ASM,{cN:"string",r:0}),e.inherit(e.QSM,{i:null}),{cN:"number",b:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",r:0},{b:/[-=]>/}]}}),e.registerLanguage("sqf",function(e){var t=e.getLanguage("cpp").exports,r={cN:"variable",b:/\b_+[a-zA-Z_]\w*/},a={cN:"title",b:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},i={cN:"string",v:[{b:'"',e:'"',c:[{b:'""',r:0}]},{b:"'",e:"'",c:[{b:"''",r:0}]}]};return{aliases:["sqf"],cI:!0,k:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler addForce addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem addSwitchableUnit addTeamMember addToRemainsCollector addTorque addUniform addVehicle addVest addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool addWeaponTurret admin agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airplaneThrottle airportSide AISFinishHeal alive all3DENEntities allAirports allControls allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSimpleObjects allSites allTurrets allUnits allUnitsUAV allVariables ammo ammoOnPylon and animate animateBay animateDoor animatePylon animateSource animationNames animationPhase animationSourcePhase animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor behaviour benchmark binocular boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canTriggerDynamicSimulation canUnloadInCombat canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory collectiveRTD combatMode commandArtilleryFire commandChat commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctAddHeader ctAddRow ctClear ctCurSel ctData ctFindHeaderRows ctFindRowHeader ctHeaderControls ctHeaderCount ctRemoveHeaders ctRemoveRows ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPixelPrecision ctrlSetPosition ctrlSetScale ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlTextWidth ctrlType ctrlVisible ctRowControls ctRowCount ctSetCurSel ctSetData ctSetHeaderTemplate ctSetRowTemplate ctSetValue ctValue curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup deleteGroupWhenEmpty deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts diag_captureFrame diag_captureFrameToFile diag_captureSlowFrame diag_codePerformance diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_lightNewLoad diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits diag_setLightNew diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI disableCollisionWith disableConversation disableDebriefingStats disableMapIndicators disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle drawTriangle driver drop dynamicSimulationDistance dynamicSimulationDistanceCoef dynamicSimulationEnabled dynamicSimulationSystemEnabled echo edit3DENMissionAttributes editObject editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack enableAudioFeature enableAutoStartUpRTD enableAutoTrimRTD enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot enableDebriefingStats enableDiagLegend enableDynamicSimulation enableDynamicSimulationSystem enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights enableInfoPanelComponent enableIRLasers enableMimics enablePersonTurret enableRadio enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition findEmptyPositionReady findIf findNearestEnemy finishMissionInit finite fire fireAtTarget firstBackpack flag flagAnimationPhase flagOwner flagSide flagTexture fleeing floor flyInHeight flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam forgetTarget format formation formationDirection formationLeader formationMembers formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllEnvSoundControllers getAllHitPointsDamage getAllOwnedMines getAllSoundControllers getAmmoCargo getAnimAimPrecision getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState getClientStateNumber getCompatiblePylonMagazines getConnectedUAV getContainerMaxLoad getCursorObjectParams getCustomAimCoef getDammage getDescription getDir getDirVisual getDLCAssetsUsage getDLCAssetsUsageByName getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit gunner gusts halt handgunItems handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups importance in inArea inAreaArray incapacitatedState inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDamageAllowed isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader isGroupDeletedWhenEmpty isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLaserOn isLightOn isLocalized isManualFire isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons isSimpleObject isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUIContext isUniformAllowed isVehicleCargo isVehicleRadarOn isVehicleSensorEnabled isWalking isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbColorRight lbCurSel lbData lbDelete lbIsSelected lbPicture lbPictureRight lbSelection lbSetColor lbSetColorRight lbSetCurSel lbSetData lbSetPicture lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetPictureRight lbSetPictureRightColor lbSetPictureRightColorDisabled lbSetPictureRightColorSelected lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetText lbSetTextRight lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText lbTextRight lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaderboardRequestRowsFriends leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize locationPosition lock lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual modelToWorldVisualWorld modelToWorldWorld modParams moonIntensity moonPhase morale move move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink productVersion profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl remoteExec remoteExecCall remoteExecutedOwner remove3DENConnection remove3DENEventHandler remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon removeWeaponAttachmentCargo removeWeaponCargo removeWeaponGlobal removeWeaponTurret reportRemoteTarget requiredVersion resetCamShake resetSubgroupDirection resize resources respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectRandomWeighted selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer set3DENLinesVisible set3DENLogicType set3DENMissionAttribute set3DENMissionAttributes set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setActualCollectiveRTD setAirplaneThrottle setAirportSide setAmmo setAmmoCargo setAmmoOnPylon setAnimSpeedCoef setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining setBrakesRTD setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTI setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation setConvoySeparation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef setCustomWeightRTD setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon setDriveOnPath setDropInterval setDynamicSimulationDistance setDynamicSimulationDistanceCoef setEditorMode setEditorObjectScope setEffectCondition setEngineRPMRTD setFace setFaceAnimation setFatigue setFeatureType setFlagAnimationPhase setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setInfoPanel setLeader setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlateNumber setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld setPylonLoadOut setPylonsPriority setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo setRotorBrakeRTD setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits setTargetAge setTaskMarkerOffset setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect setTrafficDensity setTrafficDistance setTrafficGap setTrafficSpeed setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setUserMFDText setUserMFDvalue setVariable setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleRadar setVehicleReceiveRemoteTargets setVehicleReportOwnPosition setVehicleReportRemoteTargets setVehicleTIPars setVehicleVarName setVelocity setVelocityModelSpace setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWantedRPMRTD setWaves setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWingForceScaleRTD setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth switchableUnits switchAction switchCamera switchGesture switchLight switchMove synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan targetKnowledge targets targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskParent taskResult taskState taskType teamMember teamName teams teamSwitch teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL terrainIntersectAtASL text textLog textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerDynamicSimulation triggerStatements triggerText triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear tvCollapse tvCollapseAll tvCount tvCurSel tvData tvDelete tvExpand tvExpandAll tvPicture tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent useAudioTimeForMoves userInputDisabled vectorAdd vectorCos vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorModelToWorld vectorModelToWorldVisual vectorMultiply vectorNormalized vectorUp vectorUpVisual vectorWorldToModel vectorWorldToModelVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicleReceiveRemoteTargets vehicleReportOwnPosition vehicleReportRemoteTargets vehicles vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ",
-literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},c:[e.CLCM,e.CBCM,e.NM,r,a,i,t.preprocessor],i:/#|^\$ /}}),e.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment with",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t,e.HCM]},e.CBCM,t,e.HCM]}}),e.registerLanguage("stan",function(e){return{c:[e.HCM,e.CLCM,e.CBCM,{b:e.UIR,l:e.UIR,k:{name:"for in while repeat until if then else",symbol:"bernoulli bernoulli_logit binomial binomial_logit beta_binomial hypergeometric categorical categorical_logit ordered_logistic neg_binomial neg_binomial_2 neg_binomial_2_log poisson poisson_log multinomial normal exp_mod_normal skew_normal student_t cauchy double_exponential logistic gumbel lognormal chi_square inv_chi_square scaled_inv_chi_square exponential inv_gamma weibull frechet rayleigh wiener pareto pareto_type_2 von_mises uniform multi_normal multi_normal_prec multi_normal_cholesky multi_gp multi_gp_cholesky multi_student_t gaussian_dlm_obs dirichlet lkj_corr lkj_corr_cholesky wishart inv_wishart","selector-tag":"int real vector simplex unit_vector ordered positive_ordered row_vector matrix cholesky_factor_corr cholesky_factor_cov corr_matrix cov_matrix",title:"functions model data parameters quantities transformed generated",literal:"true false"},r:0},{cN:"number",b:"0[xX][0-9a-fA-F]+[Li]?\\b",r:0},{cN:"number",b:"0[xX][0-9a-fA-F]+[Li]?\\b",r:0},{cN:"number",b:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",r:0},{cN:"number",b:"\\d+\\.(?!\\d)(?:i\\b)?",r:0},{cN:"number",b:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",r:0},{cN:"number",b:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",r:0}]}}),e.registerLanguage("stata",function(e){return{aliases:["do","ado"],cI:!0,k:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",c:[{cN:"symbol",b:/`[a-zA-Z0-9_]+'/},{cN:"variable",b:/\$\{?[a-zA-Z0-9_]+\}?/},{cN:"string",v:[{b:'`"[^\r\n]*?"\''},{b:'"[^\r\n"]*"'}]},{cN:"built_in",v:[{b:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)"}]},e.C("^[ ]*\\*.*$",!1),e.CLCM,e.CBCM]}}),e.registerLanguage("step21",function(e){var t="[A-Z_][A-Z0-9_.]*",r={keyword:"HEADER ENDSEC DATA"},a={cN:"meta",b:"ISO-10303-21;",r:10},i={cN:"meta",b:"END-ISO-10303-21;",r:10};return{aliases:["p21","step","stp"],cI:!0,l:t,k:r,c:[a,i,e.CLCM,e.CBCM,e.C("/\\*\\*!","\\*/"),e.CNM,e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null}),{cN:"string",b:"'",e:"'"},{cN:"symbol",v:[{b:"#",e:"\\d+",i:"\\W"}]}]}}),e.registerLanguage("stylus",function(e){var t={cN:"variable",b:"\\$"+e.IR},r={cN:"number",b:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},a=["charset","css","debug","extend","font-face","for","import","include","media","mixin","page","warn","while"],i=["after","before","first-letter","first-line","active","first-child","focus","hover","lang","link","visited"],o=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n="[\\.\\s\\n\\[\\:,]",s=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"],l=["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"];
-return{aliases:["styl"],cI:!1,k:"if else for in",i:"("+l.join("|")+")",c:[e.QSM,e.ASM,e.CLCM,e.CBCM,r,{b:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+n,rB:!0,c:[{cN:"selector-class",b:"\\.[a-zA-Z][a-zA-Z0-9_-]*"}]},{b:"\\#[a-zA-Z][a-zA-Z0-9_-]*"+n,rB:!0,c:[{cN:"selector-id",b:"\\#[a-zA-Z][a-zA-Z0-9_-]*"}]},{b:"\\b("+o.join("|")+")"+n,rB:!0,c:[{cN:"selector-tag",b:"\\b[a-zA-Z][a-zA-Z0-9_-]*"}]},{b:"&?:?:\\b("+i.join("|")+")"+n},{b:"@("+a.join("|")+")\\b"},t,e.CSSNM,e.NM,{cN:"function",b:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",i:"[\\n]",rB:!0,c:[{cN:"title",b:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{cN:"params",b:/\(/,e:/\)/,c:[r,t,e.ASM,e.CSSNM,e.NM,e.QSM]}]},{cN:"attribute",b:"\\b("+s.reverse().join("|")+")\\b",starts:{e:/;|$/,c:[r,t,e.ASM,e.QSM,e.CSSNM,e.NM,e.CBCM],i:/\./,r:0}}]}}),e.registerLanguage("subunit",function(e){var t={cN:"string",b:"\\[\n(multipart)?",e:"\\]\n"},r={cN:"string",b:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},a={cN:"string",b:"(\\+|-)\\d+"},i={cN:"keyword",r:10,v:[{b:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{b:"^progress(:?)(\\s+)?(pop|push)?"},{b:"^tags:"},{b:"^time:"}]};return{cI:!0,c:[t,r,a,i]}}),e.registerLanguage("swift",function(e){var t={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},r={cN:"type",b:"\\b[A-Z][\\wÀ-ʸ']*",r:0},a=e.C("/\\*","\\*/",{c:["self"]}),i={cN:"subst",b:/\\\(/,e:"\\)",k:t,c:[]},o={cN:"string",c:[e.BE,i],v:[{b:/"""/,e:/"""/},{b:/"/,e:/"/}]},n={cN:"number",b:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",r:0};return i.c=[n],{k:t,c:[o,e.CLCM,a,r,n,{cN:"function",bK:"func",e:"{",eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{b:/</,e:/>/},{cN:"params",b:/\(/,e:/\)/,endsParent:!0,k:t,c:["self",n,o,e.CBCM,{b:":"}],i:/["']/}],i:/\[|%/},{cN:"class",bK:"struct protocol class extension enum",k:t,e:"\\{",eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{cN:"meta",b:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain)"},{bK:"import",e:/$/,c:[e.CLCM,a]}]}}),e.registerLanguage("taggerscript",function(e){var t={cN:"comment",b:/\$noop\(/,e:/\)/,c:[{b:/\(/,e:/\)/,c:["self",{b:/\\./}]}],r:10},r={cN:"keyword",b:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,e:/\(/,eE:!0},a={cN:"variable",b:/%[_a-zA-Z0-9:]*/,e:"%"},i={cN:"symbol",b:/\\./};return{c:[t,r,a,i]}}),e.registerLanguage("yaml",function(e){var t="true false yes no null",r="^[ \\-]*",a="[a-zA-Z_][\\w\\-]*",i={cN:"attr",v:[{b:r+a+":"},{b:r+'"'+a+'":'},{b:r+"'"+a+"':"}]},o={cN:"template-variable",v:[{b:"{{",e:"}}"},{b:"%{",e:"}"}]},n={cN:"string",r:0,v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/\S+/}],c:[e.BE,o]};return{cI:!0,aliases:["yml","YAML","yaml"],c:[i,{cN:"meta",b:"^---s*$",r:10},{cN:"string",b:"[\\|>] *$",rE:!0,c:n.c,e:i.v[0].b},{b:"<%[%=-]?",e:"[%-]?%>",sL:"ruby",eB:!0,eE:!0,r:0},{cN:"type",b:"!"+e.UIR},{cN:"type",b:"!!"+e.UIR},{cN:"meta",b:"&"+e.UIR+"$"},{cN:"meta",b:"\\*"+e.UIR+"$"},{cN:"bullet",b:"^ *-",r:0},e.HCM,{bK:t,k:{literal:t}},e.CNM,n]}}),e.registerLanguage("tap",function(e){return{cI:!0,c:[e.HCM,{cN:"meta",v:[{b:"^TAP version (\\d+)$"},{b:"^1\\.\\.(\\d+)$"}]},{b:"(s+)?---$",e:"\\.\\.\\.$",sL:"yaml",r:0},{cN:"number",b:" (\\d+) "},{cN:"symbol",v:[{b:"^ok"},{b:"^not ok"}]}]}}),e.registerLanguage("tcl",function(e){return{aliases:["tk"],k:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",c:[e.C(";[ \\t]*#","$"),e.C("^[ \\t]*#","$"),{bK:"proc",e:"[\\{]",eE:!0,c:[{cN:"title",b:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",e:"[ \\t\\n\\r]",eW:!0,eE:!0}]},{eE:!0,v:[{b:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)",e:"[^a-zA-Z0-9_\\}\\$]"},{b:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",e:"(\\))?[^a-zA-Z0-9_\\}\\$]"}]},{cN:"string",c:[e.BE],v:[e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},{cN:"number",v:[e.BNM,e.CNM]}]}}),e.registerLanguage("tex",function(e){var t={cN:"tag",b:/\\/,r:0,c:[{cN:"name",v:[{b:/[a-zA-Zа-яА-я]+[*]?/},{b:/[^a-zA-Zа-яА-я0-9]/}],starts:{eW:!0,r:0,c:[{cN:"string",v:[{b:/\[/,e:/\]/},{b:/\{/,e:/\}/}]},{b:/\s*=\s*/,eW:!0,r:0,c:[{cN:"number",b:/-?\d*\.?\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/}]}]}}]};return{c:[t,{cN:"formula",c:[t],r:0,v:[{b:/\$\$/,e:/\$\$/},{b:/\$/,e:/\$/}]},e.C("%","$",{r:0})]}}),e.registerLanguage("thrift",function(e){var t="bool byte i16 i32 i64 double string binary";return{k:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:t,literal:"true false"},c:[e.QSM,e.NM,e.CLCM,e.CBCM,{cN:"class",bK:"struct enum service exception",e:/\{/,i:/\n/,c:[e.inherit(e.TM,{starts:{eW:!0,eE:!0}})]},{b:"\\b(set|list|map)\\s*<",e:">",k:t,c:["self"]}]}}),e.registerLanguage("tp",function(e){var t={cN:"number",b:"[1-9][0-9]*",r:0},r={cN:"symbol",b:":[^\\]]+"},a={cN:"built_in",b:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER| TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",e:"\\]",c:["self",t,r]},i={cN:"built_in",b:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",e:"\\]",c:["self",t,e.QSM,r]};return{k:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},c:[a,i,{cN:"keyword",b:"/(PROG|ATTR|MN|POS|END)\\b"},{cN:"keyword",b:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{cN:"keyword",b:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{cN:"number",b:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",r:0},e.C("//","[;$]"),e.C("!","[;$]"),e.C("--eg:","$"),e.QSM,{cN:"string",b:"'",e:"'"},e.CNM,{cN:"variable",b:"\\$[A-Za-z0-9_]+"}]}}),e.registerLanguage("twig",function(e){var t={cN:"params",b:"\\(",e:"\\)"},r="attribute block constant cycle date dump include max min parent random range source template_from_string",a={bK:r,k:{name:r},r:0,c:[t]},i={b:/\|[A-Za-z_]+:?/,k:"abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode",c:[a]},o="autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim";return o=o+" "+o.split(" ").map(function(e){return"end"+e}).join(" "),{aliases:["craftcms"],cI:!0,sL:"xml",c:[e.C(/\{#/,/#}/),{cN:"template-tag",b:/\{%/,e:/%}/,c:[{cN:"name",b:/\w+/,k:o,starts:{eW:!0,c:[i,a],r:0}}]},{cN:"template-variable",b:/\{\{/,e:/}}/,c:["self",i,a]}]}}),e.registerLanguage("typescript",function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},a={cN:"meta",b:"@"+t},i={b:"\\(",e:/\)/,k:r,c:["self",e.QSM,e.ASM,e.NM]},o={cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:[e.CLCM,e.CBCM,a,i]};return{aliases:["ts"],k:r,c:[{cN:"meta",b:/^\s*['"]use strict['"]/},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+e.IR+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:e.IR},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:["self",e.CLCM,e.CBCM]}]}]}],r:0},{cN:"function",b:"function",e:/[\{;]/,eE:!0,k:r,c:["self",e.inherit(e.TM,{b:t}),o],i:/%/,r:0},{bK:"constructor",e:/\{/,eE:!0,c:["self",o]},{b:/module\./,k:{built_in:"module"},r:0},{bK:"module",e:/\{/,eE:!0},{bK:"interface",e:/\{/,eE:!0,k:"interface extends"},{b:/\$[(.]/},{b:"\\."+e.IR,r:0},a,i]}}),e.registerLanguage("vala",function(e){return{k:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},c:[{cN:"class",bK:"class interface namespace",e:"{",eE:!0,i:"[^,:\\n\\s\\.]",c:[e.UTM]},e.CLCM,e.CBCM,{cN:"string",b:'"""',e:'"""',r:5},e.ASM,e.QSM,e.CNM,{cN:"meta",b:"^#",e:"$",r:2}]}}),e.registerLanguage("vbnet",function(e){return{aliases:["vb"],cI:!0,k:{keyword:"addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass namespace narrowing new next not notinheritable notoverridable of off on operator option optional or order orelse overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim rem removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly xor",built_in:"boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype date decimal directcast double gettype getxmlnamespace iif integer long object sbyte short single string trycast typeof uinteger ulong ushort",literal:"true false nothing"},i:"//|{|}|endif|gosub|variant|wend|^\\$ ",c:[e.inherit(e.QSM,{c:[{b:'""'}]}),e.C("'","$",{rB:!0,c:[{cN:"doctag",b:"'''|<!--|-->",c:[e.PWM]},{cN:"doctag",b:"</?",e:">",c:[e.PWM]}]}),e.CNM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elseif end region externalsource"}}]}}),e.registerLanguage("vbscript",function(e){return{aliases:["vbs"],cI:!0,k:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:"lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",literal:"true false null nothing empty"},i:"//",c:[e.inherit(e.QSM,{c:[{b:'""'}]}),e.C(/'/,/$/,{r:0}),e.CNM]}}),e.registerLanguage("vbscript-html",function(e){return{sL:"xml",c:[{b:"<%",e:"%>",sL:"vbscript"}]}}),e.registerLanguage("verilog",function(e){var t={keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"};return{aliases:["v","sv","svh"],cI:!1,k:t,l:/[\w\$]+/,c:[e.CBCM,e.CLCM,e.QSM,{cN:"number",c:[e.BE],v:[{b:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{b:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{b:"\\b([0-9_])+",r:0}]},{cN:"variable",v:[{b:"#\\((?!parameter).+\\)"},{b:"\\.\\w+",r:0}]},{cN:"meta",b:"`",e:"$",k:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},r:0}]}}),e.registerLanguage("vhdl",function(e){var t="\\d(_|\\d)*",r="[eE][-+]?"+t,a=t+"(\\."+t+")?("+r+")?",i="\\w+",o=t+"#"+i+"(\\."+i+")?#("+r+")?",n="\\b("+o+"|"+a+")";return{cI:!0,k:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},i:"{",c:[e.CBCM,e.C("--","$"),e.QSM,{cN:"number",b:n,r:0},{cN:"string",b:"'(U|X|0|1|Z|W|L|H|-)'",c:[e.BE]},{cN:"symbol",b:"'[A-Za-z](_?[A-Za-z0-9])*",c:[e.BE]}]}}),e.registerLanguage("vim",function(e){return{l:/[!#@\w]+/,k:{keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},i:/;/,c:[e.NM,{cN:"string",b:"'",e:"'",i:"\\n"},{cN:"string",b:/"(\\"|\n\\|[^"\n])*"/},e.C('"',"$"),{cN:"variable",b:/[bwtglsav]:[\w\d_]*/},{cN:"function",bK:"function function!",e:"$",r:0,c:[e.TM,{cN:"params",b:"\\(",e:"\\)"}]},{cN:"symbol",b:/<[\w-]+>/}]}}),e.registerLanguage("x86asm",function(e){return{cI:!0,l:"[.%]?"+e.IR,k:{keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",
-built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},c:[e.C(";","$",{r:0}),{cN:"number",v:[{b:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",r:0},{b:"\\$[0-9][0-9A-Fa-f]*",r:0},{b:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{b:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QSM,{cN:"string",v:[{b:"'",e:"[^\\\\]'"},{b:"`",e:"[^\\\\]`"}],r:0},{cN:"symbol",v:[{b:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{b:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],r:0},{cN:"subst",b:"%[0-9]+",r:0},{cN:"subst",b:"%!S+",r:0},{cN:"meta",b:/^\s*\.[\w_-]+/}]}}),e.registerLanguage("xl",function(e){var t="ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts",r={keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+t},a={cN:"string",b:'"',e:'"',i:"\\n"},i={cN:"string",b:"'",e:"'",i:"\\n"},o={cN:"string",b:"<<",e:">>"},n={cN:"number",b:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},s={bK:"import",e:"$",k:r,c:[a]},l={cN:"function",b:/[a-z][^\n]*->/,rB:!0,e:/->/,c:[e.inherit(e.TM,{starts:{eW:!0,k:r}})]};return{aliases:["tao"],l:/[a-zA-Z][a-zA-Z0-9_?]*/,k:r,c:[e.CLCM,e.CBCM,a,i,o,l,s,n,e.NM]}}),e.registerLanguage("xquery",function(e){var t="for let if while then else return where group by xquery encoding versionmodule namespace boundary-space preserve strip default collation base-uri orderingcopy-namespaces order declare import schema namespace function option in allowing emptyat tumbling window sliding window start when only end when previous next stable ascendingdescending empty greatest least some every satisfies switch case typeswitch try catch andor to union intersect instance of treat as castable cast map array delete insert intoreplace value rename copy modify update",r="false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute",a={b:/\$[a-zA-Z0-9\-]+/},i={cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},o={cN:"string",v:[{b:/"/,e:/"/,c:[{b:/""/,r:0}]},{b:/'/,e:/'/,c:[{b:/''/,r:0}]}]},n={cN:"meta",b:"%\\w+"},s={cN:"comment",b:"\\(:",e:":\\)",r:10,c:[{cN:"doctag",b:"@\\w+"}]},l={b:"{",e:"}"},_=[a,o,i,s,n,l];return l.c=_,{aliases:["xpath","xq"],cI:!1,l:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,i:/(proc)|(abstract)|(extends)|(until)|(#)/,k:{keyword:t,literal:r},c:_}}),e.registerLanguage("zephir",function(e){var t={cN:"string",c:[e.BE],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},r={v:[e.BNM,e.CNM]};return{aliases:["zep"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var let while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally int uint long ulong char uchar double float bool boolean stringlikely unlikely",c:[e.CLCM,e.HCM,e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[e.BE]},{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",e.CBCM,t,r]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},t,r]}}),e});
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/styles/vs.min.css b/src/app/dev/DevToys.MonacoEditor/highlightjs/styles/vs.min.css
deleted file mode 100644
index 645dd3d45..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/styles/vs.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.hljs{display:block;overflow-x:auto;padding:0.5em;background:white;color:black}.hljs-comment,.hljs-quote,.hljs-variable{color:#008000}.hljs-keyword,.hljs-selector-tag,.hljs-built_in,.hljs-name,.hljs-tag{color:#00f}.hljs-string,.hljs-title,.hljs-section,.hljs-attribute,.hljs-literal,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-addition{color:#a31515}.hljs-deletion,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-meta{color:#2b91af}.hljs-doctag{color:#808080}.hljs-attr{color:#f00}.hljs-symbol,.hljs-bullet,.hljs-link{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/highlightjs/styles/vs2015.min.css b/src/app/dev/DevToys.MonacoEditor/highlightjs/styles/vs2015.min.css
deleted file mode 100644
index 45a53b1a8..000000000
--- a/src/app/dev/DevToys.MonacoEditor/highlightjs/styles/vs2015.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.hljs{display:block;overflow-x:auto;padding:0.5em;background:#1E1E1E;color:#DCDCDC}.hljs-keyword,.hljs-literal,.hljs-symbol,.hljs-name{color:#569CD6}.hljs-link{color:#569CD6;text-decoration:underline}.hljs-built_in,.hljs-type{color:#4EC9B0}.hljs-number,.hljs-class{color:#B8D7A3}.hljs-string,.hljs-meta-string{color:#D69D85}.hljs-regexp,.hljs-template-tag{color:#9A5334}.hljs-subst,.hljs-function,.hljs-title,.hljs-params,.hljs-formula{color:#DCDCDC}.hljs-comment,.hljs-quote{color:#57A64A;font-style:italic}.hljs-doctag{color:#608B4E}.hljs-meta,.hljs-meta-keyword,.hljs-tag{color:#9B9B9B}.hljs-variable,.hljs-template-variable{color:#BD63C5}.hljs-attr,.hljs-attribute,.hljs-builtin-name{color:#9CDCFE}.hljs-section{color:gold}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}.hljs-bullet,.hljs-selector-tag,.hljs-selector-id,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo{color:#D7BA7D}.hljs-addition{background-color:#144212;display:inline-block;width:100%}.hljs-deletion{background-color:#600;display:inline-block;width:100%}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.DebugLogger.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.DebugLogger.ts
deleted file mode 100644
index 4b492be5b..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.DebugLogger.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-//namespace DevToys.MonacoEditor.Monaco.Helpers {
- interface DebugLogger {
- log(message: string);
- }
-//}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.KeyboardListener.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.KeyboardListener.ts
deleted file mode 100644
index beea49aec..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.KeyboardListener.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-//namespace DevToys.MonacoEditor.Monaco.Helpers {
-interface KeyboardListener {
- keyDown(keycode: number, ctrl: boolean, shift: boolean, alt: boolean, meta: boolean): boolean;
-}
-//}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.ParentAccessor.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.ParentAccessor.ts
deleted file mode 100644
index 7959afa21..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/Monaco.Helpers.ParentAccessor.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-//namespace DevToys.MonacoEditor.Monaco.Helpers {
-interface ParentAccessor {
- callAction(name: string): boolean;
- callActionWithParameters(name: string, parameters: string[]): boolean;
- callEvent(name: string, parameters: string[]): Promise<string>
- close();
- getChildValue(name: string, child: string): Promise<any>;
- getJsonValue(name: string): Promise<string>;
- getValue(name: string): Promise<any>;
- setValue(name: string, value: any): Promise<undefined>;
- setValueWithType(name: string, value: string, type: string): Promise<undefined>;
- callActionWithParameters(name: string, parameter1: string, parameter2: string): boolean;
- callEvent(name: string, callbackMethod: string, parameter1: string, parameter2: string);
- getJsonValue(name: string, returnId: string);
-}
-
-//}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/editorContext.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/editorContext.ts
deleted file mode 100644
index f08f5602e..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/editorContext.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-class EditorContext {
- static _editors: Map<any, EditorContext> = new Map<any, EditorContext>();
-
- public static registerEditorForElement(element: any, editor: monaco.editor.IEditor): EditorContext {
- var value = EditorContext.getEditorForElement(element);
- value.editor = editor;
- return value;
- }
-
- public static getEditorForElement(element: any): EditorContext {
- var context = EditorContext._editors.get(element);
-
- if (!context) {
- context = new EditorContext();
- context.htmlElement = element;
- EditorContext._editors.set(element, context);
- }
-
- return context;
- }
-
- constructor() {
- this.modifingSelection = false;
- this.contexts = {};
- this.decorations = [];
- }
-
- public Accessor: ParentAccessor;
- public Keyboard: KeyboardListener;
- public Theme: ThemeAccessor;
- public Debug: DebugLogger;
-
- public editor: monaco.editor.IEditor;
- public standaloneEditor: monaco.editor.IStandaloneCodeEditor;
- public diffEditor: monaco.editor.IStandaloneDiffEditor;
- public model: monaco.editor.ITextModel;
- public contexts: { [index: string]: monaco.editor.IContextKey<any> };
- public decorations: string[];
- public modifingSelection: boolean; // Supress updates to selection when making edits.
- public htmlElement: any;
-}
-
-class TextSpan {
- public StartPosition: number;
- public Length: number;
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/monacoInitializer.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/monacoInitializer.ts
deleted file mode 100644
index 257d9e9fd..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/monacoInitializer.ts
+++ /dev/null
@@ -1,184 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-const createMonacoEditor = (basePath: string, element: any) => {
- let editorContext = EditorContext.getEditorForElement(element);
- let debug = editorContext.Debug;
- debug.log("Create dynamic style element");
-
- var head = document.head || document.getElementsByTagName('head')[0];
- var style = document.createElement('style');
- style.id = 'dynamic';
- head.appendChild(style);
-
- debug.log("Starting Monaco Load");
-
- (<any>window).require.config({ paths: { 'vs': `${basePath}/monaco-editor/min/vs` } });
- (<any>window).require(['vs/editor/editor.main'], async function () {
- await initializeMonacoEditorAsync(editorContext);
- });
-}
-
-const initializeMonacoEditorAsync = async (editorContext: EditorContext) => {
- let debug = editorContext.Debug;
- let accessor = editorContext.Accessor;
-
- debug.log("Determining if a standard editor or diff view editor should be created.");
- let isDiffView = await getParentValue(editorContext, "IsDiffViewMode");
- isDiffView = (isDiffView === "true" || isDiffView == true);
-
- if (isDiffView) {
- await initializeDiffModeMonacoEditorAsync(editorContext);
- }
- else {
- await initializeStandardMonacoEditorAsync(editorContext);
- }
-
- //// Set theme
- debug.log("Getting accessor theme value");
- let theme = await getParentJsonValue(editorContext, "ActualTheme");
- switch (theme) {
- case "0":
- theme = "Default";
- break;
- case "1":
- theme = "Light";
- break;
- case "2":
- theme = "Dark";
- break;
- default:
- debug.log("Unknown theme");
- }
-
- debug.log("Current theme value - " + theme);
- if (theme == "Default")
- {
- debug.log("Loading default theme");
- theme = await getThemeCurrentThemeName(editorContext);
- }
-
- debug.log("Changing theme");
- setTheme(editorContext, await getAccentColorHtmlHex(editorContext));
- changeTheme(editorContext, theme, await getThemeIsHighContrast(editorContext), false);
-
- // Update Monaco Size when we receive a window resize event
- debug.log("Listen for resize events on the window and resize the editor");
- window.addEventListener(
- "resize",
- () => {
- editorContext.editor.layout();
- });
-
- // Disable WebView Scrollbar so Monaco Scrollbar can do heavy lifting
- document.body.style.overflow = 'hidden';
-
- // Callback to Parent that we're loaded
- debug.log("Loaded Monaco");
- accessor.callAction("Loaded");
-
- debug.log("Ending Monaco Load");
-}
-
-const initializeStandardMonacoEditorAsync = async (editorContext: EditorContext) => {
- let debug = editorContext.Debug;
- let accessor = editorContext.Accessor;
- debug.log("Grabbing Monaco Options");
-
- // link:CodeEditor.Options
- let opt = await getOptions(editorContext);
-
- debug.log("Getting Parent Text value");
-
- // link:CodeEditor.Text
- opt["value"] = await getParentValue(editorContext, "Text");
-
- debug.log("Creating Editor");
- const editor = monaco.editor.create(editorContext.htmlElement, opt);
- EditorContext.registerEditorForElement(editorContext.htmlElement, editor);
- editorContext.standaloneEditor = editor;
-
- debug.log("Getting & Configuring Editor model");
- let model = editor.getModel();
- model.updateOptions({
- bracketColorizationOptions: { enabled: true }
- });
- editorContext.model = model;
-
- // Listen for Content Changes
- debug.log("Listening for changes in the editor model - " + (!model));
- model.onDidChangeContent(
- async (event) => {
- // link:CodeEditor.Text
- await accessor.setValue("Text", model.getValue());
- });
-
- // Listen for Selection Changes
- debug.log("Listening for changes in the editor selection");
- editor.onDidChangeCursorSelection(
- async (event) => {
- if (!editorContext.modifingSelection) {
- var primarySelection = editor.getSelection();
- var start = model.getOffsetAt(primarySelection.getStartPosition());
- var end = model.getOffsetAt(primarySelection.getEndPosition());
-
- var selectedSpan = new TextSpan();
- selectedSpan.StartPosition = start;
- selectedSpan.Length = end - start;
-
- // link:CodeEditor.SelectedSpan of type TextSpan
- await accessor.setValueWithType("SelectedSpan", stringifyForMarshalling(JSON.stringify(selectedSpan)), "TextSpan");
- }
- });
-
- // Listen for focus changes.
- debug.log("Listen for focus events");
- editorContext.standaloneEditor.onDidFocusEditorWidget(
- async (event) => {
- accessor.callAction("GotFocus");
- });
- editorContext.standaloneEditor.onDidBlurEditorWidget(
- async (event) => {
- accessor.callAction("LostFocus");
- });
-}
-
-const initializeDiffModeMonacoEditorAsync = async (editorContext: EditorContext) => {
- let debug = editorContext.Debug;
- let accessor = editorContext.Accessor;
- debug.log("Grabbing Monaco Options");
-
- // link:CodeEditor.DiffOptions
- let opt = await getDiffOptions(editorContext);
-
- debug.log("Creating Diff Editor");
- const editor = monaco.editor.createDiffEditor(editorContext.htmlElement, opt);
- EditorContext.registerEditorForElement(editorContext.htmlElement, editor);
- editorContext.diffEditor = editor;
-
- debug.log("Getting & Configuring Diff Editor model");
- let originalModel = monaco.editor.createModel("", "text/plain");
- let modifiedModel = monaco.editor.createModel("", "text/plain");
- editor.setModel({
- original: originalModel,
- modified: modifiedModel
- });
-
- // Listen for focus changes.
- debug.log("Listen for focus events");
- editorContext.diffEditor.getOriginalEditor().onDidFocusEditorWidget(
- async (event) => {
- accessor.callAction("GotFocus");
- });
- editorContext.diffEditor.getModifiedEditor().onDidFocusEditorWidget(
- async (event) => {
- accessor.callAction("GotFocus");
- });
- editorContext.diffEditor.getOriginalEditor().onDidBlurEditorWidget(
- async (event) => {
- accessor.callAction("LostFocus");
- });
- editorContext.diffEditor.getModifiedEditor().onDidBlurEditorWidget(
- async (event) => {
- accessor.callAction("LostFocus");
- });
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/otherScriptsToBeOrganized.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/otherScriptsToBeOrganized.ts
deleted file mode 100644
index ed2359cb4..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/otherScriptsToBeOrganized.ts
+++ /dev/null
@@ -1,288 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-const registerHoverProvider = function (editorContext: EditorContext, languageId: string) {
- return monaco.languages.registerHoverProvider(languageId, {
- provideHover: function (model, position) {
- return callParentEventAsync(editorContext, "HoverProvider" + languageId, [JSON.stringify(position)]).then(result => {
- if (result) {
- return JSON.parse(result);
- }
- });
- }
- });
-};
-
-const addAction = function (editorContext: EditorContext, action: monaco.editor.IActionDescriptor) {
- action.run = function (ed) {
- editorContext.Accessor.callAction("Action" + action.id)
- };
-
- if (editorContext.standaloneEditor != null) {
- editorContext.standaloneEditor.addAction(action);
- }
- else {
- editorContext.diffEditor.addAction(action);
- }
-};
-
-const addCommand = function (editorContext: EditorContext, keybindingStr, handlerName, context) {
- if (editorContext.standaloneEditor != null) {
- return editorContext.standaloneEditor.addCommand(parseInt(keybindingStr), function () {
- const objs = [];
- if (arguments) { // Use arguments as Monaco will pass each as it's own parameter, so we don't know how many that may be.
- for (let i = 1; i < arguments.length; i++) { // Skip first one as that's the sender?
- objs.push(JSON.stringify(arguments[i]));
- }
- }
- editorContext.Accessor.callActionWithParameters(handlerName, objs);
- }, context);
- }
- else {
- return editorContext.diffEditor.addCommand(parseInt(keybindingStr), function () {
- const objs = [];
- if (arguments) { // Use arguments as Monaco will pass each as it's own parameter, so we don't know how many that may be.
- for (let i = 1; i < arguments.length; i++) { // Skip first one as that's the sender?
- objs.push(JSON.stringify(arguments[i]));
- }
- }
- editorContext.Accessor.callActionWithParameters(handlerName, objs);
- }, context);
- }
-};
-
-const createContext = function (editorContext: EditorContext, context) {
- if (context) {
- if (editorContext.standaloneEditor != null) {
- editorContext.contexts[context.key] = editorContext.standaloneEditor.createContextKey(context.key, context.defaultValue);
- }
- else {
- editorContext.contexts[context.key] = editorContext.diffEditor.createContextKey(context.key, context.defaultValue);
- }
- }
-};
-
-const updateContext = function (editorContext: EditorContext, key, value) {
- editorContext.contexts[key].set(value);
-}
-
-// link:CodeEditor.cs:updateContent
-const updateContent = function (editorContext: EditorContext, content) {
- // Need to ignore updates from us notifying of a change
- if (content !== editorContext.model.getValue()) {
- editorContext.model.setValue(content);
- }
-};
-
-// link:CodeEditor.cs:updateDiffContent
-var updateDiffContent = function (editorContext: EditorContext, left, right) {
- var diffModel = (editorContext.model as unknown) as monaco.editor.IDiffEditorModel;
-
- // Need to ignore updates from us notifying of a change
- if (left != diffModel.original.getValue()) {
- diffModel.original.setValue(left);
- }
-
- if (right != diffModel.modified.getValue()) {
- diffModel.modified.setValue(right);
- }
-};
-
-const updateDecorations = function (editorContext: EditorContext, newHighlights) {
- if (editorContext.standaloneEditor != null) {
- if (newHighlights) {
- editorContext.decorations = editorContext.standaloneEditor.deltaDecorations(editorContext.decorations, newHighlights);
- } else {
- editorContext.decorations = editorContext.standaloneEditor.deltaDecorations(editorContext.decorations, []);
- }
- }
-};
-
-const updateStyle = function (editorContext: EditorContext, innerStyle) {
- var style = document.getElementById("dynamic");
- style.innerHTML = innerStyle;
-};
-
-const getOptions = function (editorContext: EditorContext): Promise<monaco.editor.IEditorOptions> {
- let opt = null;
- try {
- opt = getParentValue(editorContext, "Options");
- } finally {
-
- }
-
- return opt;
-};
-
-var getDiffOptions = function (editorContext: EditorContext): monaco.editor.IDiffEditorOptions {
- let opt = null;
- try {
- opt = getParentValue(editorContext, "DiffOptions");
- } finally {
-
- }
-
- return opt;
-};
-
-const updateOptions = function (editorContext: EditorContext, opt: monaco.editor.IEditorOptions) {
- if (opt !== null && typeof opt === "object") {
- editorContext.editor.updateOptions(opt);
- }
-};
-
-var updateDiffOptions = function (editorContext: EditorContext, opt: monaco.editor.IDiffEditorOptions) {
- if (opt !== null && typeof opt === "object") {
- editorContext.diffEditor.updateOptions(opt);
- }
-};
-
-const updateLanguage = function (editorContext: EditorContext, language: string) {
- monaco.editor.setModelLanguage(editorContext.model, language);
-};
-
-var _theme = "Dark";
-var _highContrast = false;
-
-const changeTheme = function (editorContext: EditorContext, theme: string, highContrast: boolean, hasFocus: boolean) {
- if (theme == undefined) {
- theme = _theme;
- }
-
- if (highContrast == undefined) {
- highContrast = _highContrast;
- }
-
- let state = hasFocus ? "active" : "inactive";
- let newTheme = 'devtoys-' + state;
-
- if (highContrast) {
- newTheme = 'hc-black';
- } else if (theme == "Dark") {
- newTheme = 'devtoys-dark-' + state;
- }
-
- _theme = theme;
- _highContrast = highContrast;
-
- monaco.editor.setTheme(newTheme);
-};
-
-var setTheme = function (editorContext: EditorContext, accentColor: string) {
- // Define themes
- // https://microsoft.github.io/monaco-editor/playground.html#customizing-the-appearence-exposed-colors
-
- // remove quotes.
- accentColor = accentColor.replace(/"/g, '');
-
- monaco.editor.defineTheme('devtoys-dark-active', {
- base: 'vs-dark',
- inherit: true,
- rules: [],
- colors: {
- 'foreground': '#FFFFFF',
- 'editor.foreground': '#FFFFFF',
- 'editor.background': '#202123',
- 'editor.lineHighlightBackground': '#FFFFFF00',
- 'editor.lineHighlightBorder': '#FFFFFF19',
- 'editorLineNumber.foreground': '#EEEEEE99',
- 'editorLineNumber.activeForeground': '#EEEEEEFF',
- 'editor.inactiveSelectionBackground': '#00000000',
- 'editor.selectionForeground': '#FFFFFF',
- 'editor.selectionBackground': accentColor,
- 'editorWidget.background': '#252526'
- }
- });
-
- monaco.editor.defineTheme('devtoys-dark-inactive', {
- base: 'vs-dark',
- inherit: true,
- rules: [],
- colors: {
- 'foreground': '#FFFFFF',
- 'editor.foreground': '#FFFFFF',
- 'editor.background': '#343434',
- 'editor.lineHighlightBackground': '#FFFFFF00',
- 'editor.lineHighlightBorder': '#FFFFFF19',
- 'editorLineNumber.foreground': '#EEEEEE99',
- 'editorLineNumber.activeForeground': '#EEEEEEFF',
- 'editor.inactiveSelectionBackground': '#00000000',
- 'editor.selectionForeground': '#FFFFFF',
- 'editor.selectionBackground': accentColor,
- 'editorWidget.background': '#252526'
- }
- });
-
- monaco.editor.defineTheme('devtoys-active', {
- base: 'vs',
- inherit: true,
- rules: [],
- colors: {
- 'foreground': '#000000',
- 'editor.foreground': '#000000',
- 'editor.background': '#FFFFFF',
- 'editor.lineHighlightBackground': '#00000000',
- 'editor.lineHighlightBorder': '#00000019',
- 'editorLineNumber.foreground': '#00000099',
- 'editorLineNumber.activeForeground': '#000000FF',
- 'editor.inactiveSelectionBackground': '#00000000',
- 'editor.selectionForeground': '#000000',
- 'editor.selectionBackground': accentColor,
- 'editorWidget.background': '#F3F3F3'
- }
- });
-
- monaco.editor.defineTheme('devtoys-inactive', {
- base: 'vs',
- inherit: true,
- rules: [],
- colors: {
- 'foreground': '#000000',
- 'editor.foreground': '#000000',
- 'editor.background': '#FDFDFD',
- 'editor.lineHighlightBackground': '#00000000',
- 'editor.lineHighlightBorder': '#00000019',
- 'editorLineNumber.foreground': '#00000099',
- 'editorLineNumber.activeForeground': '#000000FF',
- 'editor.inactiveSelectionBackground': '#00000000',
- 'editor.selectionForeground': '#000000',
- 'editor.selectionBackground': accentColor,
- 'editorWidget.background': '#F3F3F3'
- }
- });
-}
-
-const keyDown = async function (element: any, event) {
- //Debug.log("Key Down:" + event.keyCode + " " + event.ctrlKey);
- //const result = await editorContext.Keyboard.keyDown(event.keyCode, event.ctrlKey, event.shiftKey, event.altKey, event.metaKey);
- //if (result) {
- // event.cancelBubble = true;
- // event.preventDefault();
- // event.stopPropagation();
- // event.stopImmediatePropagation();
- // return false;
- //}
-};
-
-
-const stringifyForMarshalling = (value: any): string => sanitize(value)
-
-const sanitize = (jsonString: string): string => {
- if (jsonString == null) {
- //console.log('Sanitized is null');
- return null;
- }
-
- const replacements = "%&\\\"'{}:,";
- for (let i = 0; i < replacements.length; i++) {
- jsonString = replaceAll(jsonString, replacements.charAt(i), `%${replacements.charCodeAt(i)}`);
- }
- //console.log('Sanitized: ' + jsonString);
- return jsonString;
-}
-
-const replaceAll = (str: string, find: string, rep: string): string => {
- if (find == "\\") {
- find = "\\\\";
- }
- return (`${str}`).replace(new RegExp(find, "g"), rep);
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCodeActionProvider.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCodeActionProvider.ts
deleted file mode 100644
index f3d7e51ab..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCodeActionProvider.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-function isTextEdit(edit: monaco.languages.WorkspaceTextEdit | monaco.languages.WorkspaceFileEdit): edit is monaco.languages.WorkspaceTextEdit {
- return (edit as monaco.languages.WorkspaceTextEdit).edit !== undefined;
-}
-
-const registerCodeActionProvider = function (editorContext: EditorContext, languageId) {
- return monaco.languages.registerCodeActionProvider(languageId, {
- provideCodeActions: function (model, range, context, token) {
- return callParentEventAsync(editorContext, "ProvideCodeActions" + languageId, [JSON.stringify(range), JSON.stringify(context)]).then(result => {
- if (result) {
- const list: monaco.languages.CodeActionList = JSON.parse(result);
-
- // Need to add in the model.uri to any edits to connect the dots
- if (list.actions &&
- list.actions.length > 0) {
- list.actions.forEach((action) => {
- if (action.edit &&
- action.edit.edits &&
- action.edit.edits.length > 0) {
- action.edit.edits.forEach((inneredit) => {
- if (isTextEdit(inneredit)) {
- inneredit.resource = model.uri;
- }
- });
- }
- });
- }
-
- // Add dispose method for IDisposable that Monaco is looking for.
- list.dispose = () => { };
-
- return list;
- }
- });
- },
- });
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCodeLensProvider.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCodeLensProvider.ts
deleted file mode 100644
index 87165c6d6..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCodeLensProvider.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-const registerCodeLensProvider = function (editorContext: EditorContext, any, languageId) {
- return monaco.languages.registerCodeLensProvider(languageId, {
- provideCodeLenses: function (model, token) {
- return callParentEventAsync(editorContext, "ProvideCodeLenses" + languageId, []).then(result => {
- if (result) {
- const list: monaco.languages.CodeLensList = JSON.parse(result);
-
- // Add dispose method for IDisposable that Monaco is looking for.
- list.dispose = () => {};
-
- return list;
- }
- return null;
-
- });
- },
- resolveCodeLens: function (model, codeLens, token) {
- return callParentEventAsync(editorContext, "ResolveCodeLens" + languageId, [JSON.stringify(codeLens)]).then(result => {
- if (result) {
- return JSON.parse(result);
- }
- return null;
- });
- }
- // TODO: onDidChange, don't know what this does.
- });
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerColorProvider.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerColorProvider.ts
deleted file mode 100644
index db9bf8ef4..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerColorProvider.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-const registerColorProvider = function (editorContext: EditorContext, languageId) {
- return monaco.languages.registerColorProvider(languageId, {
- provideColorPresentations: function (model, colorInfo, token) {
- return callParentEventAsync(editorContext, "ProvideColorPresentations" + languageId, [JSON.stringify(colorInfo)]).then(result => {
- if (result) {
- return JSON.parse(result);
- }
- });
- },
- provideDocumentColors: function (model, token) {
- return callParentEventAsync(editorContext, "ProvideDocumentColors" + languageId, []).then(result => {
- if (result) {
- return JSON.parse(result);
- }
- });
- }
- });
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCompletionItemProvider.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCompletionItemProvider.ts
deleted file mode 100644
index 564683ced..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/registerCompletionItemProvider.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-const registerCompletionItemProvider = function (editorContext: EditorContext, languageId, characters) {
- return monaco.languages.registerCompletionItemProvider(languageId, {
- triggerCharacters: characters,
- provideCompletionItems: function (model, position, context, token) {
- return callParentEventAsync(editorContext, "CompletionItemProvider" + languageId, [JSON.stringify(position), JSON.stringify(context)]).then(result => {
- if (result) {
- const list: monaco.languages.CompletionList = JSON.parse(result);
-
- // Add dispose method for IDisposable that Monaco is looking for.
- list.dispose = () => { };
-
- return list;
- }
- });
- },
- resolveCompletionItem: function (item, token) {
- return callParentEventAsync(editorContext, "CompletionItemRequested" + languageId, [JSON.stringify(item)]).then(result => {
- if (result) {
- return JSON.parse(result);
- }
- });
- }
- });
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/Monaco.Helpers.ThemeAccessor.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/Monaco.Helpers.ThemeAccessor.ts
deleted file mode 100644
index ab67ab57c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/Monaco.Helpers.ThemeAccessor.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-//namespace DevToys.MonacoEditor.Monaco.Helpers {
-interface ThemeAccessor {
- accentColorHtmlHex: Promise<string>;
- currentThemeName: Promise<string>;
- isHighContrast: Promise<boolean>;
-}
-//}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/asyncCallbackHelpers.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/asyncCallbackHelpers.ts
deleted file mode 100644
index bea681166..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/asyncCallbackHelpers.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-var callParentEventAsync = function (editorContext: EditorContext, name: string, parameters: string[]): Promise<string> {
- return editorContext.Accessor.callEvent(name, parameters);
-}
-
-var callParentActionWithParameters = function (editorContext: EditorContext, name: string, parameters: string[]): boolean {
- return editorContext.Accessor.callActionWithParameters(name, parameters);
-}
-
-var getParentJsonValue = function (editorContext: EditorContext, name: string): Promise<string> {
- return editorContext.Accessor.getJsonValue(name);
-}
-
-var getParentValue = async function (editorContext: EditorContext, name: string): Promise<any> {
- var jsonString = await editorContext.Accessor.getJsonValue(name);
- var obj = JSON.parse(jsonString);
- return obj;
-}
-
-const getAccentColorHtmlHex = function (editorContext: EditorContext): Promise<string> {
- return editorContext.Theme.accentColorHtmlHex;
-}
-
-const getThemeCurrentThemeName = function (editorContext: EditorContext): Promise<string> {
- return editorContext.Theme.currentThemeName;
-}
-
-const getThemeIsHighContrast = function (editorContext: EditorContext): Promise<boolean> {
- return editorContext.Theme.isHighContrast;
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/tsconfig.json b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/tsconfig.json
deleted file mode 100644
index 20ae6401f..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-UWP/tsconfig.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "compileOnSave": true,
- "compilerOptions": {
- "target": "es2015", // Warning: Monaco editor breaks when using something else than es2015
- "lib": [ "es2015", "DOM" ], // Warning: Monaco editor breaks when using something else than es2015
- "sourceMap": true,
- "outFile": "..\\..\\WasmScripts\\UWP\\uno-monaco-helpers.g.js"
- },
- "include": [
- ".\\",
- "..\\..\\ts-helpermethods"
- ],
- "exclude": [
- "..\\..\\ts-helpermethods\\ts-helpermethods-Wasm"
- ]
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/Monaco.Helpers.ThemeAccessor.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/Monaco.Helpers.ThemeAccessor.ts
deleted file mode 100644
index 173ad7d4c..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/Monaco.Helpers.ThemeAccessor.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-//namespace DevToys.MonacoEditor.Monaco.Helpers {
-interface ThemeAccessor {
- getAccentColorHtmlHex(returnId: string);
- getCurrentThemeName(returnId: string);
- getIsHighContrast(returnId: string);
-}
-//}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/asyncCallbackHelpers.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/asyncCallbackHelpers.ts
deleted file mode 100644
index a6edd06a1..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/asyncCallbackHelpers.ts
+++ /dev/null
@@ -1,122 +0,0 @@
-declare var Parent: ParentAccessor;
-declare var Theme: ThemeAccessor;
-
-type MethodWithReturnId = (parameter: string) => void;
-type NumberCallback = (parameter: any) => void;
-declare var asyncCallbackMap: { [promiseId: string]: NumberCallback };
-declare var nextAsync: number;
-
-nextAsync = 1;
-asyncCallbackMap = {};
-
-declare var returnValueCallbackMap: { [returnId: string]: string };
-declare var nextReturn: number;
-
-nextReturn = 1;
-returnValueCallbackMap = {};
-
-const asyncCallback = (promiseId: string, parameter: string) => {
- const promise = asyncCallbackMap[promiseId];
- if (promise) {
- //console.log('Async response: ' + parameter);
- promise(parameter);
- }
-}
-
-const returnValueCallback = (returnId: string, returnValue: string) => {
- //console.log('Return value for id ' + returnId + ' is ' + returnValue);
- returnValueCallbackMap[returnId] = returnValue;
-}
-
-const invokeAsyncMethod = <T>(syncMethod: NumberCallback): Promise<T> => {
- if (nextAsync == null) {
- nextAsync = 0;
- }
- if (asyncCallbackMap == null) {
- asyncCallbackMap = {};
- }
- const promise = new Promise<T>((resolve, reject) => {
- var nextId = nextAsync++;
- asyncCallbackMap[nextId] = resolve;
- syncMethod(`${nextId}`);
- });
- return promise;
-}
-
-const desantize = (parameter: string): string => {
- //System.Diagnostics.Debug.WriteLine($"Encoded String: {parameter}");
- if (parameter == null) return parameter;
- const replacements = "&\\\"'{}:,%";
- //System.Diagnostics.Debug.WriteLine($"Replacements: >{replacements}<");
- for (let i = 0; i < replacements.length; i++) {
- //console.log("Replacing: >%" + replacements.charCodeAt(i) + "< with >" + replacements.charAt(i) + "< ");
- parameter = replaceAll(parameter, "%" + replacements.charCodeAt(i), replacements.charAt(i));
- }
-
- //console.log("Decoded String: " + parameter );
- return parameter;
-}
-
-const invokeWithReturnValue = (methodToInvoke: MethodWithReturnId): string => {
- const nextId = nextReturn++;
- methodToInvoke(nextId + '');
- var json = returnValueCallbackMap[nextId];
- //console.log('Return json ' + json);
- json = desantize(json);
- return json;
-}
-
-const getParentValue = (editorContext: EditorContext, name: string): Promise<any> => {
- return new Promise((resolve, reject) => {
- const jsonString = invokeWithReturnValue((returnId) => editorContext.Accessor.getJsonValue(name, returnId));
- const obj = JSON.parse(jsonString);
- resolve(obj);
- });
-}
-
-const getParentJsonValue = function (editorContext: EditorContext, name: string): Promise<string> {
- return new Promise((resolve, reject) => {
- const json = invokeWithReturnValue((returnId) => editorContext.Accessor.getJsonValue(name, returnId));
- resolve(json);
- });
-}
-
-const callParentEventAsync = (editorContext: EditorContext, name: string, parameters: string[]): Promise<string> =>
- invokeAsyncMethod<string>(async (promiseId) => {
- let result = await editorContext.Accessor.callEvent(name,
- promiseId,
- parameters != null && parameters.length > 0 ? stringifyForMarshalling(parameters[0]) : null,
- parameters != null && parameters.length > 1 ? stringifyForMarshalling(parameters[1]) : null);
- if (result) {
- console.log('Parent event result: ' + name + ' - ' + result);
- result = desantize(result);
- console.log('Desanitized: ' + name + ' - ' + result);
- } else {
- console.log('No Parent event result for ' + name);
- }
-
- return result;
- });
-
-const callParentActionWithParameters = (name: string, parameters: string[]): boolean =>
- Parent.callActionWithParameters(name,
- parameters != null && parameters.length > 0 ? stringifyForMarshalling(parameters[0]) : null,
- parameters != null && parameters.length > 1 ? stringifyForMarshalling(parameters[1]) : null);
-
-const getAccentColorHtmlHex = function (editorContext: EditorContext): Promise<string> {
- return new Promise((resolve, reject) => {
- resolve(invokeWithReturnValue((returnId) => editorContext.Theme.getAccentColorHtmlHex(returnId)));
- });
-}
-
-const getThemeCurrentThemeName = function (editorContext: EditorContext): Promise<string> {
- return new Promise((resolve, reject) => {
- resolve(invokeWithReturnValue((returnId) => editorContext.Theme.getCurrentThemeName(returnId)));
- });
-}
-
-const getThemeIsHighContrast = function (editorContext: EditorContext): Promise<boolean> {
- return new Promise((resolve, reject) => {
- resolve(invokeWithReturnValue((returnId) => editorContext.Theme.getIsHighContrast(returnId)) == "true");
- });
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/tsconfig.json b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/tsconfig.json
deleted file mode 100644
index a4d935cd3..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/ts-helpermethods-Wasm/tsconfig.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "compileOnSave": true,
- "compilerOptions": {
- "target": "es2015", // Warning: Monaco editor breaks when using something else than es2015
- "lib": [ "es2015", "DOM" ], // Warning: Monaco editor breaks when using something else than es2015
- "sourceMap": true,
- "outFile": "..\\..\\WasmScripts\\WASM\\uno-monaco-helpers.g.js"
- },
- "include": [
- ".\\",
- "..\\..\\ts-helpermethods"
- ],
- "exclude": [
- "..\\..\\ts-helpermethods\\ts-helpermethods-UWP"
- ]
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/updateSelection.ts b/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/updateSelection.ts
deleted file mode 100644
index b2af8d561..000000000
--- a/src/app/dev/DevToys.MonacoEditor/ts-helpermethods/updateSelection.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-///<reference path="../monaco-editor/monaco.d.ts" />
-
-// link:CodeEditor.Properties.cs:updateSelectedSpan
-const updateSelectedSpan = function (element: any, span: any) {
- var editorContext = EditorContext.getEditorForElement(element).htmlElement;
-
- var startPosition = editorContext.model.getPositionAt(span.startPosition);
- var endPosition = editorContext.model.getPositionAt(span.startPosition + span.length);
- var newSelection = monaco.Selection.fromPositions(startPosition, endPosition);
-
- editorContext.editor.setSelection(newSelection);
-};
\ No newline at end of file
diff --git a/src/app/dev/DevToys.Tools/DevToysToolsResourceManagerAssemblyIdentifier.cs b/src/app/dev/DevToys.Tools/DevToysToolsResourceManagerAssemblyIdentifier.cs
index 3237c6761..c06fe31aa 100644
--- a/src/app/dev/DevToys.Tools/DevToysToolsResourceManagerAssemblyIdentifier.cs
+++ b/src/app/dev/DevToys.Tools/DevToysToolsResourceManagerAssemblyIdentifier.cs
@@ -1,6 +1,4 @@
-using DevToys.Api;
-
-namespace DevToys.Tools;
+namespace DevToys.Tools;
[Export(typeof(IResourceManagerAssemblyIdentifier))]
[Name(nameof(DevToysToolsResourceManagerAssemblyIdentifier))]
diff --git a/src/app/dev/DevToys.Tools/Tools/Settings/SettingsGuiTool.cs b/src/app/dev/DevToys.Tools/Tools/Settings/SettingsGuiTool.cs
index ca5c7564b..e66692674 100644
--- a/src/app/dev/DevToys.Tools/Tools/Settings/SettingsGuiTool.cs
+++ b/src/app/dev/DevToys.Tools/Tools/Settings/SettingsGuiTool.cs
@@ -1,6 +1,4 @@
-using DevToys.Api.Core.Theme;
-
-namespace DevToys.Tools.Tools.Settings;
+namespace DevToys.Tools.Tools.Settings;
[Export(typeof(IGuiTool))]
[Name("Settings")]
diff --git a/src/app/dev/DevToys.UI.Framework/Assets/Icons/Idea-disabled.svg b/src/app/dev/DevToys.UI.Framework/Assets/Icons/Idea-disabled.svg
deleted file mode 100644
index 2d63a957e..000000000
--- a/src/app/dev/DevToys.UI.Framework/Assets/Icons/Idea-disabled.svg
+++ /dev/null
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
- viewBox="0 0 48 48"
- version="1.1"
- id="svg36"
- sodipodi:docname="Idea-disabled.svg"
- inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:svg="http://www.w3.org/2000/svg">
- <defs
- id="defs40" />
- <sodipodi:namedview
- id="namedview38"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:showpageshadow="2"
- inkscape:pageopacity="0.0"
- inkscape:pagecheckerboard="0"
- inkscape:deskcolor="#d1d1d1"
- showgrid="false"
- inkscape:zoom="17.270833"
- inkscape:cx="24.028951"
- inkscape:cy="24.028951"
- inkscape:window-width="1920"
- inkscape:window-height="1009"
- inkscape:window-x="-8"
- inkscape:window-y="-8"
- inkscape:window-maximized="1"
- inkscape:current-layer="svg36" />
- <radialGradient
- id="4Var25g6pDrxGe_QIeTVza"
- cx="16.106"
- cy="-171.073"
- r="23.43"
- gradientTransform="matrix(1 0 0 -1 0 118)"
- gradientUnits="userSpaceOnUse">
- <stop
- offset="0"
- stop-color="#6e757b"
- id="stop22" />
- <stop
- offset="1"
- stop-color="#4a4e52"
- id="stop24" />
- </radialGradient>
- <path
- fill="url(#4Var25g6pDrxGe_QIeTVza)"
- d="M30,34H18c0,0.855,0,3.95,0,3.95c0,3.314,2.686,6,6,6s6-2.686,6-6C30,37.95,30,34.855,30,34z"
- id="path27" />
- <linearGradient
- id="4Var25g6pDrxGe_QIeTVzb"
- x1="16.365"
- x2="28.493"
- y1="2.837"
- y2="26.454"
- gradientUnits="userSpaceOnUse">
- <stop
- offset="0"
- stop-color="#ffda1c"
- id="stop29" />
- <stop
- offset="1"
- stop-color="#feb705"
- id="stop31" />
- </linearGradient>
- <path
- fill="url(#4Var25g6pDrxGe_QIeTVzb)"
- d="M36,16c0-6.627-5.373-12-12-12S12,9.373,12,16c0,7,6,12,6,15.8V34h12v-2.2C30,28,36,23,36,16z"
- id="path34"
- style="fill:#b3b3b3" />
-</svg>
diff --git a/src/app/dev/DevToys.UI.Framework/Assets/Icons/Idea.svg b/src/app/dev/DevToys.UI.Framework/Assets/Icons/Idea.svg
deleted file mode 100644
index 4ab8b7011..000000000
--- a/src/app/dev/DevToys.UI.Framework/Assets/Icons/Idea.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
- <radialGradient id="4Var25g6pDrxGe_QIeTVza" cx="16.106" cy="-171.073" r="23.43" gradientTransform="matrix(1 0 0 -1 0 118)" gradientUnits="userSpaceOnUse">
- <stop offset="0" stop-color="#6e757b"></stop>
- <stop offset="1" stop-color="#4a4e52"></stop>
- </radialGradient>
- <path fill="url(#4Var25g6pDrxGe_QIeTVza)" d="M30,34H18c0,0.855,0,3.95,0,3.95c0,3.314,2.686,6,6,6s6-2.686,6-6C30,37.95,30,34.855,30,34z"></path>
- <linearGradient id="4Var25g6pDrxGe_QIeTVzb" x1="16.365" x2="28.493" y1="2.837" y2="26.454" gradientUnits="userSpaceOnUse">
- <stop offset="0" stop-color="#ffda1c"></stop>
- <stop offset="1" stop-color="#feb705"></stop>
- </linearGradient>
- <path fill="url(#4Var25g6pDrxGe_QIeTVzb)" d="M36,16c0-6.627-5.373-12-12-12S12,9.373,12,16c0,7,6,12,6,15.8V34h12v-2.2C30,28,36,23,36,16z"></path>
-</svg>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/BackdropPage.cs b/src/app/dev/DevToys.UI.Framework/Controls/BackdropPage.cs
deleted file mode 100644
index fb4929e96..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/BackdropPage.cs
+++ /dev/null
@@ -1,191 +0,0 @@
-using DevToys.Api.Core.Theme;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Windows.Foundation;
-#if HAS_UNO
-using Windows.UI.Core;
-using WindowActivatedEventArgs = Microsoft.UI.Xaml.WindowActivatedEventArgs;
-#endif
-
-namespace DevToys.UI.Framework.Controls;
-
-public abstract partial class BackdropPage : Page
-{
- private readonly IThemeListener _themeListener;
-
- protected BackdropPage(BackdropWindow window, IThemeListener themeListener)
- {
- Guard.IsNotNull(themeListener);
- Guard.IsNotNull(window);
-
- _themeListener = themeListener;
- _themeListener.ThemeChanged += ThemeListener_ThemeChanged;
-
- Window = window;
-#if HAS_UNO
- Window.Window.Content = this;
- Window.Window.Activated += Window_Activated;
- Window.Window.VisibilityChanged += Window_VisibilityChanged;
- Window.Window.Closed += Window_Closed;
-#else
- Window.Content = this;
- Window.Activated += Window_Activated;
- Window.VisibilityChanged += Window_VisibilityChanged;
- Window.Closed += Window_Closed;
-#endif
- Window.Closing += Window_Closing;
- Window.Shown += Window_Shown;
-
- Window.CompactOverlayModeChanged += Window_CompactOverlayModeChanged;
- }
-
- internal BackdropWindow Window { get; }
-
- /// <summary>
- /// Gets whether the Compact Overlay (picture in picture) mode is supported by the operating system.
- /// </summary>
- public bool IsCompactOverlayModeSupported => Window.IsCompactOverlayModeSupported;
-
- /// <summary>
- /// Gets or sets the position of the window when first shown.
- /// </summary>
- public WindowStartupLocation WindowStartupLocation
- {
- get => Window.WindowStartupLocation;
- set => Window.WindowStartupLocation = value;
- }
-
- /// <summary>
- /// Raised when the <see cref="Window.Visible"/> property has changed.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? VisibilityChanged;
-
- /// <summary>
- /// Raised when the window opened.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? Shown;
-
- /// <summary>
- /// Raised when the window is closing.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? Closing;
-
- /// <summary>
- /// Raised when the window is closing.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? Closed;
-
- /// <summary>
- /// Raised when the window got activated.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, WindowActivatedEventArgs>? Activated;
-
- /// <summary>
- /// Raised when the window enters or exits the Compact Overlay mode.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? CompactOverlayModeChanged;
-
- /// <summary>
- /// Changes the size of the window.
- /// </summary>
- public void Resize(int width, int height)
- => Window.Resize(width, height);
-
- /// <summary>
- /// Changes the window location on the screen.
- /// </summary>
- public void Move(int x, int y)
- => Window.Move(x, y);
-
- /// <summary>
- /// Opens a window and returns without waiting for the newly opened window to close.
- /// </summary>
- public void Show()
- => Window.Show();
-
- /// <summary>
- /// Attempts to activate the application window by bringing it to the foreground and setting the input focus to it.
- /// </summary>
- public void Activate()
- {
-#if HAS_UNO
- Window.Window.Activate();
-#else
- Window.Activate();
-#endif
- }
-
- /// <summary>
- /// Gets whether the window is currently in compact overlay mode.
- /// </summary>
- public bool IsInCompactOverlayMode()
- => Window.IsInCompactOverlayMode();
-
- /// <summary>
- /// Tries to enter or exit compact overlay mode.
- /// </summary>
- public void TryToggleCompactOverlayMode()
- => Window.TryToggleCompactOverlayMode();
-
- /// <summary>
- /// Sets the title of the window that the operating system will display (in the task bar, for example).
- /// </summary>
- public void SetTitle(string title)
- => Window.SetTitle(title);
-
-#if HAS_UNO
- private void Window_Closed(object sender, CoreWindowEventArgs args)
-#else
- private void Window_Closed(object sender, WindowEventArgs args)
-#endif
- {
-#if HAS_UNO
- Window.Window.Activated -= Window_Activated;
- Window.Window.VisibilityChanged -= Window_VisibilityChanged;
- Window.Window.Closed -= Window_Closed;
-#else
- Window.Activated -= Window_Activated;
- Window.VisibilityChanged -= Window_VisibilityChanged;
- Window.Closed -= Window_Closed;
-#endif
- Window.Closing -= Window_Closing;
- Window.Shown -= Window_Shown;
- _themeListener.ThemeChanged -= ThemeListener_ThemeChanged;
-
- Closed?.Invoke(Window, EventArgs.Empty);
- }
-
-#if HAS_UNO
- private void Window_VisibilityChanged(object sender, VisibilityChangedEventArgs args)
-#else
- private void Window_VisibilityChanged(object sender, WindowVisibilityChangedEventArgs args)
-#endif
- {
- VisibilityChanged?.Invoke(Window, EventArgs.Empty);
- }
-
- private void Window_Shown(BackdropWindow sender, EventArgs args)
- {
- Shown?.Invoke(Window, args);
- }
-
- private void Window_Closing(BackdropWindow sender, EventArgs args)
- {
- Closing?.Invoke(Window, args);
- }
-
- private void Window_Activated(object sender, Microsoft.UI.Xaml.WindowActivatedEventArgs args)
- {
- Activated?.Invoke(Window, args);
- }
-
- private void Window_CompactOverlayModeChanged(BackdropWindow sender, EventArgs args)
- {
- CompactOverlayModeChanged?.Invoke(Window, args);
- }
-
- private void ThemeListener_ThemeChanged(object? sender, EventArgs e)
- {
- this.RequestedTheme = _themeListener.ActualAppTheme == Api.Core.Theme.ApplicationTheme.Dark ? ElementTheme.Dark : ElementTheme.Light;
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.MacCatalyst.cs b/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.MacCatalyst.cs
deleted file mode 100644
index 0fc303f5f..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.MacCatalyst.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-#if __MACCATALYST__
-using Microsoft.UI.Xaml;
-
-namespace DevToys.UI.Framework.Controls;
-
-public sealed partial class BackdropWindow
-{
- public BackdropWindow(Window window)
- {
- Guard.IsNotNull(window);
- Window = window;
- IsCompactOverlayModeSupported = false;
- }
-
- internal Window Window { get; }
-
- public partial void Resize(int width, int height)
- {
- // throw new NotImplementedException(); // TODO.
- }
-
- public partial void Move(int x, int y)
- {
- // throw new NotImplementedException(); // TODO.
- }
-
- public partial void Show()
- {
- // throw new NotImplementedException(); // TODO.
-
- Window.Activate();
- Shown?.Invoke(this, EventArgs.Empty);
- }
-
- private void SetStartupWindowLocation()
- {
- // throw new NotImplementedException(); // TODO
- // switch (WindowStartupLocation)
- // {
- // case WindowStartupLocation.CenterOwner:
- // // TODO
- // throw new NotImplementedException();
- //
- // case WindowStartupLocation.CenterScreen:
- // // TODO
- // throw new NotImplementedException();
- //
- // case WindowStartupLocation.Manual:
- // // Let the OS decide for us.
- // break;
- //
- // default:
- // throw new NotSupportedException();
- // }
- }
-
- public partial bool IsInCompactOverlayMode()
- {
- // throw new NotImplementedException(); // TODO.
- return false;
- }
-
- public partial void TryToggleCompactOverlayMode()
- {
- // throw new NotImplementedException(); // TODO.
- // CompactOverlayModeChanged?.Invoke(this, EventArgs.Empty);
- }
-
- public partial void SetTitle(string title)
- {
- Window.Title = title;
- }
-}
-#endif
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.Wasm.cs b/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.Wasm.cs
deleted file mode 100644
index 7c4726db0..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.Wasm.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-#if __WASM__
-using Microsoft.UI.Xaml;
-
-namespace DevToys.UI.Framework.Controls;
-
-public sealed partial class BackdropWindow
-{
- public BackdropWindow(Window window)
- {
- Guard.IsNotNull(window);
- Window = window;
- IsCompactOverlayModeSupported = false;
- }
-
- internal Window Window { get; }
-
- public partial void Resize(int width, int height)
- {
- // Has no effect in WASM.
- }
-
- public partial void Move(int x, int y)
- {
- // Has no effect in WASM.
- }
-
- public partial void Show()
- {
- Window.Activate();
- Shown?.Invoke(this, EventArgs.Empty);
- }
-
- public partial bool IsInCompactOverlayMode()
- {
- return false;
- }
-
- public partial void TryToggleCompactOverlayMode()
- {
- // Has no effect in WASM.
- }
-
- public partial void SetTitle(string title)
- {
- // TODO: Set the tab title in the web browser?
- }
-}
-#endif
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.Windows.cs b/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.Windows.cs
deleted file mode 100644
index 3a08da75b..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.Windows.cs
+++ /dev/null
@@ -1,380 +0,0 @@
-#if __WINDOWS__
-using System.Runtime.InteropServices;
-using DevToys.UI.Framework.Threading;
-using Microsoft.UI;
-using Microsoft.UI.Composition.SystemBackdrops;
-using Microsoft.UI.Dispatching;
-using Microsoft.UI.Windowing;
-using Microsoft.UI.Xaml;
-using Windows.Foundation;
-using Windows.Graphics;
-using Windows.Win32.Graphics.Gdi;
-using Windows.Win32.UI.HiDpi;
-using Windows.Win32.UI.Shell.Common;
-using WinRT;
-using WinRT.Interop;
-using static Windows.Win32.PInvoke;
-
-namespace DevToys.UI.Framework.Controls;
-
-public sealed partial class BackdropWindow : Window
-{
- private static bool _firstWindowCreated;
-
- private readonly WindowsSystemDispatcherQueueHelper _wsdqHelper;
- private MicaController? _micaController;
- private SystemBackdropConfiguration? _configurationSource;
-
- public BackdropWindow()
- {
- _wsdqHelper = new WindowsSystemDispatcherQueueHelper();
- _wsdqHelper.EnsureWindowsSystemDispatcherQueueController();
-
- AppWindow = GetAppWindow();
- IsCompactOverlayModeSupported = true;
-
- if (!_firstWindowCreated)
- {
- _firstWindowCreated = true;
- MainWindowHandle = GetWindowHandle();
- }
- }
-
- internal static IntPtr MainWindowHandle { get; private set; }
-
- internal AppWindow AppWindow { get; }
-
- public partial void Resize(int width, int height)
- {
- PointInt32 currentWindowPosition = AppWindow.Position;
-
- // In WinUI 3, we need to scale the window size to the monitor.
- // No need to do it for the monitor size and location like in WPF though.
- HMONITOR monitorHandle = MonitorFromPoint(new System.Drawing.Point(currentWindowPosition.X, currentWindowPosition.Y), MONITOR_FROM_FLAGS.MONITOR_DEFAULTTONEAREST);
- GetScaleFactorForMonitor(monitorHandle, out DEVICE_SCALE_FACTOR scale);
- double scaleFactor = (int)scale / 100.0;
- AppWindow.Resize(new SizeInt32((int)(width * scaleFactor), (int)(height * scaleFactor)));
- }
-
- public partial void Move(int x, int y)
- {
- PointInt32 position = new(x, y);
- AppWindow.Move(position);
- }
-
- public partial void Show()
- {
- DispatcherQueue.ThrowIfNotOnUIThread();
-
- if (Content is FrameworkElement frameworkElement)
- {
- frameworkElement.Loaded += Window_Loaded;
- }
-
- SetStartupWindowLocation();
- SetBackdrop();
- ExtendTitleBar();
-
- AppWindow.Closing += Window_Closing;
- base.Activate();
-
- Shown?.Invoke(this, EventArgs.Empty);
- }
-
- public partial bool IsInCompactOverlayMode()
- {
- return AppWindow.Presenter.Kind == AppWindowPresenterKind.CompactOverlay;
- }
-
- public partial void TryToggleCompactOverlayMode()
- {
- if (IsInCompactOverlayMode())
- {
- AppWindow.SetPresenter(AppWindowPresenterKind.Default);
- }
- else
- {
- var compactOverlayPresenter = CompactOverlayPresenter.Create();
- AppWindow.SetPresenter(compactOverlayPresenter);
- }
-
- CompactOverlayModeChanged?.Invoke(this, EventArgs.Empty);
- }
-
- public partial void SetTitle(string title)
- {
- AppWindow.Title = title;
- }
-
- private AppWindow GetAppWindow()
- {
- IntPtr windowHandle = GetWindowHandle();
- WindowId windowId = Win32Interop.GetWindowIdFromWindow(windowHandle);
- return AppWindow.GetFromWindowId(windowId);
- }
-
- private IntPtr GetWindowHandle()
- {
- return WindowNative.GetWindowHandle(this);
- }
-
- private void SetStartupWindowLocation()
- {
- switch (WindowStartupLocation)
- {
- case WindowStartupLocation.CenterOwner:
- // TODO
- throw new NotImplementedException();
-
- case WindowStartupLocation.CenterScreen:
- var displayArea = DisplayArea.GetFromWindowId(AppWindow.Id, DisplayAreaFallback.Nearest);
- if (displayArea is not null)
- {
- PointInt32 centeredPosition = AppWindow.Position;
-
- centeredPosition.X = (displayArea.WorkArea.Width - AppWindow.Size.Width) / 2;
- centeredPosition.Y = (displayArea.WorkArea.Height - AppWindow.Size.Height) / 2;
- Move(centeredPosition.X, centeredPosition.Y);
- }
- break;
-
- case WindowStartupLocation.Manual:
- // Let the OS decide for us.
- break;
-
- default:
- throw new NotSupportedException();
- }
- }
-
- private void ExtendTitleBar()
- {
- // Check to see if customization is supported.
- // Currently only supported on Windows 11.
- if (AppWindowTitleBar.IsCustomizationSupported())
- {
- AppWindowTitleBar titleBar = AppWindow.TitleBar;
- titleBar.ExtendsContentIntoTitleBar = true;
-
- // Set active window colors
- titleBar.ButtonBackgroundColor = Colors.Transparent;
-
- // Set inactive window colors
- titleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
- }
- else
- {
- // Title bar customization using these APIs is currently
- // supported only on Windows 11. In other cases, hide
- // the custom title bar element.
-
- // Show alternative UI for any functionality in
- // the title bar, such as search.
- }
- }
-
- private void DraggableArea_SizeChanged(object sender, SizeChangedEventArgs e)
- {
- SetDragRegionForCustomTitleBar();
- }
-
- private void SetBackdrop()
- {
- if (_micaController != null)
- {
- _micaController.Dispose();
- _micaController = null;
- }
-
- Activated -= Window_Activated;
-
- ((FrameworkElement)Content).ActualThemeChanged -= Window_ThemeChanged;
- _configurationSource = null;
-
- TrySetMicaBackdrop();
- }
-
- private bool TrySetMicaBackdrop()
- {
- if (MicaController.IsSupported())
- {
- // Hooking up the policy object
- _configurationSource = new SystemBackdropConfiguration();
- Activated += Window_Activated;
- ((FrameworkElement)Content).ActualThemeChanged += Window_ThemeChanged;
-
- _micaController = new MicaController
- {
- Kind = MicaKind.Base
- };
-
- // Initial configuration state.
- _configurationSource.IsInputActive = true;
- SetConfigurationSourceTheme();
-
- // Enable the system backdrop.
- // Note: Be sure to have "using WinRT;" to support the Window.As<...>() call.
- _micaController.AddSystemBackdropTarget(this.As<Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop>());
- _micaController.SetSystemBackdropConfiguration(_configurationSource);
- return true; // succeeded
- }
-
- return false; // Mica is not supported on this system
- }
-
- private void SetConfigurationSourceTheme()
- {
- if (_configurationSource is not null)
- {
- switch (((FrameworkElement)Content).ActualTheme)
- {
- case ElementTheme.Dark:
- _configurationSource.Theme = SystemBackdropTheme.Dark;
- break;
-
- case ElementTheme.Light:
- _configurationSource.Theme = SystemBackdropTheme.Light;
- break;
-
- case ElementTheme.Default:
- _configurationSource.Theme = SystemBackdropTheme.Default;
- break;
- }
- }
- }
-
- private void SetDragRegionForCustomTitleBar()
- {
- // Check to see if customization is supported.
- // Currently only supported on Windows 11.
- if (AppWindowTitleBar.IsCustomizationSupported()
- && AppWindow.TitleBar.ExtendsContentIntoTitleBar)
- {
- var defaultPoint = new Point(0, 0);
- double scaleAdjustment = GetScaleAdjustment();
-
- var dragRectsList = new List<RectInt32>();
-
- for (int i = 0; i < _draggableAreas.Count; i++)
- {
- FrameworkElement draggableArea = _draggableAreas[i];
- Point draggableAreaLocationInWindow
- = draggableArea
- .TransformToVisual(this.Content)
- .TransformPoint(defaultPoint);
-
- RectInt32 dragRectangle;
- dragRectangle.X = (int)(draggableAreaLocationInWindow.X * scaleAdjustment);
- dragRectangle.Y = (int)(draggableAreaLocationInWindow.Y * scaleAdjustment);
- dragRectangle.Height = (int)(draggableArea.ActualHeight * scaleAdjustment);
- dragRectangle.Width = (int)(draggableArea.ActualWidth * scaleAdjustment);
- dragRectsList.Add(dragRectangle);
- }
-
- AppWindow.TitleBar.SetDragRectangles(dragRectsList.ToArray());
- }
- }
-
- private double GetScaleAdjustment()
- {
- IntPtr hWnd = GetWindowHandle();
- WindowId wndId = Win32Interop.GetWindowIdFromWindow(hWnd);
- var displayArea = DisplayArea.GetFromWindowId(wndId, DisplayAreaFallback.Primary);
- IntPtr hMonitor = Win32Interop.GetMonitorFromDisplayId(displayArea.DisplayId);
-
- // Get DPI.
- int result = GetDpiForMonitor(new HMONITOR(hMonitor), MONITOR_DPI_TYPE.MDT_DEFAULT, out uint dpiX, out uint _);
- if (result != 0)
- {
- throw new Exception("Could not get DPI for monitor.");
- }
-
- uint scaleFactorPercent = (uint)(((long)dpiX * 100 + (96 >> 1)) / 96);
- return scaleFactorPercent / 100.0;
- }
-
- private void Window_Loaded(object sender, RoutedEventArgs e)
- {
- for (int i = 0; i < _draggableAreas.Count; i++)
- {
- _draggableAreas[i].SizeChanged += DraggableArea_SizeChanged;
- }
-
- SetDragRegionForCustomTitleBar();
- }
-
- private void Window_Activated(object sender, WindowActivatedEventArgs args)
- {
- if (_configurationSource is not null)
- {
- _configurationSource.IsInputActive = args.WindowActivationState != WindowActivationState.Deactivated;
- }
- }
-
- private void Window_ThemeChanged(FrameworkElement sender, object args)
- {
- if (_configurationSource != null)
- {
- SetConfigurationSourceTheme();
- }
- }
-
- private void Window_Closing(AppWindow sender, AppWindowClosingEventArgs args)
- {
- Closing?.Invoke(this, EventArgs.Empty);
-
- // Make sure any Mica controller is disposed so it doesn't try to
- // use this hidden window.
- if (_micaController != null)
- {
- _micaController.Dispose();
- _micaController = null;
- }
-
- AppWindow.Closing -= Window_Closing;
- Activated -= Window_Activated;
-
- _configurationSource = null;
-
- if (Content is FrameworkElement frameworkElement)
- {
- frameworkElement.Loaded -= Window_Loaded;
- }
- }
-
- private class WindowsSystemDispatcherQueueHelper
- {
- [StructLayout(LayoutKind.Sequential)]
- private struct DispatcherQueueOptions
- {
- internal int _dwSize;
- internal int _threadType;
- internal int _apartmentType;
- }
-
- [DllImport("CoreMessaging.dll", ExactSpelling = true)]
- private static extern int CreateDispatcherQueueController([In] DispatcherQueueOptions options, [In, Out, MarshalAs(UnmanagedType.IUnknown)] ref object dispatcherQueueController);
-
- private object? _dispatcherQueueController = null;
-
- public void EnsureWindowsSystemDispatcherQueueController()
- {
- if (Windows.System.DispatcherQueue.GetForCurrentThread() != null)
- {
- // one already exists, so we'll just use it.
- return;
- }
-
- if (_dispatcherQueueController == null)
- {
- DispatcherQueueOptions options;
- options._dwSize = Marshal.SizeOf(typeof(DispatcherQueueOptions));
- options._threadType = 2; // DQTYPE_THREAD_CURRENT
- options._apartmentType = 2; // DQTAT_COM_STA
-
- _ = CreateDispatcherQueueController(options, ref _dispatcherQueueController!);
- }
- }
- }
-}
-#endif
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.cs b/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.cs
deleted file mode 100644
index dda84c9da..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/BackdropWindow.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using DevToys.UI.Framework.Helpers;
-using Microsoft.UI.Xaml;
-using Windows.Foundation;
-
-namespace DevToys.UI.Framework.Controls;
-
-public sealed partial class BackdropWindow
-{
- private readonly List<FrameworkElement> _draggableAreas = new();
-
- #region IsWindowDraggableArea
-
- /// <summary>
- /// Attached property that can be used to set one or multiple controls as area that the user can user to move the window using the mouse.
- /// </summary>
- public static readonly DependencyProperty IsWindowDraggableAreaProperty
- = DependencyProperty.RegisterAttached(
- "IsWindowDraggableArea",
- typeof(bool),
- typeof(BackdropWindow),
- new PropertyMetadata(false, OnAttachingIsWindowDraggableArea));
-
- public static bool GetIsWindowDraggableArea(DependencyObject d)
- {
- return (bool)d.GetValue(IsWindowDraggableAreaProperty);
- }
-
- public static void SetIsWindowDraggableArea(DependencyObject d, bool value)
- {
- d.SetValue(IsWindowDraggableAreaProperty, value);
- }
-
- private static void OnAttachingIsWindowDraggableArea(DependencyObject obj, DependencyPropertyChangedEventArgs e)
- {
- if (obj is FrameworkElement frameworkElement)
- {
- if (frameworkElement.IsLoaded)
- {
- BackdropPage? parentPage = VisualTreeHelperExtend.FindParent<BackdropPage>(frameworkElement);
- parentPage?.Window._draggableAreas.Add(frameworkElement);
- }
- else
- {
- frameworkElement.Loaded += (_, _) =>
- {
- BackdropPage? parentPage = VisualTreeHelperExtend.FindParent<BackdropPage>(frameworkElement);
- parentPage?.Window._draggableAreas.Add(frameworkElement);
- };
- }
- }
- }
-
- #endregion
-
- /// <summary>
- /// Gets or sets the position of the window when first shown.
- /// </summary>
- public WindowStartupLocation WindowStartupLocation { get; set; }
-
- /// <summary>
- /// Gets whether the Compact Overlay (picture in picture) mode is supported by the operating system.
- /// </summary>
- public bool IsCompactOverlayModeSupported { get; }
-
- /// <summary>
- /// Raised when the window opened.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? Shown;
-
- /// <summary>
- /// Raised when the window is closing.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? Closing;
-
- /// <summary>
- /// Raised when the window enters or exits the Compact Overlay mode.
- /// </summary>
- public event TypedEventHandler<BackdropWindow, EventArgs>? CompactOverlayModeChanged;
-
- /// <summary>
- /// Changes the size of the window.
- /// </summary>
- public partial void Resize(int width, int height);
-
- /// <summary>
- /// Changes the window location on the screen.
- /// </summary>
- public partial void Move(int x, int y);
-
- /// <summary>
- /// Opens a window and returns without waiting for the newly opened window to close.
- /// </summary>
- public partial void Show();
-
- /// <summary>
- /// Gets whether the window is currently in compact overlay mode.
- /// </summary>
- public partial bool IsInCompactOverlayMode();
-
- /// <summary>
- /// Tries to enter or exit compact overlay mode.
- /// </summary>
- public partial void TryToggleCompactOverlayMode();
-
- /// <summary>
- /// Sets the title of the window that the operating system will display (in the task bar, for example).
- /// </summary>
- public partial void SetTitle(string title);
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/DefaultWindowLocation.cs b/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/DefaultWindowLocation.cs
deleted file mode 100644
index e53f1e3d1..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/BackdropWindow/DefaultWindowLocation.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-namespace DevToys.UI.Framework.Controls;
-
-/// <summary>
-/// Specifies the position that a <see cref="BackdropWindow"/> will be shown in when it is first opened. Used by the <see cref="BackdropWindow.WindowStartupLocation"/> property.
-/// </summary>
-public enum WindowStartupLocation
-{
- /// <summary>
- /// The startup location of a <see cref="BackdropWindow"/> is the center of the <see cref="BackdropWindow"/> that owns it.
- /// </summary>
- CenterOwner,
-
- /// <summary>
- /// The startup location of a <see cref="BackdropWindow"/> is the center of the screen that contains the mouse cursor.
- /// </summary>
- CenterScreen,
-
- /// <summary>
- /// The startup location of a <see cref="BackdropWindow"/> is set from code, or defers to the default OS location.
- /// </summary>
- Manual
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/IDetachable.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/IDetachable.cs
deleted file mode 100644
index e829d658c..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/IDetachable.cs
+++ /dev/null
@@ -1,6 +0,0 @@
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-internal interface IDetachable
-{
- void Detach();
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIButtonPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIButtonPresenter.xaml.cs
deleted file mode 100644
index 59f708eb5..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIButtonPresenter.xaml.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIButtonPresenter : Button
-{
- public UIButtonPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UIButtonPresenter_Loaded;
- Unloaded += UIButtonPresenter_Unloaded;
- }
-
- internal IUIButton UIButton => (IUIButton)DataContext;
-
- private void UIButtonPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIButton.IsEnabledChanged += UIButton_IsEnabledChanged;
- UIButton.IsVisibleChanged += UIButton_IsVisibleChanged;
- UIButton.TextChanged += UIButton_TextChanged;
-
- IsEnabled = UIButton.IsEnabled;
- Visibility = UIButton.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- Content = UIButton.Text;
- }
-
- private void UIButtonPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIButton.IsEnabledChanged -= UIButton_IsEnabledChanged;
- UIButton.IsVisibleChanged -= UIButton_IsVisibleChanged;
- UIButton.TextChanged -= UIButton_TextChanged;
- Loaded -= UIButtonPresenter_Loaded;
- Unloaded -= UIButtonPresenter_Unloaded;
- }
-
- private void UIButton_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UIButton.IsEnabled;
- }
-
- private void UIButton_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UIButton.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- }
-
- private void UIButton_TextChanged(object? sender, EventArgs e)
- {
- Content = UIButton.Text;
- }
-
- private void OnButton_Click(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIButton.OnClickAction?.Invoke(); // TODO: await? Also, Try Catch and log?
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDiffTextInputPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDiffTextInputPresenter.xaml
deleted file mode 100644
index 8afef3d78..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDiffTextInputPresenter.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-<UserControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIDiffTextInputPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d">
- <local:UITextInputHeader>
- <!-- TODO: Monaco Editor -->
- </local:UITextInputHeader>
-</UserControl>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDiffTextInputPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDiffTextInputPresenter.xaml.cs
deleted file mode 100644
index 0481afb57..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDiffTextInputPresenter.xaml.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIDiffTextInputPresenter : UserControl
-{
- public UIDiffTextInputPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UIDiffTextInputPresenter_Loaded;
- Unloaded += UIDiffTextInputPresenter_Unloaded;
- }
-
- internal IUIDiffTextInput UIDiffTextInput => (IUIDiffTextInput)DataContext;
-
- private void UIDiffTextInputPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- }
-
- private void UIDiffTextInputPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- Loaded -= UIDiffTextInputPresenter_Loaded;
- Unloaded -= UIDiffTextInputPresenter_Unloaded;
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDropDownListPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDropDownListPresenter.xaml
deleted file mode 100644
index 695b857f8..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDropDownListPresenter.xaml
+++ /dev/null
@@ -1,12 +0,0 @@
-<UserControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIDropDownListPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d">
- <ComboBox
- x:Name="ComboBox"
- Style="{ThemeResource DefaultComboBoxStyle}"/>
-</UserControl>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDropDownListPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDropDownListPresenter.xaml.cs
deleted file mode 100644
index 6eaf83cee..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIDropDownListPresenter.xaml.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIDropDownListPresenter : UserControl
-{
- public UIDropDownListPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UIDropDownListPresenter_Loaded;
- Unloaded += UIDropDownListPresenter_Unloaded;
- }
-
- internal IUIDropDownList UIDropDownList => (IUIDropDownList)DataContext;
-
- private void UIDropDownListPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIDropDownList.IsEnabledChanged += UIDropDownList_IsEnabledChanged;
- UIDropDownList.IsVisibleChanged += UIDropDownList_IsVisibleChanged;
- UIDropDownList.TitleChanged += UIDropDownList_TitleChanged;
- UIDropDownList.ItemsChanged += UIDropDownList_ItemsChanged;
- UIDropDownList.SelectedItemChanged += UIDropDownList_SelectedItemChanged;
-
- IsEnabled = UIDropDownList.IsEnabled;
- Visibility = UIDropDownList.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- ComboBox.Header = UIDropDownList.Title!;
- SetItems();
- if (UIDropDownList.Items is null)
- {
- ComboBox.SelectedIndex = -1;
- }
- else
- {
- ComboBox.SelectedIndex = Array.IndexOf(UIDropDownList.Items, UIDropDownList.SelectedItem);
- }
-
- ComboBox.SelectionChanged += UIDropDownListPresenter_SelectionChanged;
- }
-
- private void UIDropDownListPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- ComboBox.SelectionChanged -= UIDropDownListPresenter_SelectionChanged;
- UIDropDownList.IsEnabledChanged -= UIDropDownList_IsEnabledChanged;
- UIDropDownList.IsVisibleChanged -= UIDropDownList_IsVisibleChanged;
- UIDropDownList.TitleChanged -= UIDropDownList_TitleChanged;
- UIDropDownList.ItemsChanged -= UIDropDownList_ItemsChanged;
- UIDropDownList.SelectedItemChanged -= UIDropDownList_SelectedItemChanged;
- Loaded -= UIDropDownListPresenter_Loaded;
- Unloaded -= UIDropDownListPresenter_Unloaded;
- }
-
- private void UIDropDownList_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UIDropDownList.IsEnabled;
- }
-
- private void UIDropDownList_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UIDropDownList.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- }
-
- private void UIDropDownList_SelectedItemChanged(object? sender, EventArgs e)
- {
- if (UIDropDownList.Items is null)
- {
- ComboBox.SelectedIndex = -1;
- }
- else
- {
- ComboBox.SelectedIndex = Array.IndexOf(UIDropDownList.Items, UIDropDownList.SelectedItem);
- }
- }
-
- private void UIDropDownList_ItemsChanged(object? sender, EventArgs e)
- {
- SetItems();
- }
-
- private void UIDropDownList_TitleChanged(object? sender, EventArgs e)
- {
- ComboBox.Header = UIDropDownList.Title!;
- }
-
- private void UIDropDownListPresenter_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- UIDropDownList.Select(ComboBox.SelectedIndex);
- }
-
- private void SetItems()
- {
- ComboBox.Items.Clear();
- if (UIDropDownList.Items is not null)
- {
- for (int i = 0; i < UIDropDownList.Items.Length; i++)
- {
- ComboBox.Items.Add(new ComboBoxItem()
- {
- Tag = UIDropDownList.Items[i],
- Content = UIDropDownList.Items[i].Text
- });
- }
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementPresenter.xaml
deleted file mode 100644
index cad33a91b..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementPresenter.xaml
+++ /dev/null
@@ -1,97 +0,0 @@
-<Control
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIElementPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- IsTabStop="False">
- <Control.Resources>
- <local:UIElementTemplateSelector x:Key="UIElementTemplateSelector">
-
- <!-- UIButton -->
- <local:UIElementTemplateSelector.UIButtonTemplate>
- <DataTemplate>
- <local:UIButtonPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UIButtonTemplate>
-
- <!-- UIStack -->
- <local:UIElementTemplateSelector.UIStackTemplate>
- <DataTemplate>
- <local:UIStackPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UIStackTemplate>
-
- <!-- UIIcon -->
- <local:UIElementTemplateSelector.UIIconTemplate>
- <DataTemplate>
- <local:UIIconPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UIIconTemplate>
-
- <!-- UISetting -->
- <local:UIElementTemplateSelector.UISettingTemplate>
- <DataTemplate>
- <local:UISettingPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UISettingTemplate>
-
- <!-- UISettingGroup -->
- <local:UIElementTemplateSelector.UISettingGroupTemplate>
- <DataTemplate>
- <local:UISettingGroupPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UISettingGroupTemplate>
-
- <!-- UISwitch -->
- <local:UIElementTemplateSelector.UISwitchTemplate>
- <DataTemplate>
- <local:UISwitchPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UISwitchTemplate>
-
- <!-- UIDropDownList -->
- <local:UIElementTemplateSelector.UIDropDownListTemplate>
- <DataTemplate>
- <local:UIDropDownListPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UIDropDownListTemplate>
-
- <!-- UIDiffTextInput -->
- <local:UIElementTemplateSelector.UIDiffTextInputTemplate>
- <DataTemplate>
- <local:UIDiffTextInputPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UIDiffTextInputTemplate>
-
- <!-- UIMultilineTextInput -->
- <local:UIElementTemplateSelector.UIMultilineTextInputTemplate>
- <DataTemplate>
- <local:UIMultilineTextInputPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UIMultilineTextInputTemplate>
-
- <!-- UISinglelineTextInput -->
- <local:UIElementTemplateSelector.UISinglelineTextInputTemplate>
- <DataTemplate>
- <local:UISinglelineTextInputPresenter/>
- </DataTemplate>
- </local:UIElementTemplateSelector.UISinglelineTextInputTemplate>
-
- </local:UIElementTemplateSelector>
- </Control.Resources>
-
- <Control.Template>
- <ControlTemplate TargetType="local:UIElementPresenter">
- <ContentControl
- x:Name="RootContentControl"
- ContentTemplateSelector="{StaticResource UIElementTemplateSelector}"
- Content="{x:Bind UIElement, Mode=OneWay}"
- HorizontalContentAlignment="Stretch"
- VerticalContentAlignment="Stretch"
- IsTabStop="False"/>
- </ControlTemplate>
- </Control.Template>
-</Control>
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementPresenter.xaml.cs
deleted file mode 100644
index bf207310a..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementPresenter.xaml.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIElementPresenter : Control, IDetachable
-{
- internal static UIElementPresenter Create(IUIElement element)
- {
- return new()
- {
- UIElement = element
- };
- }
-
- public UIElementPresenter()
- {
- InitializeComponent();
- }
-
- public static readonly DependencyProperty UIElementProperty =
- DependencyProperty.Register(
- nameof(UIElement),
- typeof(IUIElement),
- typeof(UIElementPresenter),
- new PropertyMetadata(null));
-
- public IUIElement UIElement
- {
- get => (IUIElement)GetValue(UIElementProperty);
- set => SetValue(UIElementProperty, value);
- }
-
- public void Detach()
- {
- if (IsLoaded)
- {
- var rootContentControl = GetTemplateChild("RootContentControl") as ContentControl;
- if (rootContentControl is not null && rootContentControl.ContentTemplateRoot is IDetachable detachableChild)
- {
- detachableChild.Detach();
- }
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementTemplateSelector.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementTemplateSelector.cs
deleted file mode 100644
index b2f733379..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIElementTemplateSelector.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-/// <summary>
-/// The template selector used to display <see cref="IUIElement"/>
-/// </summary>
-internal sealed class UIElementTemplateSelector : DataTemplateSelector
-{
- /// <summary>
- /// The data template used to display a <see cref="IUIButton"/>.
- /// </summary>
- public DataTemplate UIButtonTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUIStack"/>.
- /// </summary>
- public DataTemplate UIStackTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUIIcon"/>.
- /// </summary>
- public DataTemplate UIIconTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUISetting"/>.
- /// </summary>
- public DataTemplate UISettingTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUISettingGroup"/>.
- /// </summary>
- public DataTemplate UISettingGroupTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUISwitch"/>.
- /// </summary>
- public DataTemplate UISwitchTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUIDropDownList"/>.
- /// </summary>
- public DataTemplate UIDropDownListTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUIDiffTextInput"/>.
- /// </summary>
- public DataTemplate UIDiffTextInputTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUIMultilineLineTextInput"/>.
- /// </summary>
- public DataTemplate UIMultilineTextInputTemplate { get; set; } = null!;
-
- /// <summary>
- /// The data template used to display a <see cref="IUISingleLineTextInput"/>.
- /// </summary>
- public DataTemplate UISinglelineTextInputTemplate { get; set; } = null!;
-
- protected override DataTemplate SelectTemplateCore(object item, DependencyObject container)
- {
- if (item is null)
- {
- return null!;
- }
-
- return item switch
- {
- IUIButton => UIButtonTemplate,
- IUIStack => UIStackTemplate,
- IUIIcon => UIIconTemplate,
- IUISettingGroup => UISettingGroupTemplate,
- IUISetting => UISettingTemplate,
- IUISwitch => UISwitchTemplate,
- IUIDropDownList => UIDropDownListTemplate,
- IUIDiffTextInput => UIDiffTextInputTemplate,
- IUIMultilineLineTextInput => UIMultilineTextInputTemplate,
- IUISingleLineTextInput => UISinglelineTextInputTemplate,
-
- _ => throw new NotSupportedException($"Gui Tool component of type '{item.GetType().FullName}' isn't supported.")
- };
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIIconPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIIconPresenter.xaml
deleted file mode 100644
index 5f62c74c8..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIIconPresenter.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-<ContentControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIIconPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- IsTabStop="False">
- <FontIcon
- x:Name="FontIcon"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"/>
-</ContentControl>
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIIconPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIIconPresenter.xaml.cs
deleted file mode 100644
index 1ce04d888..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIIconPresenter.xaml.cs
+++ /dev/null
@@ -1,86 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Media;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIIconPresenter : ContentControl
-{
- public UIIconPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UIIconPresenter_Loaded;
- Unloaded += UIIconPresenter_Unloaded;
- }
-
- internal IUIIcon UIIcon => (IUIIcon)DataContext;
-
- private void UIIconPresenter_Loaded(object sender, RoutedEventArgs e)
- {
- UIIcon.IsEnabledChanged += UIIcon_IsEnabledChanged;
- UIIcon.IsVisibleChanged += UIIcon_IsVisibleChanged;
- UIIcon.FontNameChanged += UIIcon_FontNameChanged;
- UIIcon.GlyphChanged += UIIcon_GlyphChanged;
- UIIcon.SizeChanged += UIIcon_SizeChanged;
-
- IsEnabled = UIIcon.IsEnabled;
- Visibility = UIIcon.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- SetFontFamily(UIIcon.FontName);
- FontIcon.Glyph = UIIcon.Glyph;
- FontIcon.FontSize = UIIcon.Size;
- }
-
- private void UIIconPresenter_Unloaded(object sender, RoutedEventArgs e)
- {
- UIIcon.IsEnabledChanged -= UIIcon_IsEnabledChanged;
- UIIcon.IsVisibleChanged -= UIIcon_IsVisibleChanged;
- UIIcon.FontNameChanged -= UIIcon_FontNameChanged;
- UIIcon.GlyphChanged -= UIIcon_GlyphChanged;
- UIIcon.SizeChanged -= UIIcon_SizeChanged;
- Loaded -= UIIconPresenter_Loaded;
- Unloaded -= UIIconPresenter_Unloaded;
- }
-
- private void UIIcon_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UIIcon.IsEnabled;
- }
-
- private void UIIcon_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UIIcon.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- }
-
- private void UIIcon_FontNameChanged(object? sender, EventArgs e)
- {
- SetFontFamily(UIIcon.FontName);
- }
-
- private void UIIcon_GlyphChanged(object? sender, EventArgs e)
- {
- FontIcon.Glyph = UIIcon.Glyph;
- }
-
- private void UIIcon_SizeChanged(object? sender, EventArgs e)
- {
- FontIcon.FontSize = UIIcon.Size;
- }
-
- private void SetFontFamily(string fontName)
- {
- if (!string.IsNullOrEmpty(fontName))
- {
- if (Application.Current.Resources.TryGetValue(fontName, out object? result) && result is FontFamily fontFamily)
- {
- FontIcon.FontFamily = fontFamily;
- return;
- }
-
- ThrowHelper.ThrowInvalidDataException($"Unable to font the font named '{fontName}' in the app resources.");
- }
-
- FontIcon.FontFamily = null;
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIMultilineTextInputPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIMultilineTextInputPresenter.xaml
deleted file mode 100644
index 9e1fa7ba7..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIMultilineTextInputPresenter.xaml
+++ /dev/null
@@ -1,10 +0,0 @@
-<UserControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIMultilineTextInputPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d">
- <local:UITextInputHeader x:Name="UITextInputHeader"/>
-</UserControl>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIMultilineTextInputPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIMultilineTextInputPresenter.xaml.cs
deleted file mode 100644
index 45939da18..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIMultilineTextInputPresenter.xaml.cs
+++ /dev/null
@@ -1,153 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIMultilineTextInputPresenter : UserControl, IDetachable
-{
- private static readonly MonacoEditorPool MonacoEditorPool = new();
-
- private readonly IMonacoEditor _monacoEditor;
-
- private bool _isDetached;
- private bool _textChangedByUser;
-
- public UIMultilineTextInputPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UIMultilineTextInputPresenter_Loaded;
- Unloaded += UIMultilineTextInputPresenter_Unloaded;
-
- _monacoEditor = MonacoEditorPool.Get();
- _monacoEditor.UIHost.HorizontalAlignment = Microsoft.UI.Xaml.HorizontalAlignment.Stretch;
- _monacoEditor.UIHost.VerticalAlignment = Microsoft.UI.Xaml.VerticalAlignment.Stretch;
- _monacoEditor.TextChanged += MonacoEditor_TextChanged;
- _monacoEditor.SelectedSpanChanged += MonacoEditor_SelectedSpanChanged;
- UITextInputHeader.InnerEditor = _monacoEditor.UIHost;
- }
-
- internal IUIMultilineLineTextInput UIMultilineLineTextInput => (IUIMultilineLineTextInput)DataContext;
-
- public void Detach()
- {
- // Recycling the Monaco Editor when we don't need it anymore (i.e navigating to another tool) so it can
- // be reused in another tool without having to create a new editor instance (which is slow and consumes a lot of memory).
- _isDetached = true;
- _monacoEditor.TextChanged -= MonacoEditor_TextChanged;
- _monacoEditor.SelectedSpanChanged -= MonacoEditor_SelectedSpanChanged;
- UITextInputHeader.InnerEditor = null;
- MonacoEditorPool.Recycle(_monacoEditor);
- }
-
- private void UIMultilineTextInputPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIMultilineLineTextInput.IsReadOnlyChanged += UIMultilineLineTextInput_IsReadOnlyChanged;
- UIMultilineLineTextInput.TextChanged += UIMultilineLineTextInput_TextChanged;
- UIMultilineLineTextInput.SelectionChanged += UIMultilineLineTextInput_SelectionChanged;
- UIMultilineLineTextInput.SyntaxColorizationLanguageNameChanged += UIMultilineLineTextInput_SyntaxColorizationLanguageNameChanged;
- UIMultilineLineTextInput.HighlightedSpansChanged += UIMultilineLineTextInput_HighlightedSpansChanged;
- _monacoEditor.ReadOnly = UIMultilineLineTextInput.IsReadOnly;
- _monacoEditor.Text = UIMultilineLineTextInput.Text;
- _monacoEditor.CodeLanguage = UIMultilineLineTextInput.SyntaxColorizationLanguageName;
- _monacoEditor.HighlightSpansAsync(UIMultilineLineTextInput.HighlightedSpans).ForgetSafely();
- if (UIMultilineLineTextInput.Selection is not null)
- {
- _monacoEditor.SelectedSpan = UIMultilineLineTextInput.Selection;
- }
- }
-
- private void UIMultilineTextInputPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- _monacoEditor.TextChanged -= MonacoEditor_TextChanged;
- _monacoEditor.SelectedSpanChanged -= MonacoEditor_SelectedSpanChanged;
- UIMultilineLineTextInput.IsReadOnlyChanged -= UIMultilineLineTextInput_IsReadOnlyChanged;
- UIMultilineLineTextInput.TextChanged -= UIMultilineLineTextInput_TextChanged;
- UIMultilineLineTextInput.SelectionChanged -= UIMultilineLineTextInput_SelectionChanged;
- UIMultilineLineTextInput.SyntaxColorizationLanguageNameChanged -= UIMultilineLineTextInput_SyntaxColorizationLanguageNameChanged;
- Loaded -= UIMultilineTextInputPresenter_Loaded;
- Unloaded -= UIMultilineTextInputPresenter_Unloaded;
- }
-
- private void UIMultilineLineTextInput_SelectionChanged(object? sender, EventArgs e)
- {
- if (_isDetached)
- {
- return;
- }
-
- if (UIMultilineLineTextInput.Selection is not null)
- {
- if (_monacoEditor.SelectedSpan.StartPosition != UIMultilineLineTextInput.Selection.StartPosition
- && _monacoEditor.SelectedSpan.Length != UIMultilineLineTextInput.Selection.Length)
- {
- _monacoEditor.SelectedSpan = UIMultilineLineTextInput.Selection;
- }
- }
- else
- {
- _monacoEditor.SelectedSpan = new TextSpan(0, 0);
- }
- }
-
- private void UIMultilineLineTextInput_TextChanged(object? sender, EventArgs e)
- {
- if (!_isDetached)
- {
- if (!_textChangedByUser)
- {
- _monacoEditor.Text = UIMultilineLineTextInput.Text;
- }
- }
- }
-
- private void UIMultilineLineTextInput_IsReadOnlyChanged(object? sender, EventArgs e)
- {
- if (!_isDetached)
- {
- _monacoEditor.ReadOnly = UIMultilineLineTextInput.IsReadOnly;
- }
- }
-
- private void UIMultilineLineTextInput_SyntaxColorizationLanguageNameChanged(object? sender, EventArgs e)
- {
- if (!_isDetached)
- {
- _monacoEditor.CodeLanguage = UIMultilineLineTextInput.SyntaxColorizationLanguageName;
- }
- }
-
- private void UIMultilineLineTextInput_HighlightedSpansChanged(object? sender, EventArgs e)
- {
- if (!_isDetached)
- {
- _monacoEditor.HighlightSpansAsync(UIMultilineLineTextInput.HighlightedSpans).ForgetSafely();
- }
- }
-
- private void MonacoEditor_TextChanged(object? sender, EventArgs e)
- {
- _textChangedByUser = true;
- if (!_isDetached)
- {
- UIMultilineLineTextInput.Text(_monacoEditor.Text);
- }
- _textChangedByUser = false;
- }
-
- private void MonacoEditor_SelectedSpanChanged(object? sender, EventArgs e)
- {
- if (!_isDetached)
- {
- if (_monacoEditor.SelectedSpan.StartPosition > UIMultilineLineTextInput.Text.Length)
- {
- // Looks like the text isn't in sync.
- _textChangedByUser = true;
- UIMultilineLineTextInput.Text(_monacoEditor.Text);
- _textChangedByUser = false;
- }
-
- UIMultilineLineTextInput.Select(_monacoEditor.SelectedSpan);
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingGroupPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingGroupPresenter.xaml
deleted file mode 100644
index 4f48a0c07..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingGroupPresenter.xaml
+++ /dev/null
@@ -1,25 +0,0 @@
-<Expander
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UISettingGroupPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- HorizontalAlignment="Stretch"
- HorizontalContentAlignment="Stretch"
- VerticalAlignment="Stretch"
- VerticalContentAlignment="Stretch"
- Padding="0"
- CornerRadius="{x:Bind CornerRadius}">
- <Expander.Header>
- <local:UISettingHeaderControl
- x:Name="UISettingHeaderControl"
- Margin="{ThemeResource UISettingGroupPresenterContentMargin}"/>
- </Expander.Header>
-
- <StackPanel
- x:Name="ContentStackPanel"
- HorizontalAlignment="Stretch"
- Orientation="Vertical"/>
-</Expander>
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingGroupPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingGroupPresenter.xaml.cs
deleted file mode 100644
index f37ed762d..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingGroupPresenter.xaml.cs
+++ /dev/null
@@ -1,170 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Automation;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UISettingGroupPresenter : Expander, IDetachable
-{
- public UISettingGroupPresenter()
- {
- this.InitializeComponent();
-
- CornerRadius = new CornerRadius(4); // Default corner radius.
-
- Loaded += UISettingGroupPresenter_Loaded;
- Unloaded += UISettingGroupPresenter_Unloaded;
- }
-
- internal IUISettingGroup UISettingGroup => (IUISettingGroup)DataContext;
-
- public void Detach()
- {
- UISettingHeaderControl.Detach();
- DetachContentStackPanel();
- }
-
- private void UISettingGroupPresenter_Loaded(object sender, RoutedEventArgs e)
- {
- UISettingGroup.IsEnabledChanged += UISettingGroup_IsEnabledChanged;
- UISettingGroup.IsVisibleChanged += UISettingGroup_IsVisibleChanged;
- UISettingGroup.TitleChanged += UISettingGroup_TitleChanged;
- UISettingGroup.DescriptionChanged += UISettingGroup_DescriptionChanged;
- UISettingGroup.IconChanged += UISettingGroup_IconChanged;
- UISettingGroup.InteractiveElementChanged += UISettingGroup_InteractiveElementChanged;
- UISettingGroup.ChildrenChanged += UISettingGroup_ChildrenChanged;
-
- IsEnabled = UISettingGroup.IsEnabled;
- Visibility = UISettingGroup.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- UISettingHeaderControl.Title = UISettingGroup.Title;
- UISettingHeaderControl.Description = UISettingGroup.Description;
- UISettingHeaderControl.SettingActionableElement = UISettingGroup.InteractiveElement;
- UISettingHeaderControl.Icon = UISettingGroup.Icon;
- if (UISettingGroup.Icon != null)
- {
- UISettingGroup.Icon.Size(20);
- }
-
- SetChildren();
-
- AutomationProperties.SetName(this, UISettingGroup.Title);
- AutomationProperties.SetHelpText(this, UISettingGroup.Description);
- }
-
- private void UISettingGroupPresenter_Unloaded(object sender, RoutedEventArgs e)
- {
- UISettingGroup.IsEnabledChanged -= UISettingGroup_IsEnabledChanged;
- UISettingGroup.IsVisibleChanged -= UISettingGroup_IsVisibleChanged;
- UISettingGroup.TitleChanged -= UISettingGroup_TitleChanged;
- UISettingGroup.DescriptionChanged -= UISettingGroup_DescriptionChanged;
- UISettingGroup.IconChanged -= UISettingGroup_IconChanged;
- UISettingGroup.InteractiveElementChanged -= UISettingGroup_InteractiveElementChanged;
- UISettingGroup.ChildrenChanged -= UISettingGroup_ChildrenChanged;
- Loaded -= UISettingGroupPresenter_Loaded;
- Unloaded -= UISettingGroupPresenter_Unloaded;
- }
-
- private void UISettingGroup_TitleChanged(object? sender, EventArgs e)
- {
- UISettingHeaderControl.Title = UISettingGroup.Title;
- }
-
- private void UISettingGroup_DescriptionChanged(object? sender, EventArgs e)
- {
- UISettingHeaderControl.Description = UISettingGroup.Description;
- }
-
- private void UISettingGroup_IconChanged(object? sender, EventArgs e)
- {
- if (UISettingGroup.Icon != null)
- {
- UISettingGroup.Icon.Size(20);
- }
- UISettingHeaderControl.Icon = UISettingGroup.Icon;
- }
-
- private void UISettingGroup_InteractiveElementChanged(object? sender, EventArgs e)
- {
- UISettingHeaderControl.SettingActionableElement = UISettingGroup.InteractiveElement;
- }
-
- private void UISettingGroup_ChildrenChanged(object? sender, EventArgs e)
- {
- SetChildren();
- }
-
- private void UISettingGroup_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UISettingGroup.IsEnabled;
- }
-
- private void UISettingGroup_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UISettingGroup.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- }
-
- private void SetChildren()
- {
- DetachContentStackPanel();
- ContentStackPanel.Children.Clear();
- if (UISettingGroup.Children is not null)
- {
- for (int i = 0; i < UISettingGroup.Children.Length; i++)
- {
- IUIElement element = UISettingGroup.Children[i];
- if (UISettingGroup.ChildrenAreAllSettings)
- {
- CornerRadius cornerRadius;
- if (i == UISettingGroup.Children.Length - 1)
- {
- cornerRadius = new CornerRadius(0, 0, 4, 4);
- }
- else
- {
- cornerRadius = new CornerRadius(0);
- }
-
- var settingPresenter
- = new UISettingPresenter()
- {
- DataContext = element,
- CornerRadius = cornerRadius
- };
- settingPresenter.ClearBackground();
-
- ContentStackPanel.Children.Add(settingPresenter);
- }
- else
- {
- ContentStackPanel.Children.Add(UIElementPresenter.Create(element));
- }
- }
-
- // Adjust the spacing inside of the group.
- if (UISettingGroup.ChildrenAreAllSettings)
- {
- ContentStackPanel.Spacing = 0;
- ContentStackPanel.Padding = default;
- ContentStackPanel.Margin = default;
- }
- else
- {
- ContentStackPanel.Spacing = 4;
- ContentStackPanel.Padding = new Thickness(12);
- ContentStackPanel.Margin = new Thickness(42, 0, 6, 0);
- }
- }
- }
-
- private void DetachContentStackPanel()
- {
- for (int i = 0; i < ContentStackPanel.Children.Count; i++)
- {
- if (ContentStackPanel.Children[i] is IDetachable detachable)
- {
- detachable.Detach();
- }
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingHeaderControl.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingHeaderControl.xaml
deleted file mode 100644
index 3f03c6365..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingHeaderControl.xaml
+++ /dev/null
@@ -1,96 +0,0 @@
-<UserControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UISettingHeaderControl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:converters="using:DevToys.UI.Framework.Converters"
- mc:Ignorable="d">
- <UserControl.Resources>
- <converters:NullToBooleanConverter x:Key="NullToTrueConverter"/>
- <converters:NullToBooleanConverter x:Key="NullToFalseConverter" IsInverted="True"/>
- <converters:NullToBooleanConverter x:Key="StringNullOrWhiteSpaceToFalseConverter" IsInverted="True" EnforceNonWhiteSpaceString="True"/>
-
- <Style x:Key="TextBlockSettingDescriptionStyle" TargetType="TextBlock">
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="FontSize" Value="12" />
- <Setter Property="Opacity" Value="0.75" />
- </Style>
- </UserControl.Resources>
-
- <Grid
- x:Name="MainPanel"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- SizeChanged="MainPanel_SizeChanged">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
-
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
-
- <local:UIElementPresenter
- x:Name="SettingIconElement"
- Margin="2,0,20,0"
- Width="20"
- VerticalAlignment="Center"
- UIElement="{x:Bind Icon, Mode=OneWay}"/>
-
- <Grid
- x:Name="DescriptionPanel"
- Grid.Column="1"
- HorizontalAlignment="Left"
- VerticalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
-
- <TextBlock
- x:Name="TitleBlock"
- x:Load="{x:Bind Title, Mode=OneWay, Converter={StaticResource StringNullOrWhiteSpaceToFalseConverter}}"
- Text="{x:Bind Title, Mode=OneWay}"
- TextWrapping="Wrap" />
-
- <TextBlock
- x:Name="DescriptionBlock"
- Grid.Row="1"
- x:Load="{x:Bind Description, Mode=OneWay, Converter={StaticResource StringNullOrWhiteSpaceToFalseConverter}}"
- Style="{StaticResource TextBlockSettingDescriptionStyle}"
- Text="{x:Bind Description, Mode=OneWay}" />
- </Grid>
-
- <local:UIElementPresenter
- x:Name="ActionableElement"
- Grid.Column="2"
- Margin="24,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- x:Load="{x:Bind SettingActionableElement, Mode=OneWay, Converter={StaticResource NullToFalseConverter}}"
- UIElement="{x:Bind SettingActionableElement, Mode=OneWay}" />
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="NormalState">
- <VisualState.Setters>
- <Setter Target="ActionableElement.(Grid.Row)" Value="0" />
- <Setter Target="ActionableElement.(Grid.Column)" Value="2" />
- <Setter Target="ActionableElement.Margin" Value="24,0,0,0" />
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="CompactState">
- <VisualState.Setters>
- <Setter Target="ActionableElement.(Grid.Row)" Value="1" />
- <Setter Target="ActionableElement.(Grid.Column)" Value="1" />
- <Setter Target="ActionableElement.Margin" Value="0,4,0,0" />
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
- </Grid>
-</UserControl>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingHeaderControl.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingHeaderControl.xaml.cs
deleted file mode 100644
index 74048105d..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingHeaderControl.xaml.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Automation;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Markup;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-[ContentProperty(Name = nameof(SettingActionableElement))]
-public sealed partial class UISettingHeaderControl : UserControl, IDetachable
-{
- public static readonly DependencyProperty SettingActionableElementProperty
- = DependencyProperty.Register(
- nameof(SettingActionableElement),
- typeof(IUIElement),
- typeof(UISettingHeaderControl),
- new PropertyMetadata(null));
-
- public IUIElement? SettingActionableElement
- {
- get => (IUIElement?)GetValue(SettingActionableElementProperty);
- set => SetValue(SettingActionableElementProperty, value);
- }
-
- public static readonly DependencyProperty TitleProperty
- = DependencyProperty.Register(
- nameof(Title),
- typeof(string),
- typeof(UISettingHeaderControl),
- new PropertyMetadata(
- string.Empty,
- (d, e) =>
- {
- AutomationProperties.SetName(d, (string)e.NewValue);
- }));
-
- public string? Title
- {
- get => (string?)GetValue(TitleProperty);
- set => SetValue(TitleProperty, value);
- }
-
- public static readonly DependencyProperty DescriptionProperty
- = DependencyProperty.Register(
- nameof(Description),
- typeof(string),
- typeof(UISettingHeaderControl),
- new PropertyMetadata(
- string.Empty,
- (d, e) =>
- {
- AutomationProperties.SetHelpText(d, (string)e.NewValue);
- }));
-
- public string? Description
- {
- get => (string?)GetValue(DescriptionProperty);
- set => SetValue(DescriptionProperty, value);
- }
-
- public static readonly DependencyProperty IconProperty
- = DependencyProperty.Register(
- nameof(Icon),
- typeof(IUIIcon),
- typeof(UISettingHeaderControl),
- new PropertyMetadata(null));
-
- public IUIIcon? Icon
- {
- get => (IUIIcon?)GetValue(IconProperty);
- set => SetValue(IconProperty, value);
- }
-
- public UISettingHeaderControl()
- {
- InitializeComponent();
- VisualStateManager.GoToState(this, "NormalState", false);
- }
-
- public void Detach()
- {
- SettingIconElement.Detach();
- ActionableElement.Detach();
- }
-
- private void MainPanel_SizeChanged(object sender, SizeChangedEventArgs e)
- {
- if (e.NewSize.Width == e.PreviousSize.Width || ActionableElement == null)
- {
- return;
- }
-
- if (ActionableElement.ActualWidth > e.NewSize.Width / 3)
- {
- VisualStateManager.GoToState(this, "CompactState", false);
- }
- else
- {
- VisualStateManager.GoToState(this, "NormalState", false);
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingPresenter.xaml
deleted file mode 100644
index d1605b589..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingPresenter.xaml
+++ /dev/null
@@ -1,30 +0,0 @@
-<UserControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UISettingPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:converters="using:DevToys.UI.Framework.Converters"
- mc:Ignorable="d">
- <UserControl.Resources>
- <converters:NullToBooleanConverter x:Key="NullToTrueConverter"/>
- <converters:NullToBooleanConverter x:Key="NullToFalseConverter" IsInverted="True"/>
-
- <Style x:Key="GridSettingBlockStyle" TargetType="Grid">
- <Setter Property="BorderBrush" Value="{ThemeResource ExpanderHeaderBorderBrush}" />
- <Setter Property="BorderThickness" Value="{ThemeResource ExpanderHeaderBorderThickness}" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="MinHeight" Value="{StaticResource ExpanderMinHeight}" />
- <Setter Property="Padding" Value="{ThemeResource UISettingPresenterContentPadding}" />
- </Style>
- </UserControl.Resources>
-
- <Grid
- x:Name="NonExpanderGrid"
- Style="{StaticResource GridSettingBlockStyle}"
- Background="{ThemeResource ExpanderHeaderBackground}"
- CornerRadius="{x:Bind CornerRadius}">
- <local:UISettingHeaderControl x:Name="UISettingHeaderControl"/>
- </Grid>
-</UserControl>
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingPresenter.xaml.cs
deleted file mode 100644
index 1c25f519b..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISettingPresenter.xaml.cs
+++ /dev/null
@@ -1,97 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UISettingPresenter : UserControl, IDetachable
-{
- public UISettingPresenter()
- {
- this.InitializeComponent();
-
- CornerRadius = new CornerRadius(4); // Default corner radius.
-
- Loaded += UISettingPresenter_Loaded;
- Unloaded += UISettingPresenter_Unloaded;
- }
-
- internal IUISetting UISetting => (IUISetting)DataContext;
-
- public void Detach()
- {
- UISettingHeaderControl.Detach();
- }
-
- internal void ClearBackground()
- {
- NonExpanderGrid.Background = null;
- }
-
- private void UISettingPresenter_Loaded(object sender, RoutedEventArgs e)
- {
- UISetting.IsEnabledChanged += UISetting_IsEnabledChanged;
- UISetting.IsVisibleChanged += UISetting_IsVisibleChanged;
- UISetting.TitleChanged += UISetting_TitleChanged;
- UISetting.DescriptionChanged += UISetting_DescriptionChanged;
- UISetting.IconChanged += UISetting_IconChanged;
- UISetting.InteractiveElementChanged += UISetting_InteractiveElementChanged;
-
- IsEnabled = UISetting.IsEnabled;
- Visibility = UISetting.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- UISettingHeaderControl.Title = UISetting.Title;
- UISettingHeaderControl.Description = UISetting.Description;
- UISettingHeaderControl.SettingActionableElement = UISetting.InteractiveElement;
- UISettingHeaderControl.Icon = UISetting.Icon;
- if (UISetting.Icon != null)
- {
- UISetting.Icon.Size(20);
- }
- }
-
- private void UISettingPresenter_Unloaded(object sender, RoutedEventArgs e)
- {
- UISetting.IsEnabledChanged -= UISetting_IsEnabledChanged;
- UISetting.IsVisibleChanged -= UISetting_IsVisibleChanged;
- UISetting.TitleChanged -= UISetting_TitleChanged;
- UISetting.DescriptionChanged -= UISetting_DescriptionChanged;
- UISetting.IconChanged -= UISetting_IconChanged;
- UISetting.InteractiveElementChanged -= UISetting_InteractiveElementChanged;
- Loaded -= UISettingPresenter_Loaded;
- Unloaded -= UISettingPresenter_Unloaded;
- }
-
- private void UISetting_TitleChanged(object? sender, EventArgs e)
- {
- UISettingHeaderControl.Title = UISetting.Title;
- }
-
- private void UISetting_DescriptionChanged(object? sender, EventArgs e)
- {
- UISettingHeaderControl.Description = UISetting.Description;
- }
-
- private void UISetting_IconChanged(object? sender, EventArgs e)
- {
- if (UISetting.Icon != null)
- {
- UISetting.Icon.Size(20);
- }
- UISettingHeaderControl.Icon = UISetting.Icon;
- }
-
- private void UISetting_InteractiveElementChanged(object? sender, EventArgs e)
- {
- UISettingHeaderControl.SettingActionableElement = UISetting.InteractiveElement;
- }
-
- private void UISetting_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UISetting.IsEnabled;
- }
-
- private void UISetting_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UISetting.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISinglelineTextInputPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISinglelineTextInputPresenter.xaml
deleted file mode 100644
index e0778df96..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISinglelineTextInputPresenter.xaml
+++ /dev/null
@@ -1,18 +0,0 @@
-<UserControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UISinglelineTextInputPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- VerticalAlignment="Top"
- VerticalContentAlignment="Top">
- <local:UITextInputHeader>
- <TextBox
- x:Name="TextBox"
- VerticalAlignment="Top"
- TextChanged="TextBox_TextChanged"
- SelectionChanged="TextBox_SelectionChanged"/>
- </local:UITextInputHeader>
-</UserControl>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISinglelineTextInputPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISinglelineTextInputPresenter.xaml.cs
deleted file mode 100644
index f5da77658..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISinglelineTextInputPresenter.xaml.cs
+++ /dev/null
@@ -1,104 +0,0 @@
-using DevToys.Api;
-using DevToys.UI.Framework.Helpers;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UISinglelineTextInputPresenter : UserControl
-{
- private bool _textChangedByUser;
-
- public UISinglelineTextInputPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UISinglelineTextInputPresenter_Loaded;
- Unloaded += UISinglelineTextInputPresenter_Unloaded;
- }
-
- internal IUISingleLineTextInput UISinglelineTextInput => (IUISingleLineTextInput)DataContext;
-
- private void UISinglelineTextInputPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UISinglelineTextInput.IsReadOnlyChanged += UISinglelineTextInput_IsReadOnlyChanged;
- UISinglelineTextInput.TextChanged += UISinglelineTextInput_TextChanged;
- UISinglelineTextInput.SelectionChanged += UISinglelineTextInput_SelectionChanged;
- TextBox.FontFamily = new Microsoft.UI.Xaml.Media.FontFamily(Parts.SettingsProvider.GetSetting(PredefinedSettings.TextEditorFont));
- TextBox.IsReadOnly = UISinglelineTextInput.IsReadOnly;
- TextBox.Text = UISinglelineTextInput.Text;
- if (UISinglelineTextInput.Selection is not null)
- {
- TextBox.Select(UISinglelineTextInput.Selection.StartPosition, UISinglelineTextInput.Selection.Length);
- }
-
- Parts.SettingsProvider.SettingChanged += SettingsProvider_SettingChanged;
- }
-
- private void UISinglelineTextInputPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UISinglelineTextInput.IsReadOnlyChanged -= UISinglelineTextInput_IsReadOnlyChanged;
- UISinglelineTextInput.TextChanged -= UISinglelineTextInput_TextChanged;
- UISinglelineTextInput.SelectionChanged -= UISinglelineTextInput_SelectionChanged;
- Loaded -= UISinglelineTextInputPresenter_Loaded;
- Unloaded -= UISinglelineTextInputPresenter_Unloaded;
-
- Parts.SettingsProvider.SettingChanged -= SettingsProvider_SettingChanged;
- }
-
- private void UISinglelineTextInput_SelectionChanged(object? sender, EventArgs e)
- {
- if (UISinglelineTextInput.Selection is not null)
- {
- if (TextBox.SelectionStart != UISinglelineTextInput.Selection.StartPosition
- && TextBox.SelectionLength != UISinglelineTextInput.Selection.Length)
- {
- TextBox.Select(UISinglelineTextInput.Selection.StartPosition, UISinglelineTextInput.Selection.Length);
- }
- }
- else
- {
- TextBox.Select(0, 0);
- }
- }
-
- private void UISinglelineTextInput_TextChanged(object? sender, EventArgs e)
- {
- if (!_textChangedByUser)
- {
- TextBox.Text = UISinglelineTextInput.Text;
- }
- }
-
- private void UISinglelineTextInput_IsReadOnlyChanged(object? sender, EventArgs e)
- {
- TextBox.IsReadOnly = UISinglelineTextInput.IsReadOnly;
- }
-
- private void TextBox_TextChanged(object sender, TextChangedEventArgs e)
- {
- _textChangedByUser = true;
- UISinglelineTextInput.Text(TextBox.Text);
- _textChangedByUser = false;
- }
-
- private void TextBox_SelectionChanged(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- if (TextBox.SelectionStart > UISinglelineTextInput.Text.Length)
- {
- // Looks like the text isn't in sync.
- _textChangedByUser = true;
- UISinglelineTextInput.Text(TextBox.Text);
- _textChangedByUser = false;
- }
-
- UISinglelineTextInput.Select(TextBox.SelectionStart, TextBox.SelectionLength);
- }
-
- private void SettingsProvider_SettingChanged(object? sender, SettingChangedEventArgs e)
- {
- if (string.Equals(e.SettingName, PredefinedSettings.TextEditorFont.Name, StringComparison.Ordinal))
- {
- TextBox.FontFamily = new Microsoft.UI.Xaml.Media.FontFamily(e.NewValue as string);
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIStackPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIStackPresenter.xaml
deleted file mode 100644
index 223823b0a..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIStackPresenter.xaml
+++ /dev/null
@@ -1,19 +0,0 @@
-<ContentControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIStackPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- IsTabStop="False"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- HorizontalContentAlignment="Stretch"
- VerticalContentAlignment="Stretch">
- <StackPanel
- x:Name="StackPanel"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Spacing="4"/>
-</ContentControl>
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIStackPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIStackPresenter.xaml.cs
deleted file mode 100644
index a3091bb34..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIStackPresenter.xaml.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UIStackPresenter : ContentControl, IDetachable
-{
- public UIStackPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UIStackPresenter_Loaded;
- Unloaded += UIStackPresenter_Unloaded;
- }
-
- internal IUIStack UIStack => (IUIStack)DataContext;
-
- public void Detach()
- {
- for (int i = 0; i < StackPanel.Children.Count; i++)
- {
- if (StackPanel.Children[i] is IDetachable detachable)
- {
- detachable.Detach();
- }
- }
- }
-
- private void UIStackPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIStack.IsEnabledChanged += UIStack_IsEnabledChanged;
- UIStack.IsVisibleChanged += UIStack_IsVisibleChanged;
- UIStack.OrientationChanged += UIStack_OrientationChanged;
- UIStack.ChildrenChanged += UIStack_ChildrenChanged;
-
- IsEnabled = UIStack.IsEnabled;
- Visibility = UIStack.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- StackPanel.Orientation = UIStack.Orientation == UIOrientation.Horizontal ? Orientation.Horizontal : Orientation.Vertical;
- SetChildren();
- }
-
- private void UIStackPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UIStack.IsEnabledChanged -= UIStack_IsEnabledChanged;
- UIStack.IsVisibleChanged -= UIStack_IsVisibleChanged;
- UIStack.OrientationChanged -= UIStack_OrientationChanged;
- UIStack.ChildrenChanged -= UIStack_ChildrenChanged;
- Loaded -= UIStackPresenter_Loaded;
- Unloaded -= UIStackPresenter_Unloaded;
- }
-
- private void UIStack_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UIStack.IsEnabled;
- }
-
- private void UIStack_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UIStack.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- }
-
- private void UIStack_OrientationChanged(object? sender, EventArgs e)
- {
- StackPanel.Orientation = UIStack.Orientation == UIOrientation.Horizontal ? Orientation.Horizontal : Orientation.Vertical;
- }
-
- private void UIStack_ChildrenChanged(object? sender, EventArgs e)
- {
- SetChildren();
- }
-
- private void SetChildren()
- {
- Detach();
- StackPanel.Children.Clear();
-
- if (UIStack.Children is not null)
- {
- for (int i = 0; i < UIStack.Children.Length; i++)
- {
- StackPanel.Children.Add(UIElementPresenter.Create(UIStack.Children[i]));
- }
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISwitchPresenter.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISwitchPresenter.xaml
deleted file mode 100644
index 2e92743e8..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISwitchPresenter.xaml
+++ /dev/null
@@ -1,14 +0,0 @@
-<ContentControl
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UISwitchPresenter"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d"
- IsTabStop="false">
- <ToggleSwitch
- x:Name="ToggleSwitch"
- Style="{StaticResource RightAlignedToggleSwitchStyle}"
- Toggled="ToggleSwitch_Toggled"/>
-</ContentControl>
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISwitchPresenter.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISwitchPresenter.xaml.cs
deleted file mode 100644
index f7449399a..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UISwitchPresenter.xaml.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-public sealed partial class UISwitchPresenter : ContentControl
-{
- private bool _toggledProgrammatically;
-
- public UISwitchPresenter()
- {
- this.InitializeComponent();
-
- Loaded += UISwitchPresenter_Loaded;
- Unloaded += UISwitchPresenter_Unloaded;
- }
-
- internal IUISwitch UISwitch => (IUISwitch)DataContext;
-
- private void UISwitchPresenter_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UISwitch.IsEnabledChanged += UISwitch_IsEnabledChanged;
- UISwitch.IsVisibleChanged += UISwitch_IsVisibleChanged;
- UISwitch.OnTextChanged += UISwitch_OnTextChanged;
- UISwitch.OffTextChanged += UISwitch_OffTextChanged;
- UISwitch.IsOnChanged += UISwitch_IsOnChanged;
-
- IsEnabled = UISwitch.IsEnabled;
- Visibility = UISwitch.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- ToggleSwitch.OnContent = UISwitch.OnText;
- ToggleSwitch.OffContent = UISwitch.OffText;
-
- _toggledProgrammatically = true;
- ToggleSwitch.IsOn = UISwitch.IsOn;
- _toggledProgrammatically = false;
- }
-
- private void UISwitchPresenter_Unloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- UISwitch.IsEnabledChanged -= UISwitch_IsEnabledChanged;
- UISwitch.IsVisibleChanged -= UISwitch_IsVisibleChanged;
- UISwitch.OnTextChanged -= UISwitch_OnTextChanged;
- UISwitch.OffTextChanged -= UISwitch_OffTextChanged;
- UISwitch.IsOnChanged -= UISwitch_IsOnChanged;
- Loaded -= UISwitchPresenter_Loaded;
- Unloaded -= UISwitchPresenter_Unloaded;
- }
-
- private void UISwitch_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UISwitch.IsEnabled;
- }
-
- private void UISwitch_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UISwitch.IsVisible ? Microsoft.UI.Xaml.Visibility.Visible : Microsoft.UI.Xaml.Visibility.Collapsed;
- }
-
- private void UISwitch_IsOnChanged(object? sender, EventArgs e)
- {
- _toggledProgrammatically = true;
- ToggleSwitch.IsOn = UISwitch.IsOn;
- _toggledProgrammatically = false;
- }
-
- private void UISwitch_OffTextChanged(object? sender, EventArgs e)
- {
- ToggleSwitch.OffContent = UISwitch.OffText;
- }
-
- private void UISwitch_OnTextChanged(object? sender, EventArgs e)
- {
- ToggleSwitch.OnContent = UISwitch.OnText;
- }
-
- private void ToggleSwitch_Toggled(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
- {
- if (!_toggledProgrammatically)
- {
- if (ToggleSwitch.IsOn)
- {
- UISwitch.On();
- }
- else
- {
- UISwitch.Off();
- }
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UITextInputHeader.xaml b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UITextInputHeader.xaml
deleted file mode 100644
index 7357e6521..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UITextInputHeader.xaml
+++ /dev/null
@@ -1,180 +0,0 @@
-<UserControl
- x:Name="Root"
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UITextInputHeader"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:str="using:DevToys.UI.Framework.Extensions"
- xmlns:converters="using:DevToys.UI.Framework.Converters"
- mc:Ignorable="d"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- HorizontalContentAlignment="Stretch"
- VerticalContentAlignment="Stretch"
- SizeChanged="Root_SizeChanged">
- <UserControl.Resources>
- <converters:NegateBooleanConverter x:Key="NegateBooleanConverter"/>
- <converters:NullToBooleanConverter x:Key="StringNullOrWhiteSpaceToFalseConverter" IsInverted="True" EnforceNonWhiteSpaceString="True"/>
- <converters:BooleanToImageSourceConverter x:Key="IdeaIconConverter" SourceIfTrue="ms-appx:///DevToys.UI.Framework/Assets/Icons/Idea.svg" SourceIfFalse="ms-appx:///DevToys.UI.Framework/Assets/Icons/Idea-disabled.svg"/>
-
- <Style x:Name="SeparatorStyle" TargetType="Rectangle">
- <Setter Property="Margin" Value="2,0,2,0"/>
- <Setter Property="Width" Value="1"/>
- <Setter Property="VerticalAlignment" Value="Stretch"/>
- <Setter Property="RadiusX" Value="0.5"/>
- <Setter Property="RadiusY" Value="0.5"/>
- <Setter Property="Fill" Value="{ThemeResource AppBarSeparatorForeground}"/>
- </Style>
-
- <Style TargetType="Button" BasedOn="{StaticResource CustomButtonStyle}"/>
- </UserControl.Resources>
-
- <Grid
- x:Name="MainPanel"
- AllowDrop="True"
- Background="Transparent"
- DragOver="MainPanel_DragOver"
- DragLeave="MainPanel_DragLeave"
- Drop="MainPanel_Drop">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <TextBlock
- x:Name="HeaderTextBlock"
- x:Load="{x:Bind Title, Mode=OneWay, Converter={StaticResource StringNullOrWhiteSpaceToFalseConverter}}"
- Grid.Row="0"
- Grid.Column="0"
- Text="{x:Bind Title, Mode=OneWay}"
- Margin="{ThemeResource TextBoxTopHeaderMargin}"
- Style="{ThemeResource BodyTextBlockStyle}"
- TextWrapping="NoWrap"
- TextTrimming="WordEllipsis"
- VerticalAlignment="Bottom"/>
- <StackPanel
- x:Name="HeaderStackPanel"
- Grid.Row="0"
- Grid.Column="1"
- Orientation="Horizontal"
- HorizontalAlignment="Right"
- Margin="{ThemeResource UITextInputHeaderCommandMargin}"
- Spacing="4"
- AutomationProperties.LabeledBy="{x:Bind HeaderTextBlock}">
- <Button
- x:Name="PasteButton"
- x:Load="{x:Bind IsReadOnly, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- ToolTipService.ToolTip="{str:StringsExtension Key=Paste}"
- AutomationProperties.Name="{str:StringsExtension Key=Paste}"
- Click="PasteButton_Click">
- <StackPanel Orientation="Horizontal" Spacing="4">
- <FontIcon Glyph="&#xF2D5;"/>
- <TextBlock x:Name="PasteButtonText" Text="{str:StringsExtension Key=Paste}"/>
- </StackPanel>
- </Button>
- <Button
- x:Name="OpenFileButton"
- x:Load="{x:Bind IsReadOnly, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- ToolTipService.ToolTip="{str:StringsExtension Key=OpenFile}"
- AutomationProperties.Name="{str:StringsExtension Key=OpenFile}"
- Click="OpenFileButton_Click">
- <FontIcon Glyph="&#xF378;"/>
- </Button>
- <Button
- x:Name="ClearButton"
- x:Load="{x:Bind IsReadOnly, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- ToolTipService.ToolTip="{str:StringsExtension Key=Clear}"
- AutomationProperties.Name="{str:StringsExtension Key=Clear}"
- Click="ClearButton_Click">
- <FontIcon Glyph="&#xF369;"/>
- </Button>
- <Rectangle
- x:Name="Separator1"
- x:Load="{x:Bind CanCopyWhenEditable, Mode=OneWay}"
- Style="{StaticResource SeparatorStyle}"/>
- <Button
- x:Name="SaveAsButton"
- x:Load="{x:Bind IsReadOnlyOrCanCopyWhenEditable, Mode=OneWay}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- ToolTipService.ToolTip="{str:StringsExtension Key=SaveAs}"
- AutomationProperties.Name="{str:StringsExtension Key=SaveAs}"
- Click="SaveAsButton_Click">
- <FontIcon Glyph="&#xF67F;"/>
- </Button>
- <Button
- x:Name="CopyButton"
- x:Load="{x:Bind IsReadOnlyOrCanCopyWhenEditable, Mode=OneWay}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- ToolTipService.ToolTip="{str:StringsExtension Key=Copy}"
- AutomationProperties.Name="{str:StringsExtension Key=Copy}"
- Click="CopyButton_Click">
- <StackPanel Orientation="Horizontal" Spacing="4">
- <FontIcon Glyph="&#xF32B;"/>
- <TextBlock x:Name="CopyButtonText" Text="{str:StringsExtension Key=Copy}"/>
- </StackPanel>
- </Button>
- <Rectangle
- x:Name="Separator2"
- x:Load="{x:Bind IsReadOnlyOrCanCopyWhenEditable, Mode=OneWay}"
- Style="{StaticResource SeparatorStyle}"/>
- <DropDownButton
- x:Name="SmartDetectionDropDownButton"
- x:Load="{x:Bind IsReadOnlyOrCanCopyWhenEditable, Mode=OneWay}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"
- Padding="{ThemeResource ButtonPadding}"
- ToolTipService.ToolTip="{str:StringsExtension Key=SendToSmartDetection}"
- AutomationProperties.Name="{str:StringsExtension Key=SendToSmartDetection}">
- <DropDownButton.Content>
- <ImageIcon
- Source="{x:Bind ToolsDetectedBySmartDetection, Mode=OneWay, Converter={StaticResource IdeaIconConverter}}"
- Height="22"
- Width="22"/>
- </DropDownButton.Content>
- <DropDownButton.Flyout>
- <MenuFlyout x:Name="SmartDetectionMenuFlyout" Placement="Bottom"/>
- </DropDownButton.Flyout>
- </DropDownButton>
- </StackPanel>
-
- <!-- OneWay binding mode on Content property is important so MonacoEditor can be removed from the visual tree when being reclycled -->
- <ContentControl
- x:Name="EditorControl"
- Grid.Row="1"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- HorizontalContentAlignment="Stretch"
- VerticalContentAlignment="Stretch"
- Content="{Binding InnerEditor, ElementName=Root, Mode=OneWay}"
- IsEnabled="{x:Bind IsLoadingFile, Mode=OneWay, Converter={StaticResource NegateBooleanConverter}}"/>
-
- <Rectangle
- x:Name="DragDropAreaRectangle"
- x:Load="{x:Bind IsDraggingHover, Mode=OneWay}"
- Grid.RowSpan="2"
- Grid.ColumnSpan="2"
- Stroke="{ThemeResource TextControlHeaderForeground}"
- StrokeDashArray="4 4"
- StrokeThickness="2"
- Fill="{ThemeResource ButtonBackgroundPointerOver}"/>
-
- <ProgressBar
- x:Name="LoadingFileProgressRing"
- x:Load="{x:Bind IsLoadingFile, Mode=OneWay}"
- Grid.Row="1"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Margin="24,0,24,0"
- IsIndeterminate="{x:Bind IsLoadingFile, Mode=OneWay}" />
- </Grid>
-</UserControl>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UITextInputHeader.xaml.cs b/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UITextInputHeader.xaml.cs
deleted file mode 100644
index 0205f0710..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UITextInputHeader.xaml.cs
+++ /dev/null
@@ -1,564 +0,0 @@
-using CommunityToolkit.Mvvm.Messaging;
-using DevToys.Api;
-using DevToys.Core.Models;
-using DevToys.Core.Tools;
-using DevToys.Localization.Strings.ToolPage;
-using DevToys.UI.Framework.Converters;
-using DevToys.UI.Framework.Helpers;
-using DevToys.UI.Framework.Threading;
-using Microsoft.Extensions.Logging;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Automation;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Markup;
-using Microsoft.UI.Xaml.Media;
-using Uno.Extensions;
-using Windows.ApplicationModel.DataTransfer;
-using Windows.Storage;
-using Windows.Storage.Pickers;
-using Windows.Storage.Provider;
-
-namespace DevToys.UI.Framework.Controls.GuiTool;
-
-[ContentProperty(Name = nameof(InnerEditor))]
-public sealed partial class UITextInputHeader : UserControl
-{
- private readonly ILogger _logger;
- private readonly SmartDetectionService _smartDetectionService;
- private readonly DisposableSemaphore _disposableSemaphore = new();
- private readonly StringToStaticResourceConverter _stringToStaticResourceConverter = new();
-
- private CancellationTokenSource? _cancellationTokenSource;
-
- public UITextInputHeader()
- {
- this.InitializeComponent();
-
- _logger = this.Log();
- _smartDetectionService = Parts.MefProvider.Import<SmartDetectionService>();
-
- Loaded += UITextInputHeader_Loaded;
- Unloaded += UITextInputHeader_Unloaded;
- }
-
- internal IUISingleLineTextInput UITextInput => (IUISingleLineTextInput)DataContext;
-
- public static readonly DependencyProperty TitleProperty
- = DependencyProperty.Register(
- nameof(Title),
- typeof(string),
- typeof(UITextInputHeader),
- new PropertyMetadata(
- string.Empty,
- (d, e) =>
- {
- AutomationProperties.SetName(d, (string)e.NewValue);
- }));
-
- public string? Title
- {
- get => (string?)GetValue(TitleProperty);
- set => SetValue(TitleProperty, value);
- }
-
- public static readonly DependencyProperty IsReadOnlyProperty
- = DependencyProperty.Register(
- nameof(IsReadOnly),
- typeof(bool),
- typeof(UITextInputHeader),
- new PropertyMetadata(false));
-
- public bool IsReadOnly
- {
- get => (bool)GetValue(IsReadOnlyProperty);
- set => SetValue(IsReadOnlyProperty, value);
- }
-
- public static readonly DependencyProperty CanCopyWhenEditableProperty
- = DependencyProperty.Register(
- nameof(CanCopyWhenEditable),
- typeof(bool),
- typeof(UITextInputHeader),
- new PropertyMetadata(false));
-
- public bool CanCopyWhenEditable
- {
- get => (bool)GetValue(CanCopyWhenEditableProperty);
- set => SetValue(CanCopyWhenEditableProperty, value);
- }
-
- public static readonly DependencyProperty IsReadOnlyOrCanCopyWhenEditableProperty
- = DependencyProperty.Register(
- nameof(IsReadOnlyOrCanCopyWhenEditable),
- typeof(bool),
- typeof(UITextInputHeader),
- new PropertyMetadata(false));
-
- public bool IsReadOnlyOrCanCopyWhenEditable
- {
- get => (bool)GetValue(IsReadOnlyOrCanCopyWhenEditableProperty);
- set => SetValue(IsReadOnlyOrCanCopyWhenEditableProperty, value);
- }
-
- public static readonly DependencyProperty InnerEditorProperty
- = DependencyProperty.Register(
- nameof(InnerEditor),
- typeof(object),
- typeof(UITextInputHeader),
- new PropertyMetadata(null));
-
- public object? InnerEditor
- {
- get => GetValue(InnerEditorProperty);
- set => SetValue(InnerEditorProperty, value);
- }
-
- public static readonly DependencyProperty IsDraggingHoverProperty
- = DependencyProperty.Register(
- nameof(IsDraggingHover),
- typeof(bool),
- typeof(UITextInputHeader),
- new PropertyMetadata(false));
-
- public bool IsDraggingHover
- {
- get => (bool)GetValue(IsDraggingHoverProperty);
- set => SetValue(IsDraggingHoverProperty, value);
- }
-
- public static readonly DependencyProperty IsLoadingFileProperty
- = DependencyProperty.Register(
- nameof(IsLoadingFile),
- typeof(bool),
- typeof(UITextInputHeader),
- new PropertyMetadata(false));
-
- public bool IsLoadingFile
- {
- get => (bool)GetValue(IsLoadingFileProperty);
- set => SetValue(IsLoadingFileProperty, value);
- }
-
- public static readonly DependencyProperty ToolsDetectedBySmartDetectionProperty
- = DependencyProperty.Register(
- nameof(ToolsDetectedBySmartDetection),
- typeof(bool),
- typeof(UITextInputHeader),
- new PropertyMetadata(false));
-
- public bool ToolsDetectedBySmartDetection
- {
- get => (bool)GetValue(ToolsDetectedBySmartDetectionProperty);
- set => SetValue(ToolsDetectedBySmartDetectionProperty, value);
- }
-
- private void UITextInputHeader_Loaded(object sender, RoutedEventArgs e)
- {
- UITextInput.TitleChanged += UITextInput_TitleChanged;
- UITextInput.IsReadOnlyChanged += UITextInput_IsReadOnlyChanged;
- UITextInput.CanCopyWhenEditableChanged += UITextInput_CanCopyWhenEditableChanged;
- UITextInput.IsEnabledChanged += UITextInput_IsEnabledChanged;
- UITextInput.IsVisibleChanged += UITextInput_IsVisibleChanged;
- UITextInput.TextChanged += UITextInput_TextChanged;
- Title = UITextInput.Title;
- IsReadOnly = UITextInput.IsReadOnly;
- CanCopyWhenEditable = UITextInput.CanCopyWhenEditable;
- IsEnabled = UITextInput.IsEnabled;
- Visibility = UITextInput.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- IsReadOnlyOrCanCopyWhenEditable = IsReadOnly || CanCopyWhenEditable;
-
- TriggerSmartDetection();
- }
-
- private void UITextInputHeader_Unloaded(object sender, RoutedEventArgs e)
- {
- UITextInput.TitleChanged -= UITextInput_TitleChanged;
- UITextInput.IsReadOnlyChanged -= UITextInput_IsReadOnlyChanged;
- UITextInput.CanCopyWhenEditableChanged -= UITextInput_CanCopyWhenEditableChanged;
- UITextInput.IsEnabledChanged -= UITextInput_IsEnabledChanged;
- UITextInput.IsVisibleChanged -= UITextInput_IsVisibleChanged;
- UITextInput.TextChanged -= UITextInput_TextChanged;
- Loaded -= UITextInputHeader_Loaded;
- Unloaded -= UITextInputHeader_Unloaded;
-
- CancellationTokenSource? cancellationSourceToken = _cancellationTokenSource;
- cancellationSourceToken?.Cancel();
- cancellationSourceToken?.Dispose();
- _disposableSemaphore.Dispose();
- }
-
- private void UITextInput_TitleChanged(object? sender, EventArgs e)
- {
- Title = UITextInput.Title;
- }
-
- private void UITextInput_IsReadOnlyChanged(object? sender, EventArgs e)
- {
- IsReadOnly = UITextInput.IsReadOnly;
- IsReadOnlyOrCanCopyWhenEditable = IsReadOnly || CanCopyWhenEditable;
- }
-
- private void UITextInput_CanCopyWhenEditableChanged(object? sender, EventArgs e)
- {
- CanCopyWhenEditable = UITextInput.CanCopyWhenEditable;
- IsReadOnlyOrCanCopyWhenEditable = IsReadOnly || CanCopyWhenEditable;
- }
-
- private void UITextInput_IsEnabledChanged(object? sender, EventArgs e)
- {
- IsEnabled = UITextInput.IsEnabled;
- }
-
- private void UITextInput_IsVisibleChanged(object? sender, EventArgs e)
- {
- Visibility = UITextInput.IsVisible ? Visibility.Visible : Visibility.Collapsed;
- }
-
- private void UITextInput_TextChanged(object? sender, EventArgs e)
- {
- TriggerSmartDetection();
- }
-
- private void Root_SizeChanged(object sender, SizeChangedEventArgs e)
- {
- if (e.NewSize.Width == e.PreviousSize.Width)
- {
- return;
- }
-
- if (e.NewSize.Width < 500)
- {
- if (PasteButtonText != null)
- {
- PasteButtonText.Visibility = Visibility.Collapsed;
- }
- if (CopyButtonText != null)
- {
- CopyButtonText.Visibility = Visibility.Collapsed;
- }
- }
- else
- {
- if (PasteButtonText != null)
- {
- PasteButtonText.Visibility = Visibility.Visible;
- }
- if (CopyButtonText != null)
- {
- CopyButtonText.Visibility = Visibility.Visible;
- }
- }
- }
-
- private void PasteButton_Click(object sender, RoutedEventArgs e)
- {
- this.DispatcherQueue.RunOnUIThreadAsync(async () =>
- {
- object? clipboardContent = await Parts.Clipboard.GetClipboardDataAsync();
- if (clipboardContent is string clipboardString)
- {
- if (Parts.SettingsProvider.GetSetting(PredefinedSettings.TextEditorPasteClearsText))
- {
- UITextInput.Text(clipboardString);
- }
- else
- {
- UITextInput.Text(UITextInput.Text + clipboardString);
- }
- }
- }).ForgetSafely();
- }
-
- private void OpenFileButton_Click(object sender, RoutedEventArgs e)
- {
- this.DispatcherQueue.RunOnUIThreadAsync(async () =>
- {
- var filePicker = new FileOpenPicker
- {
- ViewMode = PickerViewMode.List,
- SuggestedStartLocation = PickerLocationId.ComputerFolder
- };
-
- filePicker.FileTypeFilter.Add("*");
- filePicker.FileTypeFilter.Add(".txt");
- filePicker.FileTypeFilter.Add(".js");
- filePicker.FileTypeFilter.Add(".ts");
- filePicker.FileTypeFilter.Add(".cs");
- filePicker.FileTypeFilter.Add(".java");
- filePicker.FileTypeFilter.Add(".xml");
- filePicker.FileTypeFilter.Add(".xsd");
- filePicker.FileTypeFilter.Add(".json");
- filePicker.FileTypeFilter.Add(".md");
- filePicker.FileTypeFilter.Add(".sql");
- filePicker.FileTypeFilter.Add(".html");
- filePicker.FileTypeFilter.Add(".cshtml");
- filePicker.FileTypeFilter.Add(".razor");
- filePicker.FileTypeFilter.Add(".css");
-
-#if __WINDOWS__
- // Initialize the file picker with the window handle (HWND).
- WinRT.Interop.InitializeWithWindow.Initialize(filePicker, BackdropWindow.MainWindowHandle);
-#endif
- StorageFile file = await filePicker.PickSingleFileAsync();
- if (file is not null)
- {
- await LoadFileAsync(file);
- }
- }).ForgetSafely();
- }
-
- private void ClearButton_Click(object sender, RoutedEventArgs e)
- {
- UITextInput.Text(string.Empty);
- }
-
- private void SaveAsButton_Click(object sender, RoutedEventArgs e)
- {
- this.DispatcherQueue.RunOnUIThreadAsync(async () =>
- {
- string text = UITextInput.Text; // make sure to get this value on the UI thread.
-
- var filePicker = new FileSavePicker
- {
- SuggestedStartLocation = PickerLocationId.ComputerFolder
- };
-
- filePicker.FileTypeChoices.Add(ToolPage.AllFileType, new List<string> { "." });
-
-#if __WINDOWS__
- // Initialize the file picker with the window handle (HWND).
- WinRT.Interop.InitializeWithWindow.Initialize(filePicker, BackdropWindow.MainWindowHandle);
-#endif
- StorageFile file = await filePicker.PickSaveFileAsync();
- if (file is not null)
- {
- await TaskSchedulerAwaiter.SwitchOffMainThreadAsync(CancellationToken.None);
-
- // Prevent updates to the remote version of the file until we finish making changes and call CompleteUpdatesAsync.
- CachedFileManager.DeferUpdates(file);
- bool failed = false;
-
- try
- {
- await FileIO.WriteTextAsync(file, text);
- }
- catch (Exception ex)
- {
- LogErrorSavingFile(ex);
- failed = true;
- }
- finally
- {
- // Let Windows know that we're finished changing the file so the other app can update the remote version of the file.
- // Completing updates may require Windows to ask for user input.
- FileUpdateStatus status = await CachedFileManager.CompleteUpdatesAsync(file);
- if (status != FileUpdateStatus.Complete && status != FileUpdateStatus.CompleteAndRenamed)
- {
- failed = true;
- }
- }
-
- if (failed)
- {
- await this.DispatcherQueue.RunOnUIThreadAsync(async () =>
- {
- var dialog = new ContentDialog
- {
- // XamlRoot must be set in the case of a ContentDialog running in a Desktop app
- XamlRoot = this.XamlRoot,
- Title = ToolPage.UnableSaveFile,
- Content = string.Format(ToolPage.UnableSaveFileDescription, file.Name),
- CloseButtonText = ToolPage.Ok,
- DefaultButton = ContentDialogButton.Close
- };
-
- await dialog.ShowAsync();
- });
- }
- }
- }).ForgetSafely();
- }
-
- private void CopyButton_Click(object sender, RoutedEventArgs e)
- {
- Parts.Clipboard.SetClipboardTextAsync(UITextInput.Text).ForgetSafely();
- }
-
- private async void MainPanel_DragOver(object sender, DragEventArgs e)
- {
- DragOperationDeferral? deferral = e.GetDeferral();
- if (e!.DataView.Contains(StandardDataFormats.StorageItems))
- {
- // This line may cause a hang, but we have no choice since we can't afford to make this method async
- // since the parent caller won't be able to see what changed in DragEventArgs since it won't
- // wait for the execution to end.
- IReadOnlyList<IStorageItem>? storageItems = await e.DataView.GetStorageItemsAsync();
- if (storageItems is not null && storageItems.Count == 1 && storageItems[0] is StorageFile)
- {
- e.AcceptedOperation = DataPackageOperation.Copy;
- e.Handled = false;
- }
- }
-
- IsDraggingHover = true;
- deferral?.Complete();
- }
-
- private void MainPanel_DragLeave(object sender, DragEventArgs e)
- {
- IsDraggingHover = false;
- }
-
- private async void MainPanel_Drop(object sender, DragEventArgs e)
- {
- DragOperationDeferral? deferral = e.GetDeferral();
- IsDraggingHover = false;
- if (!e!.DataView.Contains(StandardDataFormats.StorageItems))
- {
- return;
- }
-
- IReadOnlyList<IStorageItem>? storageItems = await e.DataView.GetStorageItemsAsync();
- if (storageItems is not null && storageItems.Count == 1 && storageItems[0] is StorageFile file)
- {
- LoadFileAsync(file).Forget();
- }
- deferral?.Complete();
- }
-
- private void SmartDetectionMenuItem_Click(object sender, RoutedEventArgs e)
- {
- if (e.OriginalSource is MenuFlyoutItem menuItem && menuItem.Tag is SmartDetectedTool detectedTool)
- {
- WeakReferenceMessenger.Default.Send(new ChangeSelectedMenuItemMessage(detectedTool));
- }
- }
-
- private async Task LoadFileAsync(StorageFile file)
- {
- IsLoadingFile = true;
-
- try
- {
- await TaskSchedulerAwaiter.SwitchOffMainThreadAsync(CancellationToken.None);
-
- LogOpeningFile(new FileInfo(file.Path).Length);
-
- string? text = await FileIO.ReadTextAsync(file);
-
- await this.DispatcherQueue.RunOnUIThreadAsync(() =>
- {
- UITextInput.Text(text);
-
- IsLoadingFile = false;
-
- if (EditorControl.Content is Control control)
- {
- control.Focus(FocusState.Programmatic);
- }
- });
- }
- catch (Exception ex)
- {
- LogErrorOpeningFile(ex);
-
- await this.DispatcherQueue.RunOnUIThreadAsync(async () =>
- {
- IsLoadingFile = false;
- var dialog = new ContentDialog
- {
- // XamlRoot must be set in the case of a ContentDialog running in a Desktop app
- XamlRoot = this.XamlRoot,
- Title = ToolPage.UnableOpenFile,
- Content = string.Format(ToolPage.UnableOpenFileDescription, file.Name),
- CloseButtonText = ToolPage.Ok,
- DefaultButton = ContentDialogButton.Close
- };
-
- await dialog.ShowAsync();
- });
- }
- }
-
- private void TriggerSmartDetection()
- {
- if (IsLoaded)
- {
- CancellationTokenSource? cancellationSourceToken = _cancellationTokenSource;
- cancellationSourceToken?.Cancel();
- cancellationSourceToken?.Dispose();
- Interlocked.Exchange(ref _cancellationTokenSource, new(TimeSpan.FromSeconds(5)));
- SmartDetectToolsAsync(UITextInput.Text, _cancellationTokenSource.Token).ForgetSafely();
- }
- }
-
- private async Task SmartDetectToolsAsync(string text, CancellationToken cancellationToken)
- {
- await TaskSchedulerAwaiter.SwitchOffMainThreadAsync(cancellationToken);
-
- IReadOnlyList<SmartDetectedTool> detectedTools;
- using (await _disposableSemaphore.WaitAsync(cancellationToken))
- {
- // Detect tools to recommend.
- detectedTools
- = await _smartDetectionService.DetectAsync(text, strict: false, cancellationToken)
- .ConfigureAwait(true);
-
- await DispatcherQueue.RunOnUIThreadAsync(() =>
- {
- if (!cancellationToken.IsCancellationRequested)
- {
- for (int i = 0; i < SmartDetectionMenuFlyout.Items.Count; i++)
- {
- if (SmartDetectionMenuFlyout.Items[i] is MenuFlyoutItem menuItem)
- {
- menuItem.Click -= SmartDetectionMenuItem_Click;
- }
- }
-
- SmartDetectionMenuFlyout.Items.Clear();
-
- if (detectedTools.Count > 0)
- {
- ToolsDetectedBySmartDetection = true;
-
- for (int i = 0; i < detectedTools.Count; i++)
- {
- SmartDetectedTool detectedTool = detectedTools[i];
- var menuItem = new MenuFlyoutItem
- {
- Icon = new FontIcon
- {
- FontFamily = _stringToStaticResourceConverter.Convert(detectedTool.ToolInstance.IconFontName, typeof(FontFamily), null!, null!) as FontFamily,
- Glyph = detectedTool.ToolInstance.IconGlyph.ToString()
- },
- Text = detectedTool.ToolInstance.LongOrShortDisplayTitle,
- Tag = detectedTool
- };
-
- menuItem.Click += SmartDetectionMenuItem_Click;
-
- SmartDetectionMenuFlyout.Items.Add(menuItem);
- }
- }
- else
- {
- ToolsDetectedBySmartDetection = false;
-
- var noToolDetectedMenuItem = new MenuFlyoutItem { Text = ToolPage.NoSmartDetectedTool };
- SmartDetectionMenuFlyout.Items.Add(noToolDetectedMenuItem);
- }
- }
- });
- }
- }
-
- [LoggerMessage(1, LogLevel.Information, "Loading a file into a text input control. The file size is {fileSize} byte(s).")]
- partial void LogOpeningFile(long fileSize);
-
- [LoggerMessage(2, LogLevel.Warning, "Unable to open a file in a text input control.")]
- partial void LogErrorOpeningFile(Exception ex);
-
- [LoggerMessage(3, LogLevel.Warning, "Unable to save a file from a text input control.")]
- partial void LogErrorSavingFile(Exception ex);
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/IMonacoEditor.cs b/src/app/dev/DevToys.UI.Framework/Controls/IMonacoEditor.cs
deleted file mode 100644
index 9cd956fcd..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/IMonacoEditor.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.Framework.Controls;
-
-/// <summary>
-/// Represents an instance of the Monaco Editor.
-/// </summary>
-public interface IMonacoEditor
-{
- bool ReadOnly { get; set; }
-
- string Text { get; set; }
-
- string? CodeLanguage { get; set; }
-
- TextSpan SelectedSpan { get; set; }
-
- Control UIHost { get; }
-
- event EventHandler TextChanged;
-
- event EventHandler SelectedSpanChanged;
-
- Task HighlightSpansAsync(IReadOnlyList<TextSpan> spans);
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/IMonacoEditorFactory.cs b/src/app/dev/DevToys.UI.Framework/Controls/IMonacoEditorFactory.cs
deleted file mode 100644
index ce97d66f5..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/IMonacoEditorFactory.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace DevToys.UI.Framework.Controls;
-
-/// <summary>
-/// Represents a factory to create an instance of the Monaco Editor.
-/// </summary>
-public interface IMonacoEditorFactory
-{
- IMonacoEditor CreateMonacoEditorInstance();
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/IVisualStateListener.cs b/src/app/dev/DevToys.UI.Framework/Controls/IVisualStateListener.cs
deleted file mode 100644
index 42b95dd2a..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/IVisualStateListener.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace DevToys.UI.Framework.Controls;
-
-/// <summary>
-/// Provides a way to explicitly request a visual state.
-/// </summary>
-public interface IVisualStateListener
-{
- /// <summary>
- /// Asks the implementing class to apply the given <paramref name="visualStateName"/>.
- /// </summary>
- void SetVisualState(string visualStateName);
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/MonacoEditorPool.cs b/src/app/dev/DevToys.UI.Framework/Controls/MonacoEditorPool.cs
deleted file mode 100644
index cc0db1c6f..000000000
--- a/src/app/dev/DevToys.UI.Framework/Controls/MonacoEditorPool.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System.Collections.Concurrent;
-using DevToys.UI.Framework.Helpers;
-
-namespace DevToys.UI.Framework.Controls;
-
-/// <summary>
-/// A pool of <see cref="IMonacoEditor"/>. You can use this class to get a new instance of the Monaco Editor, or a recycled one.
-/// </summary>
-internal sealed class MonacoEditorPool
-{
- private readonly IMonacoEditorFactory _monacoEditorFactory = Parts.MefProvider.Import<IMonacoEditorFactory>();
- private readonly ConcurrentBag<IMonacoEditor> _instances = new ConcurrentBag<IMonacoEditor>();
-
- public void Recycle(IMonacoEditor item)
- {
- _instances.Add(item);
- }
-
- public IMonacoEditor Get()
- {
- if (_instances.TryTake(out IMonacoEditor? item) && item is not null)
- {
- return item;
- }
- else
- {
- return _monacoEditorFactory.CreateMonacoEditorInstance();
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToImageSourceConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/BooleanToImageSourceConverter.cs
deleted file mode 100644
index b7e233eca..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToImageSourceConverter.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Data;
-using Microsoft.UI.Xaml.Media;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Convert a <see cref="bool"/> to a <see cref="ImageSource"/> value.
-/// </summary>
-public sealed class BooleanToImageSourceConverter : IValueConverter
-{
- /// <summary>
- /// Gets or sets the <see cref="ImageSource"/> when the input is true.
- /// </summary>
- public ImageSource? SourceIfTrue { get; set; }
-
- /// <summary>
- /// Gets or sets the <see cref="ImageSource"/> when the input is false.
- /// </summary>
- public ImageSource? SourceIfFalse { get; set; }
-
- public object? Convert(object value, Type targetType, object parameter, string language)
- {
- bool? valueBool = value as bool?;
- if (valueBool == null)
- {
- return DependencyProperty.UnsetValue;
- }
-
- if (valueBool.Value)
- {
- return SourceIfTrue;
- }
- else
- {
- return SourceIfFalse;
- }
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToPathConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/BooleanToPathConverter.cs
deleted file mode 100644
index 6bd418479..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToPathConverter.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Data;
-using Microsoft.UI.Xaml.Media;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Convert a <see cref="bool"/> to a <see cref="Geometry"/> value.
-/// </summary>
-public sealed class BooleanToPathConverter : IValueConverter
-{
- /// <summary>
- /// Gets or sets the <see cref="string"/> when the input is true.
- /// </summary>
- public string? PathIfTrue { get; set; }
-
- /// <summary>
- /// Gets or sets the <see cref="string"/> when the input is false.
- /// </summary>
- public string? PathIfFalse { get; set; }
-
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- bool? valueBool = value as bool?;
- if (valueBool == null)
- {
- return DependencyProperty.UnsetValue;
- }
-
- if (valueBool.Value)
- {
- return (Geometry)Microsoft.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(Geometry), PathIfTrue);
- }
- else
- {
- return (Geometry)Microsoft.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(Geometry), PathIfFalse);
- }
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToStringConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/BooleanToStringConverter.cs
deleted file mode 100644
index 89cc90952..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToStringConverter.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Data;
-using Microsoft.UI.Xaml.Media;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Convert a <see cref="bool"/> to a <see cref="string"/> value.
-/// </summary>
-public sealed class BooleanToStringConverter : IValueConverter
-{
- /// <summary>
- /// Gets or sets the <see cref="string"/> when the input is true.
- /// </summary>
- public string? StringIfTrue { get; set; }
-
- /// <summary>
- /// Gets or sets the <see cref="string"/> when the input is false.
- /// </summary>
- public string? StringIfFalse { get; set; }
-
- public object? Convert(object value, Type targetType, object parameter, string language)
- {
- bool? valueBool = value as bool?;
- if (valueBool == null)
- {
- return DependencyProperty.UnsetValue;
- }
-
- if (valueBool.Value)
- {
- return StringIfTrue;
- }
- else
- {
- return StringIfFalse;
- }
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToVisibilityConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/BooleanToVisibilityConverter.cs
deleted file mode 100644
index 9b2ef82b4..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/BooleanToVisibilityConverter.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Data;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Convert a <see cref="bool"/> to a <see cref="Visibility"/> value.
-/// </summary>
-public sealed class BooleanToVisibilityConverter : IValueConverter
-{
- /// <summary>
- /// Gets or sets the <see cref="Visibility"/> when the input is true.
- /// </summary>
- public Visibility VisibilityIfTrue { get; set; }
-
- /// <summary>
- /// Gets or sets the <see cref="Visibility"/> when the input is false.
- /// </summary>
- public Visibility VisibilityIfFalse { get; set; }
-
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- bool? valueBool = value as bool?;
- if (valueBool == null)
- {
- return DependencyProperty.UnsetValue;
- }
-
- if (valueBool.Value)
- {
- return VisibilityIfTrue;
- }
- else
- {
- return VisibilityIfFalse;
- }
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/NegateBooleanConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/NegateBooleanConverter.cs
deleted file mode 100644
index 3a64836f2..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/NegateBooleanConverter.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using Microsoft.UI.Xaml.Data;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Convert a <see cref="bool"/> to its inverted <see cref="bool"/> value.
-/// </summary>
-public sealed class NegateBooleanConverter : IValueConverter
-{
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- bool? valueBool = value as bool?;
- if (valueBool == null)
- {
- ThrowHelper.ThrowInvalidOperationException();
- }
-
- return !valueBool.Value;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/NullToBooleanConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/NullToBooleanConverter.cs
deleted file mode 100644
index 1304054b7..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/NullToBooleanConverter.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using Microsoft.UI.Xaml.Data;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Converts a null value to a <see cref="bool"/> value.
-/// </summary>
-public sealed class NullToBooleanConverter : IValueConverter
-{
- public bool IsInverted { get; set; }
-
- public bool EnforceNonWhiteSpaceString { get; set; }
-
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- if (value?.GetType() == typeof(string))
- {
- if (IsInverted)
- {
- if (EnforceNonWhiteSpaceString)
- {
- return !string.IsNullOrWhiteSpace((string)value);
- }
- return !string.IsNullOrEmpty((string)value);
- }
-
- if (EnforceNonWhiteSpaceString)
- {
- return !string.IsNullOrWhiteSpace((string)value);
- }
- return string.IsNullOrEmpty((string)value);
- }
-
- if (IsInverted)
- {
- return value != null;
- }
- return value == null;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/NullToVisibilityConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/NullToVisibilityConverter.cs
deleted file mode 100644
index 9366486d3..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/NullToVisibilityConverter.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Data;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Converts a null value to a <see cref="Visibility"/> value.
-/// </summary>
-public sealed class NullToVisibilityConverter : IValueConverter
-{
- /// <summary>
- /// Gets or sets the <see cref="Visibility"/> when the input is null.
- /// </summary>
- public Visibility VisibilityIfNull { get; set; }
-
- /// <summary>
- /// Gets or sets the <see cref="Visibility"/> when the input is null.
- /// </summary>
- public Visibility VisibilityIfNotNull { get; set; }
-
- public bool EnforceNonWhiteSpaceString { get; set; }
-
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- if (value?.GetType() == typeof(string))
- {
- if (EnforceNonWhiteSpaceString)
- {
- return string.IsNullOrWhiteSpace((string)value) ? VisibilityIfNull : VisibilityIfNotNull;
- }
-
- return string.IsNullOrEmpty((string)value) ? VisibilityIfNull : VisibilityIfNotNull;
- }
-
- return value == null ? VisibilityIfNull : VisibilityIfNotNull;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Converters/StringToStaticResourceConverter.cs b/src/app/dev/DevToys.UI.Framework/Converters/StringToStaticResourceConverter.cs
deleted file mode 100644
index 83f53e8ea..000000000
--- a/src/app/dev/DevToys.UI.Framework/Converters/StringToStaticResourceConverter.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Data;
-
-namespace DevToys.UI.Framework.Converters;
-
-/// <summary>
-/// Convert a <see cref="string"/> to a static resource declared in the app.
-/// </summary>
-public sealed class StringToStaticResourceConverter : IValueConverter
-{
- public object Convert(object value, Type targetType, object parameter, string language)
- {
- string? valueString = value as string;
- if (!string.IsNullOrEmpty(valueString))
- {
- if (Application.Current.Resources.TryGetValue(valueString, out object? result))
- {
- Guard.IsNotNull(result);
- Guard.IsAssignableToType(result, targetType);
- return result;
- }
-
- ThrowHelper.ThrowInvalidDataException($"{nameof(StringToStaticResourceConverter)}: Trying to load a XAML static resource '{valueString}' but it can't be found.");
- }
-
- return DependencyProperty.UnsetValue;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, string language)
- {
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/DevToys.UI.Framework.csproj b/src/app/dev/DevToys.UI.Framework/DevToys.UI.Framework.csproj
deleted file mode 100644
index 9c6255aab..000000000
--- a/src/app/dev/DevToys.UI.Framework/DevToys.UI.Framework.csproj
+++ /dev/null
@@ -1,102 +0,0 @@
-<Project Sdk="MSBuild.Sdk.Extras">
- <!--
- Adding project references to this project requires some manual adjustments.
- Please see https://github.com/unoplatform/uno/issues/3909 for more details.
- -->
- <PropertyGroup>
- <TargetFrameworks>$(NetCore)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsMac)">$(TargetFrameworks);$(NetMacCatalyst)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsWindows)">$(TargetFrameworks);$(NetCoreWindows)</TargetFrameworks>
- <!-- Ensures the .xr.xml files are generated in a proper layout folder -->
- <GenerateLibraryLayout>true</GenerateLibraryLayout>
-
- <IsWasm>false</IsWasm>
- <EnableWindowsTargeting>true</EnableWindowsTargeting>
- </PropertyGroup>
-
- <ItemGroup>
- <UpToDateCheckInput Include="**\*.xaml" />
- <Page Include="**\*.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </Page>
- <PRIResource Include="**\*.resw" />
- <Content Include="Assets\**" />
- <Compile Update="**\*.xaml.cs">
- <DependentUpon>%(Filename)</DependentUpon>
- </Compile>
- </ItemGroup>
-
- <Choose>
- <When Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">
- <PropertyGroup>
- <IsMacCatalyst>true</IsMacCatalyst>
- <DefineConstants>$(DefineConstants);__MACCATALYST__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.WinUI" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- <PackageReference Include="Uno.Microsoft.Xaml.Behaviors.WinUI.Managed" />
- </ItemGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetCore)'">
- <PropertyGroup>
- <IsWasm>true</IsWasm>
- <DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.WinUI" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- <PackageReference Include="Uno.Extensions.Logging.WebAssembly.Console" />
- <PackageReference Include="Uno.WinUI.Runtime.WebAssembly" />
- <PackageReference Include="Uno.Microsoft.Xaml.Behaviors.WinUI.Managed" />
- </ItemGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetCoreWindows)'">
- <PropertyGroup>
- <DefineConstants>$(DefineConstants);__WINDOWS__</DefineConstants>
- <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>
- <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
- <EnableDefaultPageItems>false</EnableDefaultPageItems>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Release'">
- <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
- <GenerateLibraryLayout>true</GenerateLibraryLayout>
- <EnableDefaultPriItems>false</EnableDefaultPriItems>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.WindowsAppSDK" />
- <PackageReference Include="Microsoft.Windows.CsWin32" />
- <PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
- <PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" />
- </ItemGroup>
- </When>
- </Choose>
-
- <ItemGroup>
- <PackageReference Include="CommunityToolkit.Common" />
- <PackageReference Include="CommunityToolkit.Diagnostics" />
- <PackageReference Include="Microsoft.Extensions.Logging" />
- <PackageReference Include="Microsoft.Extensions.Logging.Configuration" />
- <PackageReference Include="System.ComponentModel.Composition" />
- <PackageReference Include="Uno.Core.Extensions.Logging" />
- <PackageReference Include="Uno.Core.Extensions.Logging.Singleton" />
- <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
- </ItemGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\DevToys.Api\DevToys.Api.csproj" />
- <ProjectReference Include="..\DevToys.Core\DevToys.Core.csproj" />
- <ProjectReference Include="..\DevToys.Localization\DevToys.Localization.csproj" />
- </ItemGroup>
-
-</Project>
diff --git a/src/app/dev/DevToys.UI.Framework/Extensions/HighlighterExtension.cs b/src/app/dev/DevToys.UI.Framework/Extensions/HighlighterExtension.cs
deleted file mode 100644
index 6badfbccc..000000000
--- a/src/app/dev/DevToys.UI.Framework/Extensions/HighlighterExtension.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using DevToys.Api;
-using Microsoft.UI;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Documents;
-using Microsoft.UI.Xaml.Markup;
-using Microsoft.UI.Xaml.Media;
-using Windows.UI;
-
-namespace DevToys.UI.Framework.Extensions;
-
-[MarkupExtensionReturnType(ReturnType = typeof(IList<TextHighlighter>))]
-[Microsoft.UI.Xaml.Data.Bindable]
-public sealed class HighlighterExtension : MarkupExtension
-{
- /// <summary>
- /// Identifies the KeyboardAccelerator attachted property. This enables animation, styling, binding, etc...
- /// </summary>
- public static readonly DependencyProperty HighlightersProperty
- = DependencyProperty.RegisterAttached(
- "Highlighters",
- typeof(TextSpan[]),
- typeof(HighlighterExtension),
- new PropertyMetadata(Array.Empty<TextSpan>(), OnHighlightersChanged));
-
- /// <summary>
- /// Gets the value of the Highlighters attached property from the specified FrameworkElement.
- /// </summary>
- public static object GetHighlighters(DependencyObject obj)
- {
- return obj.GetValue(HighlightersProperty);
- }
-
- /// <summary>
- /// Sets the value of the Highlighters attached property to the specified FrameworkElement.
- /// </summary>
- /// <param name="obj">The object on which to set the KeyboardAccelerator attached property.</param>
- /// <param name="value">The property value to set.</param>
- public static void SetHighlighters(DependencyObject obj, object value)
- {
- obj.SetValue(HighlightersProperty, value);
- }
-
- /// <summary>
- /// Highlighters changed handler.
- /// </summary>
- /// <param name="d">FrameworkElement that changed its KeyboardAccelerator attached property.</param>
- /// <param name="e">DependencyPropertyChangedEventArgs with the new and old value.</param>
- private static void OnHighlightersChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
- {
- if (d is RichTextBlock source)
- {
- var value = e.NewValue as TextSpan[];
- source.TextHighlighters.Clear();
-
- if (value is not null && value.Length > 0)
- {
- ElementTheme currentTheme = source.ActualTheme;
- string? highlighterBackgroundResourceName = currentTheme == ElementTheme.Light ? "SystemAccentColorLight2" : "SystemAccentColorDark1";
- Color highlighterForegroundColor = currentTheme == ElementTheme.Light ? Colors.Black : Colors.White;
-
- var highlighter = new TextHighlighter()
- {
- Background = new SolidColorBrush((Color)Application.Current.Resources[highlighterBackgroundResourceName]),
- Foreground = new SolidColorBrush(highlighterForegroundColor)
- };
-
- for (int i = 0; i < value.Length; i++)
- {
- highlighter.Ranges.Add(
- new TextRange
- {
- StartIndex = value[i].StartPosition,
- Length = value[i].Length
- });
- }
-
- source.TextHighlighters.Add(highlighter);
- }
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Extensions/Strings.cs b/src/app/dev/DevToys.UI.Framework/Extensions/Strings.cs
deleted file mode 100644
index 76835f1de..000000000
--- a/src/app/dev/DevToys.UI.Framework/Extensions/Strings.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using System.Resources;
-using DevToys.Localization.Strings.ToolPage;
-using Microsoft.UI.Xaml.Data;
-using Microsoft.UI.Xaml.Markup;
-
-namespace DevToys.UI.Framework.Extensions;
-
-[MarkupExtensionReturnType(ReturnType = typeof(string))]
-public partial class StringsExtension : MarkupExtension
-{
- public enum KeyEnum
- {
- __Undefined = 0,
- Clear,
- Copy,
- OpenFile,
- Paste,
- SaveAs,
- SendToSmartDetection,
- ToggleSwitchOff,
- ToggleSwitchOn,
- }
-
- private static readonly ResourceManager resourceManager = new ResourceManager("DevToys.Localization.Strings.ToolPage.ToolPage", typeof(ToolPage).Assembly);
-
- public KeyEnum Key { get; set; }
-
- public IValueConverter? Converter { get; set; }
-
- public object? ConverterParameter { get; set; }
-
- protected override object ProvideValue()
- {
- string res;
- if (Key == KeyEnum.__Undefined)
- res = "";
- else
- {
- res = resourceManager.GetString(Key.ToString(), culture: null) ?? string.Empty;
- }
- return Converter == null ? res : Converter.Convert(res, typeof(string), ConverterParameter, null);
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Helpers/Parts.cs b/src/app/dev/DevToys.UI.Framework/Helpers/Parts.cs
deleted file mode 100644
index b04a59a8b..000000000
--- a/src/app/dev/DevToys.UI.Framework/Helpers/Parts.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using DevToys.Api;
-using DevToys.Api.Core;
-using DevToys.Api.Core.Theme;
-
-namespace DevToys.UI.Framework.Helpers;
-
-public static class Parts
-{
- public static IMefProvider MefProvider { internal get; set; } = null!;
-
- public static IThemeListener ThemeListener => MefProvider!.Import<IThemeListener>();
-
- public static ISettingsProvider SettingsProvider => MefProvider!.Import<ISettingsProvider>();
-
- public static IClipboard Clipboard => MefProvider!.Import<IClipboard>();
-}
diff --git a/src/app/dev/DevToys.UI.Framework/Helpers/VisualTreeHelperExtend.cs b/src/app/dev/DevToys.UI.Framework/Helpers/VisualTreeHelperExtend.cs
deleted file mode 100644
index 7e3655263..000000000
--- a/src/app/dev/DevToys.UI.Framework/Helpers/VisualTreeHelperExtend.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Media;
-
-namespace DevToys.UI.Framework.Helpers;
-
-internal static class VisualTreeHelperExtend
-{
- /// <summary>
- /// Get the first parent object of a given <paramref name="dependencyObject"/> that is of type <typeparamref name="T"/>.
- /// </summary>
- /// <returns>Returns null if no parent is of type <typeparamref name="T"/>.</returns>
- internal static T? FindParent<T>(DependencyObject dependencyObject) where T : DependencyObject
- {
- Guard.IsNotNull(dependencyObject);
- DependencyObject parent = VisualTreeHelper.GetParent(dependencyObject);
-
- if (parent == null)
- {
- return default;
- }
-
- if (parent is T parentT)
- {
- return parentT;
- }
-
- return FindParent<T>(parent);
- }
-}
diff --git a/src/app/dev/DevToys.UI.Framework/NativeMethods.json b/src/app/dev/DevToys.UI.Framework/NativeMethods.json
deleted file mode 100644
index 6f2235652..000000000
--- a/src/app/dev/DevToys.UI.Framework/NativeMethods.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "$schema": "https://aka.ms/CsWin32.schema.json",
- "emitSingleFile": false,
- "allowMarshaling": false
-}
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/NativeMethods.txt b/src/app/dev/DevToys.UI.Framework/NativeMethods.txt
deleted file mode 100644
index 6ea28d666..000000000
--- a/src/app/dev/DevToys.UI.Framework/NativeMethods.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-MonitorFromPoint
-GetScaleFactorForMonitor
-GetDpiForMonitor
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI.Framework/Themes/Generic.xaml b/src/app/dev/DevToys.UI.Framework/Themes/Generic.xaml
deleted file mode 100644
index dac1cd75e..000000000
--- a/src/app/dev/DevToys.UI.Framework/Themes/Generic.xaml
+++ /dev/null
@@ -1,676 +0,0 @@
-<ResourceDictionary
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:str="using:DevToys.UI.Framework.Extensions"
- xmlns:converters="using:DevToys.UI.Framework.Converters">
-
- <ResourceDictionary.ThemeDictionaries>
- <ResourceDictionary x:Key="Light">
- <SolidColorBrush x:Key="TextEditorForeground" Color="Black"/>
-
- <!-- REVIEW: If Navigation View Content Grid Border Brush has transparency, it makes WebView being unclickable (can't get focus),
- which breaks Monaco Editor. The line below change the border brush to use a solid one (without transparency). -->
- <StaticResource x:Key="NavigationViewContentGridBorderBrush" ResourceKey="CardStrokeColorDefaultSolidBrush" />
- </ResourceDictionary>
- <ResourceDictionary x:Key="Dark">
- <SolidColorBrush x:Key="TextEditorForeground" Color="#F0F0F0"/>
-
- <!-- REVIEW: If Navigation View Content Grid Border Brush has transparency, it makes WebView being unclickable (can't get focus),
- which breaks Monaco Editor. The line below change the border brush to use a solid one (without transparency). -->
- <StaticResource x:Key="NavigationViewContentGridBorderBrush" ResourceKey="CardStrokeColorDefaultSolidBrush" />
- </ResourceDictionary>
- <ResourceDictionary x:Key="HighContrast">
- <SolidColorBrush x:Key="TextEditorForeground" Color="{ThemeResource TextControlForeground}"/>
- </ResourceDictionary>
- </ResourceDictionary.ThemeDictionaries>
-
- <FontFamily x:Key="FluentSystemIcons">ms-appx:///DevToys.UI.Framework/Assets/FluentSystemIcons-Regular.ttf#FluentSystemIcons-Regular</FontFamily>
-
- <!-- These path are icons. -->
- <x:String x:Key="EnterCompactOverlayPathIconData">F1 M 15.078125 1.25 C 15.566406 1.25 16.033527 1.349285 16.479492 1.547852 C 16.925455 1.74642 17.31608 2.013348 17.651367 2.348633 C 17.986652 2.68392 18.25358 3.074545 18.452148 3.520508 C 18.650715 3.966473 18.75 4.433594 18.75 4.921875 L 18.75 15.078125 C 18.75 15.566406 18.650715 16.033529 18.452148 16.479492 C 18.25358 16.925455 17.986652 17.31608 17.651367 17.651367 C 17.31608 17.986654 16.925455 18.25358 16.479492 18.452148 C 16.033527 18.650717 15.566406 18.75 15.078125 18.75 L 11.875 18.75 C 11.705729 18.75 11.559244 18.68815 11.435547 18.564453 C 11.311849 18.440756 11.25 18.294271 11.25 18.125 C 11.25 17.955729 11.311849 17.809244 11.435547 17.685547 C 11.559244 17.56185 11.705729 17.5 11.875 17.5 L 15.048828 17.5 C 15.374349 17.5 15.685221 17.433268 15.981445 17.299805 C 16.277668 17.166342 16.538086 16.987305 16.762695 16.762695 C 16.987305 16.538086 17.16634 16.27767 17.299805 15.981445 C 17.433268 15.685222 17.5 15.37435 17.5 15.048828 L 17.5 10 L 12.451172 10 C 12.11263 10 11.795247 9.931641 11.499023 9.794922 C 11.202799 9.658203 10.94401 9.475912 10.722656 9.248047 C 10.501302 9.020183 10.325521 8.754883 10.195312 8.452148 C 10.065104 8.149414 10 7.832031 10 7.5 L 10 2.5 L 4.951172 2.5 C 4.61263 2.5 4.295247 2.568359 3.999023 2.705078 C 3.702799 2.841797 3.44401 3.02409 3.222656 3.251953 C 3.001302 3.479818 2.825521 3.745117 2.695312 4.047852 C 2.565104 4.350587 2.5 4.66797 2.5 5 L 2.5 8.125 C 2.5 8.294271 2.438151 8.440756 2.314453 8.564453 C 2.190755 8.688151 2.044271 8.75 1.875 8.75 C 1.705729 8.75 1.559245 8.688151 1.435547 8.564453 C 1.311849 8.440756 1.25 8.294271 1.25 8.125 L 1.25 4.921875 C 1.25 4.433594 1.349284 3.966473 1.547852 3.520508 C 1.746419 3.074545 2.013346 2.68392 2.348633 2.348633 C 2.683919 2.013348 3.074544 1.74642 3.520508 1.547852 C 3.966471 1.349285 4.433594 1.25 4.921875 1.25 Z M 17.5 8.75 L 17.5 4.951172 C 17.5 4.625651 17.433268 4.314779 17.299805 4.018555 C 17.16634 3.722332 16.987305 3.461914 16.762695 3.237305 C 16.538086 3.012695 16.277668 2.83366 15.981445 2.700195 C 15.685221 2.566732 15.374349 2.5 15.048828 2.5 L 11.25 2.5 L 11.25 7.5 C 11.25 7.675781 11.282552 7.84017 11.347656 7.993164 C 11.41276 8.146159 11.50065 8.277995 11.611328 8.388672 C 11.722005 8.49935 11.853841 8.58724 12.006836 8.652344 C 12.15983 8.717448 12.324219 8.75 12.5 8.75 Z M 8.125 11.25 C 8.294271 11.25 8.440755 11.31185 8.564453 11.435547 C 8.68815 11.559245 8.75 11.705729 8.75 11.875 L 8.75 18.125 C 8.75 18.294271 8.68815 18.440756 8.564453 18.564453 C 8.440755 18.68815 8.294271 18.75 8.125 18.75 C 7.955729 18.75 7.809245 18.68815 7.685547 18.564453 C 7.561849 18.440756 7.5 18.294271 7.5 18.125 L 7.5 13.378906 L 2.314453 18.564453 C 2.190755 18.68815 2.044271 18.75 1.875 18.75 C 1.705729 18.75 1.559245 18.68815 1.435547 18.564453 C 1.311849 18.440756 1.25 18.294271 1.25 18.125 C 1.25 17.955729 1.311849 17.809244 1.435547 17.685547 L 6.621094 12.5 L 1.875 12.5 C 1.705729 12.5 1.559245 12.438151 1.435547 12.314453 C 1.311849 12.190756 1.25 12.044271 1.25 11.875 C 1.25 11.705729 1.311849 11.559245 1.435547 11.435547 C 1.559245 11.31185 1.705729 11.25 1.875 11.25 Z</x:String>
- <x:String x:Key="ExitCompactOverlayPathIconData">F1 M 15.078125 1.25 C 15.566406 1.25 16.033527 1.349285 16.479492 1.547852 C 16.925455 1.74642 17.31608 2.013348 17.651367 2.348633 C 17.986652 2.68392 18.25358 3.074545 18.452148 3.520508 C 18.650715 3.966473 18.75 4.433594 18.75 4.921875 L 18.75 15.078125 C 18.75 15.566406 18.650715 16.033529 18.452148 16.479492 C 18.25358 16.925455 17.986652 17.31608 17.651367 17.651367 C 17.31608 17.986654 16.925455 18.25358 16.479492 18.452148 C 16.033527 18.650717 15.566406 18.75 15.078125 18.75 L 11.875 18.75 C 11.705729 18.75 11.559244 18.68815 11.435547 18.564453 C 11.311849 18.440756 11.25 18.294271 11.25 18.125 C 11.25 17.955729 11.311849 17.809244 11.435547 17.685547 C 11.559244 17.56185 11.705729 17.5 11.875 17.5 L 15.048828 17.5 C 15.374349 17.5 15.685221 17.433268 15.981445 17.299805 C 16.277668 17.166342 16.538086 16.987305 16.762695 16.762695 C 16.987305 16.538086 17.16634 16.27767 17.299805 15.981445 C 17.433268 15.685222 17.5 15.37435 17.5 15.048828 L 17.5 10 L 13.671875 10 C 13.164062 10 12.687174 9.899089 12.241211 9.697266 C 11.795247 9.495443 11.40625 9.222006 11.074219 8.876953 C 10.742188 8.531901 10.480143 8.133139 10.288086 7.680664 C 10.096028 7.22819 10 6.751303 10 6.25 L 10 2.5 L 4.951172 2.5 C 4.61263 2.5 4.295247 2.568359 3.999023 2.705078 C 3.702799 2.841797 3.44401 3.02409 3.222656 3.251953 C 3.001302 3.479818 2.825521 3.745117 2.695312 4.047852 C 2.565104 4.350587 2.5 4.66797 2.5 5 L 2.5 8.125 C 2.5 8.294271 2.438151 8.440756 2.314453 8.564453 C 2.190755 8.688151 2.044271 8.75 1.875 8.75 C 1.705729 8.75 1.559245 8.688151 1.435547 8.564453 C 1.311849 8.440756 1.25 8.294271 1.25 8.125 L 1.25 4.921875 C 1.25 4.433594 1.349284 3.966473 1.547852 3.520508 C 1.746419 3.074545 2.013346 2.68392 2.348633 2.348633 C 2.683919 2.013348 3.074544 1.74642 3.520508 1.547852 C 3.966471 1.349285 4.433594 1.25 4.921875 1.25 Z M 17.5 8.75 L 17.5 4.951172 C 17.5 4.625651 17.433268 4.314779 17.299805 4.018555 C 17.16634 3.722332 16.987305 3.461914 16.762695 3.237305 C 16.538086 3.012695 16.277668 2.83366 15.981445 2.700195 C 15.685221 2.566732 15.374349 2.5 15.048828 2.5 L 11.25 2.5 L 11.25 6.298828 C 11.25 6.62435 11.316731 6.935223 11.450195 7.231445 C 11.583658 7.52767 11.762695 7.788086 11.987305 8.012695 C 12.211914 8.237305 12.47233 8.416342 12.768555 8.549805 C 13.064777 8.683269 13.37565 8.75 13.701172 8.75 Z M 8.75 18.125 C 8.75 18.294271 8.68815 18.440756 8.564453 18.564453 C 8.440755 18.68815 8.294271 18.75 8.125 18.75 L 1.875 18.75 C 1.705729 18.75 1.559245 18.68815 1.435547 18.564453 C 1.311849 18.440756 1.25 18.294271 1.25 18.125 L 1.25 11.875 C 1.25 11.705729 1.311849 11.559245 1.435547 11.435547 C 1.559245 11.31185 1.705729 11.25 1.875 11.25 C 2.044271 11.25 2.190755 11.31185 2.314453 11.435547 C 2.438151 11.559245 2.5 11.705729 2.5 11.875 L 2.5 16.621094 L 7.685547 11.435547 C 7.809245 11.31185 7.955729 11.25 8.125 11.25 C 8.294271 11.25 8.440755 11.31185 8.564453 11.435547 C 8.68815 11.559245 8.75 11.705729 8.75 11.875 C 8.75 12.044271 8.68815 12.190756 8.564453 12.314453 L 3.378906 17.5 L 8.125 17.5 C 8.294271 17.5 8.440755 17.56185 8.564453 17.685547 C 8.68815 17.809244 8.75 17.955729 8.75 18.125 Z</x:String>
-
- <!-- Reusable converter instances -->
- <converters:StringToStaticResourceConverter x:Key="StringToStaticResourceConverter"/>
- <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" VisibilityIfTrue="Visible" VisibilityIfFalse="Collapsed"/>
- <converters:BooleanToVisibilityConverter x:Key="InvertedBooleanToVisibilityConverter" VisibilityIfTrue="Collapsed" VisibilityIfFalse="Visible"/>
-
- <!-- Overwrite WinUI theme -->
- <x:Double x:Key="AppBarButtonContentHeight">22</x:Double>
- <Thickness x:Key="AppBarButtonContentViewboxMargin">12,14,0,10</Thickness>
-
- <Style TargetType="ContentControl">
- <Setter Property="HighContrastAdjustment" Value="None"/>
- </Style>
-
- <Style TargetType="ContentPresenter">
- <Setter Property="HighContrastAdjustment" Value="None"/>
- </Style>
-
- <Style TargetType="FontIcon">
- <Setter Property="FontFamily" Value="{StaticResource FluentSystemIcons}"/>
- <Setter Property="HighContrastAdjustment" Value="None"/>
- </Style>
-
- <Style TargetType="TextBlock">
- <Setter Property="HighContrastAdjustment" Value="None"/>
- </Style>
-
- <Style TargetType="ToggleSwitch">
- <Setter Property="OnContent" Value="{str:StringsExtension Key=ToggleSwitchOn}"/>
- <Setter Property="OffContent" Value="{str:StringsExtension Key=ToggleSwitchOff}"/>
- </Style>
-
- <Style x:Key="CustomButtonStyle" TargetType="Button" BasedOn="{StaticResource DefaultButtonStyle}">
- <Setter Property="MinHeight" Value="{ThemeResource ButtonMinHeight}"/>
- <Setter Property="Padding" Value="{ThemeResource ButtonPadding}"/>
- </Style>
-
- <!-- From https://github.com/morning4coffe-dev/storylines -->
- <Style x:Key="RightAlignedToggleSwitchStyle" TargetType="ToggleSwitch">
- <Setter Property="Foreground" Value="{ThemeResource ToggleSwitchContentForeground}" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalContentAlignment" Value="Left" />
- <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
- <Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
- <Setter Property="ManipulationMode" Value="System,TranslateX" />
- <Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" />
- <Setter Property="MinWidth" Value="0" />
- <Setter Property="FocusVisualMargin" Value="-7,-3,-7,-3" />
- <Setter Property="CornerRadius" Value="{StaticResource ControlCornerRadius}" />
- <Setter Property="OnContent" Value="{str:StringsExtension Key=ToggleSwitchOn}"/>
- <Setter Property="OffContent" Value="{str:StringsExtension Key=ToggleSwitchOff}"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="ToggleSwitch">
- <Grid
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="{TemplateBinding BorderThickness}"
- CornerRadius="{TemplateBinding CornerRadius}">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
-
- <ContentPresenter
- x:Name="HeaderContentPresenter"
- Grid.Row="0"
- Margin="{ThemeResource ToggleSwitchTopHeaderMargin}"
- VerticalAlignment="Top"
- x:DeferLoadStrategy="Lazy"
- AutomationProperties.AccessibilityView="Raw"
- Content="{TemplateBinding Header}"
- ContentTemplate="{TemplateBinding HeaderTemplate}"
- Foreground="{ThemeResource ToggleSwitchHeaderForeground}"
- IsHitTestVisible="False"
- TextWrapping="Wrap"
- Visibility="Collapsed" />
- <Grid
- Grid.Row="1"
- HorizontalAlignment="Right"
- VerticalAlignment="Top">
-
- <Grid.RowDefinitions>
- <RowDefinition Height="{ThemeResource ToggleSwitchPreContentMargin}" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="{ThemeResource ToggleSwitchPostContentMargin}" />
- </Grid.RowDefinitions>
-
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="12" MaxWidth="12" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
- <Grid
- x:Name="SwitchAreaGrid"
- Grid.RowSpan="3"
- Grid.ColumnSpan="3"
- Margin="0,5"
- Background="{ThemeResource ToggleSwitchContainerBackground}"
- Control.IsTemplateFocusTarget="True"
- CornerRadius="{TemplateBinding CornerRadius}" />
- <ContentPresenter
- x:Name="OffContentPresenter"
- Grid.RowSpan="3"
- Grid.Column="0"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- AutomationProperties.AccessibilityView="Raw"
- Content="{TemplateBinding OffContent}"
- ContentTemplate="{TemplateBinding OffContentTemplate}"
- Foreground="{TemplateBinding Foreground}"
- IsHitTestVisible="False"
- Opacity="0" />
- <ContentPresenter
- x:Name="OnContentPresenter"
- Grid.RowSpan="3"
- Grid.Column="0"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- AutomationProperties.AccessibilityView="Raw"
- Content="{TemplateBinding OnContent}"
- ContentTemplate="{TemplateBinding OnContentTemplate}"
- Foreground="{TemplateBinding Foreground}"
- IsHitTestVisible="False"
- Opacity="0" />
- <Rectangle
- x:Name="OuterBorder"
- Grid.Row="1"
- Grid.Column="2"
- Width="40"
- Height="20"
- Fill="{ThemeResource ToggleSwitchFillOff}"
- RadiusX="10"
- RadiusY="10"
- Stroke="{ThemeResource ToggleSwitchStrokeOff}"
- StrokeThickness="{ThemeResource ToggleSwitchOuterBorderStrokeThickness}" />
- <Rectangle
- x:Name="SwitchKnobBounds"
- Grid.Row="1"
- Grid.Column="2"
- Width="40"
- Height="20"
- Fill="{ThemeResource ToggleSwitchFillOn}"
- Opacity="0"
- RadiusX="10"
- RadiusY="10"
- Stroke="{ThemeResource ToggleSwitchStrokeOn}"
- StrokeThickness="{ThemeResource ToggleSwitchOnStrokeThickness}" />
- <Grid
- x:Name="SwitchKnob"
- Grid.Row="1"
- Grid.Column="2"
- Width="20"
- Height="20"
- HorizontalAlignment="Left">
- <Border
- x:Name="SwitchKnobOn"
- Width="12"
- Height="12"
- Margin="0,0,1,0"
- HorizontalAlignment="Center"
- Background="{ThemeResource ToggleSwitchKnobFillOn}"
- BackgroundSizing="OuterBorderEdge"
- BorderBrush="{ThemeResource ToggleSwitchKnobStrokeOn}"
- CornerRadius="7"
- Opacity="0"
- RenderTransformOrigin="0.5, 0.5">
- <Border.RenderTransform>
- <CompositeTransform />
- </Border.RenderTransform>
- </Border>
- <Rectangle
- x:Name="SwitchKnobOff"
- Width="12"
- Height="12"
- Margin="-1,0,0,0"
- HorizontalAlignment="Center"
- Fill="{ThemeResource ToggleSwitchKnobFillOff}"
- RadiusX="7"
- RadiusY="7"
- RenderTransformOrigin="0.5, 0.5">
- <Rectangle.RenderTransform>
- <CompositeTransform />
- </Rectangle.RenderTransform>
- </Rectangle>
- <Grid.RenderTransform>
- <TranslateTransform x:Name="KnobTranslateTransform" />
- </Grid.RenderTransform>
- </Grid>
- <Thumb
- x:Name="SwitchThumb"
- Grid.RowSpan="3"
- Grid.ColumnSpan="3"
- AutomationProperties.AccessibilityView="Raw">
- <Thumb.Template>
- <ControlTemplate TargetType="Thumb">
- <Rectangle Fill="Transparent" />
- </ControlTemplate>
- </Thumb.Template>
- </Thumb>
-
- </Grid>
-
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup x:Name="CommonStates">
- <VisualState x:Name="Normal">
- <Storyboard>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="Stroke">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchStrokeOff}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchFillOff}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOff}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOn}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchFillOn}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Stroke">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchStrokeOn}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchAreaGrid" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchContainerBackground}" />
- </ObjectAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="PointerOver">
- <Storyboard>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchStrokeOffPointerOver}" />
- </ColorAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchFillOffPointerOver}" />
- </ColorAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOffPointerOver}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOnPointerOver}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchFillOnPointerOver}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Stroke">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchStrokeOnPointerOver}" />
- </ObjectAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="SwitchAreaGrid" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchContainerBackgroundPointerOver}" />
- </ColorAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="14" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="14" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="14" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="14" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="Pressed">
-
- <VisualState.Setters>
- <Setter Target="SwitchKnobOn.HorizontalAlignment" Value="Right" />
- <Setter Target="SwitchKnobOn.Margin" Value="0,0,3,0" />
- <Setter Target="SwitchKnobOff.HorizontalAlignment" Value="Left" />
- <Setter Target="SwitchKnobOff.Margin" Value="3,0,0,0" />
- </VisualState.Setters>
-
- <Storyboard>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchStrokeOffPressed}" />
- </ColorAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchFillOffPressed}" />
- </ColorAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchFillOnPressed}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Stroke">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchStrokeOnPressed}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOffPressed}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOnPressed}" />
- </ObjectAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="SwitchAreaGrid" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchContainerBackgroundPressed}" />
- </ColorAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="17" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="14" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="17" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlFasterAnimationDuration}"
- Value="14" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="Disabled">
- <Storyboard>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentPresenter" Storyboard.TargetProperty="Foreground">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchHeaderForegroundDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OffContentPresenter" Storyboard.TargetProperty="Foreground">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchContentForegroundDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OnContentPresenter" Storyboard.TargetProperty="Foreground">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchContentForegroundDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchStrokeOffDisabled}" />
- </ColorAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchFillOffDisabled}" />
- </ColorAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchFillOnDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Stroke">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchStrokeOnDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Fill">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOffDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Background">
- <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleSwitchKnobFillOnDisabled}" />
- </ObjectAnimationUsingKeyFrames>
- <ColorAnimationUsingKeyFrames Storyboard.TargetName="SwitchAreaGrid" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
- <LinearColorKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="{ThemeResource ToggleSwitchContainerBackgroundDisabled}" />
- </ColorAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlNormalAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOn"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlNormalAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Width">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlNormalAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames
- EnableDependentAnimation="True"
- Storyboard.TargetName="SwitchKnobOff"
- Storyboard.TargetProperty="Height">
- <SplineDoubleKeyFrame
- KeySpline="{StaticResource ControlFastOutSlowInKeySpline}"
- KeyTime="{StaticResource ControlNormalAnimationDuration}"
- Value="12" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
-
- </VisualStateGroup>
- <VisualStateGroup x:Name="ToggleStates">
-
- <VisualStateGroup.Transitions>
- <VisualTransition
- x:Name="DraggingToOnTransition"
- GeneratedDuration="0"
- From="Dragging"
- To="On">
-
- <Storyboard>
- <RepositionThemeAnimation FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobCurrentToOnOffset}" TargetName="SwitchKnob" />
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualTransition>
- <VisualTransition
- x:Name="OnToDraggingTransition"
- GeneratedDuration="0"
- From="On"
- To="Dragging">
- <Storyboard>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="0" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="0" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="0" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualTransition>
- <VisualTransition
- x:Name="DraggingToOffTransition"
- GeneratedDuration="0"
- From="Dragging"
- To="Off">
-
- <Storyboard>
- <RepositionThemeAnimation FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobCurrentToOffOffset}" TargetName="SwitchKnob" />
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualTransition>
- <VisualTransition
- x:Name="OnToOffTransition"
- GeneratedDuration="0"
- From="On"
- To="Off">
-
- <Storyboard>
- <RepositionThemeAnimation FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobOnToOffOffset}" TargetName="SwitchKnob" />
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualTransition>
- <VisualTransition
- x:Name="OffToOnTransition"
- GeneratedDuration="0"
- From="Off"
- To="On">
-
- <Storyboard>
- <RepositionThemeAnimation FromHorizontalOffset="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.KnobOffToOnOffset}" TargetName="SwitchKnob" />
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualTransition>
- </VisualStateGroup.Transitions>
- <VisualState x:Name="Dragging" />
- <VisualState x:Name="Off" />
- <VisualState x:Name="On">
- <Storyboard>
- <DoubleAnimation
- Storyboard.TargetName="KnobTranslateTransform"
- Storyboard.TargetProperty="X"
- To="20"
- Duration="0" />
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobBounds" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="OuterBorder" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOn" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="1" />
- </DoubleAnimationUsingKeyFrames>
- <DoubleAnimationUsingKeyFrames Storyboard.TargetName="SwitchKnobOff" Storyboard.TargetProperty="Opacity">
- <LinearDoubleKeyFrame KeyTime="{StaticResource ControlFasterAnimationDuration}" Value="0" />
- </DoubleAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
-
- </VisualStateGroup>
- <VisualStateGroup x:Name="ContentStates">
- <VisualState x:Name="OffContent">
-
- <Storyboard>
- <DoubleAnimation
- Storyboard.TargetName="OffContentPresenter"
- Storyboard.TargetProperty="Opacity"
- To="1"
- Duration="0" />
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OffContentPresenter" Storyboard.TargetProperty="IsHitTestVisible">
- <DiscreteObjectKeyFrame KeyTime="0">
- <DiscreteObjectKeyFrame.Value>
- <x:Boolean>True</x:Boolean>
- </DiscreteObjectKeyFrame.Value>
- </DiscreteObjectKeyFrame>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
- <VisualState x:Name="OnContent">
-
- <Storyboard>
- <DoubleAnimation
- Storyboard.TargetName="OnContentPresenter"
- Storyboard.TargetProperty="Opacity"
- To="1"
- Duration="0" />
- <ObjectAnimationUsingKeyFrames Storyboard.TargetName="OnContentPresenter" Storyboard.TargetProperty="IsHitTestVisible">
- <DiscreteObjectKeyFrame KeyTime="0">
- <DiscreteObjectKeyFrame.Value>
- <x:Boolean>True</x:Boolean>
- </DiscreteObjectKeyFrame.Value>
- </DiscreteObjectKeyFrame>
- </ObjectAnimationUsingKeyFrames>
- </Storyboard>
- </VisualState>
-
- </VisualStateGroup>
-
- </VisualStateManager.VisualStateGroups>
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
-</ResourceDictionary>
diff --git a/src/app/dev/DevToys.UI.Framework/Threading/AsyncTypedEventHandler.cs b/src/app/dev/DevToys.UI.Framework/Threading/AsyncTypedEventHandler.cs
deleted file mode 100644
index b12afe077..000000000
--- a/src/app/dev/DevToys.UI.Framework/Threading/AsyncTypedEventHandler.cs
+++ /dev/null
@@ -1,3 +0,0 @@
-namespace DevToys.UI.Framework.Threading;
-
-public delegate Task AsyncTypedEventHandler<TSender, TResult>(TSender sender, TResult args);
diff --git a/src/app/dev/DevToys.UI/Assets/Logo/Square44x44Logo.altform-lightunplated_targetsize-16.png b/src/app/dev/DevToys.UI/Assets/Logo/Square44x44Logo.altform-lightunplated_targetsize-16.png
deleted file mode 100644
index cedf5bad3..000000000
Binary files a/src/app/dev/DevToys.UI/Assets/Logo/Square44x44Logo.altform-lightunplated_targetsize-16.png and /dev/null differ
diff --git a/src/app/dev/DevToys.UI/Assets/SharedAssets.md b/src/app/dev/DevToys.UI/Assets/SharedAssets.md
deleted file mode 100644
index c578d778f..000000000
--- a/src/app/dev/DevToys.UI/Assets/SharedAssets.md
+++ /dev/null
@@ -1,34 +0,0 @@
-See the documentation about assets here: https://platform.uno/docs/articles/features/working-with-assets.html
-
-# Here is a cheat sheet:
-
-1. Add the image file to the `Assets` directory of a shared project.
-2. Set the build action to `Content`.
-3. (Recommended) Provide an asset for various scales/dpi
-
-## Examples
-
-```
-\Assets\Images\logo.scale-100.png
-\Assets\Images\logo.scale-200.png
-\Assets\Images\logo.scale-400.png
-
-\Assets\Images\scale-100\logo.png
-\Assets\Images\scale-200\logo.png
-\Assets\Images\scale-400\logo.png
-```
-
-## Table of scales
-
-| Scale | UWP | iOS | Android |
-|-------|:-----------:|:--------:|:-------:|
-| `100` | scale-100 | @1x | mdpi |
-| `125` | scale-125 | N/A | N/A |
-| `150` | scale-150 | N/A | hdpi |
-| `200` | scale-200 | @2x | xhdpi |
-| `300` | scale-300 | @3x | xxhdpi |
-| `400` | scale-400 | N/A | xxxhdpi |
-
-
-
-
diff --git a/src/app/dev/DevToys.UI/DataTemplateSelectors/MainMenuNavigationViewMenuItemSelector.cs b/src/app/dev/DevToys.UI/DataTemplateSelectors/MainMenuNavigationViewMenuItemSelector.cs
deleted file mode 100644
index 97335537f..000000000
--- a/src/app/dev/DevToys.UI/DataTemplateSelectors/MainMenuNavigationViewMenuItemSelector.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using DevToys.Core.Tools.ViewItems;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-
-namespace DevToys.UI.DataTemplateSelectors;
-
-public sealed class MainMenuNavigationViewMenuItemSelector : DataTemplateSelector
-{
- public DataTemplate GuiToolViewItem { get; set; } = null!;
-
- public DataTemplate GroupViewItem { get; set; } = null!;
-
- public DataTemplate Separator { get; set; } = null!;
-
- protected override DataTemplate SelectTemplateCore(object item)
- {
- if (item is GuiToolViewItem)
- {
- return GuiToolViewItem;
- }
- else if (item is GroupViewItem)
- {
- return GroupViewItem;
- }
- else if (item is SeparatorViewItem)
- {
- return Separator;
- }
-
- throw new NotSupportedException();
- }
-}
diff --git a/src/app/dev/DevToys.UI/DevToys.UI.csproj b/src/app/dev/DevToys.UI/DevToys.UI.csproj
deleted file mode 100644
index a2d3f215c..000000000
--- a/src/app/dev/DevToys.UI/DevToys.UI.csproj
+++ /dev/null
@@ -1,105 +0,0 @@
-<Project Sdk="MSBuild.Sdk.Extras">
- <!--
- Adding project references to this project requires some manual adjustments.
- Please see https://github.com/unoplatform/uno/issues/3909 for more details.
- -->
- <PropertyGroup>
- <TargetFrameworks>$(NetCore)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsMac)">$(TargetFrameworks);$(NetMacCatalyst)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsWindows)">$(TargetFrameworks);$(NetCoreWindows)</TargetFrameworks>
- <!-- Ensures the .xr.xml files are generated in a proper layout folder -->
- <GenerateLibraryLayout>true</GenerateLibraryLayout>
-
- <IsWasm>false</IsWasm>
- <EnableWindowsTargeting>true</EnableWindowsTargeting>
- </PropertyGroup>
-
- <Choose>
- <When Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">
- <PropertyGroup>
- <IsMacCatalyst>true</IsMacCatalyst>
- <DefineConstants>$(DefineConstants);__MACCATALYST__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.WinUI" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- <PackageReference Include="Uno.Microsoft.Xaml.Behaviors.WinUI.Managed" />
- </ItemGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetCore)'">
- <PropertyGroup>
- <IsWasm>true</IsWasm>
- <DefineConstants>$(DefineConstants);__WASM__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.WinUI" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- <PackageReference Include="Uno.Extensions.Logging.WebAssembly.Console" />
- <PackageReference Include="Uno.WinUI.Runtime.WebAssembly" />
- <PackageReference Include="Uno.Microsoft.Xaml.Behaviors.WinUI.Managed" />
- </ItemGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetCoreWindows)'">
- <PropertyGroup>
- <DefineConstants>$(DefineConstants);__WINDOWS__</DefineConstants>
- <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>
- <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
- <EnableDefaultPageItems>false</EnableDefaultPageItems>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Release'">
- <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
- <GenerateLibraryLayout>true</GenerateLibraryLayout>
- <EnableDefaultPriItems>false</EnableDefaultPriItems>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.WindowsAppSDK" />
- <PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
- <PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" />
- </ItemGroup>
- </When>
- </Choose>
-
- <ItemGroup>
- <PackageReference Include="CommunityToolkit.Common" />
- <PackageReference Include="CommunityToolkit.Diagnostics" />
- <PackageReference Include="CommunityToolkit.Mvvm" />
- <PackageReference Include="Microsoft.Extensions.Logging" />
- <PackageReference Include="Microsoft.Extensions.Logging.Configuration" />
- <PackageReference Include="System.ComponentModel.Composition" />
- <PackageReference Include="Uno.Core.Extensions.Logging" />
- <PackageReference Include="Uno.Core.Extensions.Logging.Singleton" />
- <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
- </ItemGroup>
-
- <ItemGroup>
- <UpToDateCheckInput Include="**\*.xaml" />
- <Page Include="**\*.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </Page>
- <PRIResource Include="**\*.resw" />
- <Content Include="Assets\**" />
- <None Remove="Assets\Icons\Idea.svg" />
- <None Remove="Assets\Logo\Square44x44Logo.altform-lightunplated_targetsize-16.png" />
- <Compile Update="**\*.xaml.cs">
- <DependentUpon>%(Filename)</DependentUpon>
- </Compile>
- </ItemGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\DevToys.Core\DevToys.Core.csproj" />
- <ProjectReference Include="..\DevToys.Business\DevToys.Business.csproj" />
- <ProjectReference Include="..\DevToys.Localization\DevToys.Localization.csproj" />
- <ProjectReference Include="..\DevToys.MonacoEditor\DevToys.MonacoEditor.csproj" />
- <ProjectReference Include="..\DevToys.UI.Framework\DevToys.UI.Framework.csproj" />
- </ItemGroup>
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/DevToys.UI/LanguageDefinition.cs b/src/app/dev/DevToys.UI/LanguageDefinition.cs
deleted file mode 100644
index 28eee4544..000000000
--- a/src/app/dev/DevToys.UI/LanguageDefinition.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System.Globalization;
-
-namespace DevToys.UI;
-
-/// <summary>
-/// Represents un language supported by the app.
-/// </summary>
-public class LanguageDefinition
-{
- /// <summary>
- /// Unique internal name.
- /// </summary>
- public string InternalName { get; }
-
- /// <summary>
- /// Unique internal ID used to identify the language.
- /// </summary>
- public string Identifier { get; }
-
- /// <summary>
- /// The name of the language displayed to the user.
- /// </summary>
- public string DisplayName { get; }
-
- /// <summary>
- /// The culture to apply.
- /// </summary>
- public CultureInfo Culture { get; }
-
- public LanguageDefinition()
- : this(null)
- {
- }
-
- public LanguageDefinition(string? identifier)
- {
- if (string.IsNullOrEmpty(identifier))
- {
-#if HAS_UNO_WASM
- Culture = CultureInfo.CurrentUICulture;
-#else
- Culture = new CultureInfo(Windows.System.UserProfile.GlobalizationPreferences.Languages[0]);
-#endif
- DisplayName = Localization.Strings.Settings.Settings.DefaultLanguage;
- InternalName = "default";
- }
- else
- {
- Culture = new CultureInfo(identifier!);
- DisplayName = Culture.NativeName;
- InternalName = Culture.Name;
- }
-
- Identifier = Culture.Name;
- }
-}
diff --git a/src/app/dev/DevToys.UI/LanguageManager.cs b/src/app/dev/DevToys.UI/LanguageManager.cs
deleted file mode 100644
index 90020d9ca..000000000
--- a/src/app/dev/DevToys.UI/LanguageManager.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-using System.Globalization;
-using Windows.Globalization;
-using Microsoft.UI.Xaml;
-
-namespace DevToys.UI;
-
-public sealed class LanguageManager
-{
- private static LanguageManager? languageManager;
-
- /// <summary>
- /// Gets an instance of <see cref="LanguageManager"/>.
- /// </summary>
- public static LanguageManager Instance => languageManager ??= new LanguageManager();
-
- /// <summary>
- /// Gets if the text must be written from left to right or from right to left.
- /// </summary>
- public FlowDirection FlowDirection { get; private set; }
-
- /// <summary>
- /// Gets the list of available languages in the app.
- /// </summary>
- public List<LanguageDefinition> AvailableLanguages { get; }
-
- public LanguageManager()
- {
- AvailableLanguages = new List<LanguageDefinition>
- {
- new LanguageDefinition() // default language
- };
-
- IReadOnlyList<string> supportedLanguageIdentifiers = Localization.CultureHelper.ApplicationCultures;
- for (int i = 0; i < supportedLanguageIdentifiers.Count; i++)
- {
- AvailableLanguages.Add(
- new LanguageDefinition(
- supportedLanguageIdentifiers[i]));
- }
- }
-
- /// <summary>
- /// Change the current culture of the application
- /// </summary>
- public void SetCurrentCulture(LanguageDefinition language)
- {
- CultureInfo.DefaultThreadCurrentCulture = language.Culture;
- CultureInfo.DefaultThreadCurrentUICulture = language.Culture;
-#if HAS_UNO
- ApplicationLanguages.PrimaryLanguageOverride = language.Identifier;
-#endif
-
- if (language.Culture.TextInfo.IsRightToLeft)
- {
- FlowDirection = FlowDirection.RightToLeft;
- }
- else
- {
- FlowDirection = FlowDirection.LeftToRight;
- }
- }
-}
diff --git a/src/app/dev/DevToys.UI/Views/MainWindow.xaml b/src/app/dev/DevToys.UI/Views/MainWindow.xaml
deleted file mode 100644
index 2fa0cc15f..000000000
--- a/src/app/dev/DevToys.UI/Views/MainWindow.xaml
+++ /dev/null
@@ -1,309 +0,0 @@
-<controls:BackdropPage
- x:Class="DevToys.UI.Views.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:ios="http://uno.ui/ios"
- xmlns:macos="http://uno.ui/macos"
- xmlns:not_win="http://uno.ui/not_win"
- xmlns:wasm="http://uno.ui/wasm"
- xmlns:local="using:DevToys.UI.Views"
- xmlns:tools="using:DevToys.Core.Tools.ViewItems"
- xmlns:dts="using:DevToys.UI.DataTemplateSelectors"
- xmlns:mainwindowstrings="using:DevToys.Localization.Strings.MainWindow"
- xmlns:toolpagestrings="using:DevToys.Localization.Strings.ToolPage"
- xmlns:controls="using:DevToys.UI.Framework.Controls"
- xmlns:converters="using:DevToys.UI.Framework.Converters"
- xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
- xmlns:ix="using:Microsoft.Xaml.Interactions.Core"
- xmlns:i="using:Microsoft.Xaml.Interactivity"
- xmlns:ex="using:DevToys.UI.Framework.Extensions"
- mc:Ignorable="d wasm not_win macos ios">
- <Page.Resources>
- <!--This top margin is the height of the custom TitleBar-->
- <Thickness x:Key="NavigationViewContentMargin">0,46,0,0</Thickness>
- <Thickness x:Key="NavigationViewContentGridBorderThickness">1,1,0,0</Thickness>
- <CornerRadius x:Key="NavigationViewContentGridCornerRadius">8,0,0,0</CornerRadius>
-
- <converters:BooleanToPathConverter
- x:Key="BooleanToCompactModeIconPath"
- PathIfFalse="{StaticResource EnterCompactOverlayPathIconData}"
- PathIfTrue="{StaticResource ExitCompactOverlayPathIconData}"/>
- <converters:NullToVisibilityConverter
- x:Key="CollapsedWhenNullConverter"
- VisibilityIfNull="Collapsed"
- VisibilityIfNotNull="Visible"/>
- </Page.Resources>
-
- <Grid not_win:Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" ios:Margin="0,38,0,0">
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="NavigationViewExpanded">
- <VisualState.Setters>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="NavigationViewCompact">
- <VisualState.Setters>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="NavigationViewMinimal">
- <VisualState.Setters>
- <Setter Target="AppTitleBar.Margin" Value="90,0,140,0"/>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="CompactOverlay">
- <VisualState.Setters>
- <Setter Target="AppTitleBar.Height" Value="36"/>
- <Setter Target="AppTitleBar.Margin" Value="0,0,44,0"/>
- <Setter Target="AppTitleContainer.Margin" Value="10,0,0,0"/>
- <Setter Target="MenuNavigationView.AlwaysShowHeader" Value="False" />
- <Setter Target="MenuNavigationView.IsPaneVisible" Value="False" />
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
- <Grid.BackgroundTransition>
- <win:BrushTransition />
- </Grid.BackgroundTransition>
-
- <!-- App title bar, including Draggable area of the title bar and buttons. -->
- <Grid
- x:Name="AppTitleBar"
- Margin="44,0,140,0"
- Height="42"
- VerticalAlignment="Top"
- Canvas.ZIndex="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <Grid
- x:Name="DraggableArea"
- Grid.Column="0"
- controls:BackdropWindow.IsWindowDraggableArea="True">
- <StackPanel
- x:Name="AppTitleContainer"
- HorizontalAlignment="Left"
- Margin="4,4,0,0"
- Orientation="Horizontal">
- <Image
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Source="ms-appx:///DevToys.UI/Assets/Logo/Square44x44Logo.altform-lightunplated_targetsize-16.png"
- Width="16"
- Height="16"/>
- <TextBlock
- Text="{x:Bind ViewModel.WindowTitle, Mode=OneWay}"
- VerticalAlignment="Center"
- Margin="12,0,0,0"
- Style="{StaticResource CaptionTextBlockStyle}" />
- </StackPanel>
- </Grid>
- <Grid
- x:Name="RightAlignTitleBarInteractionArea"
- Grid.Column="1"
- Padding="2">
- <Button
- Style="{StaticResource CommandBarFlyoutEllipsisButtonStyle}"
- HorizontalAlignment="Right"
- VerticalAlignment="Top"
- Width="46"
- Height="30"
- Padding="0"
- Visibility="{x:Bind IsCompactOverlayModeSupported, Converter={StaticResource BooleanToVisibilityConverter}}"
- IsEnabled="{x:Bind ViewModel.IsSelectedMenuItemATool, Mode=OneWay}"
- ToolTipService.ToolTip="{x:Bind toolpagestrings:ToolPage.ToggleCompactOverlayTooltip}"
- AutomationProperties.Name="{x:Bind toolpagestrings:ToolPage.ToggleCompactOverlayTooltip}"
- Click="CompactOverlayModeButton_Click">
- <Button.KeyboardAccelerators>
- <KeyboardAccelerator Key="Up" Modifiers="Control"/>
- </Button.KeyboardAccelerators>
- <Viewbox
- Height="15"
- Width="15">
- <PathIcon
- Data="{x:Bind IsInCompactOverlay, Mode=OneWay, Converter={StaticResource BooleanToCompactModeIconPath}}"/>
- </Viewbox>
- </Button>
- </Grid>
- </Grid>
-
- <!-- Navigation view -->
- <NavigationView
- x:Name="MenuNavigationView"
- IsTitleBarAutoPaddingEnabled="False"
- IsSettingsVisible="False"
- IsBackButtonVisible="Visible"
- IsBackEnabled="{x:Bind ViewModel.CanGoBack, Mode=OneWay}"
- CompactModeThresholdWidth="640"
- ExpandedModeThresholdWidth="1008"
- IsTabStop="False"
- AlwaysShowHeader="True"
- IsPaneToggleButtonVisible="True"
- MenuItemsSource="{x:Bind ViewModel.HeaderAndBodyToolViewItems}"
- FooterMenuItemsSource="{x:Bind ViewModel.FooterToolViewItems}"
- SelectedItem="{x:Bind ViewModel.SelectedMenuItem, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
- DisplayModeChanged="MenuNavigationView_DisplayModeChanged"
- PaneClosing="MenuNavigationView_PaneClosing"
- PaneOpening="MenuNavigationView_PaneOpening"
- Loaded="MenuNavigationView_Loaded"
- BackRequested="MenuNavigationView_BackRequested">
-
- <NavigationView.AutoSuggestBox>
- <AutoSuggestBox
- Name="SearchBox"
- MinWidth="200"
- TabIndex="0"
- KeyboardAcceleratorPlacementMode="Hidden"
- QueryIcon="Find"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- PlaceholderText="{x:Bind mainwindowstrings:MainWindow.Search}"
- UpdateTextOnSelect="False"
- ItemsSource="{x:Bind ViewModel.SearchResults, Mode=OneWay}"
- Text="{x:Bind ViewModel.SearchQuery, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
- TextChanged="SearchBoxText_Changed"
- QuerySubmitted="SearchBoxText_QuerySubmitted">
- <AutoSuggestBox.KeyboardAccelerators>
- <KeyboardAccelerator
- Key="F"
- Modifiers="Control"
- Invoked="SearchBoxKeyboardAccelerator_Invoked"/>
- </AutoSuggestBox.KeyboardAccelerators>
- <AutoSuggestBox.ItemTemplate>
- <DataTemplate x:DataType="tools:GuiToolViewItem">
- <Grid
- Height="64">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <FontIcon
- Grid.Column="0"
- Visibility="{x:Bind ToolInstance.IconGlyph, Converter={StaticResource CollapsedWhenNullConverter}}"
- FontFamily="{x:Bind ToolInstance.IconFontName, Converter={StaticResource StringToStaticResourceConverter}}"
- Glyph="{x:Bind ToolInstance.IconGlyph}"/>
- <RichTextBlock
- Grid.Column="1"
- Margin="12,0,0,0"
- VerticalAlignment="Center"
- HorizontalAlignment="Stretch"
- IsTextSelectionEnabled="False"
- TextWrapping="NoWrap"
- TextTrimming="CharacterEllipsis"
- ex:HighlighterExtension.Highlighters="{x:Bind MatchedSpans, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
- <Paragraph>
- <Run Text="{x:Bind MenuDisplayTitle}"/>
- </Paragraph>
- </RichTextBlock>
- </Grid>
- </DataTemplate>
- </AutoSuggestBox.ItemTemplate>
- </AutoSuggestBox>
- </NavigationView.AutoSuggestBox>
-
- <NavigationView.MenuItemTemplateSelector>
- <dts:MainMenuNavigationViewMenuItemSelector>
- <dts:MainMenuNavigationViewMenuItemSelector.GroupViewItem>
- <DataTemplate x:DataType="tools:GroupViewItem">
- <NavigationViewItem
- MinHeight="{ThemeResource NavigationViewItemOnLeftMinHeight}"
- AutomationProperties.Name="{x:Bind AccessibleName}"
- MenuItemsSource="{x:Bind Children}"
- IsExpanded="{x:Bind local:MainWindow.UpdateMenuItemShouldBeExpanded(MenuItemShouldBeExpanded), Mode=OneWay}">
- <NavigationViewItem.Icon>
- <FontIcon
- FontFamily="{x:Bind IconFontName, Converter={StaticResource StringToStaticResourceConverter}}"
- Glyph="{x:Bind IconGlyph}"/>
- </NavigationViewItem.Icon>
- <NavigationViewItem.Content>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <TextBlock
- Grid.Column="0"
- HorizontalAlignment="Stretch"
- TextWrapping="NoWrap"
- TextTrimming="CharacterEllipsis"
- Text="{x:Bind DisplayTitle}"/>
- </Grid>
- </NavigationViewItem.Content>
- </NavigationViewItem>
- </DataTemplate>
- </dts:MainMenuNavigationViewMenuItemSelector.GroupViewItem>
- <dts:MainMenuNavigationViewMenuItemSelector.GuiToolViewItem>
- <DataTemplate x:DataType="tools:GuiToolViewItem">
- <NavigationViewItem
- MinHeight="{ThemeResource NavigationViewItemOnLeftMinHeight}"
- AutomationProperties.Name="{x:Bind ToolInstance.AccessibleName}">
- <NavigationViewItem.Icon>
- <FontIcon
- FontFamily="{x:Bind ToolInstance.IconFontName, Converter={StaticResource StringToStaticResourceConverter}}"
- Glyph="{x:Bind ToolInstance.IconGlyph}"/>
- </NavigationViewItem.Icon>
- <NavigationViewItem.ContextFlyout>
- <MenuFlyout>
- <!-- TODO -->
- <!--<MenuFlyoutItem
- Text="{Binding Instance.MainPage.OpenInNewWindow, Source={StaticResource LanguageManager}}"
- Command="{Binding OpenToolInNewWindowCommand}"
- CommandParameter="{x:Bind Metadata}">
- <MenuFlyoutItem.Icon>
- <FontIcon Glyph="&#xEE7A;" />
- </MenuFlyoutItem.Icon>
- </MenuFlyoutItem>
- <MenuFlyoutItem
- Text="{Binding Instance.MainPage.PinToolToStart, Source={StaticResource LanguageManager}}"
- Command="{Binding PinToolToStartCommand}"
- CommandParameter="{x:Bind ToolInstance}">
- <MenuFlyoutItem.Icon>
- <FontIcon Glyph="&#xF601;" />
- </MenuFlyoutItem.Icon>
- </MenuFlyoutItem>-->
- </MenuFlyout>
- </NavigationViewItem.ContextFlyout>
- <NavigationViewItem.Content>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <TextBlock
- Grid.Column="0"
- HorizontalAlignment="Stretch"
- TextWrapping="NoWrap"
- TextTrimming="CharacterEllipsis"
- Text="{x:Bind MenuDisplayTitle}"/>
- <ImageIcon
- x:Name="NavigationViewItemRecommendedIcon"
- x:Load="{x:Bind IsRecommended, Mode=OneWay}"
- Grid.Column="1"
- Source="ms-appx:///DevToys.UI.Framework/Assets/Icons/Idea.svg"
- Height="16"
- Width="16"/>
- </Grid>
- </NavigationViewItem.Content>
- </NavigationViewItem>
- </DataTemplate>
- </dts:MainMenuNavigationViewMenuItemSelector.GuiToolViewItem>
- <dts:MainMenuNavigationViewMenuItemSelector.Separator>
- <DataTemplate>
- <NavigationViewItemSeparator/>
- </DataTemplate>
- </dts:MainMenuNavigationViewMenuItemSelector.Separator>
- </dts:MainMenuNavigationViewMenuItemSelector>
- </NavigationView.MenuItemTemplateSelector>
-
- <Frame
- Grid.Row="1"
- Name="ContentFrame"
- IsNavigationStackEnabled="False">
- </Frame>
- </NavigationView>
- </Grid>
-</controls:BackdropPage>
diff --git a/src/app/dev/DevToys.UI/Views/MainWindow.xaml.cs b/src/app/dev/DevToys.UI/Views/MainWindow.xaml.cs
deleted file mode 100644
index 4ac636912..000000000
--- a/src/app/dev/DevToys.UI/Views/MainWindow.xaml.cs
+++ /dev/null
@@ -1,277 +0,0 @@
-using DevToys.Api;
-using DevToys.Api.Core.Theme;
-using DevToys.Business.Models;
-using DevToys.Business.ViewModels;
-using DevToys.Core.Tools;
-using DevToys.Core.Tools.ViewItems;
-using DevToys.UI.Framework.Controls;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Input;
-using Microsoft.UI.Xaml.Media.Animation;
-
-#if !__WINDOWS__
-using WindowActivationState = Windows.UI.Core.CoreWindowActivationState;
-#endif
-
-namespace DevToys.UI.Views;
-
-/// <summary>
-/// Main UI of the app
-/// </summary>
-public sealed partial class MainWindow : BackdropPage
-{
- internal const string CompactOverlayStateName = "CompactOverlay";
- private const string NavigationViewExpandedStateName = "NavigationViewExpanded";
- private const string NavigationViewCompactStateName = "NavigationViewCompact";
- private const string NavigationViewMinimalStateName = "NavigationViewMinimal";
-
- private static MainWindow? MainWindowInstance;
-
- private readonly IMefProvider _mefProvider;
-
- private NavigationViewDisplayMode _navigationViewDisplayMode;
- private GuiToolInstance? _currentDisplayedTool;
-
- public MainWindow(BackdropWindow backdropWindow, IThemeListener themeListener, IMefProvider mefProvider)
- : base(backdropWindow, themeListener)
- {
- Guard.IsNotNull(mefProvider);
- _mefProvider = mefProvider;
-
- MainWindowInstance = this;
-
- InitializeComponent();
- WindowStartupLocation = WindowStartupLocation.CenterScreen;
- Resize(1250, 800);
-
- // Workaround for a bug where opening the window in compact display mode will misalign the content layout.
- MenuNavigationView.PaneDisplayMode = NavigationViewPaneDisplayMode.Left;
-
- Loaded += MainWindow_Loaded;
- SizeChanged += MainWindow_SizeChanged;
- CompactOverlayModeChanged += MainWindow_CompactOverlayModeChanged;
- Activated += MainWindow_Activated;
-
- DataContext = mefProvider.Import<MainWindowViewModel>();
- ViewModel.SelectedMenuItemChanged += ViewModel_SelectedMenuItemChanged;
- }
-
- /// <summary>
- /// Gets the page's view model.
- /// </summary>
- internal MainWindowViewModel ViewModel => (MainWindowViewModel)DataContext;
-
- public static readonly DependencyProperty IsInCompactOverlayProperty =
- DependencyProperty.Register(
- nameof(IsInCompactOverlay),
- typeof(bool),
- typeof(MainWindow),
- new PropertyMetadata(false));
-
- internal bool IsInCompactOverlay
- {
- get => (bool)GetValue(IsInCompactOverlayProperty);
- private set => SetValue(IsInCompactOverlayProperty, value);
- }
-
- private void MainWindow_Loaded(object sender, RoutedEventArgs e)
- {
- IsInCompactOverlay = IsInCompactOverlayMode();
- SearchBox.Focus(FocusState.Keyboard);
-
- // Bug #54: Force to go to Expanded visual state on start fix an issue where starting the app
- // with a size that made the app going to Compact state break the layout and Monaco Editor.
- VisualStateManager.GoToState(this, NavigationViewExpandedStateName, useTransitions: true);
-
- UpdateVisualState();
-
- // Workaround for a bug where opening the window in compact display mode will misalign the content layout.
- MenuNavigationView.PaneDisplayMode = NavigationViewPaneDisplayMode.Auto;
-
- // Binding "IsExpanded" to IsExpandedByDefault in the XAML doesn't work on UI load, likely because the item has no children yet when the UI is composed.
- // So we manually expand the items that should be expanded on load.
- foreach (INotifyPropertyChanged? item in ViewModel.HeaderAndBodyToolViewItems)
- {
- if (item is GroupViewItem groupViewItem && groupViewItem.GroupShouldBeExpandedByDefaultInUI)
- {
- var menuItem = MenuNavigationView.ContainerFromMenuItem(item) as NavigationViewItem;
- if (menuItem is not null)
- {
- menuItem.IsExpanded = true;
- }
- }
- }
-
- // Explicitly select the first item in the menu.
- Guard.IsNotEmpty((IReadOnlyList<INotifyPropertyChanged>)ViewModel.HeaderAndBodyToolViewItems);
- ViewModel.SelectedMenuItem = ViewModel.HeaderAndBodyToolViewItems[0];
-
- // Start Smart Detection
- ViewModel.RunSmartDetectionAsync(IsInCompactOverlay).Forget();
- }
-
- private void MainWindow_SizeChanged(object sender, SizeChangedEventArgs e)
- {
- UpdateVisualState();
- }
-
- private void MainWindow_CompactOverlayModeChanged(BackdropWindow sender, EventArgs args)
- {
- IsInCompactOverlay = IsInCompactOverlayMode();
- }
-
- private void MainWindow_Activated(BackdropWindow sender, WindowActivatedEventArgs args)
- {
- if (args.WindowActivationState == WindowActivationState.CodeActivated && IsLoaded)
- {
- ViewModel.RunSmartDetectionAsync(IsInCompactOverlay).Forget();
- }
- }
-
- private void MenuNavigationView_DisplayModeChanged(NavigationView sender, NavigationViewDisplayModeChangedEventArgs args)
- {
- _navigationViewDisplayMode = MenuNavigationView.DisplayMode;
- UpdateVisualState();
- }
-
- private void MenuNavigationView_PaneClosing(NavigationView sender, NavigationViewPaneClosingEventArgs args)
- {
- _navigationViewDisplayMode = NavigationViewDisplayMode.Compact;
- UpdateVisualState();
- }
-
- private void MenuNavigationView_PaneOpening(NavigationView sender, object args)
- {
- _navigationViewDisplayMode = NavigationViewDisplayMode.Expanded;
- UpdateVisualState();
- }
-
- private void MenuNavigationView_Loaded(object sender, RoutedEventArgs e)
- {
- UpdateVisualState();
- }
-
- private void MenuNavigationView_BackRequested(NavigationView sender, NavigationViewBackRequestedEventArgs args)
- {
- ViewModel.GoBack();
- }
-
- private void SearchBoxText_Changed(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args)
- {
- ViewModel.SearchBoxTextChangedCommand.Execute((SearchBoxTextChangedReason)args.Reason);
- }
-
- private void SearchBoxText_QuerySubmitted(AutoSuggestBox sender, AutoSuggestBoxQuerySubmittedEventArgs args)
- {
- ViewModel.SearchBoxQuerySubmittedCommand.Execute(args.ChosenSuggestion);
- }
-
- private void SearchBoxKeyboardAccelerator_Invoked(KeyboardAccelerator sender, KeyboardAcceleratorInvokedEventArgs args)
- {
- SearchBox.Focus(FocusState.Keyboard);
- }
-
- private void ViewModel_SelectedMenuItemChanged(object? sender, EventArgs e)
- {
- if (ViewModel.SelectedMenuItem is not null)
- {
- if (ViewModel.SelectedMenuItem is GroupViewItem groupViewItem)
- {
- _currentDisplayedTool = null;
- ContentFrame.Navigate(
- typeof(ToolGroupPage),
- new NavigationParameters<GroupViewItem>(_mefProvider, groupViewItem),
- new EntranceNavigationTransitionInfo());
- SetTitle(string.Format(DevToys.Localization.Strings.MainWindow.MainWindow.WindowTitleInSystem, groupViewItem.DisplayTitle));
- }
- else if (ViewModel.SelectedMenuItem is GuiToolViewItem guiToolViewItem)
- {
- // Don't navigate if we already navigated to this tool.
- if (guiToolViewItem.ToolInstance != _currentDisplayedTool)
- {
- _currentDisplayedTool = guiToolViewItem.ToolInstance;
- ContentFrame.Navigate(
- typeof(ToolPage),
- new NavigationParameters<GuiToolViewItem>(_mefProvider, guiToolViewItem),
- new EntranceNavigationTransitionInfo());
- SetTitle(string.Format(DevToys.Localization.Strings.MainWindow.MainWindow.WindowTitleInSystem, guiToolViewItem.ToolInstance.LongOrShortDisplayTitle));
- }
- }
- else
- {
- ThrowHelper.ThrowNotSupportedException();
- }
-
- UpdateVisualState();
- }
- else
- {
- _currentDisplayedTool = null;
- }
-
- ViewModel.UpdateWindowTitle(IsInCompactOverlayMode());
- }
-
- private void CompactOverlayModeButton_Click(object sender, RoutedEventArgs e)
- {
- // TODO: Switch the UI to compact mode (smaller controls) automatically when in compact overlay mode, and restore it to whatever it was
- // when leaving the mode.
-
- TryToggleCompactOverlayMode();
-
- bool isInCompactOverlayMode = IsInCompactOverlayMode();
- if (isInCompactOverlayMode)
- {
- Resize(400, 450);
- }
-
- ViewModel.UpdateWindowTitle(isInCompactOverlayMode);
- }
-
- private void UpdateVisualState()
- {
-#if !HAS_UNO
- if (IsInCompactOverlayMode())
- {
- VisualStateManager.GoToState(this, CompactOverlayStateName, useTransitions: true);
- SetContentFrameVisualState(CompactOverlayStateName);
- }
- else
-#endif
- {
- switch (_navigationViewDisplayMode)
- {
- case NavigationViewDisplayMode.Minimal:
- VisualStateManager.GoToState(this, NavigationViewMinimalStateName, useTransitions: true);
- SetContentFrameVisualState(NavigationViewMinimalStateName);
- break;
-
- case NavigationViewDisplayMode.Compact:
- VisualStateManager.GoToState(this, NavigationViewCompactStateName, useTransitions: true);
- SetContentFrameVisualState(NavigationViewCompactStateName);
- break;
-
- case NavigationViewDisplayMode.Expanded:
- VisualStateManager.GoToState(this, NavigationViewExpandedStateName, useTransitions: true);
- SetContentFrameVisualState(NavigationViewExpandedStateName);
- break;
- }
- }
- }
-
- private void SetContentFrameVisualState(string visualStateName)
- {
- Guard.IsNotNullOrWhiteSpace(visualStateName);
- if (ContentFrame.Content is IVisualStateListener visualStateListener)
- {
- visualStateListener.SetVisualState(visualStateName);
- }
- }
-
- private static bool UpdateMenuItemShouldBeExpanded(bool menuItemShouldBeExpanded)
- {
- Guard.IsNotNull(MainWindowInstance);
- return menuItemShouldBeExpanded && MainWindowInstance._navigationViewDisplayMode == NavigationViewDisplayMode.Expanded;
- }
-}
diff --git a/src/app/dev/DevToys.UI/Views/ToolGroupPage.xaml b/src/app/dev/DevToys.UI/Views/ToolGroupPage.xaml
deleted file mode 100644
index 681f0d617..000000000
--- a/src/app/dev/DevToys.UI/Views/ToolGroupPage.xaml
+++ /dev/null
@@ -1,252 +0,0 @@
-<Page
- x:Class="DevToys.UI.Views.ToolGroupPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:local="using:DevToys.UI.Views"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:collections="using:CommunityToolkit.Mvvm.Collections"
- xmlns:ix="using:Microsoft.Xaml.Interactions.Core"
- xmlns:i="using:Microsoft.Xaml.Interactivity"
- xmlns:tools="using:DevToys.Core.Tools"
- xmlns:toolstrings="using:DevToys.Localization.Strings.ToolPage"
- xmlns:strings="using:DevToys.Localization.Strings.ToolGroupPage"
- mc:Ignorable="d"
- NavigationCacheMode="Disabled">
- <Page.Resources>
- <Thickness x:Key="GridViewItemMargin">0,12,12,0</Thickness>
- </Page.Resources>
-
- <Grid>
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="NavigationViewExpanded">
- <VisualState.Setters>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="NavigationViewCompact">
- <VisualState.Setters>
- <Setter Target="GridView.Padding" Value="16,32,16,32"/>
- <win:Setter Target="CommandBar.DefaultLabelPosition" Value="Collapsed"/>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="NavigationViewMinimal">
- <VisualState.Setters>
- <Setter Target="GridView.Padding" Value="16,36,16,36"/>
- <Setter Target="CommandBar.Visibility" Value="Collapsed"/>
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
- <GridView
- x:Name="GridView"
- TabIndex="0"
- Padding="{ThemeResource PageDefaultPadding}"
- SelectionMode="None"
- IsSwipeEnabled="False"
- IsItemClickEnabled="True"
- ItemsSource="{x:Bind ToolGroups.View, Mode=OneWay}"
- SizeChanged="GridView_SizeChanged"
- ItemClick="GridView_ItemClick">
- <CollectionViewSource
- x:Name="ToolGroups"
- Source="{x:Bind ViewModel.Tools, Mode=OneWay}"
- IsSourceGrouped="True"/>
- <GridView.Resources>
- <Style TargetType="GridViewHeaderItem">
- <Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
- <Setter Property="FontSize" Value="{ThemeResource GridViewHeaderItemThemeFontSize}" />
- <Setter Property="Background" Value="{ThemeResource GridViewHeaderItemBackground}" />
- <Setter Property="Margin" Value="0,0,0,4" />
- <Setter Property="Padding" Value="0,8,12,0" />
- <Setter Property="HorizontalContentAlignment" Value="Left" />
- <Setter Property="VerticalContentAlignment" Value="Top" />
- <Setter Property="MinHeight" Value="{ThemeResource GridViewHeaderItemMinHeight}" />
- <Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="GridViewHeaderItem">
- <StackPanel Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}">
- <ContentPresenter x:Name="ContentPresenter"
- Margin="{TemplateBinding Padding}"
- Content="{TemplateBinding Content}"
- ContentTemplate="{TemplateBinding ContentTemplate}"
- ContentTransitions="{TemplateBinding ContentTransitions}"
- HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" />
- <Rectangle Stroke="{ThemeResource GridViewHeaderItemDividerStroke}"
- StrokeThickness="0.5"
- Height="1"
- VerticalAlignment="Bottom"
- HorizontalAlignment="Stretch"
- Margin="0,8,12,0" />
- </StackPanel>
-
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </GridView.Resources>
- <GridView.Header>
- <Grid
- x:Name="ToolHeader"
- Margin="0,0,0,5">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <TextBlock
- Grid.Column="0"
- VerticalAlignment="Center"
- Text="{x:Bind ViewModel.HeaderText, Mode=OneWay}"
- TextTrimming="CharacterEllipsis"
- FontSize="24"/>
- <win:Border
- Grid.Column="1">
- <win:CommandBar
- x:Name="CommandBar"
- IsOpen="False"
- DefaultLabelPosition="Right">
- <win:AppBarButton
- Label="{x:Bind toolstrings:ToolPage.PinToStart}">
- <win:AppBarButton.Icon>
- <win:FontIcon Glyph="&#xF602;"/>
- </win:AppBarButton.Icon>
- </win:AppBarButton>
- </win:CommandBar>
- </win:Border>
- </Grid>
- </GridView.Header>
- <GridView.ItemsPanel>
- <ItemsPanelTemplate>
- <ItemsWrapGrid
- Orientation="Horizontal"
- HorizontalAlignment="Stretch">
- <ItemsWrapGrid.ChildrenTransitions>
- <TransitionCollection>
- <EntranceThemeTransition IsStaggeringEnabled="False" FromVerticalOffset="150"/>
- </TransitionCollection>
- </ItemsWrapGrid.ChildrenTransitions>
- </ItemsWrapGrid>
- </ItemsPanelTemplate>
- </GridView.ItemsPanel>
- <GridView.ItemContainerStyle>
- <Style TargetType="GridViewItem" BasedOn="{StaticResource DefaultGridViewItemStyle}">
- <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
- <Setter Property="VerticalContentAlignment" Value="Stretch"/>
- <Setter Property="Margin" Value="{StaticResource GridViewItemMargin}" />
- </Style>
- </GridView.ItemContainerStyle>
- <GridView.GroupStyle>
- <GroupStyle>
- <GroupStyle.HeaderTemplate>
- <DataTemplate x:DataType="collections:IReadOnlyObservableGroup">
- <TextBlock
- Style="{ThemeResource SubtitleTextBlockStyle}"
- FontWeight="Normal"
- Text="{x:Bind Key}"/>
- </DataTemplate>
- </GroupStyle.HeaderTemplate>
- </GroupStyle>
- </GridView.GroupStyle>
- <GridView.ItemTemplate>
- <DataTemplate x:DataType="tools:GuiToolInstance">
- <Grid
- Height="134"
- MaxHeight="134"
- Padding="16"
- Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
- BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
- BorderThickness="1"
- CornerRadius="{StaticResource ControlCornerRadius}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Border
- Grid.Column="0"
- Grid.RowSpan="2"
- Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
- CornerRadius="{StaticResource ControlCornerRadius}"
- Height="100"
- Width="100"
- Padding="12">
- <FontIcon
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="64"
- Foreground="{ThemeResource GridViewItemForeground}"
- FontFamily="{x:Bind IconFontName, Converter={StaticResource StringToStaticResourceConverter}}"
- Glyph="{x:Bind IconGlyph}"/>
- </Border>
- <TextBlock
- Grid.Column="1"
- Grid.Row="0"
- VerticalAlignment="Top"
- Style="{StaticResource BodyStrongTextBlockStyle}"
- Margin="16,0,0,0"
- MaxHeight="75"
- Foreground="{ThemeResource GridViewItemForeground}"
- Text="{x:Bind LongOrShortDisplayTitle}"
- TextWrapping="Wrap"
- TextTrimming="CharacterEllipsis" />
- <TextBlock
- Grid.Column="1"
- Grid.ColumnSpan="2"
- Grid.Row="1"
- Style="{StaticResource CaptionTextBlockStyle}"
- Margin="16,2,8,0"
- Foreground="{ThemeResource TextFillColorSecondaryBrush}"
- Text="{x:Bind Description}"
- TextWrapping="Wrap"
- TextTrimming="CharacterEllipsis"/>
- <StackPanel
- Grid.Column="2"
- Grid.Row="0"
- Margin="16,0,0,0"
- VerticalAlignment="Top"
- Orientation="Horizontal"
- Spacing="4">
- <Button
- Height="24"
- Width="24"
- Padding="0">
- <FontIcon
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontFamily="{StaticResource FluentSystemIcons}"
- FontSize="16"
- Glyph="&#xEE7A;"/>
- </Button>
- </StackPanel>
- </Grid>
- </DataTemplate>
- </GridView.ItemTemplate>
- <GridView.Footer>
- <Border
- x:Name="Footer"
- x:Load="{x:Bind ViewModel.DisplayFooter}"
- Padding="0,12,12,0">
- <InfoBar
- Severity="Informational"
- IsClosable="False"
- IsOpen="True"
- IsIconVisible="True"
- Title="{x:Bind strings:ToolGroupPage.NotFindingTool}"
- Message="{x:Bind strings:ToolGroupPage.NotFindingToolSuggestIdea}">
- <InfoBar.ActionButton>
- <HyperlinkButton Content="{x:Bind strings:ToolGroupPage.NotFindingToolOpenFeatureRequest}" NavigateUri="https://www.example.com" />
- </InfoBar.ActionButton>
- </InfoBar>
- </Border>
- </GridView.Footer>
- </GridView>
- </Grid>
-</Page>
diff --git a/src/app/dev/DevToys.UI/Views/ToolGroupPage.xaml.cs b/src/app/dev/DevToys.UI/Views/ToolGroupPage.xaml.cs
deleted file mode 100644
index cd835c61b..000000000
--- a/src/app/dev/DevToys.UI/Views/ToolGroupPage.xaml.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using DevToys.Business.Models;
-using DevToys.Business.ViewModels;
-using DevToys.Core.Tools.ViewItems;
-using DevToys.UI.Framework.Controls;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Navigation;
-
-namespace DevToys.UI.Views;
-
-/// <summary>
-/// Page displaying a group of tools.
-/// </summary>
-public sealed partial class ToolGroupPage : Page, IVisualStateListener
-{
- private const int GridViewItemMinWidth = 330;
-
- public ToolGroupPage()
- {
- this.InitializeComponent();
- }
-
- /// <summary>
- /// Gets the page's view model.
- /// </summary>
- internal ToolGroupPageViewModel ViewModel => (ToolGroupPageViewModel)DataContext;
-
- public void SetVisualState(string visualStateName)
- {
- Guard.IsNotNullOrWhiteSpace(visualStateName);
- Guard.IsNotEqualTo(visualStateName, MainWindow.CompactOverlayStateName);
- VisualStateManager.GoToState(this, visualStateName, useTransitions: true);
- }
-
- protected override void OnNavigatedTo(NavigationEventArgs e)
- {
- base.OnNavigatedTo(e);
-
- Guard.IsOfType(e.Parameter, typeof(NavigationParameters<GroupViewItem>));
- var parameter = (NavigationParameters<GroupViewItem>)e.Parameter;
-
- DataContext = parameter.MefProvider.Import<ToolGroupPageViewModel>();
- ViewModel.Load(parameter.Parameter);
- }
-
- private void GridView_ItemClick(object sender, ItemClickEventArgs e)
- {
- ViewModel.ToolSelectedCommand.Execute(e.ClickedItem);
- }
-
- private void GridView_SizeChanged(object sender, SizeChangedEventArgs args)
- {
- var gridViewItemMargin = (Thickness)this.Resources["GridViewItemMargin"];
-
- // Calculating the number of columns based on the width of the page
- double gridViewItemHorizontalSpace = args.NewSize.Width - GridView.Padding.Left - GridView.Padding.Right;
- double adjustedGridViewItemMaxWidth = GridViewItemMinWidth + gridViewItemMargin.Left + gridViewItemMargin.Right;
- double columns = Math.Floor(gridViewItemHorizontalSpace / adjustedGridViewItemMaxWidth);
-
- // Calculating the new width of the grid view item.
- double newItemWidth = Math.Max(GridViewItemMinWidth, gridViewItemHorizontalSpace / Math.Max(1, columns));
- ((ItemsWrapGrid)GridView.ItemsPanelRoot).ItemWidth = newItemWidth;
- }
-}
diff --git a/src/app/dev/DevToys.UI/Views/ToolPage.xaml b/src/app/dev/DevToys.UI/Views/ToolPage.xaml
deleted file mode 100644
index 0d49a1026..000000000
--- a/src/app/dev/DevToys.UI/Views/ToolPage.xaml
+++ /dev/null
@@ -1,105 +0,0 @@
-<Page
- x:Class="DevToys.UI.Views.ToolPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:local="using:DevToys.UI.Views"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:collections="using:CommunityToolkit.Mvvm.Collections"
- xmlns:converters="using:DevToys.UI.Framework.Converters"
- xmlns:ix="using:Microsoft.Xaml.Interactions.Core"
- xmlns:i="using:Microsoft.Xaml.Interactivity"
- xmlns:tools="using:DevToys.Core.Tools"
- xmlns:strings="using:DevToys.Localization.Strings.ToolPage"
- xmlns:guiTool="using:DevToys.UI.Framework.Controls.GuiTool"
- mc:Ignorable="d"
- NavigationCacheMode="Disabled">
- <Page.Resources>
- <converters:BooleanToStringConverter x:Key="BooleanToFavoriteIconGlyph" StringIfTrue="&#xF71A;" StringIfFalse="&#xF70F;"/>
- </Page.Resources>
-
- <ScrollViewer
- x:Name="RootScrollViewer"
- Padding="{ThemeResource PageDefaultPadding}">
- <VisualStateManager.VisualStateGroups>
- <VisualStateGroup>
- <VisualState x:Name="NavigationViewExpanded">
- <VisualState.Setters>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="NavigationViewCompact">
- <VisualState.Setters>
- <Setter Target="RootScrollViewer.Padding" Value="16,32,16,32"/>
- <Setter Target="CommandBar.DefaultLabelPosition" Value="Collapsed"/>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="NavigationViewMinimal">
- <VisualState.Setters>
- <Setter Target="RootScrollViewer.Padding" Value="16,36,16,36"/>
- <Setter Target="CommandBar.Visibility" Value="Collapsed"/>
- </VisualState.Setters>
- </VisualState>
- <VisualState x:Name="CompactOverlay">
- <VisualState.Setters>
- <Setter Target="RootScrollViewer.Padding" Value="8,36,8,8"/>
- <Setter Target="CommandBar.Visibility" Value="Collapsed"/>
- <Setter Target="TitleTextBlock.Visibility" Value="Collapsed"/>
- </VisualState.Setters>
- </VisualState>
- </VisualStateGroup>
- </VisualStateManager.VisualStateGroups>
-
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="1*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <TextBlock
- x:Name="TitleTextBlock"
- Grid.Row="0"
- Grid.Column="0"
- VerticalAlignment="Center"
- Text="{x:Bind ViewModel.HeaderText}"
- TextTrimming="CharacterEllipsis"
- FontSize="24"/>
- <Border
- Grid.Row="0"
- Grid.Column="1">
- <CommandBar
- x:Name="CommandBar"
- IsOpen="False"
- DefaultLabelPosition="Right"
- Margin="0,0,-8,0">
- <AppBarButton
- Command="{x:Bind ViewModel.ToggleSelectedMenuItemFavoriteCommand}"
- Visibility="{x:Bind ViewModel.IsSelectedMenuItemSupportFavorite, Mode=OneWay, Converter={StaticResource BooleanToVisibilityConverter}}"
- Label="{x:Bind ViewModel.GetFavoriteButtonText(ViewModel.IsSelectedMenuItemAFavoriteTool), Mode=OneWay}">
- <AppBarButton.Icon>
- <FontIcon Glyph="{x:Bind ViewModel.IsSelectedMenuItemAFavoriteTool, Mode=OneWay, Converter={StaticResource BooleanToFavoriteIconGlyph}}"/>
- </AppBarButton.Icon>
- </AppBarButton>
- <win:AppBarButton
- Label="{x:Bind strings:ToolPage.PinToStart}">
- <win:AppBarButton.Icon>
- <win:FontIcon Glyph="&#xF602;"/>
- </win:AppBarButton.Icon>
- </win:AppBarButton>
- </CommandBar>
- </Border>
-
- <guiTool:UIElementPresenter
- x:Name="RootUIElementPresenter"
- Grid.Row="1"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- UIElement="{x:Bind ViewModel.ToolView}"/>
- </Grid>
- </ScrollViewer>
-</Page>
diff --git a/src/app/dev/DevToys.UI/Views/ToolPage.xaml.cs b/src/app/dev/DevToys.UI/Views/ToolPage.xaml.cs
deleted file mode 100644
index 3caa42029..000000000
--- a/src/app/dev/DevToys.UI/Views/ToolPage.xaml.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using DevToys.Business.Models;
-using DevToys.Business.ViewModels;
-using DevToys.Core.Tools.ViewItems;
-using DevToys.UI.Framework.Controls;
-using Microsoft.UI.Xaml;
-using Microsoft.UI.Xaml.Controls;
-using Microsoft.UI.Xaml.Navigation;
-
-namespace DevToys.UI.Views;
-
-/// <summary>
-/// Page displaying a tool.
-/// </summary>
-public sealed partial class ToolPage : Page, IVisualStateListener
-{
- public ToolPage()
- {
- this.InitializeComponent();
- }
-
- /// <summary>
- /// Gets the page's view model.
- /// </summary>
- internal ToolPageViewModel ViewModel => (ToolPageViewModel)DataContext;
-
- protected override void OnNavigatedFrom(NavigationEventArgs e)
- {
- base.OnNavigatedFrom(e);
- RootUIElementPresenter.Detach();
- }
-
- protected override void OnNavigatedTo(NavigationEventArgs e)
- {
- base.OnNavigatedTo(e);
-
- Guard.IsOfType(e.Parameter, typeof(NavigationParameters<GuiToolViewItem>));
- var parameter = (NavigationParameters<GuiToolViewItem>)e.Parameter;
-
- DataContext = parameter.MefProvider.Import<ToolPageViewModel>();
- ViewModel.Load(parameter.Parameter);
- }
-
- public void SetVisualState(string visualStateName)
- {
- Guard.IsNotNullOrWhiteSpace(visualStateName);
- VisualStateManager.GoToState(this, visualStateName, useTransitions: true);
- }
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.CLI/CommandToICommandLineToolMap.cs b/src/app/dev/platforms/desktop/DevToys.CLI/CommandToICommandLineToolMap.cs
index cbebc9eae..c44141d2e 100644
--- a/src/app/dev/platforms/desktop/DevToys.CLI/CommandToICommandLineToolMap.cs
+++ b/src/app/dev/platforms/desktop/DevToys.CLI/CommandToICommandLineToolMap.cs
@@ -65,7 +65,7 @@ internal sealed class CommandToICommandLineToolMap
{
string? commandDescription
= resourceManager is not null && !string.IsNullOrWhiteSpace(metadata.DescriptionResourceName)
- ? resourceManager.GetString(metadata.DescriptionResourceName)
+ ? resourceManager.GetString(metadata.DescriptionResourceName) ?? string.Empty
: string.Empty;
return commandDescription;
diff --git a/src/app/dev/platforms/desktop/DevToys.CLI/Core/FileStorage/FileStorage.cs b/src/app/dev/platforms/desktop/DevToys.CLI/Core/FileStorage/FileStorage.cs
index 2341cb428..4cedef844 100644
--- a/src/app/dev/platforms/desktop/DevToys.CLI/Core/FileStorage/FileStorage.cs
+++ b/src/app/dev/platforms/desktop/DevToys.CLI/Core/FileStorage/FileStorage.cs
@@ -1,4 +1,4 @@
-using DevToys.Api.Core;
+using DevToys.Api;
namespace DevToys.CLI.Core.FileStorage;
diff --git a/src/app/dev/platforms/desktop/DevToys.CLI/Core/Settings/SettingsStorage.cs b/src/app/dev/platforms/desktop/DevToys.CLI/Core/Settings/SettingsStorage.cs
index e889c5cca..2b30d5788 100644
--- a/src/app/dev/platforms/desktop/DevToys.CLI/Core/Settings/SettingsStorage.cs
+++ b/src/app/dev/platforms/desktop/DevToys.CLI/Core/Settings/SettingsStorage.cs
@@ -1,5 +1,4 @@
-using DevToys.Api.Core;
-using DevToys.Api;
+using DevToys.Api;
using System.Collections.Concurrent;
using DevToys.Core.Settings;
@@ -25,7 +24,7 @@ internal sealed class SettingsStorage : ISettingsStorage
public void ResetSetting(string settingName)
{
- _settings.Value.Remove(settingName, out string _);
+ _settings.Value.Remove(settingName, out string? _);
}
public bool TryReadSetting(string settingName, out object? value)
diff --git a/src/app/dev/platforms/desktop/DevToys.CLI/Program.cs b/src/app/dev/platforms/desktop/DevToys.CLI/Program.cs
index 5b5da3ad0..250a90cc7 100644
--- a/src/app/dev/platforms/desktop/DevToys.CLI/Program.cs
+++ b/src/app/dev/platforms/desktop/DevToys.CLI/Program.cs
@@ -1,6 +1,5 @@
using System.CommandLine;
using System.CommandLine.Invocation;
-using System.Runtime.InteropServices;
using System.Text;
using DevToys.Api;
using DevToys.CLI.Core.FileStorage;
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/App.xaml b/src/app/dev/platforms/desktop/DevToys.MacOS/App.xaml
similarity index 70%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/App.xaml
rename to src/app/dev/platforms/desktop/DevToys.MacOS/App.xaml
index bff581631..07331a1ac 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/App.xaml
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/App.xaml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:local="clr-namespace:DevToys.MauiBlazor"
- x:Class="DevToys.MauiBlazor.App">
+ x:Class="DevToys.MacOS.App">
<Application.Resources>
<ResourceDictionary>
</ResourceDictionary>
diff --git a/src/app/dev/platforms/desktop/DevToys.MacOS/App.xaml.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/App.xaml.cs
new file mode 100644
index 000000000..38a1fb1bb
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/App.xaml.cs
@@ -0,0 +1,11 @@
+namespace DevToys.MacOS;
+
+public partial class App : Application
+{
+ public App()
+ {
+ InitializeComponent();
+
+ MainPage = new MainPage();
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MacOS/Core/Clipboard.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/Clipboard.cs
new file mode 100644
index 000000000..cf430974c
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/Clipboard.cs
@@ -0,0 +1,57 @@
+using Microsoft.Extensions.Logging;
+using Uno.Extensions;
+
+namespace DevToys.MacOS.Core;
+
+[Export(typeof(Api.IClipboard))]
+internal sealed partial class Clipboard : Api.IClipboard
+{
+ private readonly ILogger _logger;
+
+ [ImportingConstructor]
+ public Clipboard()
+ {
+ _logger = this.Log();
+ }
+
+ public async Task<object?> GetClipboardDataAsync()
+ {
+ try
+ {
+ if (Microsoft.Maui.ApplicationModel.DataTransfer.Clipboard.Default.HasText)
+ {
+ return await Microsoft.Maui.ApplicationModel.DataTransfer.Clipboard.Default.GetTextAsync();
+ }
+ else
+ {
+ // TODO: On Mac, use AppKit API to get file and bitmap from clipboard.
+ }
+ }
+ catch (Exception ex)
+ {
+ LogGetClipboardFailed(ex);
+ }
+ return null;
+ }
+
+ public Task SetClipboardBitmapAsync(string? data)
+ {
+ // TODO
+ throw new NotImplementedException();
+ }
+
+ public Task SetClipboardFilesAsync(string? data)
+ {
+ // TODO
+ throw new NotImplementedException();
+ }
+
+ public Task SetClipboardTextAsync(string? data)
+ {
+ // TODO
+ throw new NotImplementedException();
+ }
+
+ [LoggerMessage(1, LogLevel.Warning, "Failed to retrieve the clipboard data.")]
+ partial void LogGetClipboardFailed(Exception ex);
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/FileStorage/FileStorage.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/FileStorage.cs
similarity index 96%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/FileStorage/FileStorage.cs
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Core/FileStorage.cs
index 0c06e182c..a9a8cc842 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/FileStorage/FileStorage.cs
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/FileStorage.cs
@@ -1,6 +1,6 @@
-using DevToys.Api.Core;
+using DevToys.Api;
-namespace DevToys.MauiBlazor.Core.FileStorage;
+namespace DevToys.MacOS.Core;
[Export(typeof(IFileStorage))]
internal sealed class FileStorage : IFileStorage
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/FontProvider/FontProvider.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/FontProvider.cs
similarity index 79%
rename from src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/FontProvider/FontProvider.cs
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Core/FontProvider.cs
index c0a8e96b3..bd2b0de74 100644
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/FontProvider/FontProvider.cs
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/FontProvider.cs
@@ -1,9 +1,8 @@
-using DevToys.Api.Core;
+using DevToys.Api;
using Microsoft.Extensions.Logging;
-using Microsoft.Graphics.Canvas.Text;
using Uno.Extensions;
-namespace DevToys.Wasdk.Core.FontProvider;
+namespace DevToys.MacOS.Core;
[Export(typeof(IFontProvider))]
internal sealed partial class FontProvider : IFontProvider
@@ -20,7 +19,7 @@ internal sealed partial class FontProvider : IFontProvider
{
try
{
- return CanvasTextFormat.GetSystemFontFamilies();
+ return UIKit.UIFont.FamilyNames;
}
catch (Exception ex)
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Settings/SettingsStorage.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/SettingsStorage.cs
similarity index 94%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Settings/SettingsStorage.cs
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Core/SettingsStorage.cs
index 960ec9569..5184bd604 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Settings/SettingsStorage.cs
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/SettingsStorage.cs
@@ -1,6 +1,6 @@
using DevToys.Core.Settings;
-namespace DevToys.MauiBlazor.Core.Settings;
+namespace DevToys.MacOS.Core;
[Export(typeof(ISettingsStorage))]
internal sealed class SettingsStorage : ISettingsStorage
diff --git a/src/app/dev/platforms/desktop/DevToys.MacOS/Core/ThemeListener.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/ThemeListener.cs
new file mode 100644
index 000000000..433a55cfd
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Core/ThemeListener.cs
@@ -0,0 +1,113 @@
+using DevToys.Api;
+
+namespace DevToys.MacOS.Core;
+
+[Export(typeof(IThemeListener))]
+internal sealed class ThemeListener : IThemeListener
+{
+ private readonly ISettingsProvider _settingsProvider;
+
+ [ImportingConstructor]
+ public ThemeListener(ISettingsProvider settingsProvider)
+ {
+ // Listen for app settings
+ _settingsProvider = settingsProvider;
+ _settingsProvider.SettingChanged += SettingsProvider_SettingChanged;
+
+ // Listen for operating system settings.
+ Guard.IsNotNull(Application.Current);
+ Application.Current.RequestedThemeChanged += System_RequestedThemeChanged;
+
+ UpdateSystemSettingsAndApplyTheme();
+ }
+
+ public AvailableApplicationTheme CurrentSystemTheme { get; private set; }
+
+ public AvailableApplicationTheme CurrentAppTheme => _settingsProvider.GetSetting(DevToys.Core.Settings.PredefinedSettings.Theme);
+
+ public ApplicationTheme ActualAppTheme { get; private set; }
+
+ public bool IsHighContrast { get; private set; }
+
+ public bool IsCompactMode => _settingsProvider.GetSetting(DevToys.Api.PredefinedSettings.CompactMode);
+
+ public event EventHandler? ThemeChanged;
+
+ public void ApplyDesiredColorTheme()
+ {
+ Guard.IsNotNull(Application.Current);
+ AvailableApplicationTheme theme = CurrentAppTheme;
+
+ if (theme == AvailableApplicationTheme.Default)
+ {
+ theme = CurrentSystemTheme;
+
+ // This makes System_RequestedThemeChanged reacting to the system theme change
+ // and makes the app titlebar following the system theme.
+ Application.Current.UserAppTheme = AppTheme.Unspecified;
+
+ // Set theme for window root.
+ if (theme == AvailableApplicationTheme.Dark)
+ {
+ ActualAppTheme = ApplicationTheme.Dark;
+ }
+ else
+ {
+ ActualAppTheme = ApplicationTheme.Light;
+ }
+ }
+ else
+ {
+ // Set theme for window root.
+ if (theme == AvailableApplicationTheme.Dark)
+ {
+ ActualAppTheme = ApplicationTheme.Dark;
+ Application.Current.UserAppTheme = AppTheme.Dark;
+ }
+ else
+ {
+ ActualAppTheme = ApplicationTheme.Light;
+ Application.Current.UserAppTheme = AppTheme.Light;
+ }
+ }
+
+ ThemeChanged?.Invoke(this, EventArgs.Empty);
+ }
+
+ /// <summary>
+ /// Evaluates whether the theme should automatically be updated or not, based on app and operating system settings.
+ /// </summary>
+ private void UpdateSystemSettingsAndApplyTheme()
+ {
+ IsHighContrast = false; // TODO: Detect high contrast
+ CurrentSystemTheme = GetCurrentSystemTheme();
+
+ ApplyDesiredColorTheme();
+ }
+
+ private void SettingsProvider_SettingChanged(object? sender, SettingChangedEventArgs e)
+ {
+ if (string.Equals(DevToys.Core.Settings.PredefinedSettings.Theme.Name, e.SettingName, StringComparison.Ordinal))
+ {
+ ApplyDesiredColorTheme();
+ ThemeChanged?.Invoke(this, EventArgs.Empty);
+ }
+ else if (string.Equals(DevToys.Api.PredefinedSettings.CompactMode.Name, e.SettingName, StringComparison.Ordinal))
+ {
+ // TODO: Apply the mode.
+ }
+ }
+
+ private void System_RequestedThemeChanged(object? sender, AppThemeChangedEventArgs e)
+ {
+ UpdateSystemSettingsAndApplyTheme();
+ }
+
+ private static AvailableApplicationTheme GetCurrentSystemTheme()
+ {
+ Guard.IsNotNull(Application.Current);
+ AppTheme currentSystemTheme = Application.Current.RequestedTheme;
+
+ return currentSystemTheme == AppTheme.Light ? AvailableApplicationTheme.Light : AvailableApplicationTheme.Dark;
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MacOS/DevToys.MacOS.csproj b/src/app/dev/platforms/desktop/DevToys.MacOS/DevToys.MacOS.csproj
new file mode 100644
index 000000000..f57ac3a19
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/DevToys.MacOS.csproj
@@ -0,0 +1,83 @@
+<Project Sdk="Microsoft.NET.Sdk.Razor">
+
+ <PropertyGroup>
+ <TargetFrameworks Condition="$(IsWindows)">$(NetCoreWindows10)</TargetFrameworks>
+ <TargetFrameworks Condition="$(IsMac)">$(NetMacCatalyst)</TargetFrameworks>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>DevToys.MacOS</RootNamespace>
+ <UseMaui>true</UseMaui>
+ <SingleProject>true</SingleProject>
+ <EnableDefaultCssItems>false</EnableDefaultCssItems>
+
+ <!-- Display name -->
+ <ApplicationTitle>DevToys</ApplicationTitle>
+
+ <!-- App Identifier -->
+ <ApplicationId>com.etiennebaudoux.devtoys</ApplicationId>
+ <ApplicationIdGuid>856CF642-FDC7-42BE-A1D5-5D7F0FC09091</ApplicationIdGuid>
+
+ <!-- Versions -->
+ <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
+ <ApplicationVersion>1</ApplicationVersion>
+ </PropertyGroup>
+
+ <Choose>
+ <When Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">
+ <PropertyGroup>
+ <DefineConstants>$(DefineConstants);__MACCATALYST__</DefineConstants>
+ <RuntimeIdentifiers>maccatalyst-arm64</RuntimeIdentifiers>
+ <UseInterpreter>true</UseInterpreter>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
+ <CodeSignEntitlements>Platforms/MacCatalyst/Entitlements.Debug.plist</CodeSignEntitlements>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(RuntimeIdentifier)'=='' AND '$(Configuration)'=='Release'">
+ <!-- Default values for command line builds -->
+ <RuntimeIdentifier>maccatalyst-arm64</RuntimeIdentifier>
+ </PropertyGroup>
+ </When>
+
+ <When Condition="'$(TargetFramework)' == '$(NetCoreWindows10)'">
+ <PropertyGroup>
+ <DefineConstants>$(DefineConstants);__WINDOWS__</DefineConstants>
+ <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>
+ <SupportedOSPlatformVersion>$(Windows10MinSDKVersion)</SupportedOSPlatformVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'">
+ <Platforms>x86;x64;arm64</Platforms>
+ <RuntimeIdentifiers>win10-arm64;win10-x64;win10-x86</RuntimeIdentifiers>
+ <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
+ <AppxPackage>false</AppxPackage>
+ <WindowsPackageType>None</WindowsPackageType>
+ </PropertyGroup>
+ </When>
+ </Choose>
+
+ <PropertyGroup Condition="'$(RuntimeIdentifierOverride)' != ''">
+ <RuntimeIdentifier>$(RuntimeIdentifierOverride)</RuntimeIdentifier>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <!-- App Icon -->
+ <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
+
+ <!-- Splash Screen -->
+ <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
+
+ <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
+ <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Microsoft.TypeScript.MSBuild">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ </PackageReference>
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\DevToys.Blazor\DevToys.Blazor.csproj" />
+ <ProjectReference Include="..\..\..\DevToys.Localization\DevToys.Localization.csproj" />
+ </ItemGroup>
+
+</Project>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MainPage.xaml b/src/app/dev/platforms/desktop/DevToys.MacOS/MainPage.xaml
similarity index 75%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/MainPage.xaml
rename to src/app/dev/platforms/desktop/DevToys.MacOS/MainPage.xaml
index 357984cca..96228a570 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MainPage.xaml
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/MainPage.xaml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:local="clr-namespace:DevToys.MauiBlazor"
- x:Class="DevToys.MauiBlazor.MainPage"
+ xmlns:devtoysblazor="clr-namespace:DevToys.Blazor;assembly=DevToys.Blazor"
+ x:Class="DevToys.MacOS.MainPage"
BackgroundColor="{DynamicResource PageBackgroundColor}">
<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
<BlazorWebView.RootComponents>
- <RootComponent Selector="#app" ComponentType="{x:Type local:Main}" />
+ <RootComponent Selector="#app" ComponentType="{x:Type devtoysblazor:Main}" />
</BlazorWebView.RootComponents>
</BlazorWebView>
diff --git a/src/app/dev/platforms/desktop/DevToys.MacOS/MainPage.xaml.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/MainPage.xaml.cs
new file mode 100644
index 000000000..28d1c4958
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/MainPage.xaml.cs
@@ -0,0 +1,25 @@
+using System.Reflection;
+
+namespace DevToys.MacOS;
+
+public partial class MainPage : ContentPage
+{
+ public MainPage()
+ {
+ InitializeComponent();
+ Loaded += OnLoaded;
+ }
+
+ private void OnLoaded(object? sender, EventArgs e)
+ {
+ Loaded -= OnLoaded;
+
+ // Required on MacOS 13.3 and greater to get Web developer tools to work.
+#if DEBUG && MACCATALYST13_3_OR_GREATER
+ if (blazorWebView.Handler?.PlatformView is WebKit.WKWebView view)
+ {
+ view.SetValueForKey(Foundation.NSObject.FromObject(true), new Foundation.NSString("inspectable"));
+ }
+#endif
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MacOS/MauiProgram.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/MauiProgram.cs
new file mode 100644
index 000000000..fe01607de
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/MauiProgram.cs
@@ -0,0 +1,122 @@
+using DevToys.Api;
+using DevToys.Blazor.Core.Languages;
+using DevToys.Business.ViewModels;
+using DevToys.Core.Logging;
+using DevToys.Core.Mef;
+using DevToys.MacOS.Core;
+using DevToys.Tools;
+using Microsoft.Extensions.Logging;
+using PredefinedSettings = DevToys.Core.Settings.PredefinedSettings;
+
+namespace DevToys.MacOS;
+
+public static partial class MauiProgram
+{
+ internal static MefComposer? MefComposer;
+
+ private static MauiApp? app;
+ private static ILogger? logger;
+
+ public static MauiApp CreateMauiApp()
+ {
+ DateTime startTime = DateTime.Now;
+
+ MauiAppBuilder builder = MauiApp.CreateBuilder();
+ builder.UseMauiApp<App>();
+
+ // Initialize services and logging.
+ ServiceProvider serviceProvider = InitializeServices(builder.Services);
+
+ // Listen for unhandled exceptions.
+ AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
+
+ // For iOS and Mac Catalyst
+ // Exceptions will flow through AppDomain.CurrentDomain.UnhandledException,
+ // but we need to set UnwindNativeCode to get it to work correctly.
+ //
+ // See: https://github.com/xamarin/xamarin-macios/issues/15252
+ ObjCRuntime.Runtime.MarshalManagedException += (_, args) =>
+ {
+ args.ExceptionMode = ObjCRuntime.MarshalManagedExceptionMode.UnwindNativeCode;
+ };
+
+ // Initialize MEF.
+ MefComposer
+ = new MefComposer(
+ new[] {
+ typeof(DevToysToolsResourceManagerAssemblyIdentifier).Assembly,
+ typeof(MainWindowViewModel).Assembly
+ });
+
+ LogInitialization((DateTime.Now - startTime).TotalMilliseconds);
+ LogAppStarting();
+
+ MauiApp app = builder.Build();
+
+ MauiProgram.app = app;
+
+ // Set the user-defined language.
+ string? languageIdentifier = MefComposer.Provider.Import<ISettingsProvider>().GetSetting(PredefinedSettings.Language);
+ LanguageDefinition languageDefinition
+ = LanguageManager.Instance.AvailableLanguages.FirstOrDefault(l => string.Equals(l.InternalName, languageIdentifier))
+ ?? LanguageManager.Instance.AvailableLanguages[0];
+ LanguageManager.Instance.SetCurrentCulture(languageDefinition);
+
+ return app;
+ }
+
+ private static void OnUnhandledException(object sender, UnhandledExceptionEventArgs e)
+ {
+ LogUnhandledException((Exception)e.ExceptionObject);
+ }
+
+ private static ServiceProvider InitializeServices(IServiceCollection serviceCollection)
+ {
+ serviceCollection.AddMauiBlazorWebView();
+
+#if DEBUG
+ serviceCollection.AddBlazorWebViewDeveloperTools();
+#endif
+
+ serviceCollection.AddLogging((ILoggingBuilder builder) =>
+ {
+#if DEBUG
+ builder.AddDebug();
+ builder.SetMinimumLevel(LogLevel.Debug);
+#else
+ builder.SetMinimumLevel(LogLevel.Information);
+#endif
+
+ // To save logs on local hard drive.
+ builder.AddFile(new FileStorage());
+
+ builder.AddFilter("Microsoft", LogLevel.Warning);
+ builder.AddFilter("System", LogLevel.Warning);
+ });
+
+ serviceCollection.AddSingleton(provider => MefComposer!.Provider);
+
+ ServiceProvider serviceProvider = serviceCollection.BuildServiceProvider();
+
+ ILoggerFactory loggerFactory = serviceProvider.GetRequiredService<ILoggerFactory>();
+ Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = loggerFactory;
+ logger = loggerFactory.CreateLogger<MauiApp>();
+
+ return serviceProvider;
+ }
+
+ private static void LogUnhandledException(Exception exception)
+ {
+ logger?.LogCritical(0, exception, "Unhandled exception !!! (╯°□°)╯︵ ┻━┻");
+ }
+
+ private static void LogAppStarting()
+ {
+ logger?.LogInformation(1, "App is starting...");
+ }
+
+ private static void LogInitialization(double duration)
+ {
+ logger?.LogInformation(2, "MEF, services and logging initialized in {duration} ms", duration);
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/AppDelegate.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/AppDelegate.cs
similarity index 86%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/AppDelegate.cs
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/AppDelegate.cs
index c60db7ed7..b56953685 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/AppDelegate.cs
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/AppDelegate.cs
@@ -1,6 +1,6 @@
using Foundation;
-namespace DevToys.MauiBlazor;
+namespace DevToys.MacOS;
[Register("AppDelegate")]
public class AppDelegate : MauiUIApplicationDelegate
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Entitlements.Debug.plist b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Entitlements.Debug.plist
similarity index 67%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Entitlements.Debug.plist
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Entitlements.Debug.plist
index d16b3f587..787893c83 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Entitlements.Debug.plist
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Entitlements.Debug.plist
@@ -4,6 +4,8 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
+ <!-- Enable this value to use browser developer tools while debugging.-->
+ <!-- See https://aka.ms/blazor-hybrid-developer-tools -->
<key>com.apple.security.get-task-allow</key>
<true/>
</dict>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Info.plist b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Info.plist
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Info.plist
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Info.plist
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Program.cs b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Program.cs
similarity index 92%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Program.cs
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Program.cs
index 7a0c718ef..f6fd770b8 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/MacCatalyst/Program.cs
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/Platforms/MacCatalyst/Program.cs
@@ -1,7 +1,7 @@
using ObjCRuntime;
using UIKit;
-namespace DevToys.MauiBlazor;
+namespace DevToys.MacOS;
public class Program
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/AppIcon/appicon.svg b/src/app/dev/platforms/desktop/DevToys.MacOS/Resources/AppIcon/appicon.svg
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/AppIcon/appicon.svg
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Resources/AppIcon/appicon.svg
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/AppIcon/appiconfg.svg b/src/app/dev/platforms/desktop/DevToys.MacOS/Resources/AppIcon/appiconfg.svg
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/AppIcon/appiconfg.svg
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Resources/AppIcon/appiconfg.svg
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Raw/AboutAssets.txt b/src/app/dev/platforms/desktop/DevToys.MacOS/Resources/Raw/AboutAssets.txt
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Raw/AboutAssets.txt
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Resources/Raw/AboutAssets.txt
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Splash/splash.svg b/src/app/dev/platforms/desktop/DevToys.MacOS/Resources/Splash/splash.svg
similarity index 100%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Splash/splash.svg
rename to src/app/dev/platforms/desktop/DevToys.MacOS/Resources/Splash/splash.svg
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/index.html b/src/app/dev/platforms/desktop/DevToys.MacOS/wwwroot/index.html
similarity index 50%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/index.html
rename to src/app/dev/platforms/desktop/DevToys.MacOS/wwwroot/index.html
index 2961d16f5..5f8821da5 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/index.html
+++ b/src/app/dev/platforms/desktop/DevToys.MacOS/wwwroot/index.html
@@ -6,12 +6,12 @@
<title>DevToys</title>
<base href="/" />
- <script src="js/require.js"></script>
- <script src="js/devtoys.js" type="text/javascript"></script>
- <script src="js/devtoys.g.js" type="text/javascript"></script>
+ <script src="_content/DevToys.Blazor/js/require.js"></script>
+ <script src="_content/DevToys.Blazor/js/devtoys.js" type="text/javascript"></script>
+ <script src="_content/DevToys.Blazor/js/devtoys.g.js" type="text/javascript"></script>
- <link href="css/app.css" rel="stylesheet" />
- <link href="css/devtoys.g.css" rel="stylesheet" />
+ <link href="_content/DevToys.Blazor/css/app.css" rel="stylesheet" />
+ <link href="_content/DevToys.Blazor/css/devtoys.g.css" rel="stylesheet" />
</head>
<body>
@@ -26,7 +26,9 @@
<a class="dismiss">🗙</a>
</div>
+ <!-- TODO: Looks like autostart isn't necessary and we can reuse the same file from the Windows project? -->
<script src="_framework/blazor.webview.js" autostart="false"></script>
+ <!-- <script src="_framework/blazor.webview.js"></script> -->
</body>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/App.xaml.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/App.xaml.cs
deleted file mode 100644
index 7b66a653b..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/App.xaml.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using DevToys.Api.Core.Theme;
-
-namespace DevToys.MauiBlazor;
-
-public partial class App : Application
-{
- public App()
- {
- InitializeComponent();
-
- // Apply the app color theme.
- MauiProgram.MefComposer.Value.Provider.Import<IThemeListener>().ApplyDesiredColorTheme();
-
- MainPage = new MainPage();
- }
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/macos/dark.scss b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/macos/dark.scss
deleted file mode 100644
index d899c8a6e..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Assets/sass/theme/macos/dark.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@mixin macos-dark {
- --text-fill-color-primary: rgba(255, 255, 255, 1);
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Clipboard/Clipboard.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Clipboard/Clipboard.cs
deleted file mode 100644
index be9217b5d..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Clipboard/Clipboard.cs
+++ /dev/null
@@ -1,99 +0,0 @@
-using DevToys.Api;
-using Microsoft.Extensions.Logging;
-using Uno.Extensions;
-#if __WINDOWS__
-using Windows.ApplicationModel.DataTransfer;
-using Windows.Storage;
-using Windows.Storage.Streams;
-#endif
-
-namespace DevToys.MauiBlazor.Core.Clipboard;
-
-[Export(typeof(Api.Core.IClipboard))]
-internal sealed partial class Clipboard : Api.Core.IClipboard
-{
- private readonly ILogger _logger;
-
- [ImportingConstructor]
- public Clipboard()
- {
- _logger = this.Log();
- }
-
- public async Task<object?> GetClipboardDataAsync()
- {
- try
- {
- if (Microsoft.Maui.ApplicationModel.DataTransfer.Clipboard.Default.HasText)
- {
- return await Microsoft.Maui.ApplicationModel.DataTransfer.Clipboard.Default.GetTextAsync();
- }
-#if __WINDOWS__
- else
- {
- return await MainThread.InvokeOnMainThreadAsync<object?>(async () =>
- {
- try
- {
- Windows.ApplicationModel.DataTransfer.DataPackageView package = Windows.ApplicationModel.DataTransfer.Clipboard.GetContent();
- if (package.Contains(StandardDataFormats.StorageItems))
- {
- IReadOnlyList<IStorageItem> storageItems = await package.GetStorageItemsAsync();
- var files = new List<FileInfo>();
- foreach (IStorageItem storageItem in storageItems)
- {
- files.Add(new FileInfo(storageItem.Path));
- }
- return files;
- }
- else if (package.Contains(StandardDataFormats.Bitmap))
- {
- RandomAccessStreamReference imageStreamRef = await package.GetBitmapAsync();
- using IRandomAccessStreamWithContentType streamWithContentType = await imageStreamRef.OpenReadAsync();
- using Stream stream = streamWithContentType.AsStream();
- return await SixLabors.ImageSharp.Image.LoadAsync(stream);
- }
- }
- catch (Exception ex)
- {
- LogGetClipboardFailed(ex);
- }
-
- return null;
- });
- }
-#elif __MACCATALYST__
- else
- {
- // TODO: On Mac, use AppKit API to get file and bitmap from clipboard.
- }
-#endif
- }
- catch (Exception ex)
- {
- LogGetClipboardFailed(ex);
- }
- return null;
- }
-
- public Task SetClipboardBitmapAsync(string? data)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- public Task SetClipboardFilesAsync(string? data)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- public Task SetClipboardTextAsync(string? data)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- [LoggerMessage(1, LogLevel.Warning, "Failed to retrieve the clipboard data.")]
- partial void LogGetClipboardFailed(Exception ex);
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/DevToys.MauiBlazor.csproj b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/DevToys.MauiBlazor.csproj
deleted file mode 100644
index f0268124f..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/DevToys.MauiBlazor.csproj
+++ /dev/null
@@ -1,134 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk.Razor">
-
- <PropertyGroup>
- <TargetFrameworks Condition="$(IsWindows)">$(NetCoreWindows)</TargetFrameworks>
- <TargetFrameworks Condition="$(IsMac)">$(NetMacCatalyst)</TargetFrameworks>
- <OutputType>Exe</OutputType>
- <RootNamespace>DevToys.MauiBlazor</RootNamespace>
- <UseMaui>true</UseMaui>
- <SingleProject>true</SingleProject>
- <EnableDefaultCssItems>false</EnableDefaultCssItems>
- <TypeScriptTarget>ES6</TypeScriptTarget>
-
- <!-- Display name -->
- <ApplicationTitle>DevToys</ApplicationTitle>
-
- <!-- App Identifier -->
- <ApplicationId>com.etiennebaudoux.devtoys</ApplicationId>
- <ApplicationIdGuid>856CF642-FDC7-42BE-A1D5-5D7F0FC09091</ApplicationIdGuid>
-
- <!-- Versions -->
- <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
- <ApplicationVersion>1</ApplicationVersion>
-
- <!-- Disable Central Package Management -->
- <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
- </PropertyGroup>
-
- <Choose>
- <When Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">
- <PropertyGroup>
- <DefineConstants>$(DefineConstants);__MACCATALYST__</DefineConstants>
- <RuntimeIdentifiers>maccatalyst-arm64</RuntimeIdentifiers>
- <UseInterpreter>true</UseInterpreter>
- <!-- TODO: Only do this in DEBUG build. -->
- <CodeSignEntitlements>Platforms/MacCatalyst/Entitlements.Debug.plist</CodeSignEntitlements>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'=='' AND '$(Configuration)'=='Release'">
- <!-- Default values for command line builds -->
- <RuntimeIdentifier>maccatalyst-arm64</RuntimeIdentifier>
- </PropertyGroup>
- </When>
-
- <When Condition="'$(TargetFramework)' == '$(NetCoreWindows)'">
- <PropertyGroup>
- <DefineConstants>$(DefineConstants);__WINDOWS__</DefineConstants>
- <TargetPlatformMinVersion>$(Windows10MinSDKVersion)</TargetPlatformMinVersion>
- <SupportedOSPlatformVersion>$(Windows10MinSDKVersion)</SupportedOSPlatformVersion>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)'=='Release'">
- <Platforms>x86;x64;arm64</Platforms>
- <RuntimeIdentifiers>win10-arm64;win10-x64;win10-x86</RuntimeIdentifiers>
- <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
- <AppxPackage>false</AppxPackage>
- <WindowsPackageType>None</WindowsPackageType>
- </PropertyGroup>
- </When>
- </Choose>
-
- <PropertyGroup Condition="'$(RuntimeIdentifierOverride)' != ''">
- <RuntimeIdentifier>$(RuntimeIdentifierOverride)</RuntimeIdentifier>
- </PropertyGroup>
-
- <ItemGroup>
- <!-- App Icon -->
- <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
-
- <!-- Splash Screen -->
- <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
-
- <!-- Images -->
- <MauiImage Include="Resources\Images\*" />
- <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
-
- <!-- Custom Fonts -->
- <MauiFont Include="Resources\Fonts\*" />
-
- <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
- <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
-
- <!-- TypeScript -->
- <ConfigFiles Include="tsconfig.json" />
- <Content Update="tsconfig.json" PublishFolderType="None" />
- <Content Update="package.json" PublishFolderType="None" ExcludeFromBundleResources="true" />
- <TypeScriptCompile Remove="**\*.ts" />
- <None Include="**\*.ts" />
- </ItemGroup>
-
- <ItemGroup>
- <Content Include="..\..\..\DevToys.MonacoEditor\monaco-editor\*" LinkBase="wwwroot\lib\monaco-editor\%(RecursiveDir)/%(Filename)%(Extension)" />
- <Content Include="..\..\..\DevToys.MonacoEditor\monaco-editor\min\**\*" Link="wwwroot\lib\monaco-editor\min\%(RecursiveDir)/%(Filename)%(Extension)" />
- <None Remove="node_modules\**" />
- <TypeScriptCompile Remove="node_modules\**" />
- <TypeScriptCompile Remove="wwwroot\lib\monaco-editor\**\*.*" />
- </ItemGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\..\..\DevToys.Api\DevToys.Api.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Core\DevToys.Core.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Business\DevToys.Business.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Localization\DevToys.Localization.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Tools\DevToys.Tools.csproj" />
- </ItemGroup>
-
- <ItemGroup>
- <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(DotNetVersion)" />
- <PackageReference Include="Microsoft.TypeScript.MSBuild" Version="$(MicrosoftTypeScriptMSBuildVersion)">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
- <PackageReference Include="SixLabors.ImageSharp" Version="$(SixLaborsImageSharpVersion)" />
- </ItemGroup>
-
- <!-- Target ran on `dotnet restore` -->
- <Target Name="NodeJsRestoreTarget" BeforeTargets="_GenerateRestoreProjectSpec">
- <!-- Verify that Node.JS is installed. -->
- <Exec Command="node --version" ContinueOnError="true">
- <Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
- </Exec>
- <Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
-
- <!-- Restore Node.JS dependencies. -->
- <Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
- <Exec WorkingDirectory="$(ProjectDir)" Command="npm install" />
- </Target>
-
- <!-- Target ran on `dotnet build` -->
- <Target Name="GulpPrecompileTarget" AfterTargets="PrepareForBuild">
- <!-- Run the Gulp tasks. -->
- <Message Importance="high" Text="Generating CSS and JavaScript..." />
- <Exec WorkingDirectory="$(ProjectDir)" Command="node_modules\.bin\gulp devtoysJavaScript" />
- <Exec WorkingDirectory="$(ProjectDir)" Command="node_modules\.bin\gulp devtoysSass" />
- </Target>
-
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/GlobalExceptionHandler.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/GlobalExceptionHandler.cs
deleted file mode 100644
index 2817da4cd..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/GlobalExceptionHandler.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-namespace DevToys.MauiBlazor;
-
-internal static class GlobalExceptionHandler
-{
-#if __WINDOWS__
- private static Exception? _lastFirstChanceException;
-#endif
-
- public static event UnhandledExceptionEventHandler? UnhandledException;
-
- static GlobalExceptionHandler()
- {
- // This is the normal event expected, and should still be used.
- // It will fire for exceptions from iOS and Mac Catalyst,
- // and for exceptions on background threads from WinUI 3.
-
- AppDomain.CurrentDomain.UnhandledException += (sender, args) =>
- {
- UnhandledException?.Invoke(sender, args);
- };
-
-#if __MACCATALYST__
-
- // For iOS and Mac Catalyst
- // Exceptions will flow through AppDomain.CurrentDomain.UnhandledException,
- // but we need to set UnwindNativeCode to get it to work correctly.
- //
- // See: https://github.com/xamarin/xamarin-macios/issues/15252
-
- ObjCRuntime.Runtime.MarshalManagedException += (_, args) =>
- {
- args.ExceptionMode = ObjCRuntime.MarshalManagedExceptionMode.UnwindNativeCode;
- };
-
-#elif __WINDOWS__
-
- // For WinUI 3:
- //
- // * Exceptions on background threads are caught by AppDomain.CurrentDomain.UnhandledException,
- // not by Microsoft.UI.Xaml.Application.Current.UnhandledException
- // See: https://github.com/microsoft/microsoft-ui-xaml/issues/5221
- //
- // * Exceptions caught by Microsoft.UI.Xaml.Application.Current.UnhandledException have details removed,
- // but that can be worked around by saved by trapping first chance exceptions
- // See: https://github.com/microsoft/microsoft-ui-xaml/issues/7160
- //
-
- AppDomain.CurrentDomain.FirstChanceException += (_, args) =>
- {
- _lastFirstChanceException = args.Exception;
- };
-
- Microsoft.UI.Xaml.Application.Current.UnhandledException += (sender, args) =>
- {
- Exception? exception = args.Exception;
-
- if (exception.StackTrace is null)
- {
- exception = _lastFirstChanceException;
- }
-
- if (exception is not null)
- {
- UnhandledException?.Invoke(sender, new UnhandledExceptionEventArgs(exception, true));
- }
- };
-#endif
- }
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MainPage.xaml.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MainPage.xaml.cs
deleted file mode 100644
index bb1b8acef..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MainPage.xaml.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace DevToys.MauiBlazor;
-
-public partial class MainPage : ContentPage
-{
- public MainPage()
- {
- InitializeComponent();
- }
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MauiProgram.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MauiProgram.cs
deleted file mode 100644
index 85527de6c..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/MauiProgram.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using DevToys.Api;
-using DevToys.Business.ViewModels;
-using DevToys.Core.Logging;
-using DevToys.Core.Mef;
-using DevToys.MauiBlazor.Core.FileStorage;
-using DevToys.MauiBlazor.Core.Languages;
-using DevToys.Tools;
-using Microsoft.Extensions.Logging;
-using Uno.Extensions;
-using PredefinedSettings = DevToys.Core.Settings.PredefinedSettings;
-
-namespace DevToys.MauiBlazor;
-
-public static partial class MauiProgram
-{
- internal static readonly Lazy<MefComposer> MefComposer
- = new(() => new MefComposer(
- new[] {
- typeof(DevToysToolsResourceManagerAssemblyIdentifier).Assembly,
- typeof(MainWindowViewModel).Assembly
- }));
-
- private static MauiApp? app;
-
- public static MauiApp CreateMauiApp()
- {
- MauiAppBuilder builder = MauiApp.CreateBuilder();
- builder.UseMauiApp<App>();
-
- builder.Services.AddMauiBlazorWebView();
-
-#if DEBUG
- builder.Services.AddBlazorWebViewDeveloperTools();
- builder.Logging.AddDebug();
-#endif
-
- builder.Logging.AddFilter("Microsoft", LogLevel.Warning);
- builder.Logging.AddFilter("System", LogLevel.Warning);
- builder.Logging.AddFile(new FileStorage());
-
- builder.Services.AddSingleton(provider => MefComposer.Value.Provider);
-
- MauiApp app = builder.Build();
-
- MauiProgram.app = app;
- GlobalExceptionHandler.UnhandledException += GlobalExceptionHandler_UnhandledException;
-
- ILoggerFactory loggerFactory = app.Services.GetRequiredService<ILoggerFactory>();
- global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = loggerFactory;
-
- app.Log().LogInformation("App is starting...");
-
- // Set the user-defined language.
- string? languageIdentifier = MefComposer.Value.Provider.Import<ISettingsProvider>().GetSetting(PredefinedSettings.Language);
- LanguageDefinition languageDefinition
- = LanguageManager.Instance.AvailableLanguages.FirstOrDefault(l => string.Equals(l.InternalName, languageIdentifier))
- ?? LanguageManager.Instance.AvailableLanguages[0];
- LanguageManager.Instance.SetCurrentCulture(languageDefinition);
-
- return app;
- }
-
- private static void GlobalExceptionHandler_UnhandledException(object sender, UnhandledExceptionEventArgs e)
- {
- Guard.IsNotNull(app);
- LogUnhandledException(app.Log(), (Exception)e.ExceptionObject);
- }
-
- [LoggerMessage(5, LogLevel.Critical, "Unhandled exception !!! (╯°□°)╯︵ ┻━┻")]
- static partial void LogUnhandledException(ILogger logger, Exception exception);
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/App.xaml b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/App.xaml
deleted file mode 100644
index 8276a161f..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/App.xaml
+++ /dev/null
@@ -1,8 +0,0 @@
-<maui:MauiWinUIApplication
- x:Class="DevToys.MauiBlazor.WinUI.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:maui="using:Microsoft.Maui"
- xmlns:local="using:DevToys.MauiBlazor.WinUI">
-
-</maui:MauiWinUIApplication>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/App.xaml.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/App.xaml.cs
deleted file mode 100644
index e5587f73e..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/App.xaml.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// To learn more about WinUI, the WinUI project structure,
-// and more about our project templates, see: http://aka.ms/winui-project-info.
-
-namespace DevToys.MauiBlazor.WinUI;
-
-/// <summary>
-/// Provides application-specific behavior to supplement the default Application class.
-/// </summary>
-public partial class App : MauiWinUIApplication
-{
- /// <summary>
- /// Initializes the singleton application object. This is the first line of authored code
- /// executed, and as such is the logical equivalent of main() or WinMain().
- /// </summary>
- public App()
- {
- this.InitializeComponent();
- }
-
- protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/Package.appxmanifest b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/Package.appxmanifest
deleted file mode 100644
index 00cc1df03..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/Package.appxmanifest
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Package
- xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
- xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
- xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
- xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
- IgnorableNamespaces="uap mp rescap">
-
- <!-- Please DO NOT commit changes on the version number below unless you're about to release a new version of the app on the Store. -->
- <Identity Name="DevToysMauiBlazor"
- Publisher="CN=ebaud"
- Version="0.0.0.0" />
-
- <mp:PhoneIdentity PhoneProductId="E9199B61-3B3B-4471-9E96-1ACFCA47E838" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
-
- <Properties>
- <DisplayName>DevToys - Preview</DisplayName>
- <PublisherDisplayName>etiennebaudoux</PublisherDisplayName>
- <Logo>$placeholder$.png</Logo>
- </Properties>
-
- <Dependencies>
- <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.19041.0" MaxVersionTested="10.0.19041.0" />
- <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.19041.0" MaxVersionTested="10.0.19041.0" />
- </Dependencies>
-
- <Resources>
- <Resource Language="x-generate" />
- </Resources>
-
- <Applications>
- <Application Id="App"
- Executable="$targetnametoken$.exe"
- EntryPoint="$targetentrypoint$">
- <uap:VisualElements
- DisplayName="$placeholder$"
- Description="$placeholder$"
- Square150x150Logo="$placeholder$.png"
- Square44x44Logo="$placeholder$.png"
- BackgroundColor="transparent">
- <uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
- <uap:SplashScreen Image="$placeholder$.png" />
- </uap:VisualElements>
- </Application>
- </Applications>
-
- <Capabilities>
- <rescap:Capability Name="runFullTrust" />
- </Capabilities>
-
-</Package>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/app.manifest b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/app.manifest
deleted file mode 100644
index 6ece5e6d2..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Platforms/Windows/app.manifest
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
- <assemblyIdentity version="1.0.0.0" name="DevToys.MauiBlazor.WinUI.app"/>
-
- <application xmlns="urn:schemas-microsoft-com:asm.v3">
- <windowsSettings>
- <!-- The combination of below two tags have the following effect:
- 1) Per-Monitor for >= Windows 10 Anniversary Update
- 2) System < Windows 10 Anniversary Update
- -->
- <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
- <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
- </windowsSettings>
- </application>
-</assembly>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Properties/launchSettings.json b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Properties/launchSettings.json
deleted file mode 100644
index edf8aadcc..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Properties/launchSettings.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "profiles": {
- "Windows Machine": {
- "commandName": "MsixPackage",
- "nativeDebugging": false
- }
- }
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Fonts/OpenSans-Regular.ttf b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Fonts/OpenSans-Regular.ttf
deleted file mode 100644
index 1fbd4ce1b..000000000
Binary files a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Fonts/OpenSans-Regular.ttf and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Images/dotnet_bot.svg b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Images/dotnet_bot.svg
deleted file mode 100644
index abfaff26a..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Resources/Images/dotnet_bot.svg
+++ /dev/null
@@ -1,93 +0,0 @@
-<svg width="419" height="519" viewBox="0 0 419 519" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M284.432 247.568L284.004 221.881C316.359 221.335 340.356 211.735 355.308 193.336C382.408 159.996 372.893 108.183 372.786 107.659L398.013 102.831C398.505 105.432 409.797 167.017 375.237 209.53C355.276 234.093 324.719 246.894 284.432 247.568Z" fill="#8A6FE8"/>
-<path d="M331.954 109.36L361.826 134.245C367.145 138.676 375.055 137.959 379.497 132.639C383.928 127.32 383.211 119.41 377.891 114.969L348.019 90.0842C342.7 85.6531 334.79 86.3702 330.348 91.6896C325.917 97.0197 326.634 104.929 331.954 109.36Z" fill="#8A6FE8"/>
-<path d="M407.175 118.062L417.92 94.2263C420.735 87.858 417.856 80.4087 411.488 77.5831C405.12 74.7682 397.67 77.6473 394.845 84.0156L383.831 108.461L407.175 118.062Z" fill="#8A6FE8"/>
-<path d="M401.363 105.175L401.234 69.117C401.181 62.1493 395.498 56.541 388.53 56.5945C381.562 56.648 375.954 62.3313 376.007 69.2989L376.018 96.11L401.363 105.175Z" fill="#8A6FE8"/>
-<path d="M386.453 109.071L378.137 73.9548C376.543 67.169 369.757 62.9628 362.971 64.5575C356.185 66.1523 351.979 72.938 353.574 79.7237L362.04 115.482L386.453 109.071Z" fill="#8A6FE8"/>
-<path d="M381.776 142.261C396.359 142.261 408.181 130.44 408.181 115.857C408.181 101.274 396.359 89.4527 381.776 89.4527C367.194 89.4527 355.372 101.274 355.372 115.857C355.372 130.44 367.194 142.261 381.776 142.261Z" fill="url(#paint0_radial)"/>
-<path d="M248.267 406.979C248.513 384.727 245.345 339.561 222.376 301.736L199.922 315.372C220.76 349.675 222.323 389.715 221.841 407.182C221.798 408.627 235.263 409.933 248.267 406.979Z" fill="url(#paint1_linear)"/>
-<path d="M221.841 406.936L242.637 406.84L262.052 518.065L220.311 518.258C217.132 518.269 214.724 515.711 214.938 512.532L221.841 406.936Z" fill="#522CD5"/>
-<path d="M306.566 488.814C310.173 491.661 310.109 495.782 309.831 500.127L308.964 513.452C308.803 515.839 306.727 517.798 304.34 517.809L260.832 518.012C258.125 518.023 256.08 515.839 256.262 513.142L256.551 499.335C256.883 494.315 255.192 492.474 251.307 487.744C244.649 479.663 224.967 435.62 226.84 406.925L248.256 406.829C249.691 423.858 272.167 461.682 306.566 488.814Z" fill="url(#paint2_linear)"/>
-<path d="M309.82 500.127C310.023 497.088 310.077 494.176 308.889 491.715L254.635 491.961C256.134 494.166 256.765 496.092 256.562 499.314L256.273 513.121C256.091 515.828 258.146 518.012 260.843 517.99L304.34 517.798C306.727 517.787 308.803 515.828 308.964 513.442L309.82 500.127Z" fill="url(#paint3_radial)"/>
-<path d="M133.552 407.471C133.103 385.22 135.864 340.021 158.49 301.993L181.073 315.425C160.545 349.921 159.346 389.972 159.989 407.428C160.042 408.884 146.578 410.318 133.552 407.471Z" fill="url(#paint4_linear)"/>
-<path d="M110.798 497.152C110.765 494.187 111.204 491.575 112.457 487.23C131.882 434.132 133.52 407.364 133.52 407.364L159.999 407.246C159.999 407.246 161.819 433.512 181.716 486.427C183.289 490.195 183.471 493.641 183.674 496.831L183.792 513.816C183.803 516.374 181.716 518.483 179.158 518.494L177.873 518.504L116.781 518.782L115.496 518.793C112.927 518.804 110.83 516.728 110.819 514.159L110.798 497.152Z" fill="url(#paint5_linear)"/>
-<path d="M110.798 497.152C110.798 496.67 110.808 496.199 110.83 495.739C110.969 494.262 111.643 492.603 114.875 492.582L180.207 492.282C182.561 492.367 183.343 494.176 183.589 495.311C183.621 495.814 183.664 496.328 183.696 496.82L183.813 513.806C183.824 515.411 183.011 516.824 181.769 517.669C181.031 518.172 180.132 518.472 179.179 518.483L177.895 518.494L116.802 518.772L115.528 518.782C114.244 518.793 113.077 518.269 112.232 517.434C111.386 516.599 110.862 515.432 110.851 514.148L110.798 497.152Z" fill="url(#paint6_radial)"/>
-<path d="M314.979 246.348C324.162 210.407 318.008 181.777 318.008 181.777L326.452 181.734L326.656 181.574C314.262 115.75 256.326 66.0987 186.949 66.4198C108.796 66.773 45.7233 130.424 46.0765 208.577C46.4297 286.731 110.08 349.803 188.234 349.45C249.905 349.172 302.178 309.474 321.304 254.343C321.872 251.999 321.797 247.804 314.979 246.348Z" fill="url(#paint7_radial)"/>
-<path d="M310.237 279.035L65.877 280.148C71.3998 289.428 77.95 298.012 85.3672 305.761L290.972 304.829C298.336 297.005 304.8 288.368 310.237 279.035Z" fill="#D8CFF7"/>
-<path d="M235.062 312.794L280.924 312.585L280.74 272.021L234.877 272.23L235.062 312.794Z" fill="#512BD4"/>
-<path d="M243.001 297.626C242.691 297.626 242.434 297.53 242.22 297.327C242.006 297.123 241.899 296.866 241.899 296.588C241.899 296.299 242.006 296.042 242.22 295.839C242.434 295.625 242.691 295.528 243.001 295.528C243.312 295.528 243.568 295.635 243.782 295.839C243.996 296.042 244.114 296.299 244.114 296.588C244.114 296.877 244.007 297.123 243.793 297.327C243.568 297.519 243.312 297.626 243.001 297.626Z" fill="white"/>
-<path d="M255.192 297.434H253.212L247.967 289.203C247.839 289 247.721 288.775 247.636 288.55H247.593C247.636 288.786 247.657 289.299 247.657 290.091L247.668 297.444H245.912L245.891 286.228H247.999L253.062 294.265C253.276 294.597 253.415 294.833 253.479 294.95H253.511C253.458 294.651 253.437 294.148 253.437 293.441L253.426 286.217H255.17L255.192 297.434Z" fill="white"/>
-<path d="M263.733 297.412L257.589 297.423L257.568 286.206L263.465 286.195V287.779L259.387 287.79L259.398 290.969L263.155 290.958V292.532L259.398 292.542L259.409 295.86L263.733 295.85V297.412Z" fill="white"/>
-<path d="M272.445 287.758L269.298 287.769L269.32 297.401H267.5L267.479 287.769L264.343 287.779V286.195L272.434 286.174L272.445 287.758Z" fill="white"/>
-<path d="M315.279 246.337C324.355 210.836 318.457 182.483 318.308 181.798L171.484 182.462C171.484 182.462 162.226 181.563 162.268 190.018C162.311 198.463 162.761 222.341 162.878 248.746C162.9 254.172 167.363 256.773 170.863 256.751C170.874 256.751 311.618 252.213 315.279 246.337Z" fill="url(#paint8_radial)"/>
-<path d="M227.685 246.798C227.685 246.798 250.183 228.827 254.571 225.499C258.959 222.17 262.812 221.977 266.869 225.445C270.925 228.913 293.616 246.498 293.616 246.498L227.685 246.798Z" fill="#A08BE8"/>
-<path d="M320.748 256.141C320.748 256.141 324.943 248.414 315.279 246.348C315.289 246.305 170.927 246.894 170.927 246.894C167.566 246.905 163.232 244.925 162.846 241.671C162.857 244.004 162.878 246.369 162.889 248.756C162.91 253.68 166.582 256.27 169.878 256.698C170.21 256.73 170.542 256.773 170.874 256.773L180.742 256.73L320.748 256.141Z" fill="#512BD4"/>
-<path d="M206.4 233.214C212.511 233.095 217.302 224.667 217.102 214.39C216.901 204.112 211.785 195.878 205.674 195.997C199.563 196.116 194.772 204.544 194.973 214.821C195.173 225.099 200.289 233.333 206.4 233.214Z" fill="#512BD4"/>
-<path d="M306.249 214.267C306.356 203.989 301.488 195.605 295.377 195.541C289.266 195.478 284.225 203.758 284.118 214.037C284.011 224.315 288.878 232.699 294.99 232.763C301.101 232.826 306.142 224.545 306.249 214.267Z" fill="#512BD4"/>
-<path d="M205.905 205.291C208.152 203.022 211.192 202.016 214.157 202.262C215.912 205.495 217.014 209.733 217.111 214.389C217.164 217.3 216.811 220.04 216.158 222.513C212.669 223.519 208.752 222.662 205.979 219.922C201.912 215.909 201.88 209.348 205.905 205.291Z" fill="#8065E0"/>
-<path d="M294.996 204.285C297.255 202.016 300.294 200.999 303.259 201.256C305.164 204.628 306.309 209.209 306.256 214.239C306.224 216.808 305.892 219.259 305.303 221.485C301.793 222.523 297.843 221.678 295.061 218.916C291.004 214.892 290.972 208.342 294.996 204.285Z" fill="#8065E0"/>
-<path d="M11.6342 357.017C10.9171 354.716 -5.72611 300.141 21.3204 258.903C36.9468 235.078 63.3083 221.035 99.6664 217.15L102.449 243.276C74.3431 246.273 54.4676 256.345 43.3579 273.202C23.0971 303.941 36.5722 348.733 36.7113 349.183L11.6342 357.017Z" fill="url(#paint9_linear)"/>
-<path d="M95.1498 252.802C109.502 252.802 121.137 241.167 121.137 226.815C121.137 212.463 109.502 200.828 95.1498 200.828C80.7976 200.828 69.1628 212.463 69.1628 226.815C69.1628 241.167 80.7976 252.802 95.1498 252.802Z" fill="url(#paint10_radial)"/>
-<path d="M72.0098 334.434L33.4683 329.307C26.597 328.397 20.2929 333.214 19.3725 340.085C18.4627 346.956 23.279 353.26 30.1504 354.181L68.6919 359.308C75.5632 360.217 81.8673 355.401 82.7878 348.53C83.6975 341.658 78.8705 335.344 72.0098 334.434Z" fill="#8A6FE8"/>
-<path d="M3.73535 367.185L7.35297 393.076C8.36975 399.968 14.7702 404.731 21.6629 403.725C28.5556 402.708 33.3185 396.308 32.3124 389.415L28.5984 362.861L3.73535 367.185Z" fill="#8A6FE8"/>
-<path d="M15.5194 374.988L34.849 405.427C38.6058 411.292 46.4082 413.005 52.2735 409.248C58.1387 405.491 59.8512 397.689 56.0945 391.823L41.7953 369.144L15.5194 374.988Z" fill="#8A6FE8"/>
-<path d="M26.0511 363.739L51.8026 389.019C56.7688 393.911 64.7532 393.846 69.6445 388.88C74.5358 383.914 74.4715 375.929 69.516 371.038L43.2937 345.297L26.0511 363.739Z" fill="#8A6FE8"/>
-<path d="M26.4043 381.912C40.987 381.912 52.8086 370.091 52.8086 355.508C52.8086 340.925 40.987 329.104 26.4043 329.104C11.8216 329.104 0 340.925 0 355.508C0 370.091 11.8216 381.912 26.4043 381.912Z" fill="url(#paint11_radial)"/>
-<path d="M184.73 63.6308L157.819 66.5892L158.561 38.5412L177.888 36.4178L184.73 63.6308Z" fill="#8A6FE8"/>
-<path d="M170.018 41.647C180.455 39.521 187.193 29.3363 185.067 18.8988C182.941 8.46126 172.757 1.72345 162.319 3.84944C151.882 5.97543 145.144 16.1601 147.27 26.5976C149.396 37.0351 159.58 43.773 170.018 41.647Z" fill="#D8CFF7"/>
-<path d="M196.885 79.385C198.102 79.2464 198.948 78.091 198.684 76.8997C195.851 64.2818 183.923 55.5375 170.773 56.9926C157.622 58.4371 147.886 69.5735 147.865 82.4995C147.863 83.7232 148.949 84.6597 150.168 84.5316L196.885 79.385Z" fill="url(#paint12_radial)"/>
-<defs>
-<radialGradient id="paint0_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(382.004 103.457) scale(26.4058)">
-<stop stop-color="#8065E0"/>
-<stop offset="1" stop-color="#512BD4"/>
-</radialGradient>
-<linearGradient id="paint1_linear" x1="214.439" y1="303.482" x2="236.702" y2="409.505" gradientUnits="userSpaceOnUse">
-<stop stop-color="#522CD5"/>
-<stop offset="0.4397" stop-color="#8A6FE8"/>
-</linearGradient>
-<linearGradient id="paint2_linear" x1="231.673" y1="404.144" x2="297.805" y2="522.048" gradientUnits="userSpaceOnUse">
-<stop stop-color="#522CD5"/>
-<stop offset="0.4397" stop-color="#8A6FE8"/>
-</linearGradient>
-<radialGradient id="paint3_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(280.957 469.555) rotate(-0.260742) scale(45.8326)">
-<stop offset="0.034" stop-color="#522CD5"/>
-<stop offset="0.9955" stop-color="#8A6FE8"/>
-</radialGradient>
-<linearGradient id="paint4_linear" x1="166.061" y1="303.491" x2="144.763" y2="409.709" gradientUnits="userSpaceOnUse">
-<stop stop-color="#522CD5"/>
-<stop offset="0.4397" stop-color="#8A6FE8"/>
-</linearGradient>
-<linearGradient id="paint5_linear" x1="146.739" y1="407.302" x2="147.246" y2="518.627" gradientUnits="userSpaceOnUse">
-<stop stop-color="#522CD5"/>
-<stop offset="0.4397" stop-color="#8A6FE8"/>
-</linearGradient>
-<radialGradient id="paint6_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(148.63 470.023) rotate(179.739) scale(50.2476)">
-<stop offset="0.034" stop-color="#522CD5"/>
-<stop offset="0.9955" stop-color="#8A6FE8"/>
-</radialGradient>
-<radialGradient id="paint7_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(219.219 153.929) rotate(179.739) scale(140.935)">
-<stop offset="0.4744" stop-color="#A08BE8"/>
-<stop offset="0.8618" stop-color="#8065E0"/>
-</radialGradient>
-<radialGradient id="paint8_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(314.861 158.738) rotate(179.739) scale(146.053)">
-<stop offset="0.0933" stop-color="#E1DFDD"/>
-<stop offset="0.6573" stop-color="white"/>
-</radialGradient>
-<linearGradient id="paint9_linear" x1="54.1846" y1="217.159" x2="54.1846" y2="357.022" gradientUnits="userSpaceOnUse">
-<stop offset="0.3344" stop-color="#9780E6"/>
-<stop offset="0.8488" stop-color="#8A6FE8"/>
-</linearGradient>
-<radialGradient id="paint10_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(90.3494 218.071) rotate(-0.260742) scale(25.9924)">
-<stop stop-color="#8065E0"/>
-<stop offset="1" stop-color="#512BD4"/>
-</radialGradient>
-<radialGradient id="paint11_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(25.805 345.043) scale(26.4106)">
-<stop stop-color="#8065E0"/>
-<stop offset="1" stop-color="#512BD4"/>
-</radialGradient>
-<radialGradient id="paint12_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(169.113 67.3662) rotate(-32.2025) scale(21.0773)">
-<stop stop-color="#8065E0"/>
-<stop offset="1" stop-color="#512BD4"/>
-</radialGradient>
-</defs>
-</svg>
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor.cs b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor.cs
deleted file mode 100644
index 6d28dc78c..000000000
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Shared/MainLayout.razor.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using DevToys.Api;
-using DevToys.Api.Core.Theme;
-
-namespace DevToys.MauiBlazor.Shared;
-
-public partial class MainLayout : LayoutComponentBase
-{
- [Inject]
- protected IMefProvider MefProvider { get; set; } = default!;
-
- [Import]
- private IThemeListener ThemeListener { get; set; } = default!;
-
- [Parameter]
- public string ThemeName { get; set; } = default!;
-
- [Parameter]
- public string Class { get; set; } = default!;
-
- protected override void OnInitialized()
- {
- MefProvider.SatisfyImports(this);
- base.OnInitialized();
- }
-
- protected override async Task OnAfterRenderAsync(bool firstRender)
- {
- if (firstRender)
- {
- ThemeListener.ThemeChanged += ThemeListener_ThemeChanged;
-
- ApplyTheme();
- }
-
- await base.OnAfterRenderAsync(firstRender);
- }
-
- private void ThemeListener_ThemeChanged(object? sender, EventArgs e)
- {
- ApplyTheme();
- }
-
- private void ApplyTheme()
- {
- Class = "theme-transition";
-
- string themeName;
- if (ThemeListener.ActualAppTheme == ApplicationTheme.Dark)
- {
- themeName = "windows-dark-theme";
- }
- else
- {
- themeName = "windows-light-theme";
- }
-
- ThemeName = themeName;
- StateHasChanged();
-
- Task.Delay(1000).ContinueWith(t =>
- {
- InvokeAsync(() =>
- {
- Class = "";
- StateHasChanged();
- });
- });
- }
-}
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.ttf b/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.ttf
deleted file mode 100644
index 5a64afb3a..000000000
Binary files a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/wwwroot/fonts/FluentSystemIcons-Regular.ttf and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/App.xaml b/src/app/dev/platforms/desktop/DevToys.Windows/App.xaml
new file mode 100644
index 000000000..6fd2d03d0
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/App.xaml
@@ -0,0 +1,5 @@
+<Application x:Class="DevToys.Windows.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ StartupUri="MainWindow.xaml">
+</Application>
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/App.xaml.cs b/src/app/dev/platforms/desktop/DevToys.Windows/App.xaml.cs
new file mode 100644
index 000000000..0975c759c
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/App.xaml.cs
@@ -0,0 +1,9 @@
+using System.Windows;
+
+namespace DevToys.Windows;
+/// <summary>
+/// Interaction logic for App.xaml
+/// </summary>
+public partial class App : Application
+{
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Controls/HwndHostEx.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/HwndHostEx.cs
new file mode 100644
index 000000000..57553281c
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/HwndHostEx.cs
@@ -0,0 +1,32 @@
+using System.Runtime.InteropServices;
+using System.Windows.Interop;
+using DevToys.Windows.Native;
+
+namespace DevToys.Windows.Controls;
+
+internal sealed class HwndHostEx : HwndHost
+{
+ private readonly nint _childHandle;
+
+ public HwndHostEx(nint handle)
+ {
+ _childHandle = handle;
+ }
+
+ protected override HandleRef BuildWindowCore(HandleRef windowHandleParent)
+ {
+ var handleRef = new HandleRef();
+
+ if (_childHandle != IntPtr.Zero)
+ {
+ NativeMethods.SetWindowAsChildOf(_childHandle, windowHandleParent.Handle);
+ handleRef = new HandleRef(this, _childHandle);
+ }
+
+ return handleRef;
+ }
+
+ protected override void DestroyWindowCore(HandleRef hwnd)
+ {
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Controls/MicaWindowWithOverlay.xaml b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/MicaWindowWithOverlay.xaml
new file mode 100644
index 000000000..dda9ad09b
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/MicaWindowWithOverlay.xaml
@@ -0,0 +1,217 @@
+<ResourceDictionary
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:controls="clr-namespace:DevToys.Windows.Controls">
+
+ <LinearGradientBrush x:Key="ControlElevationBorder" MappingMode="Absolute" StartPoint="0,0" EndPoint="0,3">
+ <LinearGradientBrush.GradientStops>
+ <GradientStop Offset="0.33" Color="{DynamicResource ControlStrokeColorSecondary}" />
+ <GradientStop Offset="1.0" Color="{DynamicResource ControlStrokeColorDefault}" />
+ </LinearGradientBrush.GradientStops>
+ </LinearGradientBrush>
+
+ <Style x:Key="MicaWindowWithOverlayButtonStyle" TargetType="{x:Type Button}">
+ <Setter Property="Focusable" Value="False" />
+ <Setter Property="Background" Value="{DynamicResource FakeTransparentColor}" />
+ <Setter Property="HorizontalContentAlignment" Value="Center" />
+ <Setter Property="VerticalContentAlignment" Value="Center" />
+ <Setter Property="Padding" Value="1" />
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type Button}">
+ <Grid Background="{TemplateBinding Background}">
+ <ContentPresenter
+ x:Name="contentPresenter"
+ Margin="{TemplateBinding Padding}"
+ HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+ VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
+ RecognizesAccessKey="True"
+ SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+ </Grid>
+ <ControlTemplate.Triggers>
+ <Trigger Property="IsMouseOver" Value="True">
+ <Setter Property="Background" Value="{StaticResource ControlElevationBorder}" />
+ </Trigger>
+ <Trigger Property="IsPressed" Value="True">
+ <Setter Property="Background" Value="{StaticResource ControlElevationBorder}" />
+ <Setter TargetName="contentPresenter" Property="Opacity" Value=".5" />
+ </Trigger>
+ <Trigger Property="IsEnabled" Value="false">
+ <Setter TargetName="contentPresenter" Property="Opacity" Value=".5" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+
+ <Style x:Key="MicaWindowWithOverlayCloseButtonStyle" TargetType="{x:Type Button}">
+ <Setter Property="Focusable" Value="False" />
+ <Setter Property="Background" Value="{DynamicResource FakeTransparentColor}" />
+ <Setter Property="HorizontalContentAlignment" Value="Center" />
+ <Setter Property="VerticalContentAlignment" Value="Center" />
+ <Setter Property="Padding" Value="1" />
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type Button}">
+ <Grid Background="{TemplateBinding Background}">
+ <ContentPresenter
+ x:Name="contentPresenter"
+ Margin="{TemplateBinding Padding}"
+ HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+ VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
+ RecognizesAccessKey="True"
+ SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+ </Grid>
+ <ControlTemplate.Triggers>
+ <Trigger Property="IsMouseOver" Value="True">
+ <Setter Property="Background" Value="#C42B1C" />
+ <Setter Property="Foreground" Value="#FFFFFF" />
+ </Trigger>
+ <Trigger Property="IsPressed" Value="True">
+ <Setter Property="Background" Value="#B4271C" />
+ <Setter Property="Foreground" Value="#C5FFFFFF" />
+ </Trigger>
+ <Trigger Property="IsEnabled" Value="false">
+ <Setter TargetName="contentPresenter" Property="Opacity" Value=".5" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+
+ <Style x:Key="MicaWindowWithOverlayStyle" TargetType="{x:Type controls:MicaWindowWithOverlay}">
+ <Setter Property="Focusable" Value="False" />
+ <Setter Property="ResizeMode" Value="CanResize" />
+ <Setter Property="UseLayoutRounding" Value="True" />
+ <Setter Property="OverridesDefaultStyle" Value="True" />
+ <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
+ <Setter Property="SnapsToDevicePixels" Value="true" />
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type controls:MicaWindowWithOverlay}">
+ <Border
+ x:Name="WindowBorder"
+ BorderThickness="2"
+ CornerRadius="0">
+ <Grid Margin="-1">
+ <AdornerDecorator>
+ <Grid Margin="{TemplateBinding MarginMaximized}">
+ <ContentPresenter />
+
+ <controls:OverlayControl
+ x:Name="TitleBar"
+ VerticalAlignment="Top"
+ Height="32">
+ <Grid
+ VerticalAlignment="Top"
+ Height="32">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="{TemplateBinding TitleBarMarginLeft}"/>
+ <ColumnDefinition Width="*"/>
+ <ColumnDefinition Width="{TemplateBinding TitleBarMarginRight}"/>
+ <ColumnDefinition Width="Auto"/>
+ </Grid.ColumnDefinitions>
+ <Border
+ x:Name="DraggableTitleBarArea"
+ Grid.Column="1"
+ Background="{DynamicResource FakeTransparentColor}"/>
+ <StackPanel
+ Grid.Column="3"
+ Orientation="Horizontal">
+ <Button
+ x:Name="MinimizeButton"
+ Style="{StaticResource MicaWindowWithOverlayButtonStyle}"
+ ToolTip="Minimize">
+ <Button.Content>
+ <Grid Width="46" Height="32">
+ <Path
+ Width="10"
+ Height="10"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M1 0.5 L0 0.5"
+ Stretch="Uniform"
+ Stroke="{DynamicResource Foreground}"
+ StrokeThickness="1" />
+ </Grid>
+ </Button.Content>
+ </Button>
+ <Button
+ x:Name="RestoreButton"
+ Style="{StaticResource MicaWindowWithOverlayButtonStyle}"
+ WindowChrome.IsHitTestVisibleInChrome="True"
+ Visibility="Collapsed">
+ <Button.Content>
+ <Grid Width="46" Height="32" UseLayoutRounding="True">
+ <Path
+ Width="10"
+ Height="10"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M0 0.2 L0.8 0.2 M0 01 L0.8 1 M0.8 1 L0.8 0.2 M0 0.2 L0 1 M0.3 0 L0.95 0 M01 0.05 L1 0.7"
+ Stretch="Uniform"
+ Stroke="{DynamicResource Foreground}"
+ StrokeThickness="1" />
+ </Grid>
+ </Button.Content>
+ </Button>
+ <Button
+ x:Name="MaximizeButton"
+ Style="{StaticResource MicaWindowWithOverlayButtonStyle}"
+ WindowChrome.IsHitTestVisibleInChrome="True">
+ <Button.Content>
+ <Grid Width="46" Height="32">
+ <Path
+ Width="10"
+ Height="10"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M0.025 0 L0.975 0 M0.025 1 L0.975 1 M1 0.975 L1 0.025 M0 0.025 L0 0.975"
+ Stretch="Uniform"
+ Stroke="{DynamicResource Foreground}"
+ StrokeThickness="1" />
+ </Grid>
+ </Button.Content>
+ </Button>
+ <Button
+ x:Name="CloseButton"
+ Style="{StaticResource MicaWindowWithOverlayCloseButtonStyle}"
+ ToolTip="Close">
+ <Button.Content>
+ <Grid Width="46" Height="32">
+ <Path
+ Width="10"
+ Height="10"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M0,0 L1,1 M0,1 L1,0"
+ Stretch="Uniform"
+ Stroke="{DynamicResource Foreground}"
+ StrokeThickness="1" />
+ </Grid>
+ </Button.Content>
+ </Button>
+ </StackPanel>
+ </Grid>
+ </controls:OverlayControl>
+ </Grid>
+ </AdornerDecorator>
+ </Grid>
+ </Border>
+ <ControlTemplate.Triggers>
+ <Trigger Property="WindowState" Value="Maximized">
+ <Setter TargetName="MaximizeButton" Property="Visibility" Value="Collapsed" />
+ <Setter TargetName="RestoreButton" Property="Visibility" Value="Visible" />
+ </Trigger>
+ <Trigger Property="WindowState" Value="Normal">
+ <Setter TargetName="MaximizeButton" Property="Visibility" Value="Visible" />
+ <Setter TargetName="RestoreButton" Property="Visibility" Value="Collapsed" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+</ResourceDictionary>
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Controls/MicaWindowWithOverlay.xaml.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/MicaWindowWithOverlay.xaml.cs
new file mode 100644
index 000000000..cc7066d59
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/MicaWindowWithOverlay.xaml.cs
@@ -0,0 +1,412 @@
+using System.Windows;
+using System.Windows.Automation.Peers;
+using System.Windows.Automation.Provider;
+using System.Windows.Controls;
+using System.Windows.Input;
+using System.Windows.Interop;
+using System.Windows.Media;
+using System.Windows.Shell;
+using DevToys.Api;
+using DevToys.Windows.Native;
+
+namespace DevToys.Windows.Controls;
+
+public abstract partial class MicaWindowWithOverlay : Window
+{
+ private readonly Lazy<Version> _windowsVersion
+ = new(() =>
+ {
+ if (NativeMethods.RtlGetVersion(out OSVERSIONINFOEX osv) != 0)
+ {
+ throw new PlatformNotSupportedException("This app can only run on Windows.");
+ }
+
+ return new Version(osv.MajorVersion, osv.MinorVersion, osv.BuildNumber, osv.Revision);
+ });
+
+ private readonly ResourceDictionary _resourceDictionary;
+ protected IThemeListener? _themeListener;
+ private Button? _restoreButton;
+ private Button? _maximizeButton;
+
+ protected MicaWindowWithOverlay()
+ {
+ _resourceDictionary = new ResourceDictionary
+ {
+ Source = new Uri("/DevToys.Windows;component/Controls/MicaWindowWithOverlay.xaml", UriKind.RelativeOrAbsolute)
+ };
+
+ Style = _resourceDictionary["MicaWindowWithOverlayStyle"] as Style;
+
+ ApplyResizeBorderThickness();
+
+ Closed += MicaWindowWithOverlay_Closed;
+ }
+
+ internal static readonly DependencyProperty TitleBarMarginLeftProperty
+ = DependencyProperty.Register(
+ nameof(TitleBarMarginLeft),
+ typeof(GridLength),
+ typeof(MicaWindowWithOverlay));
+
+ internal GridLength TitleBarMarginLeft
+ {
+ get => (GridLength)GetValue(MarginMaximizedProperty);
+ set => SetValue(MarginMaximizedProperty, value);
+ }
+
+ internal static readonly DependencyProperty TitleBarMarginRightProperty
+ = DependencyProperty.Register(
+ nameof(TitleBarMarginRight),
+ typeof(GridLength),
+ typeof(MicaWindowWithOverlay));
+
+ internal GridLength TitleBarMarginRight
+ {
+ get => (GridLength)GetValue(MarginMaximizedProperty);
+ set => SetValue(MarginMaximizedProperty, value);
+ }
+
+ internal static readonly DependencyProperty MarginMaximizedProperty
+ = DependencyProperty.Register(
+ nameof(MarginMaximized),
+ typeof(Thickness),
+ typeof(MicaWindowWithOverlay));
+
+ internal Thickness? MarginMaximized
+ {
+ get => (Thickness)GetValue(MarginMaximizedProperty);
+ set => SetValue(MarginMaximizedProperty, value);
+ }
+
+ public override void OnApplyTemplate()
+ {
+ base.OnApplyTemplate();
+
+ var closeButton = (Button)Template.FindName("CloseButton", this);
+ var minimizeButton = (Button)Template.FindName("MinimizeButton", this);
+ _restoreButton = (Button)Template.FindName("RestoreButton", this);
+ _maximizeButton = (Button)Template.FindName("MaximizeButton", this);
+ var draggableTitleBarArea = (Border)Template.FindName("DraggableTitleBarArea", this);
+ var overlayControl = (OverlayControl)Template.FindName("TitleBar", this);
+
+ closeButton.Click += CloseButton_Click;
+ minimizeButton.Click += MinimizeButton_Click;
+ _restoreButton.Click += RestoreButton_Click;
+ _maximizeButton.Click += MaximizeButton_Click;
+ draggableTitleBarArea.MouseLeftButtonDown += DraggableTitleBarArea_MouseLeftButtonDown;
+ draggableTitleBarArea.MouseRightButtonUp += DraggableTitleBarArea_MouseRightButtonUp;
+ this.PreviewKeyDown += MicaWindowWithOverlay_PreviewKeyDown;
+ overlayControl.WndProc = WndProc;
+ }
+
+ protected override void OnSourceInitialized(EventArgs e)
+ {
+ base.OnSourceInitialized(e);
+
+ Guard.IsNotNull(_themeListener);
+ _themeListener.ThemeChanged += OnAppThemeChanged;
+
+ ApplyWindowAppearance();
+ }
+
+ protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
+ {
+ if (e.Property.Name is nameof(WindowState))
+ {
+ ApplyResizeBorderThickness();
+ }
+
+ base.OnPropertyChanged(e);
+ }
+
+ private void MicaWindowWithOverlay_Closed(object? sender, EventArgs e)
+ {
+ var overlayControl = (OverlayControl)Template.FindName("TitleBar", this);
+ overlayControl.Dispose();
+ }
+
+ private void MicaWindowWithOverlay_PreviewKeyDown(object sender, KeyEventArgs e)
+ {
+ if (Keyboard.Modifiers == ModifierKeys.Alt && e.Key == Key.Space)
+ {
+ // Show system context menu on Alt + Space.
+ e.Handled = true;
+ SystemCommands.ShowSystemMenu(this, this.PointToScreen(new Point(0, 0)));
+ }
+ }
+
+ private void CloseButton_Click(object sender, RoutedEventArgs e)
+ {
+ SystemCommands.CloseWindow(this);
+ }
+
+ private void MaximizeButton_Click(object sender, RoutedEventArgs e)
+ {
+ SystemCommands.MaximizeWindow(this);
+ }
+
+ private void MinimizeButton_Click(object sender, RoutedEventArgs e)
+ {
+ SystemCommands.MinimizeWindow(this);
+ }
+
+ private void RestoreButton_Click(object sender, RoutedEventArgs e)
+ {
+ SystemCommands.RestoreWindow(this);
+ }
+
+ private void DraggableTitleBarArea_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
+ {
+ if (e.ClickCount == 2)
+ {
+ // Toggle Maximize / Normal state.
+ if (WindowState == WindowState.Maximized)
+ {
+ SystemCommands.RestoreWindow(this);
+ }
+ else
+ {
+ SystemCommands.MaximizeWindow(this);
+ }
+ }
+ else
+ {
+ // Move the window.
+ DragMove();
+ }
+ }
+
+ private void DraggableTitleBarArea_MouseRightButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ // Show system context menu on right click.
+ SystemCommands.ShowSystemMenu(this, this.PointToScreen(Mouse.GetPosition(this)));
+ }
+
+ private void OnAppThemeChanged(object? sender, EventArgs e)
+ {
+ ApplyWindowAppearance();
+ }
+
+ private (nint, bool) WndProc(nint hwnd, int msg, nint wParam, nint lParam)
+ {
+ bool handled = false;
+
+ // Handle Windows 11's Snap Layout.
+ if (msg == HwndSourceMessages.WM_NCHITTEST)
+ {
+ bool isWindow11_OrGreater = _windowsVersion.Value >= new Version(10, 0, 22000);
+ if (isWindow11_OrGreater & SnapLayoutHelper.IsSnapLayoutEnabled())
+ {
+ nint result = ShowSnapLayout(lParam, ref handled);
+ return (result, handled);
+ }
+ }
+ else if (msg == HwndSourceMessages.WM_NCLBUTTONDOWN)
+ {
+ HandleClickOnMaximizeAndRestoreButon(lParam, ref handled);
+ }
+
+ return (nint.Zero, handled);
+ }
+
+ private void ApplyWindowAppearance()
+ {
+ // Apply the dark / light theme.
+ UpdateTheme();
+
+ bool isWindow10_17763_OrHigher = _windowsVersion.Value >= new Version(10, 0, 17763);
+
+ // If Windows 10 17763 or higher
+ if (isWindow10_17763_OrHigher)
+ {
+ nint windowHandle = new WindowInteropHelper(this).EnsureHandle();
+
+ // Extends the window frame into the client area.
+ ExtendWindowFrameIntoClientArea(windowHandle);
+
+ // Hide all the window buttons (minimize, maximize, close). We will replace them by some custom one that will
+ // live in an overlay window staying on top of the current one.
+ // The reason why is that we will extend the web view to take the whole window space so the Back Button is at the top
+ // left hand corner of the window. Unfortunately, Web View has an issue where we can't click on anything on top of it,
+ // included the window buttons.
+ // See https://github.com/MicrosoftEdge/WebView2Feedback/issues/286
+ NativeMethods.HideAllWindowButton(windowHandle);
+
+ // Apply the backdrop color + mica if possible.
+ ApplyBackdrop(windowHandle);
+ }
+ }
+
+ private void ExtendWindowFrameIntoClientArea(nint windowHandle)
+ {
+ var mainWindowSrc = HwndSource.FromHwnd(windowHandle);
+
+ Background = new SolidColorBrush(Color.FromArgb(0, 0, 0, 0));
+ mainWindowSrc.CompositionTarget.BackgroundColor = Color.FromArgb(0, 0, 0, 0);
+
+ var margins = new MARGINS
+ {
+ cxLeftWidth = -1,
+ cxRightWidth = -1,
+ cyTopHeight = -1,
+ cyBottomHeight = -1
+ };
+
+ NativeMethods.ExtendFrame(mainWindowSrc.Handle, margins);
+ }
+
+ private void ApplyBackdrop(nint windowHandle)
+ {
+ Guard.IsNotNull(_themeListener);
+ bool isWindow11_22523_OrGreater = _windowsVersion.Value >= new Version(10, 0, 22523);
+ bool isWindow11_OrGreater = _windowsVersion.Value >= new Version(10, 0, 22000);
+
+ if (_themeListener.ActualAppTheme == ApplicationTheme.Dark)
+ {
+ NativeMethods.SetWindowAttribute(windowHandle, DWMWINDOWATTRIBUTE.DWMWA_USE_IMMERSIVE_DARK_MODE, DwmValues.True);
+ }
+ else
+ {
+ NativeMethods.SetWindowAttribute(windowHandle, DWMWINDOWATTRIBUTE.DWMWA_USE_IMMERSIVE_DARK_MODE, DwmValues.False);
+ }
+
+ if (isWindow11_22523_OrGreater)
+ {
+ const int Mica = 2;
+ NativeMethods.SetWindowAttribute(windowHandle, DWMWINDOWATTRIBUTE.DWMWA_SYSTEMBACKDROP_TYPE, Mica);
+ }
+ else if (isWindow11_OrGreater)
+ {
+ NativeMethods.SetWindowAttribute(windowHandle, DWMWINDOWATTRIBUTE.DWMWA_MICA_EFFECT, DwmValues.True);
+ }
+ }
+
+ private void ApplyResizeBorderThickness()
+ {
+ bool isWindow11_OrGreater = _windowsVersion.Value >= new Version(10, 0, 22000);
+ int cornerRadius = isWindow11_OrGreater ? 8 : 0;
+
+ MarginMaximized = WindowState == WindowState.Maximized ? new Thickness(6) : new Thickness(0);
+
+ if (WindowState == WindowState.Maximized || ResizeMode == ResizeMode.NoResize)
+ {
+ WindowChrome.SetWindowChrome(this, new WindowChrome()
+ {
+ CaptionHeight = 0,
+ CornerRadius = new CornerRadius(cornerRadius),
+ GlassFrameThickness = new Thickness(-1),
+ ResizeBorderThickness = new Thickness(0)
+ });
+ }
+ else
+ {
+ WindowChrome.SetWindowChrome(this, new WindowChrome()
+ {
+ CaptionHeight = 0,
+ CornerRadius = new CornerRadius(cornerRadius),
+ GlassFrameThickness = new Thickness(-1),
+ ResizeBorderThickness = new Thickness(6)
+ });
+ }
+ }
+
+ private void UpdateTheme()
+ {
+ Guard.IsNotNull(_themeListener);
+ string themeResourceDictionaryPath;
+ string themeResourceDictionaryToRemovePath;
+ if (_themeListener.ActualAppTheme == ApplicationTheme.Dark)
+ {
+ themeResourceDictionaryPath = "/DevToys.Windows;component/Themes/Dark.xaml";
+ themeResourceDictionaryToRemovePath = "/DevToys.Windows;component/Themes/Light.xaml";
+ }
+ else
+ {
+ themeResourceDictionaryPath = "/DevToys.Windows;component/Themes/Light.xaml";
+ themeResourceDictionaryToRemovePath = "/DevToys.Windows;component/Themes/Dark.xaml";
+ }
+
+ var resourceDictionary = new ResourceDictionary
+ {
+ Source = new Uri(themeResourceDictionaryPath, UriKind.RelativeOrAbsolute)
+ };
+ var resourceDictionaryToRemove = new ResourceDictionary
+ {
+ Source = new Uri(themeResourceDictionaryToRemovePath, UriKind.RelativeOrAbsolute)
+ };
+
+ System.Collections.ObjectModel.Collection<ResourceDictionary> dictionaries = Application.Current.Resources.MergedDictionaries;
+ dictionaries.Remove(resourceDictionaryToRemove);
+ dictionaries.Add(resourceDictionary);
+ UpdateLayout();
+
+ bool isWindow10_17763_OrLower = _windowsVersion.Value < new Version(10, 0, 17763);
+
+ // If Windows 10 17763 or lower
+ if (isWindow10_17763_OrLower)
+ {
+ // Todo: Based on the app theme, apply a Background color to the Window.
+ }
+ }
+
+ private nint ShowSnapLayout(nint lParam, ref bool handled)
+ {
+ short x = (short)(lParam.ToInt32() & 0xffff);
+ int y = lParam.ToInt32() >> 16;
+ var point = new Point(x, y);
+ double DPI_SCALE = DpiHelper.LogicalToDeviceUnitsScalingFactorX;
+
+ Button? button = WindowState == WindowState.Maximized ? _restoreButton : _maximizeButton;
+ Guard.IsNotNull(button);
+ if (button.IsVisible)
+ {
+ var buttonSize = new Size(button.ActualWidth * DPI_SCALE, button.ActualHeight * DPI_SCALE);
+ Point buttonLocation = button.PointToScreen(new Point());
+ var rect = new Rect(buttonLocation, buttonSize);
+
+ handled = rect.Contains(point);
+ if (handled)
+ {
+ var color = (LinearGradientBrush)_resourceDictionary["ControlElevationBorder"];
+ button.Background = color;
+ }
+ else
+ {
+ button.Background = (SolidColorBrush)Application.Current.Resources["FakeTransparentColor"];
+ }
+
+ const int HTMAXBUTTON = 9;
+ return new nint(HTMAXBUTTON);
+ }
+
+ return nint.Zero;
+ }
+
+ private void HandleClickOnMaximizeAndRestoreButon(nint lParam, ref bool handled)
+ {
+ int x = lParam.ToInt32() & 0xffff;
+ int y = lParam.ToInt32() >> 16;
+
+ double DPI_SCALE = DpiHelper.LogicalToDeviceUnitsScalingFactorX;
+
+ Button? button = WindowState == WindowState.Maximized ? _restoreButton : _maximizeButton;
+ Guard.IsNotNull(button);
+ if (!button.IsVisible)
+ {
+ return;
+ }
+
+ var rect = new Rect(button.PointToScreen(
+ new Point()),
+ new Size(button.ActualWidth * DPI_SCALE, button.ActualHeight * DPI_SCALE));
+ if (!rect.Contains(new Point(x, y)))
+ {
+ return;
+ }
+
+ handled = true;
+ var invokeProv = new ButtonAutomationPeer(button).GetPattern(PatternInterface.Invoke) as IInvokeProvider;
+ invokeProv?.Invoke();
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayControl.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayControl.cs
new file mode 100644
index 000000000..caf329d30
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayControl.cs
@@ -0,0 +1,50 @@
+using System.Windows.Controls;
+using System.Windows.Interop;
+
+namespace DevToys.Windows.Controls;
+
+internal sealed class OverlayControl : ContentControl, IDisposable
+{
+ private OverlayWindow? _overlayWindow;
+ private HwndHostEx? _host;
+
+ public OverlayControl()
+ {
+ Loaded += OverlayControl_Loaded;
+ }
+
+ internal Func<nint, int, nint, nint, (nint, bool)>? WndProc { get; set; }
+
+ private void OverlayControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
+ {
+ object content = Content;
+
+ _overlayWindow = new OverlayWindow
+ {
+ Content = content,
+ WndProcHandler = WndProcHandler
+ };
+ _overlayWindow.Show();
+
+ IntPtr windowHandle = new WindowInteropHelper(_overlayWindow).Handle;
+
+ _host = new HwndHostEx(windowHandle);
+ Content = _host;
+ }
+
+ public void Dispose()
+ {
+ _host?.Dispose();
+ _overlayWindow?.Close();
+ }
+
+ private (nint, bool) WndProcHandler(nint hwnd, int msg, nint wParam, nint lParam)
+ {
+ if (WndProc is not null)
+ {
+ return WndProc(hwnd, msg, wParam, lParam);
+ }
+
+ return (IntPtr.Zero, false);
+ }
+}
diff --git a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIButtonPresenter.xaml b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayWindow.xaml
similarity index 56%
rename from src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIButtonPresenter.xaml
rename to src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayWindow.xaml
index 0da823c40..23a981ea5 100644
--- a/src/app/dev/DevToys.UI.Framework/Controls/GuiTool/UIButtonPresenter.xaml
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayWindow.xaml
@@ -1,11 +1,12 @@
-<Button
- x:Class="DevToys.UI.Framework.Controls.GuiTool.UIButtonPresenter"
+<Window
+ x:Class="DevToys.Windows.Controls.OverlayWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys.UI.Framework.Controls.GuiTool"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
- Style="{ThemeResource CustomButtonStyle}"
- Click="OnButton_Click">
-</Button>
+ AllowsTransparency="True"
+ Background="Transparent"
+ WindowStyle="None"
+ ShowInTaskbar="False">
+</Window>
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayWindow.xaml.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayWindow.xaml.cs
new file mode 100644
index 000000000..3d8745613
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Controls/OverlayWindow.xaml.cs
@@ -0,0 +1,35 @@
+using System.Windows;
+using System.Windows.Interop;
+
+namespace DevToys.Windows.Controls;
+
+public partial class OverlayWindow : Window
+{
+ public OverlayWindow()
+ {
+ InitializeComponent();
+ }
+
+ internal Func<nint, int, nint, nint, (nint, bool)>? WndProcHandler { get; set; }
+
+ protected override void OnSourceInitialized(EventArgs e)
+ {
+ nint windowHandle = new WindowInteropHelper(this).Handle;
+ var hwndSource = HwndSource.FromHwnd(windowHandle);
+ hwndSource.AddHook(new HwndSourceHook(WndProc));
+
+ base.OnSourceInitialized(e);
+ }
+
+ private nint WndProc(nint hwnd, int msg, nint wParam, nint lParam, ref bool handled)
+ {
+ if (WndProcHandler is not null)
+ {
+ (nint result, bool h) = WndProcHandler(hwnd, msg, wParam, lParam);
+ handled = h;
+ return result;
+ }
+
+ return IntPtr.Zero;
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Core/Clipboard.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/Clipboard.cs
new file mode 100644
index 000000000..19a83febf
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/Clipboard.cs
@@ -0,0 +1,79 @@
+using System.IO;
+using System.Windows.Threading;
+using DevToys.Windows.Helpers;
+using Microsoft.Extensions.Logging;
+using Uno.Extensions;
+
+namespace DevToys.Windows.Core;
+
+[Export(typeof(Api.IClipboard))]
+internal sealed partial class Clipboard : Api.IClipboard
+{
+ private readonly ILogger _logger;
+
+ [ImportingConstructor]
+ public Clipboard()
+ {
+ _logger = this.Log();
+ }
+
+ public Task<object?> GetClipboardDataAsync()
+ {
+ return ThreadHelper.RunOnUIThreadAsync<object?>(
+ DispatcherPriority.Background,
+ () =>
+ {
+ try
+ {
+ if (System.Windows.Clipboard.ContainsText())
+ {
+ return System.Windows.Clipboard.GetText();
+ }
+ else if (System.Windows.Clipboard.ContainsFileDropList())
+ {
+ var files = new List<FileInfo>();
+ foreach (string? filePath in System.Windows.Clipboard.GetFileDropList())
+ {
+ if (!string.IsNullOrEmpty(filePath))
+ {
+ files.Add(new FileInfo(filePath));
+ }
+ }
+ return files;
+ }
+ else if (System.Windows.Clipboard.ContainsImage())
+ {
+ // TODO: convert to a cross-platform compatible format?
+ return System.Windows.Clipboard.GetImage();
+ }
+ }
+ catch (Exception ex)
+ {
+ LogGetClipboardFailed(ex);
+ }
+
+ return null;
+ });
+ }
+
+ public Task SetClipboardBitmapAsync(string? data)
+ {
+ // TODO
+ throw new NotImplementedException();
+ }
+
+ public Task SetClipboardFilesAsync(string? data)
+ {
+ // TODO
+ throw new NotImplementedException();
+ }
+
+ public Task SetClipboardTextAsync(string? data)
+ {
+ // TODO
+ throw new NotImplementedException();
+ }
+
+ [LoggerMessage(1, LogLevel.Warning, "Failed to retrieve the clipboard data.")]
+ partial void LogGetClipboardFailed(Exception ex);
+}
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/FileStorage/FileStorage.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.cs
similarity index 85%
rename from src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/FileStorage/FileStorage.cs
rename to src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.cs
index ca2e6b21b..5110ccb87 100644
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/FileStorage/FileStorage.cs
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/FileStorage.cs
@@ -1,17 +1,12 @@
using System.IO;
-using DevToys.Api.Core;
-using Windows.Storage;
+using DevToys.Api;
-namespace DevToys.Wasdk.Core.FileStorage;
+namespace DevToys.Windows.Core;
[Export(typeof(IFileStorage))]
internal sealed class FileStorage : IFileStorage
{
-#if MSIX_PACKAGED || __WASM__
- public string AppCacheDirectory => ApplicationData.Current.LocalCacheFolder.Path;
-#else
- public string AppCacheDirectory { get; } = Path.Combine(AppContext.BaseDirectory, "Cache");
-#endif
+ public string AppCacheDirectory => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "DevToys");
public bool FileExists(string relativeOrAbsoluteFilePath)
{
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/FontProvider/FontProvider.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/FontProvider.cs
similarity index 70%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/FontProvider/FontProvider.cs
rename to src/app/dev/platforms/desktop/DevToys.Windows/Core/FontProvider.cs
index d608e8559..ae689c5f4 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/FontProvider/FontProvider.cs
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/FontProvider.cs
@@ -1,12 +1,16 @@
-using DevToys.Api.Core;
+using System.Windows.Media;
+using DevToys.Api;
using Microsoft.Extensions.Logging;
using Uno.Extensions;
-namespace DevToys.MauiBlazor.Core.FontProvider;
+namespace DevToys.Windows.Core;
[Export(typeof(IFontProvider))]
internal sealed partial class FontProvider : IFontProvider
{
+ private readonly Lazy<string[]> _fontFamilies
+ = new(() => Fonts.SystemFontFamilies.SelectMany(f => f.FamilyNames.Values).Order().ToArray());
+
private readonly ILogger _logger;
[ImportingConstructor]
@@ -19,11 +23,7 @@ internal sealed partial class FontProvider : IFontProvider
{
try
{
-#if __MACCATALYST__
- return UIKit.UIFont.FamilyNames;
-#else
- return Microsoft.Graphics.Canvas.Text.CanvasTextFormat.GetSystemFontFamilies();
-#endif
+ return _fontFamilies.Value;
}
catch (Exception ex)
{
diff --git a/src/app/dev/DevToys.UI.Framework/Threading/DispatcherQueueExtensions.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/Helpers/ThreadHelper.cs
similarity index 56%
rename from src/app/dev/DevToys.UI.Framework/Threading/DispatcherQueueExtensions.cs
rename to src/app/dev/platforms/desktop/DevToys.Windows/Core/Helpers/ThreadHelper.cs
index 519c510ee..23be01998 100644
--- a/src/app/dev/DevToys.UI.Framework/Threading/DispatcherQueueExtensions.cs
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/Helpers/ThreadHelper.cs
@@ -1,38 +1,42 @@
-using Microsoft.UI.Dispatching;
+using System.Windows;
+using System.Windows.Threading;
+using DevToys.Api;
-namespace DevToys.UI.Framework.Threading;
+namespace DevToys.Windows.Helpers;
-public static class DispatcherQueueExtensions
+public static class ThreadHelper
{
- public static void ThrowIfNotOnUIThread(this DispatcherQueue dispatcherQueue)
+ private static readonly Dispatcher dispatcher = Application.Current.Dispatcher;
+
+ public static void ThrowIfNotOnUIThread()
{
- if (!dispatcherQueue.HasThreadAccess)
+ if (!IsOnUIThread())
{
throw new Exception("The UI thread is expected, but the current call stack is running on another thread.");
}
}
- public static void ThrowIfOnUIThread(this DispatcherQueue dispatcherQueue)
+ public static void ThrowIfOnUIThread()
{
- if (dispatcherQueue.HasThreadAccess)
+ if (IsOnUIThread())
{
throw new Exception("The UI thread is not expected, but the current call stack is running on UI thread.");
}
}
- public static Task RunOnUIThreadAsync(this DispatcherQueue dispatcherQueue, Action action)
+ public static Task RunOnUIThreadAsync(Action action)
{
- return RunOnUIThreadAsync(dispatcherQueue, DispatcherQueuePriority.Normal, action);
+ return RunOnUIThreadAsync(DispatcherPriority.Normal, action);
}
- public static Task RunOnUIThreadAsync(this DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority, Action action)
+ public static Task RunOnUIThreadAsync(DispatcherPriority priority, Action action)
{
if (action is null)
{
return Task.CompletedTask;
}
- if (dispatcherQueue.HasThreadAccess && priority == DispatcherQueuePriority.Normal)
+ if (IsOnUIThread() && priority == DispatcherPriority.Normal)
{
action();
return Task.CompletedTask;
@@ -40,8 +44,7 @@ public static class DispatcherQueueExtensions
else
{
var tcs = new TaskCompletionSource<int>(0);
- dispatcherQueue.TryEnqueue(
- priority,
+ dispatcher.BeginInvoke(
() =>
{
try
@@ -56,32 +59,32 @@ public static class DispatcherQueueExtensions
{
tcs.TrySetResult(0);
}
- });
+ },
+ priority);
return tcs.Task;
}
}
- public static Task<T> RunOnUIThreadAsync<T>(this DispatcherQueue dispatcherQueue, Func<T> func)
+ public static Task<T> RunOnUIThreadAsync<T>(Func<T> func)
{
- return RunOnUIThreadAsync(dispatcherQueue, DispatcherQueuePriority.Normal, func);
+ return RunOnUIThreadAsync(DispatcherPriority.Normal, func);
}
- public static Task<T> RunOnUIThreadAsync<T>(this DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority, Func<T> func)
+ public static Task<T> RunOnUIThreadAsync<T>(DispatcherPriority priority, Func<T> func)
{
if (func is null)
{
return Task.FromResult<T>(default!);
}
- if (dispatcherQueue.HasThreadAccess && priority == DispatcherQueuePriority.Normal)
+ if (IsOnUIThread() && priority == DispatcherPriority.Normal)
{
return Task.FromResult(func());
}
else
{
var tcs = new TaskCompletionSource<T>();
- dispatcherQueue.TryEnqueue(
- priority,
+ dispatcher.BeginInvoke(
() =>
{
T result = default!;
@@ -97,37 +100,37 @@ public static class DispatcherQueueExtensions
{
tcs.TrySetResult(result);
}
- });
+ },
+ priority);
return tcs.Task;
}
}
- public static Task RunOnUIThreadAsync(this DispatcherQueue dispatcherQueue, Func<Task> action)
+ public static Task RunOnUIThreadAsync(Func<Task> action)
{
- return RunOnUIThreadAsync(dispatcherQueue, DispatcherQueuePriority.Normal, action);
+ return RunOnUIThreadAsync(DispatcherPriority.Normal, action);
}
- public static async Task RunOnUIThreadAsync(this DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority, Func<Task> action)
+ public static async Task RunOnUIThreadAsync(DispatcherPriority priority, Func<Task> action)
{
if (action is null)
{
return;
}
- if (dispatcherQueue.HasThreadAccess && priority == DispatcherQueuePriority.Normal)
+ if (IsOnUIThread() && priority == DispatcherPriority.Normal)
{
await action().ConfigureAwait(true);
}
else
{
var tcs = new TaskCompletionSource<int>(0);
- dispatcherQueue.TryEnqueue(
- priority,
+ dispatcher.BeginInvoke(
async () =>
{
try
{
- ThrowIfNotOnUIThread(dispatcherQueue);
+ ThrowIfNotOnUIThread();
await action().ConfigureAwait(true);
}
catch (Exception ex)
@@ -138,22 +141,23 @@ public static class DispatcherQueueExtensions
{
tcs.TrySetResult(0);
}
- });
+ },
+ priority).Task.Forget();
await tcs.Task.ConfigureAwait(false);
}
}
- public static Task<T> RunOnUIThreadAsync<T>(this DispatcherQueue dispatcherQueue, Func<Task<T>> action)
+ public static Task<T> RunOnUIThreadAsync<T>(Func<Task<T>> action)
{
- return RunOnUIThreadAsync(dispatcherQueue, DispatcherQueuePriority.Normal, action);
+ return RunOnUIThreadAsync(DispatcherPriority.Normal, action);
}
- public static async Task<T> RunOnUIThreadAsync<T>(this DispatcherQueue dispatcherQueue, DispatcherQueuePriority priority, Func<Task<T>> action)
+ public static async Task<T> RunOnUIThreadAsync<T>(DispatcherPriority priority, Func<Task<T>> action)
{
Guard.IsNotNull(action);
- if (dispatcherQueue.HasThreadAccess && priority == DispatcherQueuePriority.Normal)
+ if (IsOnUIThread() && priority == DispatcherPriority.Normal)
{
return await action().ConfigureAwait(true);
}
@@ -161,13 +165,12 @@ public static class DispatcherQueueExtensions
{
T result = default!;
var tcs = new TaskCompletionSource<int>(0);
- dispatcherQueue.TryEnqueue(
- priority,
+ dispatcher.BeginInvoke(
async () =>
{
try
{
- ThrowIfNotOnUIThread(dispatcherQueue);
+ ThrowIfNotOnUIThread();
result = await action().ConfigureAwait(true);
}
catch (Exception ex)
@@ -178,10 +181,16 @@ public static class DispatcherQueueExtensions
{
tcs.TrySetResult(0);
}
- });
+ },
+ priority).Task.Forget();
await tcs.Task.ConfigureAwait(false);
return result!;
}
}
+
+ private static bool IsOnUIThread()
+ {
+ return dispatcher.Thread == Thread.CurrentThread;
+ }
}
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Settings/SettingsStorage.Unpackaged.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/SettingsStorage.cs
similarity index 92%
rename from src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Settings/SettingsStorage.Unpackaged.cs
rename to src/app/dev/platforms/desktop/DevToys.Windows/Core/SettingsStorage.cs
index 669fb9151..7b3f32014 100644
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Settings/SettingsStorage.Unpackaged.cs
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/SettingsStorage.cs
@@ -1,10 +1,9 @@
-#if !MSIX_PACKAGED && !__WASM__
-using System.Collections.Concurrent;
+using System.Collections.Concurrent;
+using System.IO;
using DevToys.Api;
-using DevToys.Api.Core;
using DevToys.Core.Settings;
-namespace DevToys.Wasdk.Core.Settings;
+namespace DevToys.Windows.Core;
[Export(typeof(ISettingsStorage))]
internal sealed class SettingsStorage : ISettingsStorage
@@ -26,7 +25,7 @@ internal sealed class SettingsStorage : ISettingsStorage
public void ResetSetting(string settingName)
{
- _settings.Value.Remove(settingName, out string _);
+ _settings.Value.Remove(settingName, out _);
}
public bool TryReadSetting(string settingName, out object? value)
@@ -93,4 +92,3 @@ internal sealed class SettingsStorage : ISettingsStorage
});
}
}
-#endif
diff --git a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Theme/ThemeListener.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Core/ThemeListener.cs
similarity index 51%
rename from src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Theme/ThemeListener.cs
rename to src/app/dev/platforms/desktop/DevToys.Windows/Core/ThemeListener.cs
index f3c6c7cce..de9191785 100644
--- a/src/app/dev/platforms/desktop/DevToys.MauiBlazor/Core/Theme/ThemeListener.cs
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Core/ThemeListener.cs
@@ -1,32 +1,28 @@
-using DevToys.Api;
-using DevToys.Api.Core.Theme;
+using System.Windows;
+using DevToys.Api;
+using Microsoft.Win32;
-namespace DevToys.MauiBlazor.Core.Theme;
+namespace DevToys.Windows.Core;
[Export(typeof(IThemeListener))]
internal sealed class ThemeListener : IThemeListener
{
+ private const string WindowsThemeRegistryKeyPath = @"Software\Microsoft\Windows\CurrentVersion\Themes\Personalize";
+ private const string WindowsThemeRegistryValueName = "AppsUseLightTheme";
+
private readonly ISettingsProvider _settingsProvider;
[ImportingConstructor]
public ThemeListener(ISettingsProvider settingsProvider)
{
+ // Listen for app settings
_settingsProvider = settingsProvider;
-
_settingsProvider.SettingChanged += SettingsProvider_SettingChanged;
- Guard.IsNotNull(Application.Current);
- if (Application.Current.RequestedTheme == AppTheme.Dark)
- {
- CurrentSystemTheme = AvailableApplicationTheme.Dark;
- }
- else
- {
- CurrentSystemTheme = AvailableApplicationTheme.Light;
- }
+ // Listen for operating system settings.
+ SystemEvents.UserPreferenceChanged += SystemEventsUserPreferenceChanged;
- // TODO: Support High contrast
- IsHighContrast = false;
+ UpdateSystemSettingsAndApplyTheme();
}
public AvailableApplicationTheme CurrentSystemTheme { get; private set; }
@@ -37,7 +33,7 @@ internal sealed class ThemeListener : IThemeListener
public bool IsHighContrast { get; private set; }
- public bool IsCompactMode => _settingsProvider.GetSetting(DevToys.Api.PredefinedSettings.CompactMode);
+ public bool IsCompactMode => _settingsProvider.GetSetting(PredefinedSettings.CompactMode);
public event EventHandler? ThemeChanged;
@@ -59,25 +55,19 @@ internal sealed class ThemeListener : IThemeListener
{
ActualAppTheme = ApplicationTheme.Light;
}
+
+ ThemeChanged?.Invoke(this, EventArgs.Empty);
}
- public void UpdateThemeIfNeeded()
+ /// <summary>
+ /// Evaluates whether the theme should automatically be updated or not, based on app and operating system settings.
+ /// </summary>
+ private void UpdateSystemSettingsAndApplyTheme()
{
- AvailableApplicationTheme currentAppTheme;
- Guard.IsNotNull(Application.Current);
- if (Application.Current.RequestedTheme == AppTheme.Dark)
- {
- currentAppTheme = AvailableApplicationTheme.Dark;
- }
- else
- {
- currentAppTheme = AvailableApplicationTheme.Light;
- }
+ IsHighContrast = SystemParameters.HighContrast;
+ CurrentSystemTheme = GetCurrentSystemTheme();
- if (CurrentSystemTheme != currentAppTheme /*|| IsHighContrast != _accessible.HighContrast // TODO */)
- {
- UpdateProperties();
- }
+ ApplyDesiredColorTheme();
}
private void SettingsProvider_SettingChanged(object? sender, SettingChangedEventArgs e)
@@ -85,36 +75,35 @@ internal sealed class ThemeListener : IThemeListener
if (string.Equals(DevToys.Core.Settings.PredefinedSettings.Theme.Name, e.SettingName, StringComparison.Ordinal))
{
ApplyDesiredColorTheme();
- ThemeChanged?.Invoke(this, EventArgs.Empty);
}
- else if (string.Equals(DevToys.Api.PredefinedSettings.CompactMode.Name, e.SettingName, StringComparison.Ordinal))
+ else if (string.Equals(PredefinedSettings.CompactMode.Name, e.SettingName, StringComparison.Ordinal))
{
// TODO: Apply the mode.
}
}
- /// <summary>
- /// Set our current properties and fire a change notification.
- /// </summary>
- private void UpdateProperties()
+ private void SystemEventsUserPreferenceChanged(object sender, UserPreferenceChangedEventArgs e)
{
- // TODO: Support High contrast
- IsHighContrast = false;
-
- AvailableApplicationTheme currentAppTheme;
- Guard.IsNotNull(Application.Current);
- if (Application.Current.RequestedTheme == AppTheme.Dark)
+ if (e.Category != UserPreferenceCategory.General)
{
- currentAppTheme = AvailableApplicationTheme.Dark;
+ return;
}
- else
+
+ UpdateSystemSettingsAndApplyTheme();
+ }
+
+ private static AvailableApplicationTheme GetCurrentSystemTheme()
+ {
+ using RegistryKey? key = Registry.CurrentUser.OpenSubKey(WindowsThemeRegistryKeyPath);
+ object? registryValueObject = key?.GetValue(WindowsThemeRegistryValueName);
+
+ if (registryValueObject == null)
{
- currentAppTheme = AvailableApplicationTheme.Light;
+ return AvailableApplicationTheme.Light;
}
- CurrentSystemTheme = currentAppTheme;
+ int registryValue = (int)registryValueObject;
- ApplyDesiredColorTheme();
- ThemeChanged?.Invoke(this, EventArgs.Empty);
+ return registryValue > 0 ? AvailableApplicationTheme.Light : AvailableApplicationTheme.Dark;
}
}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csproj b/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csproj
new file mode 100644
index 000000000..7afe2e467
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/DevToys.Windows.csproj
@@ -0,0 +1,27 @@
+<Project Sdk="Microsoft.NET.Sdk.Razor">
+
+ <PropertyGroup>
+ <TargetFramework>$(NetCoreWindows10)</TargetFramework>
+ <TargetPlatformMinVersion>7.0</TargetPlatformMinVersion>
+ <OutputType>WinExe</OutputType>
+ <UseWPF>true</UseWPF>
+ <ApplicationManifest>app.manifest</ApplicationManifest>
+ <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" />
+ <PackageReference Include="Microsoft.AspNetCore.Components.Web" />
+ <PackageReference Include="Microsoft.Extensions.Logging.Debug" />
+ <PackageReference Include="Microsoft.TypeScript.MSBuild">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+ </PackageReference>
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\DevToys.Blazor\DevToys.Blazor.csproj" />
+ <ProjectReference Include="..\..\..\DevToys.Localization\DevToys.Localization.csproj" />
+ </ItemGroup>
+
+</Project>
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/MainWindow.xaml b/src/app/dev/platforms/desktop/DevToys.Windows/MainWindow.xaml
new file mode 100644
index 000000000..8250991e1
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/MainWindow.xaml
@@ -0,0 +1,27 @@
+<controls:MicaWindowWithOverlay
+ x:Class="DevToys.Windows.MainWindow"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:devtoysblazor="clr-namespace:DevToys.Blazor;assembly=DevToys.Blazor"
+ xmlns:controls="clr-namespace:DevToys.Windows.Controls"
+ xmlns:blazor="clr-namespace:Microsoft.AspNetCore.Components.WebView.Wpf;assembly=Microsoft.AspNetCore.Components.WebView.Wpf"
+ mc:Ignorable="d"
+ Title="MainWindow"
+ Height="450"
+ Width="800"
+ TitleBarMarginLeft="{Binding TitleBarMarginLeft}"
+ TitleBarMarginRight="{Binding TitleBarMarginRight}">
+ <Grid>
+ <blazor:BlazorWebView
+ x:Name="blazorWebView"
+ Margin="2"
+ HostPage="wwwroot/index.html"
+ Services="{StaticResource services}">
+ <blazor:BlazorWebView.RootComponents>
+ <blazor:RootComponent Selector="#app" ComponentType="{x:Type devtoysblazor:Main}"/>
+ </blazor:BlazorWebView.RootComponents>
+ </blazor:BlazorWebView>
+ </Grid>
+</controls:MicaWindowWithOverlay>
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/MainWindow.xaml.cs b/src/app/dev/platforms/desktop/DevToys.Windows/MainWindow.xaml.cs
new file mode 100644
index 000000000..8c3248c96
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/MainWindow.xaml.cs
@@ -0,0 +1,145 @@
+using System;
+using DevToys.Api;
+using DevToys.Blazor.Core.Languages;
+using DevToys.Business.ViewModels;
+using DevToys.Core;
+using DevToys.Core.Logging;
+using DevToys.Core.Mef;
+using DevToys.Tools;
+using DevToys.Windows.Controls;
+using DevToys.Windows.Core;
+using Microsoft.AspNetCore.Components.WebView;
+using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.Logging;
+using PredefinedSettings = DevToys.Core.Settings.PredefinedSettings;
+
+namespace DevToys.Windows;
+
+/// <summary>
+/// Interaction logic for MainWindow.xaml
+/// </summary>
+public partial class MainWindow : MicaWindowWithOverlay
+{
+ private static MainWindow? mainWindowInstance;
+
+ private readonly MefComposer _mefComposer;
+ private readonly DateTime _uiLoadingTime;
+ private ILogger? _logger;
+
+ public MainWindow()
+ {
+ mainWindowInstance = this;
+
+ DateTime startTime = DateTime.Now;
+
+ // Initialize services and logging.
+ ServiceProvider serviceProvider = InitializeServices();
+
+ // Listen for unhandled exceptions.
+ AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
+
+ // Initialize MEF.
+ _mefComposer
+ = new MefComposer(
+ new[] {
+ typeof(DevToysToolsResourceManagerAssemblyIdentifier).Assembly,
+ typeof(MainWindowViewModel).Assembly
+ });
+
+ LogInitialization((DateTime.Now - startTime).TotalMilliseconds);
+ LogAppStarting();
+
+ _uiLoadingTime = DateTime.Now;
+
+ // Set the user-defined language.
+ string? languageIdentifier = _mefComposer.Provider.Import<ISettingsProvider>().GetSetting(PredefinedSettings.Language);
+ LanguageDefinition languageDefinition
+ = LanguageManager.Instance.AvailableLanguages.FirstOrDefault(l => string.Equals(l.InternalName, languageIdentifier))
+ ?? LanguageManager.Instance.AvailableLanguages[0];
+ LanguageManager.Instance.SetCurrentCulture(languageDefinition);
+
+ // Load the UI.
+ Resources.Add("services", serviceProvider);
+ InitializeComponent();
+
+ _themeListener = _mefComposer.Provider.Import<IThemeListener>();
+ DataContext = _mefComposer.Provider.Import<TitleBarMarginProvider>();
+
+ blazorWebView.BlazorWebViewInitializing += BlazorWebView_BlazorWebViewInitializing;
+ blazorWebView.BlazorWebViewInitialized += BlazorWebView_BlazorWebViewInitialized;
+ }
+
+ private void BlazorWebView_BlazorWebViewInitializing(object? sender, BlazorWebViewInitializingEventArgs e)
+ {
+ // Set the web view transparent.
+ blazorWebView.WebView.DefaultBackgroundColor = System.Drawing.Color.Transparent;
+ }
+
+ private void BlazorWebView_BlazorWebViewInitialized(object? sender, BlazorWebViewInitializedEventArgs e)
+ {
+ LogUiLoadTime((DateTime.Now - _uiLoadingTime).TotalMilliseconds);
+ }
+
+ private static void OnUnhandledException(object sender, UnhandledExceptionEventArgs e)
+ {
+ Guard.IsNotNull(mainWindowInstance);
+ mainWindowInstance.LogUnhandledException((Exception)e.ExceptionObject);
+ }
+
+ private ServiceProvider InitializeServices()
+ {
+ var serviceCollection = new ServiceCollection();
+
+ serviceCollection.AddWpfBlazorWebView();
+
+#if DEBUG
+ serviceCollection.AddBlazorWebViewDeveloperTools();
+#endif
+
+ serviceCollection.AddLogging((ILoggingBuilder builder) =>
+ {
+#if DEBUG
+ builder.AddDebug();
+ builder.SetMinimumLevel(LogLevel.Debug);
+#else
+ builder.SetMinimumLevel(LogLevel.Information);
+#endif
+
+ // To save logs on local hard drive.
+ builder.AddFile(new FileStorage());
+
+ builder.AddFilter("Microsoft", LogLevel.Warning);
+ builder.AddFilter("System", LogLevel.Warning);
+ });
+
+ serviceCollection.AddSingleton(provider => _mefComposer.Provider);
+
+ ServiceProvider serviceProvider = serviceCollection.BuildServiceProvider();
+
+ ILoggerFactory loggerFactory = serviceProvider.GetRequiredService<ILoggerFactory>();
+ Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = loggerFactory;
+ _logger = loggerFactory.CreateLogger<MainWindow>();
+
+ return serviceProvider;
+ }
+
+ private void LogUnhandledException(Exception exception)
+ {
+ _logger?.LogCritical(0, exception, "Unhandled exception !!! (╯°□°)╯︵ ┻━┻");
+ }
+
+ private void LogAppStarting()
+ {
+ _logger?.LogInformation(1, "App is starting...");
+ }
+
+ private void LogInitialization(double duration)
+ {
+ _logger?.LogInformation(2, "MEF, services and logging initialized in {duration} ms", duration);
+ }
+
+ private void LogUiLoadTime(double duration)
+ {
+ _logger?.LogInformation(3, "App main window's UI loaded in {duration} ms", duration);
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/DWMWINDOWATTRIBUTE.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DWMWINDOWATTRIBUTE.cs
new file mode 100644
index 000000000..124c83a06
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DWMWINDOWATTRIBUTE.cs
@@ -0,0 +1,10 @@
+namespace DevToys.Windows.Native;
+
+[Flags]
+public enum DWMWINDOWATTRIBUTE
+{
+ DWMWA_USE_IMMERSIVE_DARK_MODE = 20,
+ DWMWA_SYSTEMBACKDROP_TYPE = 38,
+ DWMWA_MICA_EFFECT = 1029,
+ DWMWA_WINDOW_CORNER_PREFERENCE = 33
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/DWM_WINDOW_CORNER_PREFERENCE.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DWM_WINDOW_CORNER_PREFERENCE.cs
new file mode 100644
index 000000000..d6de1568e
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DWM_WINDOW_CORNER_PREFERENCE.cs
@@ -0,0 +1,9 @@
+namespace DevToys.Windows.Native;
+
+public enum DWM_WINDOW_CORNER_PREFERENCE
+{
+ DWMWCP_DEFAULT = 0,
+ DWMWCP_DONOTROUND = 1,
+ DWMWCP_ROUND = 2,
+ DWMWCP_ROUNDSMALL = 3
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/DpiHelper.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DpiHelper.cs
new file mode 100644
index 000000000..fe4845b1d
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DpiHelper.cs
@@ -0,0 +1,68 @@
+using System.Windows.Media;
+
+namespace DevToys.Windows.Native;
+
+/// <summary>
+/// An helper class to help with DPI.
+/// </summary>
+public static class DpiHelper
+{
+ private const double LogicalDpi = 96.0;
+
+ static DpiHelper()
+ {
+ nint dC = NativeMethods.GetDC(nint.Zero);
+ if (dC != nint.Zero)
+ {
+ const int logicPixelsX = 88;
+ const int logicPixelsY = 90;
+ _ = DeviceDpiX = NativeMethods.GetDeviceCaps(dC, logicPixelsX);
+ _ = DeviceDpiY = NativeMethods.GetDeviceCaps(dC, logicPixelsY);
+ _ = NativeMethods.ReleaseDC(nint.Zero, dC);
+ }
+ else
+ {
+ DeviceDpiX = LogicalDpi;
+ DeviceDpiY = LogicalDpi;
+ }
+
+ Matrix identity = Matrix.Identity;
+ Matrix identity2 = Matrix.Identity;
+ identity.Scale(DeviceDpiX / LogicalDpi, DeviceDpiY / LogicalDpi);
+ identity2.Scale(LogicalDpi / DeviceDpiX, LogicalDpi / DeviceDpiY);
+ TransformFromDevice = new MatrixTransform(identity2);
+ TransformFromDevice.Freeze();
+ TransformToDevice = new MatrixTransform(identity);
+ TransformToDevice.Freeze();
+ }
+
+ /// <summary>
+ /// The current device.
+ /// </summary>
+ public static MatrixTransform TransformFromDevice { get; }
+
+ /// <summary>
+ /// The destination device.
+ /// </summary>
+ public static MatrixTransform TransformToDevice { get; }
+
+ /// <summary>
+ /// The device DPI X value.
+ /// </summary>
+ public static double DeviceDpiX { get; }
+
+ /// <summary>
+ /// The device DPI Y value.
+ /// </summary>
+ public static double DeviceDpiY { get; }
+
+ /// <summary>
+ /// Logical value to Unit Scaling X.
+ /// </summary>
+ public static double LogicalToDeviceUnitsScalingFactorX => TransformToDevice.Matrix.M11;
+
+ /// <summary>
+ /// Logical value to Unit Scaling Y.
+ /// </summary>
+ public static double LogicalToDeviceUnitsScalingFactorY => TransformToDevice.Matrix.M22;
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/DwmValues.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DwmValues.cs
new file mode 100644
index 000000000..810391745
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/DwmValues.cs
@@ -0,0 +1,8 @@
+namespace DevToys.Windows.Native;
+
+internal static class DwmValues
+{
+ internal const int
+ True = 0x01,
+ False = 0x00;
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/HwndButtons.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/HwndButtons.cs
new file mode 100644
index 000000000..7996fe749
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/HwndButtons.cs
@@ -0,0 +1,10 @@
+namespace DevToys.Windows.Native;
+
+internal static class HwndButtons
+{
+ public const int
+ GWL_STYLE = -16,
+ WS_MAXIMIZEBOX = 0x10000,
+ WS_MINIMIZEBOX = 0x20000,
+ WS_SYSMENU = 0x80000;
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/HwndSourceMessages.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/HwndSourceMessages.cs
new file mode 100644
index 000000000..7f113011e
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/HwndSourceMessages.cs
@@ -0,0 +1,19 @@
+namespace DevToys.Windows.Native;
+
+internal static class HwndSourceMessages
+{
+ internal const int
+ WM_NCHITTEST = 0x0084,
+ WM_NCLBUTTONDOWN = 0x00A1,
+ WM_MAXIMIZE = 0x0024,
+ WM_NCPAINT = 0x0085,
+ WM_ERASEBKGND = 0x0014,
+ WM_PAINT = 0x000F,
+ WM_GETMINMAXINFO = 0x0024,
+ WM_MOVING = 0x0216,
+ WM_SETCURSOR = 0x20,
+ WM_GETTEXT = 0xD,
+ WM_WINDOWPOSCHANGING = 0x46,
+ WM_SIZING = 0x0214,
+ WS_CHILD = 0x40000000;
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/MARGINS.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/MARGINS.cs
new file mode 100644
index 000000000..3cc439fcb
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/MARGINS.cs
@@ -0,0 +1,12 @@
+using System.Runtime.InteropServices;
+
+namespace DevToys.Windows.Native;
+
+[StructLayout(LayoutKind.Sequential)]
+internal struct MARGINS
+{
+ public int cxLeftWidth; // width of left border that retains its size
+ public int cxRightWidth; // width of right border that retains its size
+ public int cyTopHeight; // height of top border that retains its size
+ public int cyBottomHeight; // height of bottom border that retains its size
+};
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/NativeMethods.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/NativeMethods.cs
new file mode 100644
index 000000000..96e66e684
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/NativeMethods.cs
@@ -0,0 +1,73 @@
+using System.Runtime.InteropServices;
+using System.Security;
+
+namespace DevToys.Windows.Native;
+
+internal static partial class NativeMethods
+{
+ [SecurityCritical]
+ [DllImport("ntdll.dll", SetLastError = true, CharSet = CharSet.Unicode)]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ [SuppressMessage("Interoperability", "SYSLIB1054:Use 'LibraryImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time", Justification = "Cannot marshal OSVERSIONINFOEX")]
+ internal static extern int RtlGetVersion(out OSVERSIONINFOEX versionInfo);
+
+ [LibraryImport("dwmapi.dll")]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ private static partial int DwmSetWindowAttribute(nint hwnd, DWMWINDOWATTRIBUTE dwAttribute, ref int pvAttribute, int cbAttribute);
+
+ [LibraryImport("dwmapi.dll")]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ private static partial int DwmExtendFrameIntoClientArea(nint hwnd, ref MARGINS pMarInset);
+
+ [LibraryImport("user32.dll", EntryPoint = "SetWindowLongA")]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ private static partial int SetWindowLong(nint hWnd, int nIndex, int dwNewLong);
+
+ [LibraryImport("user32.dll", EntryPoint = "GetWindowLongPtrA")]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ private static partial int GetWindowLong(nint hWnd, int nIndex);
+
+ [LibraryImport("user32.dll")]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ private static partial nint SetParent(nint hWndChild, nint hWndNewParent);
+
+ [LibraryImport("user32.dll")]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ internal static partial nint GetDC(nint ptr);
+
+ [LibraryImport(libraryName: "gdi32.dll", SetLastError = true)]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ internal static partial int GetDeviceCaps(nint hdc, int nIndex);
+
+ [LibraryImport("user32.dll", SetLastError = true)]
+ [DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
+ internal static partial int ReleaseDC(nint window, nint dc);
+
+ internal static int SetWindowAttribute(nint windowHandle, DWMWINDOWATTRIBUTE attribute, int parameter)
+ {
+ return DwmSetWindowAttribute(windowHandle, attribute, ref parameter, Marshal.SizeOf<int>());
+ }
+
+ internal static int ExtendFrame(nint windowHandle, MARGINS margins)
+ {
+ return DwmExtendFrameIntoClientArea(windowHandle, ref margins);
+ }
+
+ internal static int RoundWindowCorner(nint windowHandle, DWM_WINDOW_CORNER_PREFERENCE cornerPreference = DWM_WINDOW_CORNER_PREFERENCE.DWMWCP_ROUND)
+ {
+ DWMWINDOWATTRIBUTE attribute = DWMWINDOWATTRIBUTE.DWMWA_WINDOW_CORNER_PREFERENCE;
+ int preference = (int)cornerPreference;
+ return DwmSetWindowAttribute(windowHandle, attribute, ref preference, sizeof(uint));
+ }
+
+ internal static void HideAllWindowButton(nint windowHandle)
+ {
+ _ = SetWindowLong(windowHandle, HwndButtons.GWL_STYLE, GetWindowLong(windowHandle, HwndButtons.GWL_STYLE) & ~HwndButtons.WS_SYSMENU);
+ }
+
+ internal static void SetWindowAsChildOf(nint windowHandleChild, nint windowHandleParent)
+ {
+ SetWindowLong(windowHandleChild, HwndButtons.GWL_STYLE, HwndSourceMessages.WS_CHILD);
+ SetParent(windowHandleChild, windowHandleParent);
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/OSVERSIONINFOEX.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/OSVERSIONINFOEX.cs
new file mode 100644
index 000000000..1caca60f9
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/OSVERSIONINFOEX.cs
@@ -0,0 +1,21 @@
+using System.Runtime.InteropServices;
+
+namespace DevToys.Windows.Native;
+
+[StructLayout(LayoutKind.Sequential)]
+internal struct OSVERSIONINFOEX
+{
+ internal int OSVersionInfoSize;
+ internal int MajorVersion;
+ internal int MinorVersion;
+ internal int BuildNumber;
+ internal int Revision;
+ internal int PlatformId;
+ [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 128)]
+ internal string CSDVersion;
+ internal ushort ServicePackMajor;
+ internal ushort ServicePackMinor;
+ internal short SuiteMask;
+ internal byte ProductType;
+ internal byte Reserved;
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Native/SnapLayoutHelper.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Native/SnapLayoutHelper.cs
new file mode 100644
index 000000000..f1ab4c171
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Native/SnapLayoutHelper.cs
@@ -0,0 +1,24 @@
+using Microsoft.Win32;
+
+namespace DevToys.Windows.Native;
+
+internal static class SnapLayoutHelper
+{
+ private const string RegistryKeyPath = @"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced";
+ private const string RegistryValueName = "EnableSnapAssistFlyout";
+
+ internal static bool IsSnapLayoutEnabled()
+ {
+ using RegistryKey? key = Registry.CurrentUser.OpenSubKey(RegistryKeyPath);
+ object? registryValueObject = key?.GetValue(RegistryValueName);
+
+ if (registryValueObject == null)
+ {
+ return true;
+ }
+
+ int registryValue = (int)registryValueObject;
+
+ return registryValue > 0;
+ }
+}
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Properties/AssemblyInfo.cs b/src/app/dev/platforms/desktop/DevToys.Windows/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..4ff84084c
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Properties/AssemblyInfo.cs
@@ -0,0 +1,13 @@
+using System.Runtime.Versioning;
+using System.Windows;
+
+[assembly: SupportedOSPlatform("windows")]
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Themes/Dark.xaml b/src/app/dev/platforms/desktop/DevToys.Windows/Themes/Dark.xaml
new file mode 100644
index 000000000..7c3c0567d
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Themes/Dark.xaml
@@ -0,0 +1,8 @@
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+
+ <SolidColorBrush x:Key="Foreground">#FFFFFF</SolidColorBrush>
+ <SolidColorBrush x:Key="FakeTransparentColor">#01000000</SolidColorBrush>
+ <Color x:Key="ControlStrokeColorDefault">#12FFFFFF</Color>
+ <Color x:Key="ControlStrokeColorSecondary">#18FFFFFF</Color>
+</ResourceDictionary>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/Themes/Light.xaml b/src/app/dev/platforms/desktop/DevToys.Windows/Themes/Light.xaml
new file mode 100644
index 000000000..85cc3479f
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/Themes/Light.xaml
@@ -0,0 +1,8 @@
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+
+ <SolidColorBrush x:Key="Foreground">#000000</SolidColorBrush>
+ <SolidColorBrush x:Key="FakeTransparentColor">#01FFFFFF</SolidColorBrush>
+ <Color x:Key="ControlStrokeColorDefault">#0F000000</Color>
+ <Color x:Key="ControlStrokeColorSecondary">#29000000</Color>
+</ResourceDictionary>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/app.manifest b/src/app/dev/platforms/desktop/DevToys.Windows/app.manifest
new file mode 100644
index 000000000..cd416b793
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/app.manifest
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
+ <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+ <!-- UAC Manifest Options
+ If you want to change the Windows User Account Control level replace the
+ requestedExecutionLevel node with one of the following.
+
+ <requestedExecutionLevel level="asInvoker" uiAccess="false" />
+ <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
+ <requestedExecutionLevel level="highestAvailable" uiAccess="false" />
+
+ Specifying requestedExecutionLevel element will disable file and registry virtualization.
+ Remove this element if your application requires this virtualization for backwards
+ compatibility.
+ -->
+ <requestedExecutionLevel level="asInvoker" uiAccess="false" />
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+
+ <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+ <application>
+ <!-- A list of the Windows versions that this application has been tested on
+ and is designed to work with. Uncomment the appropriate elements
+ and Windows will automatically select the most compatible environment. -->
+
+ <!-- Windows Vista -->
+ <!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
+
+ <!-- Windows 7 -->
+ <!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
+
+ <!-- Windows 8 -->
+ <!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
+
+ <!-- Windows 8.1 -->
+ <!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
+
+ <!-- Windows 10 and Windows 11 -->
+ <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
+
+ </application>
+ </compatibility>
+
+ <!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
+ DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
+ to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
+ also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config.
+
+ Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
+
+ <application xmlns="urn:schemas-microsoft-com:asm.v3">
+ <windowsSettings>
+ <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
+ <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
+ </windowsSettings>
+ </application>
+
+
+ <!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
+ <!--
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity
+ type="win32"
+ name="Microsoft.Windows.Common-Controls"
+ version="6.0.0.0"
+ processorArchitecture="*"
+ publicKeyToken="6595b64144ccf1df"
+ language="*"
+ />
+ </dependentAssembly>
+ </dependency>
+ -->
+
+</assembly>
diff --git a/src/app/dev/platforms/desktop/DevToys.Windows/wwwroot/index.html b/src/app/dev/platforms/desktop/DevToys.Windows/wwwroot/index.html
new file mode 100644
index 000000000..369eda76a
--- /dev/null
+++ b/src/app/dev/platforms/desktop/DevToys.Windows/wwwroot/index.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+ <title>DevToys</title>
+ <base href="/" />
+
+ <script src="_content/DevToys.Blazor/js/require.js"></script>
+ <script src="_content/DevToys.Blazor/js/devtoys.js" type="text/javascript"></script>
+ <script src="_content/DevToys.Blazor/js/devtoys.g.js" type="text/javascript"></script>
+
+ <link href="_content/DevToys.Blazor/css/app.css" rel="stylesheet" />
+ <link href="_content/DevToys.Blazor/css/devtoys.g.css" rel="stylesheet" />
+</head>
+
+<body>
+
+ <div class="status-bar-safe-area"></div>
+
+ <div id="app">Loading...</div>
+
+ <div id="blazor-error-ui">
+ An unhandled error has occurred.
+ <a href="" class="reload">Reload</a>
+ <a class="dismiss">🗙</a>
+ </div>
+
+ <!--<script src="_framework/blazor.webview.js" autostart="false"></script>-->
+ <script src="_framework/blazor.webview.js"></script>
+
+</body>
+
+</html>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/DevToys.MacOS.csproj b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/DevToys.MacOS.csproj
deleted file mode 100644
index 78c013754..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/DevToys.MacOS.csproj
+++ /dev/null
@@ -1,72 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFrameworks>$(NetMacCatalyst)</TargetFrameworks>
- <!-- Disabled because of https://github.com/xamarin/xamarin-macios/issues/16401-->
- <!-- <TargetFrameworks>$(TargetFrameworks);$(NetMacOS)</TargetFrameworks> -->
- <SingleProject>true</SingleProject>
- <OutputType>Exe</OutputType>
- <!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 -->
- <!-- <MtouchExtraArgs Condition="'$(TargetFramework)' == '$(NetMacCatalyst)">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs>-->
- <!-- Required for C# Hot Reload, except for macOS which uses CoreCLR (not Mono) -->
- <UseInterpreter Condition="'$(Configuration)' == 'Debug' and '$(TargetFramework)' != '$(NetMacCatalyst)' and '$(TargetFramework)' != '$(NetMacOS)'">True</UseInterpreter>
- <IsUnoHead>true</IsUnoHead>
- <ApplicationId>com.etiennebaudoux.devtoys</ApplicationId>
- <ApplicationIdGuid>856CF642-FDC7-42BE-A1D5-5D7F0FC09091</ApplicationIdGuid>
- </PropertyGroup>
- <PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
- <!-- Default values for command line builds -->
- <RuntimeIdentifier Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">maccatalyst-arm64</RuntimeIdentifier>
- <RuntimeIdentifier Condition="'$(TargetFramework)' == '$(NetMacOS)'">osx-x64</RuntimeIdentifier>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <CreatePackage>false</CreatePackage>
- <DefineConstants>DEBUG;TRACE;__MACCATALYST__</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <CreatePackage>false</CreatePackage>
- <DefineConstants>TRACE;__MACCATALYST__</DefineConstants>
- </PropertyGroup>
- <ItemGroup>
- <Compile Include="..\..\..\desktop\windows\DevToys.Wasdk\Core\**\*" Link="Core\%(RecursiveDir)/%(Filename)%(Extension)" />
- </ItemGroup>
- <ItemGroup>
- <PackageReference Include="Uno.WinUI"/>
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'"/>
- <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging"/>
- <PackageReference Include="Microsoft.Extensions.Logging.Console"/>
- <PackageReference Include="Uno.WinUI.Lottie"/>
- </ItemGroup>
- <Choose>
- <When Condition="'$(TargetFramework)' == '$(NetMacCatalyst)'">
- <PropertyGroup>
- <!-- Configure the GC -->
- <MtouchExtraArgs>$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>
- <!-- Required for unknown crash as of .NET 6 Mobile Preview 13 -->
- <MtouchExtraArgs>$(MtouchExtraArgs) --registrar:static</MtouchExtraArgs>
- <!-- https://github.com/xamarin/xamarin-macios/issues/14812 -->
- <MtouchExtraArgs>$(MtouchExtraArgs) --marshal-objectivec-exceptions:disable</MtouchExtraArgs>
- <!-- Full globalization is required for Uno -->
- <InvariantGlobalization>false</InvariantGlobalization>
- </PropertyGroup>
- <ItemGroup>
- <PackageReference Include="Uno.Extensions.Logging.OSLog"/>
- </ItemGroup>
- </When>
- <When Condition="'$(TargetFramework)' == '$(NetMacOS)'">
- <PropertyGroup>
- <TrimMode Condition="'$(Configuration)'=='Release'">link</TrimMode>
- </PropertyGroup>
- </When>
- </Choose>
- <ItemGroup>
- <ProjectReference Include="..\..\..\..\DevToys.Api\DevToys.Api.csproj"/>
- <ProjectReference Include="..\..\..\..\DevToys.Core\DevToys.Core.csproj"/>
- <ProjectReference Include="..\..\..\..\DevToys.Business\DevToys.Business.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.MonacoEditor\DevToys.MonacoEditor.csproj"/>
- <ProjectReference Include="..\..\..\..\DevToys.Tools\DevToys.Tools.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.UI.Framework\DevToys.UI.Framework.csproj"/>
- <ProjectReference Include="..\..\..\..\DevToys.UI\DevToys.UI.csproj"/>
- </ItemGroup>
-
- <Import Project="$(RepoRoot)\src\app\dev\shared\App.props" />
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Entitlements.plist b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Entitlements.plist
deleted file mode 100755
index 24c310368..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Entitlements.plist
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- </dict>
-</plist>
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Info.plist b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Info.plist
deleted file mode 100755
index a43fd92d7..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Info.plist
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- <key>CFBundleName</key>
- <string>DevToys</string>
- <key>CFBundleDisplayName</key>
- <string>DevToys</string>
- <key>CFBundleIdentifier</key>
- <string>com.etiennebaudoux.devtoys</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleVersion</key>
- <string>1.0</string>
- <key>UIDeviceFamily</key>
- <array>
- <integer>2</integer>
- </array>
- <key>LSApplicationCategoryType</key>
- <string>public.app-category.utilities</string>
- <key>UILaunchStoryboardName</key>
- <string>LaunchScreen</string>
- <key>UISupportedInterfaceOrientations</key>
- <array>
- <string>UIInterfaceOrientationPortrait</string>
- <string>UIInterfaceOrientationLandscapeLeft</string>
- <string>UIInterfaceOrientationLandscapeRight</string>
- </array>
- <key>XSAppIconAssets</key>
- <string>Media.xcassets/AppIcon.appiconset</string>
- <key>UIAppFonts</key>
- <array>
- <string>Fonts/uno-fluentui-assets.ttf</string>
- </array>
-
- <!--
- Adjust this to your application's encryption usage.
- <key>ITSAppUsesNonExemptEncryption</key>
- <false/>
- -->
-
- </dict>
-</plist>
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/LaunchScreen.storyboard b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/LaunchScreen.storyboard
deleted file mode 100755
index 649c461a2..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/LaunchScreen.storyboard
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="5">
- <device id="retina6_12" orientation="portrait" appearance="light"/>
- <dependencies>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <scenes>
- <!--View Controller-->
- <scene sceneID="4">
- <objects>
- <viewController id="5" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="2"/>
- <viewControllerLayoutGuide type="bottom" id="3"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="55">
- <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SplashScreen.png" translatesAutoresizingMaskIntoConstraints="NO" id="56">
- <rect key="frame" x="94.666666666666686" y="305" width="204" height="242"/>
- <constraints>
- <constraint firstAttribute="width" constant="204" id="91"/>
- <constraint firstAttribute="height" constant="242" id="92"/>
- </constraints>
- </imageView>
- </subviews>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="centerY" secondItem="56" secondAttribute="centerY" id="80"/>
- <constraint firstAttribute="centerX" secondItem="56" secondAttribute="centerX" id="81"/>
- </constraints>
- </view>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="7" userLabel="First Responder" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="-458.01526717557249" y="-390.84507042253523"/>
- </scene>
- </scenes>
- <resources>
- <image name="SplashScreen.png" width="620" height="300"/>
- </resources>
-</document>
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Main.maccatalyst.cs b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Main.maccatalyst.cs
deleted file mode 100755
index ed2e8078c..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Main.maccatalyst.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using UIKit;
-
-namespace DevToys
-{
- public class EntryPoint
- {
- // This is the main entry point of the application.
- static void Main(string[] args)
- {
- // if you want to use a different Application Delegate class from "AppDelegate"
- // you can specify it here.
- UIApplication.Main(args, null, typeof(App));
- }
- }
-}
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Contents.json b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Contents.json
deleted file mode 100755
index a5c670237..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Contents.json
+++ /dev/null
@@ -1,117 +0,0 @@
-{
- "images": [
- {
- "scale": "2x",
- "size": "29x29",
- "idiom": "iphone",
- "filename": "Icon58.png"
- },
- {
- "scale": "3x",
- "size": "29x29",
- "idiom": "iphone",
- "filename": "Icon87.png"
- },
- {
- "scale": "2x",
- "size": "40x40",
- "idiom": "iphone",
- "filename": "Icon80.png"
- },
- {
- "scale": "3x",
- "size": "60x60",
- "idiom": "iphone",
- "filename": "Icon180.png"
- },
- {
- "scale": "1x",
- "size": "20x20",
- "idiom": "ipad",
- "filename": "Icon20.png"
- },
- {
- "scale": "2x",
- "size": "20x20",
- "idiom": "ipad",
- "filename": "Icon40.png"
- },
- {
- "scale": "1x",
- "size": "29x29",
- "idiom": "ipad",
- "filename": "Icon29.png"
- },
- {
- "scale": "2x",
- "size": "29x29",
- "idiom": "ipad",
- "filename": "Icon58.png"
- },
- {
- "scale": "1x",
- "size": "40x40",
- "idiom": "ipad",
- "filename": "Icon40.png"
- },
- {
- "scale": "2x",
- "size": "40x40",
- "idiom": "ipad",
- "filename": "Icon80.png"
- },
- {
- "scale": "1x",
- "size": "76x76",
- "idiom": "ipad",
- "filename": "Icon76.png"
- },
- {
- "scale": "2x",
- "size": "20x20",
- "idiom": "iphone",
- "filename": "Icon40.png"
- },
- {
- "scale": "3x",
- "size": "20x20",
- "idiom": "iphone",
- "filename": "Icon60.png"
- },
- {
- "scale": "3x",
- "size": "40x40",
- "idiom": "iphone",
- "filename": "Icon120.png"
- },
- {
- "scale": "2x",
- "size": "60x60",
- "idiom": "iphone",
- "filename": "Icon120.png"
- },
- {
- "scale": "2x",
- "size": "76x76",
- "idiom": "ipad",
- "filename": "Icon152.png"
- },
- {
- "scale": "2x",
- "size": "83.5x83.5",
- "idiom": "ipad",
- "filename": "Icon167.png"
- },
- {
- "scale": "1x",
- "size": "1024x1024",
- "idiom": "ios-marketing",
- "filename": "Icon1024.png"
- }
- ],
- "properties": {},
- "info": {
- "version": 1,
- "author": "xcode"
- }
-}
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon1024.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon1024.png
deleted file mode 100755
index c7e45b700..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon1024.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon120.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon120.png
deleted file mode 100755
index 5f2aea5eb..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon120.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon152.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon152.png
deleted file mode 100755
index c28bde8fe..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon152.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon167.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon167.png
deleted file mode 100755
index aeeb0769b..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon167.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon180.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon180.png
deleted file mode 100755
index 0a851b8d7..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon180.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon20.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon20.png
deleted file mode 100755
index 6f1a958b7..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon20.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon29.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon29.png
deleted file mode 100755
index 2d1ce7977..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon29.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon40.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon40.png
deleted file mode 100755
index a0ab12a4e..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon40.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon58.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon58.png
deleted file mode 100755
index 26ef6c932..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon58.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon60.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon60.png
deleted file mode 100755
index 84bfd00e1..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon60.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon76.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon76.png
deleted file mode 100755
index b5ee36118..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon76.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon80.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon80.png
deleted file mode 100755
index 5de98b1c6..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon80.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon87.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon87.png
deleted file mode 100755
index 53147588c..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Media.xcassets/AppIcons.appiconset/Icon87.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected]
deleted file mode 100755
index 29973dcbe..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/Fonts/uno-fluentui-assets.ttf b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/Fonts/uno-fluentui-assets.ttf
deleted file mode 100755
index 055184054..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/Fonts/uno-fluentui-assets.ttf and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected]
deleted file mode 100755
index f8e793d9e..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected]
deleted file mode 100755
index 8c5f3984c..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/MacCatalyst/Resources/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png
deleted file mode 100644
index 5757c31d2..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-128.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index d0fb35728..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png
deleted file mode 100644
index 17d637b23..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-16.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index cf3a6e3ef..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png
deleted file mode 100644
index dcaaf7fad..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-256.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index 4810d2d0b..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png
deleted file mode 100644
index c02a2268a..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-32.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index d257b83aa..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png
deleted file mode 100644
index a90995087..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/AppIcon-512.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected]
deleted file mode 100644
index da4b8a992..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/[email protected] and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 1fcd6827c..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,241 +0,0 @@
-{
- "images": [
- {
- "idiom": "iphone",
- "scale": "2x",
- "size": "20x20"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "size": "20x20"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "size": "29x29"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "size": "29x29"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "size": "40x40"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "size": "40x40"
- },
- {
- "idiom": "iphone",
- "scale": "2x",
- "size": "60x60"
- },
- {
- "idiom": "iphone",
- "scale": "3x",
- "size": "60x60"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "size": "20x20"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "size": "20x20"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "size": "29x29"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "size": "29x29"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "size": "40x40"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "size": "40x40"
- },
- {
- "idiom": "ipad",
- "scale": "1x",
- "size": "76x76"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "size": "76x76"
- },
- {
- "idiom": "ipad",
- "scale": "2x",
- "size": "83.5x83.5"
- },
- {
- "idiom": "ios-marketing",
- "scale": "1x",
- "size": "1024x1024"
- },
- {
- "idiom": "car",
- "scale": "2x",
- "size": "60x60"
- },
- {
- "idiom": "car",
- "scale": "3x",
- "size": "60x60"
- },
- {
- "idiom": "watch",
- "role": "notificationCenter",
- "scale": "2x",
- "size": "24x24",
- "subtype": "38mm"
- },
- {
- "idiom": "watch",
- "role": "notificationCenter",
- "scale": "2x",
- "size": "27.5x27.5",
- "subtype": "42mm"
- },
- {
- "idiom": "watch",
- "role": "companionSettings",
- "scale": "2x",
- "size": "29x29"
- },
- {
- "idiom": "watch",
- "role": "companionSettings",
- "scale": "3x",
- "size": "29x29"
- },
- {
- "idiom": "watch",
- "role": "appLauncher",
- "scale": "2x",
- "size": "40x40",
- "subtype": "38mm"
- },
- {
- "idiom": "watch",
- "role": "appLauncher",
- "scale": "2x",
- "size": "44x44",
- "subtype": "40mm"
- },
- {
- "idiom": "watch",
- "role": "appLauncher",
- "scale": "2x",
- "size": "50x50",
- "subtype": "44mm"
- },
- {
- "idiom": "watch",
- "role": "quickLook",
- "scale": "2x",
- "size": "86x86",
- "subtype": "38mm"
- },
- {
- "idiom": "watch",
- "role": "quickLook",
- "scale": "2x",
- "size": "98x98",
- "subtype": "42mm"
- },
- {
- "idiom": "watch",
- "role": "quickLook",
- "scale": "2x",
- "size": "108x108",
- "subtype": "44mm"
- },
- {
- "idiom": "watch-marketing",
- "scale": "1x",
- "size": "1024x1024"
- },
- {
- "filename": "AppIcon-16.png",
- "idiom": "mac",
- "scale": "1x",
- "size": "16x16"
- },
- {
- "filename": "[email protected]",
- "idiom": "mac",
- "scale": "2x",
- "size": "16x16"
- },
- {
- "filename": "AppIcon-32.png",
- "idiom": "mac",
- "scale": "1x",
- "size": "32x32"
- },
- {
- "filename": "[email protected]",
- "idiom": "mac",
- "scale": "2x",
- "size": "32x32"
- },
- {
- "filename": "AppIcon-128.png",
- "idiom": "mac",
- "scale": "1x",
- "size": "128x128"
- },
- {
- "filename": "[email protected]",
- "idiom": "mac",
- "scale": "2x",
- "size": "128x128"
- },
- {
- "filename": "AppIcon-256.png",
- "idiom": "mac",
- "scale": "1x",
- "size": "256x256"
- },
- {
- "filename": "[email protected]",
- "idiom": "mac",
- "scale": "2x",
- "size": "256x256"
- },
- {
- "filename": "AppIcon-512.png",
- "idiom": "mac",
- "scale": "1x",
- "size": "512x512"
- },
- {
- "filename": "[email protected]",
- "idiom": "mac",
- "scale": "2x",
- "size": "512x512"
- }
- ],
- "info": {
- "author": "xcode",
- "version": 1
- }
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/Contents.json b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/Contents.json
deleted file mode 100644
index da4a164c9..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/Contents.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/unologo.imageset/Contents.json b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/unologo.imageset/Contents.json
deleted file mode 100644
index 9b481d06d..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/unologo.imageset/Contents.json
+++ /dev/null
@@ -1,528 +0,0 @@
-{
- "images": [
- {
- "idiom": "universal"
- },
- {
- "scale": "1x",
- "idiom": "universal"
- },
- {
- "filename": "unoplatform.jpg",
- "scale": "2x",
- "idiom": "universal"
- },
- {
- "scale": "3x",
- "idiom": "universal"
- },
- {
- "idiom": "iphone"
- },
- {
- "scale": "1x",
- "idiom": "iphone"
- },
- {
- "scale": "2x",
- "idiom": "iphone"
- },
- {
- "subtype": "retina4",
- "scale": "2x",
- "idiom": "iphone"
- },
- {
- "scale": "3x",
- "idiom": "iphone"
- },
- {
- "idiom": "ipad"
- },
- {
- "scale": "1x",
- "idiom": "ipad"
- },
- {
- "scale": "2x",
- "idiom": "ipad"
- },
- {
- "idiom": "watch"
- },
- {
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "screenWidth": "{130,145}",
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "screenWidth": "{146,165}",
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "idiom": "mac"
- },
- {
- "scale": "1x",
- "idiom": "mac"
- },
- {
- "scale": "2x",
- "idiom": "mac"
- },
- {
- "idiom": "car"
- },
- {
- "scale": "2x",
- "idiom": "car"
- },
- {
- "scale": "3x",
- "idiom": "car"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "1x",
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "3x",
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "1x",
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "iphone"
- },
- {
- "subtype": "retina4",
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "3x",
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "idiom": "ipad"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "1x",
- "idiom": "ipad"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "ipad"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "idiom": "watch"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "screenWidth": "{130,145}",
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "screenWidth": "{146,165}",
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "idiom": "mac"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "1x",
- "idiom": "mac"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "mac"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "idiom": "car"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "2x",
- "idiom": "car"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "dark"
- }
- ],
- "scale": "3x",
- "idiom": "car"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "1x",
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "3x",
- "idiom": "universal"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "1x",
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "iphone"
- },
- {
- "subtype": "retina4",
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "3x",
- "idiom": "iphone"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "idiom": "ipad"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "1x",
- "idiom": "ipad"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "ipad"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "idiom": "watch"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "screenWidth": "{130,145}",
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "screenWidth": "{146,165}",
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "watch"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "idiom": "mac"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "1x",
- "idiom": "mac"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "mac"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "idiom": "car"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "2x",
- "idiom": "car"
- },
- {
- "appearances": [
- {
- "appearance": "luminosity",
- "value": "light"
- }
- ],
- "scale": "3x",
- "idiom": "car"
- }
- ],
- "info": {
- "version": 1,
- "author": "xcode"
- }
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/unologo.imageset/unoplatform.jpg b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/unologo.imageset/unoplatform.jpg
deleted file mode 100644
index da3230e55..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Assets.xcassets/unologo.imageset/unoplatform.jpg and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Entitlements.plist b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Entitlements.plist
deleted file mode 100644
index fa00fff6b..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Entitlements.plist
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-</dict>
-</plist>
-
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Info.plist b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Info.plist
deleted file mode 100644
index 3e9eb3127..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Info.plist
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleName</key>
- <string>DevToys</string>
- <key>CFBundleIdentifier</key>
- <string>com.etiennebaudoux.devtoys</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>LSApplicationCategoryType</key>
- <string>public.app-category.utilities</string>
- <key>NSHumanReadableCopyright</key>
- <string>${AuthorCopyright:HtmlEncode}</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
- <key>XSAppIconAssets</key>
- <string>Assets.xcassets/AppIcons.appiconset</string>
- <key>ATSApplicationFontsPath</key>
- <string>Fonts/uno-fluentui-assets.ttf</string>
-</dict>
-</plist>
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Main.cs b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Main.cs
deleted file mode 100644
index bfe887e84..000000000
--- a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Main.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using AppKit;
-
-namespace DevToys.macOS
-{
- static class MainClass
- {
- static void Main(string[] args)
- {
- NSApplication.Init();
- NSApplication.SharedApplication.Delegate = new App();
- NSApplication.Main(args);
- }
- }
-}
diff --git a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Resources/Fonts/uno-fluentui-assets.ttf b/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Resources/Fonts/uno-fluentui-assets.ttf
deleted file mode 100644
index 055184054..000000000
Binary files a/src/app/dev/platforms/desktop/macos/DevToys.MacOS/macOS/Resources/Fonts/uno-fluentui-assets.ttf and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/LockScreenLogo.scale-200.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/LockScreenLogo.scale-200.png
deleted file mode 100644
index 7440f0d4b..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/LockScreenLogo.scale-200.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/SplashScreen.scale-200.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/SplashScreen.scale-200.png
deleted file mode 100644
index 32f486a86..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/SplashScreen.scale-200.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square150x150Logo.scale-200.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square150x150Logo.scale-200.png
deleted file mode 100644
index 53ee3777e..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square150x150Logo.scale-200.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square44x44Logo.scale-200.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square44x44Logo.scale-200.png
deleted file mode 100644
index f713bba67..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square44x44Logo.scale-200.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
deleted file mode 100644
index dc9f5bea0..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/StoreLogo.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/StoreLogo.png
deleted file mode 100644
index a4586f26b..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/StoreLogo.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Wide310x150Logo.scale-200.png b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Wide310x150Logo.scale-200.png
deleted file mode 100644
index 8b4a5d0dd..000000000
Binary files a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Assets/Wide310x150Logo.scale-200.png and /dev/null differ
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Clipboard/Clipboard.cs b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Clipboard/Clipboard.cs
deleted file mode 100644
index b9a4e017a..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Clipboard/Clipboard.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-using System.IO;
-using DevToys.Api.Core;
-using DevToys.UI.Framework.Threading;
-using Microsoft.Extensions.Logging;
-using Microsoft.UI.Dispatching;
-using Uno.Extensions;
-using Windows.ApplicationModel.DataTransfer;
-using Windows.Storage;
-using Windows.Storage.Streams;
-
-namespace DevToys.Wasdk.Core.Clipboard;
-
-[Export(typeof(IClipboard))]
-internal sealed partial class Clipboard : IClipboard
-{
- private readonly ILogger _logger;
- private readonly Lazy<DispatcherQueue> _dispatcherQueue
- = new(() =>
- {
- UI.Views.MainWindow? mainWindow = ((App)App.Current).MainWindow;
- Guard.IsNotNull(mainWindow);
- return mainWindow.DispatcherQueue;
- });
-
- [ImportingConstructor]
- public Clipboard()
- {
- _logger = this.Log();
- }
-
- public Task<object?> GetClipboardDataAsync()
- {
- return _dispatcherQueue.Value.RunOnUIThreadAsync<object?>(async () =>
- {
- try
- {
- DataPackageView package = Windows.ApplicationModel.DataTransfer.Clipboard.GetContent();
- if (package.Contains(StandardDataFormats.Text))
- {
- return await package.GetTextAsync();
- }
- else if (package.Contains(StandardDataFormats.StorageItems))
- {
- IReadOnlyList<IStorageItem> storageitems = await package.GetStorageItemsAsync();
- var files = new List<FileInfo>();
- foreach (IStorageItem storageItem in storageitems)
- {
- files.Add(new FileInfo(storageItem.Path));
- }
- return files;
- }
-#if !__WASM__
- else if (package.Contains(StandardDataFormats.Bitmap))
- {
- RandomAccessStreamReference imageStreamRef = await package.GetBitmapAsync();
- using IRandomAccessStreamWithContentType streamWithContentType = await imageStreamRef.OpenReadAsync();
- using Stream stream = streamWithContentType.AsStream();
- return await Image.LoadAsync(stream);
- }
-#endif
- }
- catch (Exception ex)
- {
- LogGetClipboardFailed(ex);
- }
-
- return null;
- });
- }
-
- public Task SetClipboardBitmapAsync(string? data)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- public Task SetClipboardFilesAsync(string? data)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- public Task SetClipboardTextAsync(string? data)
- {
- // TODO
- throw new NotImplementedException();
- }
-
- [LoggerMessage(1, LogLevel.Warning, "Failed to retrieve the clipboard data.")]
- partial void LogGetClipboardFailed(Exception ex);
-}
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Settings/SettingsStorage.Packaged.cs b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Settings/SettingsStorage.Packaged.cs
deleted file mode 100644
index 57e7a96f2..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Settings/SettingsStorage.Packaged.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-#if MSIX_PACKAGED || __WASM__
-using DevToys.Core.Settings;
-using Windows.Storage;
-
-namespace DevToys.Wasdk.Core.Settings;
-
-[Export(typeof(ISettingsStorage))]
-internal sealed class SettingsStorage : ISettingsStorage
-{
- private readonly ApplicationDataContainer _localSettings = ApplicationData.Current.LocalSettings;
-
- public void ResetSetting(string settingName)
- {
- _localSettings.Values.Remove(settingName);
- }
-
- public bool TryReadSetting(string settingName, out object? value)
- {
- if (_localSettings.Values.ContainsKey(settingName))
- {
- value = _localSettings.Values[settingName];
- return true;
- }
-
- value = null;
- return false;
- }
-
- public void WriteSetting(string settingName, object? value)
- {
- _localSettings.Values[settingName] = value;
- }
-}
-#endif
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Theme/ThemeListener.cs b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Theme/ThemeListener.cs
deleted file mode 100644
index 49ed665f4..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Core/Theme/ThemeListener.cs
+++ /dev/null
@@ -1,207 +0,0 @@
-using DevToys.Api;
-using DevToys.Api.Core.Theme;
-using Microsoft.UI.Xaml;
-using Windows.UI.ViewManagement;
-
-namespace DevToys.Wasdk.Core.Theme;
-
-[Export(typeof(IThemeListener))]
-internal sealed class ThemeListener : IThemeListener
-{
- private readonly AccessibilitySettings _accessible = new();
- private readonly ISettingsProvider _settingsProvider;
- private readonly ResourceDictionary _compactModeResourceDictionary = new();
-
- [ImportingConstructor]
- public ThemeListener(ISettingsProvider settingsProvider)
- {
- _settingsProvider = settingsProvider;
-
- _settingsProvider.SettingChanged += SettingsProvider_SettingChanged;
-
- _compactModeResourceDictionary.Source = new Uri("ms-appx:///DevToys.UI.Framework/Themes/Generic.xaml");
-
- if (Application.Current.RequestedTheme == Microsoft.UI.Xaml.ApplicationTheme.Dark)
- {
- CurrentSystemTheme = AvailableApplicationTheme.Dark;
- }
- else
- {
- CurrentSystemTheme = AvailableApplicationTheme.Light;
- }
-
- IsHighContrast = _accessible.HighContrast;
- }
-
- public AvailableApplicationTheme CurrentSystemTheme { get; private set; }
-
- public AvailableApplicationTheme CurrentAppTheme => _settingsProvider.GetSetting(DevToys.Core.Settings.PredefinedSettings.Theme);
-
- public Api.Core.Theme.ApplicationTheme ActualAppTheme { get; private set; }
-
- public bool IsHighContrast { get; private set; }
-
- public bool IsCompactMode => _settingsProvider.GetSetting(DevToys.Api.PredefinedSettings.CompactMode);
-
- public event EventHandler? ThemeChanged;
-
- public void UpdateThemeIfNeeded()
- {
- UpdateCompactMode();
-
- AvailableApplicationTheme currentAppTheme;
- if (Application.Current.RequestedTheme == Microsoft.UI.Xaml.ApplicationTheme.Dark)
- {
- currentAppTheme = AvailableApplicationTheme.Dark;
- }
- else
- {
- currentAppTheme = AvailableApplicationTheme.Light;
- }
-
- if (CurrentSystemTheme != currentAppTheme || IsHighContrast != _accessible.HighContrast)
- {
- UpdateProperties();
- }
- }
-
- public void ApplyDesiredColorTheme()
- {
- AvailableApplicationTheme theme = CurrentAppTheme;
-
- if (theme == AvailableApplicationTheme.Default)
- {
- theme = CurrentSystemTheme;
- }
-
- // Set theme for window root.
- if (theme == AvailableApplicationTheme.Dark)
- {
- ActualAppTheme = Api.Core.Theme.ApplicationTheme.Dark;
- }
- else
- {
- ActualAppTheme = Api.Core.Theme.ApplicationTheme.Light;
- }
- }
-
- private void SettingsProvider_SettingChanged(object? sender, SettingChangedEventArgs e)
- {
- if (string.Equals(DevToys.Core.Settings.PredefinedSettings.Theme.Name, e.SettingName, StringComparison.Ordinal))
- {
- ApplyDesiredColorTheme();
- ThemeChanged?.Invoke(this, EventArgs.Empty);
- }
- else if (string.Equals(DevToys.Api.PredefinedSettings.CompactMode.Name, e.SettingName, StringComparison.Ordinal))
- {
- UpdateCompactMode();
- }
- }
-
- /// <summary>
- /// Set our current properties and fire a change notification.
- /// </summary>
- private void UpdateProperties()
- {
- // TODO: Not sure if HighContrastScheme names are localized?
- if (_accessible.HighContrast && _accessible.HighContrastScheme.IndexOf("white", StringComparison.OrdinalIgnoreCase) != -1)
- {
- IsHighContrast = false;
- CurrentSystemTheme = AvailableApplicationTheme.Light;
- }
- else
- {
- // Otherwise, we just set to what's in the system as we'd expect.
- IsHighContrast = _accessible.HighContrast;
-
- AvailableApplicationTheme currentAppTheme;
- if (Application.Current.RequestedTheme == Microsoft.UI.Xaml.ApplicationTheme.Dark)
- {
- currentAppTheme = AvailableApplicationTheme.Dark;
- }
- else
- {
- currentAppTheme = AvailableApplicationTheme.Light;
- }
-
- CurrentSystemTheme = currentAppTheme;
- }
-
- ApplyDesiredColorTheme();
- ThemeChanged?.Invoke(this, EventArgs.Empty);
- }
-
- private void UpdateCompactMode()
- {
- if (IsCompactMode)
- {
- // NavigationView
- UpdateAppResource("NavigationViewItemOnLeftMinHeight", 20);
-
- // Page
- UpdateAppResource("PageDefaultPadding", new Thickness(16, 32, 16, 32));
-
- // UISetting
- UpdateAppResource("UISettingPresenterContentPadding", new Thickness(16, 4, 16, 4));
- UpdateAppResource("UISettingGroupPresenterContentMargin", new Thickness(0, 4, 0, 4));
-
- // UITextInputHeader
- UpdateAppResource("UITextInputHeaderCommandMargin", new Thickness(0, 0, 0, 4));
-
- // ComboBox
- UpdateAppResource("ComboBoxMinHeight", 24);
- UpdateAppResource("ComboBoxPadding", new Thickness(8, 1, 0, 1));
-
- // Button
- UpdateAppResource("ButtonMinHeight", 24);
- UpdateAppResource("ButtonPadding", new Thickness(8, 1, 8, 1));
-
- // TextBox
- UpdateAppResource("TextControlThemeMinHeight", 24);
- UpdateAppResource("TextControlThemePadding", new Thickness(2, 2, 6, 2));
- }
- else
- {
- // NavigationView
- UpdateAppResource("NavigationViewItemOnLeftMinHeight", 32);
-
- // Page
- UpdateAppResource("PageDefaultPadding", new Thickness(56, 32, 56, 56));
-
- // UISetting
- UpdateAppResource("UISettingPresenterContentPadding", new Thickness(16));
- UpdateAppResource("UISettingGroupPresenterContentMargin", new Thickness(0, 16, 0, 16));
-
- // UITextInputHeader
- UpdateAppResource("UITextInputHeaderCommandMargin", new Thickness(0, 0, 0, 8));
-
- // ComboBox
- UpdateAppResource("ComboBoxMinHeight", 32);
- UpdateAppResource("ComboBoxPadding", new Thickness(12, 5, 0, 7));
-
- // Button
- UpdateAppResource("ButtonMinHeight", 32);
- UpdateAppResource("ButtonPadding", new Thickness(11, 5, 11, 6));
-
- // TextBox
- UpdateAppResource("TextControlThemeMinHeight", 32);
- UpdateAppResource("TextControlThemePadding", new Thickness(10, 5, 6, 6));
- }
-
- // Toggle between the themes to force reload the resource styles.
- Api.Core.Theme.ApplicationTheme backupTheme = ActualAppTheme;
- ActualAppTheme = Api.Core.Theme.ApplicationTheme.Dark;
- ThemeChanged?.Invoke(this, EventArgs.Empty);
-
- ActualAppTheme = Api.Core.Theme.ApplicationTheme.Light;
- ThemeChanged?.Invoke(this, EventArgs.Empty);
-
- ActualAppTheme = backupTheme;
- ThemeChanged?.Invoke(this, EventArgs.Empty);
- }
-
- private static void UpdateAppResource(string resourceName, object value)
- {
- App.Current.Resources[resourceName] = value;
- }
-}
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/DevToys.Wasdk.csproj b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/DevToys.Wasdk.csproj
deleted file mode 100644
index 7b48731e6..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/DevToys.Wasdk.csproj
+++ /dev/null
@@ -1,97 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <OutputType>WinExe</OutputType>
- <TargetFramework>$(NetCoreWindows)</TargetFramework>
- <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
- <RootNamespace>DevToys.Wasdk</RootNamespace>
- <ApplicationManifest>app.manifest</ApplicationManifest>
- <UseWinUI>true</UseWinUI>
- <EnableMsixTooling>true</EnableMsixTooling>
- <DefineConstants>$(DefineConstants);__WINDOWS__</DefineConstants>
- <Platforms>x86;x64;arm64</Platforms>
- <RuntimeIdentifiers>win10-arm64;win10-x64;win10-x86</RuntimeIdentifiers>
- <PublishProfile>win10-$(Platform).pubxml</PublishProfile>
- <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
- <WinUISDKReferences>false</WinUISDKReferences>
- <SelfContained>true</SelfContained>
- <AppxPackage>true</AppxPackage>
-
- <!-- Uncomment this line temporarily if you want to debug the Unpackaged build. -->
- <!-- <Unpackaged>true</Unpackaged> -->
- </PropertyGroup>
-
- <!-- Only for Unpackaged deployment -->
- <PropertyGroup Condition="'$(Unpackaged)' == 'true'">
- <WindowsPackageType>None</WindowsPackageType>
- <AppxPackage>false</AppxPackage>
- </PropertyGroup>
-
- <!-- Only for Packaged deployment -->
- <PropertyGroup Condition="'$(Unpackaged)' != 'true'">
- <DefineConstants>$(DefineConstants);MSIX_PACKAGED</DefineConstants>
- <GenerateAppxPackageOnBuild>true</GenerateAppxPackageOnBuild>
- <PublishAppxPackage>True</PublishAppxPackage>
- <AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms>
- <UapAppxPackageBuildMode>SideloadOnly</UapAppxPackageBuildMode>
- <AppxBundle>Always</AppxBundle>
- <AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
- <GenerateTestArtifacts>True</GenerateTestArtifacts>
- <GenerateAppInstallerFile>False</GenerateAppInstallerFile>
- <AppxPackageDir>$(RepoRoot)publish\AppPackages\$(Platform)</AppxPackageDir>
- </PropertyGroup>
-
- <PropertyGroup Condition="'$(RuntimeIdentifierOverride)' != ''">
- <RuntimeIdentifier>$(RuntimeIdentifierOverride)</RuntimeIdentifier>
- </PropertyGroup>
-
- <ItemGroup>
- <Content Include="Assets\SplashScreen.scale-200.png" />
- <Content Include="Assets\LockScreenLogo.scale-200.png" />
- <Content Include="Assets\Square150x150Logo.scale-200.png" />
- <Content Include="Assets\Square44x44Logo.scale-200.png" />
- <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
- <Content Include="Assets\StoreLogo.png" />
- <Content Include="Assets\Wide310x150Logo.scale-200.png" />
- </ItemGroup>
-
- <ItemGroup>
- <PackageReference Include="Microsoft.Extensions.Logging" />
- <PackageReference Include="Microsoft.Extensions.Logging.Console" />
- <PackageReference Include="Microsoft.Extensions.Logging.Debug" />
- <PackageReference Include="Microsoft.Graphics.Win2D" />
- <PackageReference Include="Microsoft.WindowsAppSDK" />
- <PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
- <PackageReference Include="SixLabors.ImageSharp" />
- <Manifest Include="$(ApplicationManifest)" />
- </ItemGroup>
-
- <!--
- Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
- Tools extension to be activated for this project even if the Windows App SDK Nuget
- package has not yet been restored.
- -->
- <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
- <ProjectCapability Include="Msix" />
- </ItemGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\..\..\..\DevToys.Api\DevToys.Api.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.Core\DevToys.Core.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.Business\DevToys.Business.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.MonacoEditor\DevToys.MonacoEditor.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.Tools\DevToys.Tools.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.UI.Framework\DevToys.UI.Framework.csproj" />
- <ProjectReference Include="..\..\..\..\DevToys.UI\DevToys.UI.csproj" />
- </ItemGroup>
-
- <!--
- Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
- Explorer "Package and Publish" context menu entry to be enabled for this project even if
- the Windows App SDK Nuget package has not yet been restored.
- -->
- <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
- <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
- </PropertyGroup>
-
- <Import Project="$(RepoRoot)\src\app\dev\shared\App.props" />
-</Project>
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Package.appxmanifest b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Package.appxmanifest
deleted file mode 100644
index 429c2d890..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Package.appxmanifest
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<Package
- xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
- xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
- xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
- IgnorableNamespaces="uap rescap">
-
- <!-- Please DO NOT commit changes on the version number below unless you're about to release a new version of the app on the Store. -->
- <Identity Name="DevToysPreview"
- Publisher="CN=ebaud"
- Version="0.0.0.0" />
-
- <Properties>
- <DisplayName>DevToys - Preview</DisplayName>
- <PublisherDisplayName>etiennebaudoux</PublisherDisplayName>
- <Logo>Assets\StoreLogo.png</Logo>
- </Properties>
-
- <Dependencies>
- <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.18362.0" MaxVersionTested="10.0.19041.0" />
- <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18362.0" MaxVersionTested="10.0.19041.0" />
- </Dependencies>
-
- <Resources>
- <Resource Language="x-generate"/>
- </Resources>
-
- <Applications>
- <Application Id="App"
- Executable="$targetnametoken$.exe"
- EntryPoint="$targetentrypoint$">
- <uap:VisualElements
- DisplayName="DevToys"
- Description="DevToys"
- BackgroundColor="transparent"
- Square150x150Logo="Assets\Square150x150Logo.png"
- Square44x44Logo="Assets\Square44x44Logo.png">
- <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" />
- <uap:SplashScreen Image="Assets\SplashScreen.png" />
- </uap:VisualElements>
- </Application>
- </Applications>
-
- <Capabilities>
- <rescap:Capability Name="runFullTrust" />
- </Capabilities>
-</Package>
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-arm64.pubxml b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-arm64.pubxml
deleted file mode 100644
index a7fdd16b6..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-arm64.pubxml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-https://go.microsoft.com/fwlink/?LinkID=208121.
--->
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <PublishProtocol>FileSystem</PublishProtocol>
- <Platform>ARM64</Platform>
- <RuntimeIdentifier>win10-arm64</RuntimeIdentifier>
- <PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
- <SelfContained>true</SelfContained>
- <PublishSingleFile>False</PublishSingleFile>
- <PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
- <PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
- <!--
- See https://github.com/microsoft/CsWinRT/issues/373
- <PublishTrimmed>True</PublishTrimmed>
- -->
- </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-x64.pubxml b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-x64.pubxml
deleted file mode 100644
index 26ea7e55c..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-x64.pubxml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-https://go.microsoft.com/fwlink/?LinkID=208121.
--->
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <PublishProtocol>FileSystem</PublishProtocol>
- <Platform>x64</Platform>
- <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
- <PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
- <SelfContained>true</SelfContained>
- <PublishSingleFile>False</PublishSingleFile>
- <PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
- <PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
- <!--
- See https://github.com/microsoft/CsWinRT/issues/373
- <PublishTrimmed>True</PublishTrimmed>
- -->
- </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-x86.pubxml b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-x86.pubxml
deleted file mode 100644
index 34d14d4d4..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/PublishProfiles/win10-x86.pubxml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-https://go.microsoft.com/fwlink/?LinkID=208121.
--->
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <PublishProtocol>FileSystem</PublishProtocol>
- <Platform>x86</Platform>
- <RuntimeIdentifier>win10-x86</RuntimeIdentifier>
- <PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
- <SelfContained>true</SelfContained>
- <PublishSingleFile>False</PublishSingleFile>
- <PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
- <PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
- <!--
- See https://github.com/microsoft/CsWinRT/issues/373
- <PublishTrimmed>True</PublishTrimmed>
- -->
- </PropertyGroup>
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/launchSettings.json b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/launchSettings.json
deleted file mode 100644
index 75fc71509..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/Properties/launchSettings.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "profiles": {
- "DevToys.Wasdk (Package)": {
- "commandName": "MsixPackage"
- },
- // If you want to run an Unpackaged build from your IDE, make sure to also set Unpackage to True in the CSPROJ.
- //"DevToys.Wasdk (Unpackaged)": {
- // "commandName": "Project"
- //}
- }
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/app.manifest b/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/app.manifest
deleted file mode 100644
index 4b3e6d5f2..000000000
--- a/src/app/dev/platforms/desktop/windows/DevToys.Wasdk/app.manifest
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
- <assemblyIdentity version="1.0.0.0" name="DevToys.Wasdk.app"/>
-
- <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
- <application>
- <!--The ID below informs the system that this application is compatible with OS features first introduced in Windows 8.
- For more info see https://docs.microsoft.com/windows/win32/sysinfo/targeting-your-application-at-windows-8-1
-
- It is also necessary to support features in unpackaged applications, for example the custom titlebar implementation.-->
- <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />
- </application>
- </compatibility>
-
- <application xmlns="urn:schemas-microsoft-com:asm.v3">
- <windowsSettings>
- <!-- The combination of below two tags have the following effect:
- 1) Per-Monitor for >= Windows 10 Anniversary Update
- 2) System < Windows 10 Anniversary Update
- -->
- <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
- <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness>
- </windowsSettings>
- </application>
-</assembly>
\ No newline at end of file
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-128.png b/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-128.png
deleted file mode 100644
index 5757c31d2..000000000
Binary files a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-128.png and /dev/null differ
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-16.png b/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-16.png
deleted file mode 100644
index 17d637b23..000000000
Binary files a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-16.png and /dev/null differ
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-256.png b/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-256.png
deleted file mode 100644
index dcaaf7fad..000000000
Binary files a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-256.png and /dev/null differ
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-32.png b/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-32.png
deleted file mode 100644
index c02a2268a..000000000
Binary files a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-32.png and /dev/null differ
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-512.png b/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-512.png
deleted file mode 100644
index a90995087..000000000
Binary files a/src/app/dev/platforms/web/DevToys.Wasm/Assets/AppIcon-512.png and /dev/null differ
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Assets/SplashScreen.png b/src/app/dev/platforms/web/DevToys.Wasm/Assets/SplashScreen.png
deleted file mode 100644
index 8c265cf27..000000000
Binary files a/src/app/dev/platforms/web/DevToys.Wasm/Assets/SplashScreen.png and /dev/null differ
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Core/FontProvider/FontProvider.cs b/src/app/dev/platforms/web/DevToys.Wasm/Core/FontProvider/FontProvider.cs
deleted file mode 100644
index 3e461ce5d..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/Core/FontProvider/FontProvider.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using DevToys.Api.Core;
-
-namespace DevToys.Wasm.Core.FontProvider;
-
-[Export(typeof(IFontProvider))]
-internal sealed class FontProvider : IFontProvider
-{
- public string[] GetFontFamilies()
- {
- // TODO
- throw new NotImplementedException();
- }
-}
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/DevToys.Wasm.csproj b/src/app/dev/platforms/web/DevToys.Wasm/DevToys.Wasm.csproj
deleted file mode 100644
index fa011f05b..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/DevToys.Wasm.csproj
+++ /dev/null
@@ -1,75 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFramework>$(NetCore)</TargetFramework>
- <ImplicitUsings>disable</ImplicitUsings>
- <NoWarn>NU1701</NoWarn>
- <WasmPWAManifestFile>manifest.json</WasmPWAManifestFile>
- <DefineConstants>__WASM__</DefineConstants>
- <BaseIntermediateOutputPath>..\..\..\..\..\..\obj\AnyCPU\DevToys.Wasm</BaseIntermediateOutputPath>
- </PropertyGroup>
-
- <PropertyGroup Condition="'$(Configuration)'=='Debug'">
- <MonoRuntimeDebuggerEnabled>true</MonoRuntimeDebuggerEnabled>
- <DefineConstants>$(DefineConstants);TRACE;DEBUG</DefineConstants>
- <DebugType>portable</DebugType>
- <DebugSymbols>true</DebugSymbols>
- <!--
- IL Linking is disabled in Debug configuration.
- When building in Release, see https://platform.uno/docs/articles/features/using-il-linker-webassembly.html
- -->
- <WasmShellILLinkerEnabled>false</WasmShellILLinkerEnabled>
- </PropertyGroup>
- <ItemGroup>
- <Content Include="Assets\SplashScreen.png" />
- </ItemGroup>
- <ItemGroup>
- <UpToDateCheckInput Include="..\..\..\DevToys.UI\**\*.xaml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\..\desktop\windows\DevToys.Wasdk\Core\**\*" Link="Core\%(RecursiveDir)/%(Filename)%(Extension)" />
- </ItemGroup>
- <ItemGroup>
- <Compile Remove="..\..\desktop\windows\DevToys.Wasdk\Core\FontProvider\FontProvider.cs" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Include="WasmCSS\Fonts.css" />
- <EmbeddedResource Include="WasmScripts\AppManifest.js" />
- </ItemGroup>
- <ItemGroup>
- <LinkerDescriptor Update="Properties\DevToys.Wasm.xml" />
- </ItemGroup>
- <ItemGroup>
- <!--
- This item group is required by the project template because of the
- new SDK-Style project, otherwise some files are not added automatically.
-
- You can safely remove this ItemGroup completely.
- -->
- <None Include="Program.cs" />
- <None Include="wwwroot\web.config" />
- </ItemGroup>
-
- <ItemGroup>
- <PackageReference Include="Microsoft.Extensions.Logging" />
- <PackageReference Include="Microsoft.Windows.Compatibility" />
- <PackageReference Include="Uno.Extensions.Logging.WebAssembly.Console" />
- <PackageReference Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" />
- <PackageReference Include="Uno.Wasm.Bootstrap" />
- <PackageReference Include="Uno.Wasm.Bootstrap.DevServer" />
- <PackageReference Include="Uno.WinUI.Lottie" />
- <PackageReference Include="Uno.WinUI.WebAssembly" />
- <PackageReference Include="Uno.WinUI.RemoteControl" Condition="'$(Configuration)'=='Debug'" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\DevToys.Api\DevToys.Api.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Core\DevToys.Core.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Business\DevToys.Business.csproj" />
- <ProjectReference Include="..\..\..\DevToys.MonacoEditor\DevToys.MonacoEditor.csproj" />
- <ProjectReference Include="..\..\..\DevToys.Tools\DevToys.Tools.csproj" />
- <ProjectReference Include="..\..\..\DevToys.UI.Framework\DevToys.UI.Framework.csproj" />
- <ProjectReference Include="..\..\..\DevToys.UI\DevToys.UI.csproj" />
- </ItemGroup>
-
- <Import Project="$(RepoRoot)\src\app\dev\shared\App.props" />
-</Project>
\ No newline at end of file
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Program.cs b/src/app/dev/platforms/web/DevToys.Wasm/Program.cs
deleted file mode 100644
index 75611d9a8..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/Program.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace DevToys.Wasm;
-
-public class Program
-{
- private static App? app;
-
- private static int Main(string[] args)
- {
- Microsoft.UI.Xaml.Application.Start(_ => app = new App());
-
- return 0;
- }
-}
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/Properties/launchSettings.json b/src/app/dev/platforms/web/DevToys.Wasm/Properties/launchSettings.json
deleted file mode 100644
index 3476260f6..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/Properties/launchSettings.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "iisSettings": {
- "windowsAuthentication": false,
- "anonymousAuthentication": true,
- "iisExpress": {
- "applicationUrl": "http://localhost:8080",
- "sslPort": 0
- }
- },
- "profiles": {
- "DevToys.Wasm": {
- "commandName": "Project",
- "launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
- "applicationUrl": "http://localhost:5000",
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- },
- "IIS Express": {
- "commandName": "IISExpress",
- "launchBrowser": true,
- "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/WasmCSS/Fonts.css b/src/app/dev/platforms/web/DevToys.Wasm/WasmCSS/Fonts.css
deleted file mode 100644
index f235ecd11..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/WasmCSS/Fonts.css
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- When adding fonts here, make sure to add them using a base64 data uri, otherwise
- fonts loading are delayed, and text may get displayed incorrectly.
-*/
-
-@font-face {
- font-family: "Symbols";
- /* uno-fluentui-assets.woff2 */
- src:url(data:application/x-font-woff;charset=utf-8;base64,d09GMgABAAAAAerwAAsAAAAGu1gAAeqfAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAhlwRCAqatUCTqAEBNgIkA5l4C5l8AAQgBYMGByBb3OZ0QXHDdCg/U91Vdb4j8hn8JhvXYOdozTHQqv9jO6Bs202g0ptVBIg/Q8j+/z/xaIzRtsONA0Aj/ap6yDCkqCp0ItEyu5A1h5OUQk7qORZ7jWE6M9IBDlVQcaX6R9t8kiGarOLP8Fbhg2leqKveV+SiHVYSCUMPBgTD1hY8uYmeeLTNIxMSXaY7fkX91eYajXt5i78OE+0bJ2qgBw46qaCHL4ep7+Cn+ffmZHN3sbj9hf/HZIM6D1Qp0FYGUjR5bl60jttHXrjg43vZG9rURacKEoqlU7QxbH6z8BCQyU05LBGVbjXiiNx6YsT352m6eslkRDORpkkqaT1FW6dQmXrapi5Q9dRo5pcasKKwC2vcogcna96wnNM9WxGHsoh34PtvP3bnrcz+RSV5aOKJCAlCEQuJxiFGL5VWCOkP0Zw1uztrCdGNQlJFKkiChToQpVwLFEuoAQmQtE4SKJwkhSTUXnpHQnvfPyv23lK7c6ANJ4b2REvgeu8tVjlheP5mr7bk6TeRB2g6qwPoBnX1pfRljbdpmqafhtoC0/XOvNlNA8aznjL73zVF/Fe6jX8GnLRsgXUvV3RbPT2/VsixnRGratrNJxVq9DyQ3rvL6RA6H2E6hOHu/6PGEd/pWVvIIj2ySqT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uyr83vFykllqG0f9BrW660yP77BSeLpbJtONnrV26RX4Oi/XHbgfsOR6iEEnpWQd75PAz7ASNQR74pF+DjvZJZBcbFCOrsWwbLPmA02a+PxGEClhwElX1ZzcA6nDphkYYunwZnJrJfmJR9zuTst0cWWIZljsqyrxd12IPOT9XLHUAxTRykmsMcwPkJdLflqE2RUEYN9Thx6Jf9EMtADcmgKk1/Q/igu6wHO6ihDve47irqQehTuJD64MLTck8G/rtJuMCA63BNnjpqPjyZyatwUYOttJqmrTQPa4Njm0WwDU8GDG4AAA==) format('woff2');
-}
-
-
-/* Workaround for uno issue https://github.com/unoplatform/uno/issues/693 */
-body::before {
- font-family: 'Symbols';
- background: transparent;
- content: "";
- opacity: 0;
- pointer-events: none;
- position: absolute;
-}
-
-/* https://github.com/unoplatform/uno/issues/4304 */
-@font-face {
- font-family: 'Segoe UI';
- src: local('system-ui'), local('Segoe UI'), local('-apple-system'), local('BlinkMacSystemFont'), local('Inter'), local('Cantarell'), local('Ubuntu'), local('Roboto'), local('Open Sans'), local('Noto Sans'), local('Helvetica Neue'), local('sans-serif');
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/WasmScripts/AppManifest.js b/src/app/dev/platforms/web/DevToys.Wasm/WasmScripts/AppManifest.js
deleted file mode 100755
index ce9851333..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/WasmScripts/AppManifest.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var UnoAppManifest = {
- splashScreenImage: "Assets/SplashScreen.png",
- splashScreenColor: "transparent",
- displayName: "DevToys"
-}
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/manifest.json b/src/app/dev/platforms/web/DevToys.Wasm/manifest.json
deleted file mode 100644
index ca878fd7e..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/manifest.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "background_color": "#ffffff",
- "description": "DevToys",
- "display": "standalone",
- "icons": [
- {
- "src": "Assets/AppIcon-16.png",
- "sizes": "16x16",
- "type": "image/png"
- },
- {
- "src": "Assets/AppIcon-32.png",
- "sizes": "32x32",
- "type": "image/png"
- },
- {
- "src": "Assets/AppIcon-128.png",
- "sizes": "128x128",
- "type": "image/png"
- },
- {
- "src": "Assets/AppIcon-256.png",
- "sizes": "256x256",
- "type": "image/png"
- },
- {
- "src": "Assets/AppIcon-512.png",
- "sizes": "512x512",
- "type": "image/png"
- }
- ],
- "name": "DevToys",
- "short_name": "DevToys",
- "start_url": "/index.html",
- "theme_color": "#ffffff",
- "scope": "/"
-}
\ No newline at end of file
diff --git a/src/app/dev/platforms/web/DevToys.Wasm/wwwroot/web.config b/src/app/dev/platforms/web/DevToys.Wasm/wwwroot/web.config
deleted file mode 100644
index 8f5a860f5..000000000
--- a/src/app/dev/platforms/web/DevToys.Wasm/wwwroot/web.config
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
- <system.web>
- <customErrors mode="Off"/>
- </system.web>
-
- <system.webServer>
-
- <!-- Disable compression as we're doing it through pre-compressed files -->
- <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
-
- <staticContent>
- <remove fileExtension=".dll" />
- <remove fileExtension=".wasm" />
- <remove fileExtension=".woff" />
- <remove fileExtension=".woff2" />
- <mimeMap fileExtension=".wasm" mimeType="application/wasm" />
- <mimeMap fileExtension=".clr" mimeType="application/octet-stream" />
- <mimeMap fileExtension=".pdb" mimeType="application/octet-stream" />
- <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
- <mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
- <mimeMap fileExtension=".dat" mimeType="application/octet-stream" />
- <!-- Required for PWAs -->
- <mimeMap fileExtension=".json" mimeType="application/octet-stream" />
- </staticContent>
-
- <rewrite>
- <rules>
- <rule name="Lookup for pre-compressed brotli file" stopProcessing="true">
- <match url="(.*)$"/>
- <conditions>
- <!-- Match brotli requests -->
- <add input="{HTTP_ACCEPT_ENCODING}" pattern="br" />
-
- <!-- Match all but pre-compressed files -->
- <add input="{REQUEST_URI}" pattern="^(?!/_compressed_br/)(.*)$" />
-
- <!-- Check if the pre-compressed file exists on the disk -->
- <add input="{DOCUMENT_ROOT}/_compressed_br/{C:0}" matchType="IsFile" negate="false" />
- </conditions>
- <action type="Rewrite" url="/_compressed_br{C:0}" />
- </rule>
-
- <rule name="Lookup for pre-compressed gzip file" stopProcessing="true">
- <match url="(.*)$"/>
- <conditions>
- <!-- Match gzip requests -->
- <add input="{HTTP_ACCEPT_ENCODING}" pattern="gzip" />
-
- <!-- Match all but pre-compressed files -->
- <add input="{REQUEST_URI}" pattern="^(?!/_compressed_gz/)(.*)$" />
-
- <!-- Check if the pre-compressed file exists on the disk -->
- <add input="{DOCUMENT_ROOT}/_compressed_gz/{C:0}" matchType="IsFile" negate="false" />
- </conditions>
- <action type="Rewrite" url="/_compressed_gz{C:0}" />
- </rule>
- </rules>
-
- <outboundRules>
- <rule name="Adjust content encoding for gzip pre-compressed files" enabled="true" stopProcessing="true">
- <match serverVariable="RESPONSE_CONTENT_ENCODING" pattern="" />
- <conditions>
- <add input="{REQUEST_URI}" pattern="/_compressed_gz/.*$" />
- </conditions>
- <action type="Rewrite" value="gzip"/>
- </rule>
- <rule name="Adjust content encoding for brotli pre-compressed files" enabled="true" stopProcessing="true">
- <match serverVariable="RESPONSE_CONTENT_ENCODING" pattern="" />
- <conditions>
- <add input="{REQUEST_URI}" pattern="/_compressed_br/.*$" />
- </conditions>
- <action type="Rewrite" value="br"/>
- </rule>
- </outboundRules>
- </rewrite>
- </system.webServer>
-</configuration>
diff --git a/src/app/dev/shared/App.props b/src/app/dev/shared/App.props
deleted file mode 100644
index 2f0815a2f..000000000
--- a/src/app/dev/shared/App.props
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project>
- <ItemGroup>
- <None Include="$(MSBuildThisFileDirectory)App.xaml" />
- <ApplicationDefinition
- Include="$(MSBuildThisFileDirectory)App.xaml"
- SubType="Designer"
- XamlRuntime="WinUI"
- Generator="MSBuild:Compile"
- Link="App.xaml" />
- <Compile
- Include="$(MSBuildThisFileDirectory)App.xaml.cs"
- XamlRuntime="WinUI"
- DependentUpon="App.xaml"
- Link="App.xaml.cs" />
- </ItemGroup>
-</Project>
diff --git a/src/app/dev/shared/App.xaml b/src/app/dev/shared/App.xaml
deleted file mode 100644
index d76cf4fc1..000000000
--- a/src/app/dev/shared/App.xaml
+++ /dev/null
@@ -1,19 +0,0 @@
-<Application
- x:Class="DevToys.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:DevToys">
-
- <Application.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
- <ResourceDictionary Source="ms-appx:///DevToys.UI.Framework/Themes/Generic.xaml"/>
- <!-- Add resource dictionaries here -->
- </ResourceDictionary.MergedDictionaries>
-
- <!-- Add resources here -->
- </ResourceDictionary>
- </Application.Resources>
-
-</Application>
diff --git a/src/app/dev/shared/App.xaml.cs b/src/app/dev/shared/App.xaml.cs
deleted file mode 100644
index 16a632d65..000000000
--- a/src/app/dev/shared/App.xaml.cs
+++ /dev/null
@@ -1,295 +0,0 @@
-using DevToys.Api;
-using DevToys.Api.Core;
-using DevToys.Api.Core.Theme;
-using DevToys.Business.ViewModels;
-using DevToys.Core.Logging;
-using DevToys.Core.Mef;
-using DevToys.Core.Settings;
-using DevToys.Tools;
-using DevToys.UI;
-using DevToys.UI.Framework.Controls;
-using DevToys.UI.Framework.Helpers;
-using DevToys.UI.Views;
-using DevToys.Wasdk.Core.FileStorage;
-using Microsoft.Extensions.Logging;
-using Microsoft.UI.Xaml;
-using Uno.Extensions;
-using Uno.Logging;
-using Windows.ApplicationModel;
-using Windows.ApplicationModel.Core;
-using ILogger = Microsoft.Extensions.Logging.ILogger;
-using LaunchActivatedEventArgs = Microsoft.UI.Xaml.LaunchActivatedEventArgs;
-using PredefinedSettings = DevToys.Core.Settings.PredefinedSettings;
-using UnhandledExceptionEventArgs = Microsoft.UI.Xaml.UnhandledExceptionEventArgs;
-
-namespace DevToys;
-
-/// <summary>
-/// Provides application-specific behavior to supplement the default Application class.
-/// </summary>
-public sealed partial class App : Application
-{
- // Always keep an instance of MefComposer alive so GC doesn't purge it.
- private readonly MefComposer _mefComposer;
-
- private readonly IMefProvider _mefProvider;
- private readonly Lazy<ISettingsProvider> _settingsProvider;
- private readonly Lazy<IThemeListener> _themeListener;
- private readonly ILoggerFactory _loggerFactory;
- private readonly ILogger _logger;
-
- /// <summary>
- /// Initializes the singleton application object. This is the first line of authored code
- /// executed, and as such is the logical equivalent of main() or WinMain().
- /// </summary>
- public App()
- {
- this.InitializeComponent();
-
- DateTime startTime = DateTime.Now;
- _loggerFactory = InitializeLogging();
- _logger = this.Log();
- LogLoggerInitialization((DateTime.Now - startTime).TotalMilliseconds);
- LogAppStarting();
-
- this.UnhandledException += OnUnhandledException;
-
-#if HAS_UNO || NETFX_CORE
- this.Suspending += OnSuspending;
-#endif
-
- _mefComposer
- = new MefComposer(
- new[]
- {
- typeof(DevToysToolsResourceManagerAssemblyIdentifier).Assembly,
- typeof(MainWindow).Assembly,
- typeof(MainWindowViewModel).Assembly,
- typeof(MonacoEditor.CodeEditor).Assembly
- });
-
- _mefProvider = _mefComposer.Provider;
-
- _settingsProvider = new Lazy<ISettingsProvider>(_mefProvider.Import<ISettingsProvider>);
- _themeListener = new Lazy<IThemeListener>(_mefProvider.Import<IThemeListener>());
- }
-
- internal MainWindow? MainWindow { get; private set; }
-
- /// <summary>
- /// Invoked when the application is launched normally by the end user. Other entry points
- /// will be used such as when the application is launched to open a specific file.
- /// </summary>
- /// <param name="args">Details about the launch request and process.</param>
- protected override void OnLaunched(LaunchActivatedEventArgs args)
- {
-#if DEBUG
- if (Debugger.IsAttached)
- {
- // this.DebugSettings.EnableFrameRateCounter = true;
- }
-#endif
-
- // Set the user-defined language.
- string? languageIdentifier = _settingsProvider.Value.GetSetting(PredefinedSettings.Language);
- LanguageDefinition languageDefinition
- = LanguageManager.Instance.AvailableLanguages.FirstOrDefault(l => string.Equals(l.InternalName, languageIdentifier))
- ?? LanguageManager.Instance.AvailableLanguages[0];
- LanguageManager.Instance.SetCurrentCulture(languageDefinition);
-
- IThemeListener themeListener = _themeListener.Value;
-
- Parts.MefProvider = _mefProvider;
-
- SetDefaultTextEditorFont();
-
-#if __WINDOWS__
- // On Windows 10 version 1607 or later, this code signals that this app wants to participate in prelaunch
- CoreApplication.EnablePrelaunch(true);
-#endif
-
-#if __WINDOWS__
- MainWindow = new MainWindow(new BackdropWindow(), themeListener, _mefProvider);
-#elif __MACCATALYST__
- // Important! Keep the full name `Microsoft.UI.Xaml.Window.Current` otherwise the Mac app won't build.
- // See https://blog.mzikmund.com/2020/04/resolving-uno-platform-uiwindow-does-not-contain-a-definition-for-current-issue/
- MainWindow = new MainWindow(new BackdropWindow(Microsoft.UI.Xaml.Window.Current), themeListener, _mefProvider);
-#else
- MainWindow = new MainWindow(new BackdropWindow(Window.Current), themeListener, _mefProvider);
-#endif
-
- // Apply the app color theme.
- themeListener.ApplyDesiredColorTheme();
-
- MainWindow.Activated += MainWindow_Activated;
- MainWindow.Closed += MainWindow_Closed;
-
- MainWindow.Show();
-
- Windows.ApplicationModel.Activation.LaunchActivatedEventArgs uwpArgs = args.UWPLaunchActivatedEventArgs;
-
-#if !(NET6_0_OR_GREATER && WINDOWS)
- if (uwpArgs.PrelaunchActivated == false)
-#endif
- {
- // Ensure the current window is active
- MainWindow.Activate();
- }
- }
-
- private void MainWindow_Closed(BackdropWindow sender, EventArgs args)
- {
- LogAppShuttingDown();
- _loggerFactory.Dispose();
-
- Guard.IsNotNull(MainWindow);
- MainWindow.Activated -= MainWindow_Activated;
- MainWindow.Closed -= MainWindow_Closed;
- }
-
- private void MainWindow_Activated(BackdropWindow sender, WindowActivatedEventArgs args)
- {
- _themeListener.Value.UpdateThemeIfNeeded();
- }
-
- /// <summary>
- /// Invoked when application execution is being suspended. Application state is saved
- /// without knowing whether the application will be terminated or resumed with the contents
- /// of memory still intact.
- /// </summary>
- /// <param name="sender">The source of the suspend request.</param>
- /// <param name="e">Details about the suspend request.</param>
-#if __WINDOWS__
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "IDE0060:Remove unused parameter", Justification = "<Pending>")]
- [System.Diagnostics.CodeAnalysis.SuppressMessage("CodeQuality", "IDE0051:Remove unused private members", Justification = "<Pending>")]
-#endif
- private void OnSuspending(object sender, SuspendingEventArgs e)
- {
- SuspendingDeferral deferral = e.SuspendingOperation.GetDeferral();
- //TODO: Save application state and stop any background activity
- deferral.Complete();
- }
-
- private void OnUnhandledException(object sender, UnhandledExceptionEventArgs e)
- {
- LogUnhandledException(e.Exception);
- _loggerFactory.Dispose();
-
- // TODO:
- // Maybe we need to dispose all tools in case if they have on-going work so they have a chance to finish correctly?
- // Also, use IMarketingService to NotifyAppEncounteredAProblemAsync ?
- }
-
- private void SetDefaultTextEditorFont()
- {
- string? currentFontName = _settingsProvider.Value.GetSetting(Api.PredefinedSettings.TextEditorFont); // By default, the value is null.
- string[] systemFontFamilies = _mefProvider.Import<IFontProvider>().GetFontFamilies();
- if (!systemFontFamilies.Contains(currentFontName))
- {
- for (int i = 0; i < Api.PredefinedSettings.DefaultFonts.Length; i++)
- {
- if (systemFontFamilies.Contains(Api.PredefinedSettings.DefaultFonts[i]))
- {
- _settingsProvider.Value.SetSetting(Api.PredefinedSettings.TextEditorFont, Api.PredefinedSettings.DefaultFonts[i]);
- return;
- }
- }
- }
- }
-
- /// <summary>
- /// Configures global Uno Platform logging
- /// </summary>
- private static ILoggerFactory InitializeLogging()
- {
- // Logging is disabled by default for release builds, as it incurs a significant
- // initialization cost from Microsoft.Extensions.Logging setup. If startup performance
- // is a concern for your application, keep this disabled. If you're running on web or
- // desktop targets, you can use url or command line parameters to enable it.
- //
- // For more performance documentation: https://platform.uno/docs/articles/Uno-UI-Performance.html
-
- ILoggerFactory factory = LoggerFactory.Create((ILoggingBuilder builder) =>
- {
-#if DEBUG
-#if __WASM__
- builder.AddProvider(new global::Uno.Extensions.Logging.WebAssembly.WebAssemblyConsoleLoggerProvider());
-#elif __MACCATALYST__
- builder.AddProvider(new global::Uno.Extensions.Logging.OSLogLoggerProvider());
-#elif NETFX_CORE
- builder.AddDebug();
-#else
- builder.AddConsole();
- builder.AddDebug();
-#endif
-#endif
-
- // To save logs on local hard drive.
- builder.AddFile(new FileStorage());
-
- // Exclude logs below this level
-#if DEBUG
- builder.SetMinimumLevel(LogLevel.Trace);
-#else
- builder.SetMinimumLevel(LogLevel.Information);
-#endif
-
- // Default filters for Uno Platform namespaces
- builder.AddFilter("Uno", LogLevel.Warning);
- builder.AddFilter("Windows", LogLevel.Warning);
- builder.AddFilter("Microsoft", LogLevel.Warning);
-
-#if DEBUG
- if (Debugger.IsAttached)
- {
- // Generic Xaml events
- builder.AddFilter("Windows.UI.Xaml", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.VisualStateGroup", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.StateTriggerBase", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.UIElement", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.FrameworkElement", LogLevel.Trace);
-
- // Layouter specific messages
- builder.AddFilter("Windows.UI.Xaml.Controls", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.Controls.Layouter", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.Controls.Panel", LogLevel.Debug);
-
- builder.AddFilter("Windows.Storage", LogLevel.Debug);
-
- // Binding related messages
- builder.AddFilter("Windows.UI.Xaml.Data", LogLevel.Debug);
- builder.AddFilter("Windows.UI.Xaml.Data", LogLevel.Debug);
-
- // Binder memory references tracking
- builder.AddFilter("Uno.UI.DataBinding.BinderReferenceHolder", LogLevel.Debug);
-
- // RemoteControl and HotReload related
- builder.AddFilter("Uno.UI.RemoteControl", LogLevel.Information);
-
- // Debug JS interop
- builder.AddFilter("Uno.Foundation.WebAssemblyRuntime", LogLevel.Debug);
- }
-#endif
- });
-
- global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory = factory;
-
-#if HAS_UNO
- global::Uno.UI.Adapter.Microsoft.Extensions.Logging.LoggingAdapter.Initialize();
-#endif
-
- return factory;
- }
-
- [LoggerMessage(0, LogLevel.Information, "App is starting...")]
- partial void LogAppStarting();
-
- [LoggerMessage(1, LogLevel.Information, "App is shutting down...")]
- partial void LogAppShuttingDown();
-
- [LoggerMessage(2, LogLevel.Critical, "Unhandled exception !!! (╯°□°)╯︵ ┻━┻")]
- partial void LogUnhandledException(Exception exception);
-
- [LoggerMessage(3, LogLevel.Information, "Logger initialized in {duration} ms")]
- partial void LogLoggerInitialization(double duration);
-}
diff --git a/src/app/dev/shared/GlobalUsings.cs b/src/app/dev/shared/GlobalUsings.cs
index 58935e4ce..0662922d6 100644
--- a/src/app/dev/shared/GlobalUsings.cs
+++ b/src/app/dev/shared/GlobalUsings.cs
@@ -15,3 +15,4 @@ global using ExportAttribute = global::System.ComponentModel.Composition.ExportA
#elif __WINDOWS__
[assembly: System.Runtime.Versioning.SupportedOSPlatform("windows10.0.19041.0")]
#endif
+
diff --git a/src/app/dev/shared/LinkerConfig.xml b/src/app/dev/shared/LinkerConfig.xml
index 2550120cc..307344416 100644
--- a/src/app/dev/shared/LinkerConfig.xml
+++ b/src/app/dev/shared/LinkerConfig.xml
@@ -26,11 +26,7 @@
<assembly fullname="DevToys.Core" />
<assembly fullname="DevToys.CLI" />
<assembly fullname="DevToys.Localization" />
- <assembly fullname="DevToys.MauiBlazor" />
- <assembly fullname="DevToys.MonacoEditor" />
- <assembly fullname="DevToys.UI" />
+ <assembly fullname="DevToys.Blazor" />
<assembly fullname="DevToys.Business" />
- <assembly fullname="DevToys.Wasdk" />
- <assembly fullname="DevToys.Wasm" />
<assembly fullname="DevToys.Tools" />
</linker>
\ No newline at end of file
diff --git a/src/app/dev/shared/SharedAssemblyInfo.cs b/src/app/dev/shared/SharedAssemblyInfo.cs
index 51929925a..fe65db90c 100644
--- a/src/app/dev/shared/SharedAssemblyInfo.cs
+++ b/src/app/dev/shared/SharedAssemblyInfo.cs
@@ -22,3 +22,4 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyCulture("")]
[assembly: InternalsVisibleTo("DevToys.UnitTests")]
+
diff --git a/src/app/dev/shared/SharedAssemblyVersion.cs b/src/app/dev/shared/SharedAssemblyVersion.cs
index c42dc3f67..2aba0ef88 100644
--- a/src/app/dev/shared/SharedAssemblyVersion.cs
+++ b/src/app/dev/shared/SharedAssemblyVersion.cs
@@ -1,4 +1,4 @@
-//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
@@ -24,3 +24,4 @@ using System.Reflection;
// you're about to release a new version of the app on the Store.
[assembly: AssemblyVersion("0.0.0.0")]
[assembly: AssemblyFileVersion("0.0.0.0")]
+
diff --git a/src/app/tests/DevToys.UnitTests/Core/Threading/AsyncLazyTests.cs b/src/app/tests/DevToys.UnitTests/Core/Threading/AsyncLazyTests.cs
index 3257c18fa..ff8bda666 100644
--- a/src/app/tests/DevToys.UnitTests/Core/Threading/AsyncLazyTests.cs
+++ b/src/app/tests/DevToys.UnitTests/Core/Threading/AsyncLazyTests.cs
@@ -1,5 +1,4 @@
using System.Threading.Tasks;
-using DevToys.Api.Core.Threading;
namespace DevToys.UnitTests.Core.Threading;
diff --git a/src/app/tests/DevToys.UnitTests/DevToys.UnitTests.csproj b/src/app/tests/DevToys.UnitTests/DevToys.UnitTests.csproj
index 2418fdd34..f17b74e29 100644
--- a/src/app/tests/DevToys.UnitTests/DevToys.UnitTests.csproj
+++ b/src/app/tests/DevToys.UnitTests/DevToys.UnitTests.csproj
@@ -20,6 +20,8 @@
<ItemGroup>
<ProjectReference Include="..\..\dev\DevToys.Api\DevToys.Api.csproj" />
+ <ProjectReference Include="..\..\dev\DevToys.Blazor\DevToys.Blazor.csproj" />
+ <ProjectReference Include="..\..\dev\DevToys.Business\DevToys.Business.csproj" />
<ProjectReference Include="..\..\dev\DevToys.Core\DevToys.Core.csproj" />
</ItemGroup>
diff --git a/src/app/tests/DevToys.UnitTests/Mocks/MockIFileStorage.cs b/src/app/tests/DevToys.UnitTests/Mocks/MockIFileStorage.cs
index 4c6e02f7e..c1899ed66 100644
--- a/src/app/tests/DevToys.UnitTests/Mocks/MockIFileStorage.cs
+++ b/src/app/tests/DevToys.UnitTests/Mocks/MockIFileStorage.cs
@@ -1,7 +1,6 @@
using System.ComponentModel.Composition;
using System.IO;
using System.Threading.Tasks;
-using DevToys.Api.Core;
namespace DevToys.UnitTests.Mocks;
diff --git a/src/app/tests/DevToys.UnitTests/Mocks/Tools/MockIGuiTool.cs b/src/app/tests/DevToys.UnitTests/Mocks/Tools/MockIGuiTool.cs
index 613a4f3ca..d2e4fe92a 100644
--- a/src/app/tests/DevToys.UnitTests/Mocks/Tools/MockIGuiTool.cs
+++ b/src/app/tests/DevToys.UnitTests/Mocks/Tools/MockIGuiTool.cs
@@ -1,5 +1,4 @@
using System.ComponentModel.Composition;
-using DevToys.Api;
namespace DevToys.UnitTests.Mocks.Tools;
diff --git a/src/build/Build.cs b/src/build/Build.cs
index c82017e94..2e18481d0 100644
--- a/src/build/Build.cs
+++ b/src/build/Build.cs
@@ -322,7 +322,7 @@ class Build : NukeBuild
IEnumerable<DotnetParameters> GetDotnetParametersForMauiBlazorApp()
{
- string publishProject = "DevToys.MauiBlazor";
+ string publishProject = "DevToys.MacOS";
Project project;
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
diff --git a/src/spellcheckerexclusion.dic b/src/spellcheckerexclusion.dic
index 59d9ac3b3..4b03eb645 100644
--- a/src/spellcheckerexclusion.dic
+++ b/src/spellcheckerexclusion.dic
@@ -2,3 +2,7 @@ devtoys
Blazor
Awaiter
Fira
+wwwroot
+ntdll
+dwmapi
+hwnd
diff --git a/tools/Restore-MonacoEditor.ps1 b/tools/Restore-MonacoEditor.ps1
index 5d2101685..89ab360fe 100644
--- a/tools/Restore-MonacoEditor.ps1
+++ b/tools/Restore-MonacoEditor.ps1
@@ -15,6 +15,7 @@ if (-not (Test-Path -Path "$RootFolder\\.gitignore"))
# ------------------------
$temp_dir_name = ".temp"
$tools_dir = "$RootFolder\tools"
+$destination_dir = "..\src\app\dev\DevToys.Blazor\wwwroot\lib\monaco-editor"
Push-Location $tools_dir
@@ -23,14 +24,14 @@ $monaco_version = Get-Content "monaco-editor-version-number.txt" -First 1
$monaco_tgz_url = "https://registry.npmjs.org/monaco-editor/-/monaco-editor-$monaco_version.tgz"
# Remove Old Dependency
-Remove-Item "..\src\app\dev\DevToys.MonacoEditor\monaco-editor" -Force -Recurse -ErrorAction SilentlyContinue
+Remove-Item $destination_dir -Force -Recurse -ErrorAction SilentlyContinue
# Clean-up Temp Dir, if already exist
Remove-Item $temp_dir_name -Force -Recurse -ErrorAction SilentlyContinue
# Create Temp Directory and Output
New-Item -Name $temp_dir_name -ItemType Directory | Out-Null
-New-Item -Name "..\src\app\dev\DevToys.MonacoEditor\monaco-editor" -ItemType Directory | Out-Null
+New-Item -Name $destination_dir -ItemType Directory | Out-Null
Write-Host "Downloading Monaco v.$monaco_version"
@@ -42,7 +43,7 @@ Write-Host "Extracting..."
mkdir "$tools_dir\$temp_dir_name\monaco"
tar -zxf "$tools_dir\$temp_dir_name\monaco.tgz" -C "$tools_dir\$temp_dir_name\monaco"
-Copy-Item -Path ".\$temp_dir_name\monaco\package\*" -Destination "..\src\app\dev\DevToys.MonacoEditor\monaco-editor" -Recurse
+Copy-Item -Path ".\$temp_dir_name\monaco\package\*" -Destination $destination_dir -Recurse
# Clean-up Temp Dir
Remove-Item $temp_dir_name -Force -Recurse -ErrorAction SilentlyContinue
diff --git a/tools/Restore-MonacoEditor.sh b/tools/Restore-MonacoEditor.sh
index b16d81149..99d6ba78e 100644
--- a/tools/Restore-MonacoEditor.sh
+++ b/tools/Restore-MonacoEditor.sh
@@ -13,6 +13,7 @@ fi
# ------------------------
TEMP_DIR_NAME=".temp"
TOOLS_DIR="$1/tools"
+DESTINATION_DIR="../src/app/dev/DevToys.Blazor/wwwroot/lib/monaco-editor"
cd "$TOOLS_DIR"
@@ -21,14 +22,14 @@ MONACO_VERSION=$(head -n 1 "$TOOLS_DIR/monaco-editor-version-number.txt")
MONACO_TGZ_URL="https://registry.npmjs.org/monaco-editor/-/monaco-editor-$MONACO_VERSION.tgz"
# Remove Old Dependency
-rm -rf "../src/app/dev/DevToys.MonacoEditor/monaco-editor"
+rm -rf $DESTINATION_DIR
# Clean-up Temp Dir, if already exist
rm -rf "$TOOLS_DIR/$TEMP_DIR_NAME"
# Create Temp Directory and Output
-mkdir "$TOOLS_DIR/$TEMP_DIR_NAME"
-mkdir "../src/app/dev/DevToys.MonacoEditor/monaco-editor"
+mkdir -p "$TOOLS_DIR/$TEMP_DIR_NAME"
+mkdir -p $DESTINATION_DIR
echo "Downloading Monaco v.$MONACO_VERSION"
@@ -39,7 +40,7 @@ echo "Extracting..."
mkdir "$TOOLS_DIR/$TEMP_DIR_NAME/monaco"
tar -zxf "$TOOLS_DIR/$TEMP_DIR_NAME/monaco.tgz" -C "$TOOLS_DIR/$TEMP_DIR_NAME/monaco"
-cp -r "$TOOLS_DIR/$TEMP_DIR_NAME/monaco/package/" "../src/app/dev/DevToys.MonacoEditor/monaco-editor"
+cp -r "$TOOLS_DIR/$TEMP_DIR_NAME/monaco/package/" $DESTINATION_DIR
# Clean-up Temp Dir
rm -rf "$TOOLS_DIR/$TEMP_DIR_NAME"