[spellcheck]Spelling cleanup (#17099)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-03-17 13:19:16 -04:00 committed by GitHub
parent 41f4d971dd
commit bad435bb26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 47 additions and 69 deletions

View File

@ -10,7 +10,6 @@ accctrl
Acceleratorkeys Acceleratorkeys
ACCEPTFILES ACCEPTFILES
ACCESSDENIED ACCESSDENIED
accessibile
accessibilityinsights accessibilityinsights
Acl Acl
aclapi aclapi
@ -30,7 +29,6 @@ AFeature
AFX AFX
AGGREGATABLE AGGREGATABLE
AHybrid AHybrid
Aissue
Akrotiri Akrotiri
Aktobe Aktobe
ALarger ALarger
@ -45,7 +43,6 @@ altform
alwaysontop alwaysontop
amd amd
AMF AMF
Amicrosoft
AModifier AModifier
AMPROPERTY AMPROPERTY
AMPROPSETID AMPROPSETID
@ -56,7 +53,6 @@ ansicolor
ANull ANull
AOC AOC
aocfnapldcnfbofgmbbllojgocaelgdd aocfnapldcnfbofgmbbllojgocaelgdd
Aopen
APARTMENTTHREADED APARTMENTTHREADED
APeriod APeriod
api api
@ -137,19 +133,15 @@ AYUV
backend backend
backtracer backtracer
BADD BADD
BAEC
BAF
bak bak
Bashkortostan Bashkortostan
Bayan Bayan
bbwe bbwe
bck bck
Bcl Bcl
BEEE
Belarus Belarus
betadele betadele
betsegaw betsegaw
BFB
BGR BGR
bgra bgra
BGSOUNDS BGSOUNDS
@ -176,7 +168,6 @@ BNumber
Bokm Bokm
BOKMAL BOKMAL
boolalpha boolalpha
Boostrapper
bootstrapper bootstrapper
BOOTSTRAPPERINSTALLFOLDER BOOTSTRAPPERINSTALLFOLDER
Bopomofo Bopomofo
@ -196,7 +187,6 @@ Bto
buf buf
BUFSIZE BUFSIZE
bugreport bugreport
Buid
BUILDARCH BUILDARCH
buildtransitive buildtransitive
Burkina Burkina
@ -206,7 +196,6 @@ bytearray
Caiguna Caiguna
CALG CALG
callbackptr callbackptr
Camer
Cangjie Cangjie
CANRENAME CANRENAME
CAPTURECHANGED CAPTURECHANGED
@ -215,7 +204,6 @@ CAtl
cch cch
CCom CCom
CContext CContext
CDBECF
cdecl cdecl
CDeclaration CDeclaration
CDEF CDEF
@ -375,7 +363,6 @@ cxxopts
cyberrex cyberrex
CYSMICON CYSMICON
CYVIRTUALSCREEN CYVIRTUALSCREEN
czf
cziplib cziplib
Dac Dac
dacl dacl
@ -388,8 +375,6 @@ Datavalue
DATAW DATAW
davidegiacometti davidegiacometti
Dayof Dayof
DBCD
DBDA
Dbg Dbg
Dbghelp Dbghelp
DBLCLKS DBLCLKS
@ -426,7 +411,6 @@ depersist
deprioritized deprioritized
deps deps
deref deref
deseralization
deserialization deserialization
deserialize deserialize
deserialized deserialized
@ -442,7 +426,6 @@ devenum
DEVMON DEVMON
devpkey devpkey
DEVSOURCE DEVSOURCE
DFactory
dhcp dhcp
diffing diffing
difftime difftime
@ -472,24 +455,19 @@ doctype
DONOTROUND DONOTROUND
DONTVALIDATEPATH DONTVALIDATEPATH
dotnet dotnet
DOverlay
DOWNLOADONLY DOWNLOADONLY
DPICHANGED DPICHANGED
DPIs DPIs
DPolicy DPolicy
DPopup
DPSAPI DPSAPI
DQTAT DQTAT
DQTYPE DQTYPE
DRAWFRAME DRAWFRAME
drawingcolor drawingcolor
dreamsofameaningfullife dreamsofameaningfullife
DRect
drivedetectionwarning drivedetectionwarning
dshow dshow
dst dst
DSVG
DText
dutil dutil
DVASPECT DVASPECT
DVASPECTINFO DVASPECTINFO
@ -499,7 +477,6 @@ dvr
DVSD DVSD
DVSL DVSL
DVTARGETDEVICE DVTARGETDEVICE
DWindow
DWINRT DWINRT
dwm dwm
dwmapi dwmapi
@ -519,18 +496,13 @@ dwrite
dxgi dxgi
dxgiformat dxgiformat
dxguid dxguid
EAF
EBA
EBE
ecount ecount
ededf
EDITKEYBOARD EDITKEYBOARD
editkeyboardwindow editkeyboardwindow
editorconfig editorconfig
EDITSHORTCUTS EDITSHORTCUTS
editshortcutswindow editshortcutswindow
EFile EFile
egistry
ekus ekus
elif elif
elseif elseif
@ -542,7 +514,6 @@ endif
endl endl
endpointvolume endpointvolume
endregion endregion
Enque
ENTERSIZEMOVE ENTERSIZEMOVE
entrypoint entrypoint
ENU ENU
@ -598,10 +569,7 @@ FANCYZONESEDITOR
Farbraum Farbraum
Faroe Faroe
FARPROC FARPROC
FBF
FCCD
fdw fdw
FEEBD
feimage feimage
ffaa ffaa
fff fff
@ -638,7 +606,6 @@ FORCEMINIMIZE
FORCEOFFLINE FORCEOFFLINE
foreach foreach
formatetc formatetc
FPower
FRAMECHANGED FRAMECHANGED
FRAMEDOWNLOAD FRAMEDOWNLOAD
franky franky
@ -1465,7 +1432,6 @@ OWNDC
PACL PACL
pagos pagos
PAINTSTRUCT PAINTSTRUCT
PAIT
PALEBLUE PALEBLUE
PALETTEWINDOW PALETTEWINDOW
paramref paramref
@ -1667,7 +1633,6 @@ regex
REGFILTER REGFILTER
REGFILTERPINS REGFILTERPINS
REGISTERCLASSFAILED REGISTERCLASSFAILED
Registery
registrypath registrypath
regkey regkey
REGPINTYPES REGPINTYPES
@ -2062,7 +2027,6 @@ tracelogging
traies traies
transcoded transcoded
Transnistria Transnistria
transparrent
TRAYMOUSEMESSAGE TRAYMOUSEMESSAGE
triaging triaging
TRK TRK
@ -2238,7 +2202,6 @@ Whichdoes
whitespaces whitespaces
WIC WIC
wifi wifi
wih
wiki wiki
wikipedia wikipedia
wil wil
@ -2380,4 +2343,4 @@ zoneset
ZONESETCHANGE ZONESETCHANGE
Zoneszonabletester Zoneszonabletester
Zonev Zonev
zzz zzz

View File

@ -12,6 +12,10 @@ https?://(?:(?:www\.|)youtube\.com|youtu.be)/[-a-zA-Z0-9?&=]*
# msdn # msdn
\b(?:download\.visualstudio|docs|msdn)\.microsoft\.com/[-_a-zA-Z0-9()=./]* \b(?:download\.visualstudio|docs|msdn)\.microsoft\.com/[-_a-zA-Z0-9()=./]*
# medium
link\.medium\.com/[a-zA-Z0-9]+
\bmedium\.com/\@[^/]+/[-\w]+
publicKeyToken=(['"]|)[0-9a-f]+\g{-1} publicKeyToken=(['"]|)[0-9a-f]+\g{-1}
\@sha256:[0-9a-f]{64}\b \@sha256:[0-9a-f]{64}\b
@ -19,12 +23,15 @@ publicKeyToken=(['"]|)[0-9a-f]+\g{-1}
(['"])data:.*?\g{-1} (['"])data:.*?\g{-1}
data:[-a-zA-Z=;:/0-9+]*,\S* data:[-a-zA-Z=;:/0-9+]*,\S*
# uuid: # uuid: (or CompGUIDPrefix)
L?(["']|[-<({>]|\b)[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}(?:\g{-1}|[<})>]) L?(["']|[-<({>]|\b)[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{10,12}(?:\g{-1}|[<})>])
# c99 hex digits (not the full format, just one I've seen) # c99 hex digits (not the full format, just one I've seen)
0x[0-9a-fA-F](?:\.[0-9a-fA-F]*|)[pP] 0x[0-9a-fA-F](?:\.[0-9a-fA-F]*|)[pP]
# URL escaped characters
\%[0-9A-F]{2}
# wregex # wregex
std::wregex\(L"[^"]*"\) std::wregex\(L"[^"]*"\)
@ -51,6 +58,8 @@ TestCase\("[^"]+"
\\netstandard \\netstandard
\\notifications \\notifications
\\recyclebin \\recyclebin
\\Registry
\\registry
\\reinstall \\reinstall
\\Resize \\Resize
\\resource \\resource
@ -78,8 +87,14 @@ TestCase\("[^"]+"
# TestCase strings intentionally have non dictionary items # TestCase strings intentionally have non dictionary items
\[TestCase\(new string.*\] \[TestCase\(new string.*\]
# D2D
D2D
# marker for ignoring a comment to the end of the line # marker for ignoring a comment to the end of the line
^.*/\* #no-spell-check-line \*/.*$ ^.*/\* #no-spell-check-line \*/.*$
// #no-spell-check.*$ // #no-spell-check.*$
http://tes/ http://tes/
# tar arguments
\b(?:\\n|)tar(?:\s+-[a-zA-Z]+|\s[a-z]+)+

View File

@ -312,7 +312,7 @@ jobs:
script: '.\installer\packages\WiX.3.11.2\tools\insignia.exe -ab installer\engine.exe installer\PowerToysSetup\$(BuildPlatform)\$(BuildConfiguration)\PowerToysSetup-${{ parameters.versionNumber }}-$(BuildPlatform).exe -o installer\PowerToysSetup\$(BuildPlatform)\$(BuildConfiguration)\PowerToysSetup-${{ parameters.versionNumber }}-$(BuildPlatform).exe' script: '.\installer\packages\WiX.3.11.2\tools\insignia.exe -ab installer\engine.exe installer\PowerToysSetup\$(BuildPlatform)\$(BuildConfiguration)\PowerToysSetup-${{ parameters.versionNumber }}-$(BuildPlatform).exe -o installer\PowerToysSetup\$(BuildPlatform)\$(BuildConfiguration)\PowerToysSetup-${{ parameters.versionNumber }}-$(BuildPlatform).exe'
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: Sign Boostrapper displayName: Sign Bootstrapper
inputs: inputs:
ConnectedServiceName: 'Terminal/Console/WinAppDriver Team Code Signing Connection' ConnectedServiceName: 'Terminal/Console/WinAppDriver Team Code Signing Connection'
FolderPath: 'installer/PowerToysSetup/$(BuildPlatform)\$(BuildConfiguration)' FolderPath: 'installer/PowerToysSetup/$(BuildPlatform)\$(BuildConfiguration)'

View File

@ -31,7 +31,7 @@ protected:
virtual void init() = 0; virtual void init() = 0;
// resize - when called, window_width and window_height will have current window size // resize - when called, window_width and window_height will have current window size
virtual void resize() = 0; virtual void resize() = 0;
// render - called on WM_PAIT, BeginPaint/EndPaint is handled by D2DWindow // render - called on WM_PAINT, BeginPaint/EndPaint is handled by D2DWindow
virtual void render(ID2D1DeviceContext5* d2d_dc) = 0; virtual void render(ID2D1DeviceContext5* d2d_dc) = 0;
// on_show, on_hide - called when the window is about to be shown or about to be hidden // on_show, on_hide - called when the window is about to be shown or about to be hidden
virtual void on_show() = 0; virtual void on_show() = 0;

View File

@ -40,7 +40,7 @@ public:
_onLongPressReleased(onLongPressReleased), _onLongPressReleased(onLongPressReleased),
_delayThread(&KeyDelay::DelayThread, this){}; _delayThread(&KeyDelay::DelayThread, this){};
// Enque new KeyTimedEvent and notify the condition variable. // Enqueue new KeyTimedEvent and notify the condition variable.
void KeyEvent(LowlevelKeyboardEvent* ev); void KeyEvent(LowlevelKeyboardEvent* ev);
~KeyDelay(); ~KeyDelay();

View File

@ -177,7 +177,7 @@ void ShortcutControl::AddNewShortcutControlRow(StackPanel& parent, std::vector<s
shortcutRemapBuffer[rowIndex].second = targetAppTextBox.Text().c_str(); shortcutRemapBuffer[rowIndex].second = targetAppTextBox.Text().c_str();
} }
// To set the accessibile name of the target app text box when focus is lost // To set the accessible name of the target app text box when focus is lost
ShortcutControl::SetAccessibleNameForTextBox(targetAppTextBox, rowIndex + 1); ShortcutControl::SetAccessibleNameForTextBox(targetAppTextBox, rowIndex + 1);
}); });

View File

@ -39,7 +39,7 @@ namespace RemappingLogicTests
// Tests for shortcut to shortcut remappings // Tests for shortcut to shortcut remappings
// Test if correct keyboard states are set for a 2 key shortcut remap wih different modifiers key down // Test if correct keyboard states are set for a 2 key shortcut remap with different modifiers key down
TEST_METHOD (RemappedTwoKeyShortcutWithDiffModifiers_ShouldSetTargetShortcutDown_OnKeyDown) TEST_METHOD (RemappedTwoKeyShortcutWithDiffModifiers_ShouldSetTargetShortcutDown_OnKeyDown)
{ {
// Remap Ctrl+A to Alt+V // Remap Ctrl+A to Alt+V
@ -197,7 +197,7 @@ namespace RemappingLogicTests
Assert::AreEqual(mockedInputHandler.GetVirtualKeyState(0x56), false); Assert::AreEqual(mockedInputHandler.GetVirtualKeyState(0x56), false);
} }
// Test if correct keyboard states are set for a 3 key shortcut remap wih different modifiers key down // Test if correct keyboard states are set for a 3 key shortcut remap with different modifiers key down
TEST_METHOD (RemappedThreeKeyShortcutWithDiffModifiers_ShouldSetTargetShortcutDown_OnKeyDown) TEST_METHOD (RemappedThreeKeyShortcutWithDiffModifiers_ShouldSetTargetShortcutDown_OnKeyDown)
{ {
// Remap Ctrl+Shift+A to Alt+LWin+V // Remap Ctrl+Shift+A to Alt+LWin+V
@ -232,7 +232,7 @@ namespace RemappingLogicTests
Assert::AreEqual(mockedInputHandler.GetVirtualKeyState(0x56), true); Assert::AreEqual(mockedInputHandler.GetVirtualKeyState(0x56), true);
} }
// Test if correct keyboard states are set for a 3 key shortcut remap wih partially different modifiers key down // Test if correct keyboard states are set for a 3 key shortcut remap with partially different modifiers key down
TEST_METHOD (RemappedThreeKeyShortcutWithPartiallyDiffModifiers_ShouldSetTargetShortcutDown_OnKeyDown) TEST_METHOD (RemappedThreeKeyShortcutWithPartiallyDiffModifiers_ShouldSetTargetShortcutDown_OnKeyDown)
{ {
// Remap Ctrl+Shift+A to Alt+Ctrl+V // Remap Ctrl+Shift+A to Alt+Ctrl+V

View File

@ -758,7 +758,7 @@ namespace Microsoft.Plugin.Program.Programs
return IndexPath(suffixes, indexLocation); return IndexPath(suffixes, indexLocation);
} }
private static IEnumerable<string> RegisteryAppProgramPaths(IList<string> suffixes) private static IEnumerable<string> RegistryAppProgramPaths(IList<string> suffixes)
{ {
// https://msdn.microsoft.com/en-us/library/windows/desktop/ee872121 // https://msdn.microsoft.com/en-us/library/windows/desktop/ee872121
const string appPaths = @"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths"; const string appPaths = @"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths";
@ -788,9 +788,9 @@ namespace Microsoft.Plugin.Program.Programs
private static IEnumerable<string> GetPathsFromRegistry(RegistryKey root) private static IEnumerable<string> GetPathsFromRegistry(RegistryKey root)
=> root => root
.GetSubKeyNames() .GetSubKeyNames()
.Select(x => GetPathFromRegisterySubkey(root, x)); .Select(x => GetPathFromRegistrySubkey(root, x));
private static string GetPathFromRegisterySubkey(RegistryKey root, string subkey) private static string GetPathFromRegistrySubkey(RegistryKey root, string subkey)
{ {
var path = string.Empty; var path = string.Empty;
try try
@ -909,7 +909,7 @@ namespace Microsoft.Plugin.Program.Programs
(true, () => CustomProgramPaths(settings.ProgramSources, settings.ProgramSuffixes)), (true, () => CustomProgramPaths(settings.ProgramSources, settings.ProgramSuffixes)),
(settings.EnableStartMenuSource, () => StartMenuProgramPaths(settings.ProgramSuffixes)), (settings.EnableStartMenuSource, () => StartMenuProgramPaths(settings.ProgramSuffixes)),
(settings.EnableDesktopSource, () => DesktopProgramPaths(settings.ProgramSuffixes)), (settings.EnableDesktopSource, () => DesktopProgramPaths(settings.ProgramSuffixes)),
(settings.EnableRegistrySource, () => RegisteryAppProgramPaths(settings.ProgramSuffixes)), (settings.EnableRegistrySource, () => RegistryAppProgramPaths(settings.ProgramSuffixes)),
}; };
// Run commands are always set as AppType "RunCommand" // Run commands are always set as AppType "RunCommand"

View File

@ -108,18 +108,18 @@ namespace PowerLauncher.Properties {
/// <summary> /// <summary>
/// Looks up a localized string similar to Settings will be reset to default and program will continue to function.. /// Looks up a localized string similar to Settings will be reset to default and program will continue to function..
/// </summary> /// </summary>
public static string deseralization_error_message { public static string deserialization_error_message {
get { get {
return ResourceManager.GetString("deseralization_error_message", resourceCulture); return ResourceManager.GetString("deserialization_error_message", resourceCulture);
} }
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to PowerToys Run deserialization error. /// Looks up a localized string similar to PowerToys Run deserialization error.
/// </summary> /// </summary>
public static string deseralization_error_title { public static string deserialization_error_title {
get { get {
return ResourceManager.GetString("deseralization_error_title", resourceCulture); return ResourceManager.GetString("deserialization_error_title", resourceCulture);
} }
} }

View File

@ -179,10 +179,10 @@
<data name="Title" xml:space="preserve"> <data name="Title" xml:space="preserve">
<value>Title</value> <value>Title</value>
</data> </data>
<data name="deseralization_error_title" xml:space="preserve"> <data name="deserialization_error_title" xml:space="preserve">
<value>PowerToys Run deserialization error</value> <value>PowerToys Run deserialization error</value>
</data> </data>
<data name="deseralization_error_message" xml:space="preserve"> <data name="deserialization_error_message" xml:space="preserve">
<value>Settings will be reset to default and program will continue to function.</value> <value>Settings will be reset to default and program will continue to function.</value>
</data> </data>
<data name="FailedToInitializePluginsDescription" xml:space="preserve"> <data name="FailedToInitializePluginsDescription" xml:space="preserve">

View File

@ -159,7 +159,7 @@ namespace PowerLauncher
// current file and replace it with a correct json value. // current file and replace it with a correct json value.
_settingsUtils.DeleteSettings(PowerLauncherSettings.ModuleName); _settingsUtils.DeleteSettings(PowerLauncherSettings.ModuleName);
CreateSettingsIfNotExists(); CreateSettingsIfNotExists();
ErrorReporting.ShowMessageBox(Properties.Resources.deseralization_error_title, Properties.Resources.deseralization_error_message); ErrorReporting.ShowMessageBox(Properties.Resources.deserialization_error_title, Properties.Resources.deserialization_error_message);
} }
else else
{ {

View File

@ -11,7 +11,7 @@ namespace PreviewPaneUnitTests
[TestClass] [TestClass]
public class HTMLParsingExtensionTest public class HTMLParsingExtensionTest
{ {
private static MarkdownPipeline BuidPipeline(IMarkdownExtension extension) private static MarkdownPipeline BuildPipeline(IMarkdownExtension extension)
{ {
MarkdownPipelineBuilder pipelineBuilder = new MarkdownPipelineBuilder().UseAdvancedExtensions(); MarkdownPipelineBuilder pipelineBuilder = new MarkdownPipelineBuilder().UseAdvancedExtensions();
pipelineBuilder.Extensions.Add(extension); pipelineBuilder.Extensions.Add(extension);
@ -25,7 +25,7 @@ namespace PreviewPaneUnitTests
// Arrange // Arrange
string mdString = "| A | B |\n| -- | -- | "; string mdString = "| A | B |\n| -- | -- | ";
HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { }); HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { });
MarkdownPipeline markdownPipeline = BuidPipeline(htmlParsingExtension); MarkdownPipeline markdownPipeline = BuildPipeline(htmlParsingExtension);
// Act // Act
string html = Markdown.ToHtml(mdString, markdownPipeline); string html = Markdown.ToHtml(mdString, markdownPipeline);
@ -41,7 +41,7 @@ namespace PreviewPaneUnitTests
// Arrange // Arrange
string mdString = "> Blockquotes."; string mdString = "> Blockquotes.";
HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { }); HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { });
MarkdownPipeline markdownPipeline = BuidPipeline(htmlParsingExtension); MarkdownPipeline markdownPipeline = BuildPipeline(htmlParsingExtension);
// Act // Act
string html = Markdown.ToHtml(mdString, markdownPipeline); string html = Markdown.ToHtml(mdString, markdownPipeline);
@ -57,7 +57,7 @@ namespace PreviewPaneUnitTests
// arrange // arrange
string mdString = "![text](a.jpg \"Figure\")"; string mdString = "![text](a.jpg \"Figure\")";
HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { }, "C:\\Users\\"); HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { }, "C:\\Users\\");
MarkdownPipeline markdownPipeline = BuidPipeline(htmlParsingExtension); MarkdownPipeline markdownPipeline = BuildPipeline(htmlParsingExtension);
// Act // Act
string html = Markdown.ToHtml(mdString, markdownPipeline); string html = Markdown.ToHtml(mdString, markdownPipeline);
@ -73,7 +73,7 @@ namespace PreviewPaneUnitTests
// arrange // arrange
string mdString = "^^^ This is a caption"; string mdString = "^^^ This is a caption";
HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { }, "C:/Users/"); HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { }, "C:/Users/");
MarkdownPipeline markdownPipeline = BuidPipeline(htmlParsingExtension); MarkdownPipeline markdownPipeline = BuildPipeline(htmlParsingExtension);
// Act // Act
string html = Markdown.ToHtml(mdString, markdownPipeline); string html = Markdown.ToHtml(mdString, markdownPipeline);
@ -90,7 +90,7 @@ namespace PreviewPaneUnitTests
int count = 0; int count = 0;
string mdString = "![text](http://dev.nodeca.com \"Figure\")"; string mdString = "![text](http://dev.nodeca.com \"Figure\")";
HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { count++; }); HTMLParsingExtension htmlParsingExtension = new HTMLParsingExtension(() => { count++; });
MarkdownPipeline markdownPipeline = BuidPipeline(htmlParsingExtension); MarkdownPipeline markdownPipeline = BuildPipeline(htmlParsingExtension);
// Act // Act
string html = Markdown.ToHtml(mdString, markdownPipeline); string html = Markdown.ToHtml(mdString, markdownPipeline);

View File

@ -12,7 +12,7 @@
</g> </g>
<rect id="Divider" width="1" height="24" transform="translate(161 10)" fill="#313131"/> <rect id="Divider" width="1" height="24" transform="translate(161 10)" fill="#313131"/>
<text id="Camera_label" data-name="Camera label" transform="translate(200 13)" fill="#585858" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Camera not in use</tspan></text> <text id="Camera_label" data-name="Camera label" transform="translate(200 13)" fill="#585858" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Camera not in use</tspan></text>
<path id="Camer_disabled_icon" data-name="Camer disabled icon" d="M12.5,509.031a3.408,3.408,0,0,1,1.359.272,3.634,3.634,0,0,1,1.117.745,3.348,3.348,0,0,1,.75,1.1A3.555,3.555,0,0,1,16,512.508a3.35,3.35,0,0,1-.273,1.351,3.608,3.608,0,0,1-.75,1.11,3.371,3.371,0,0,1-1.109.745,3.617,3.617,0,0,1-1.367.272,3.407,3.407,0,0,1-1.359-.272,3.634,3.634,0,0,1-1.117-.745,3.347,3.347,0,0,1-.75-1.1A3.555,3.555,0,0,1,9,512.508a3.351,3.351,0,0,1,.273-1.351,3.608,3.608,0,0,1,.75-1.11,3.371,3.371,0,0,1,1.109-.745A3.616,3.616,0,0,1,12.5,509.031ZM10,512.508a2.393,2.393,0,0,0,.2.963,2.585,2.585,0,0,0,.531.792,2.423,2.423,0,0,0,.8.536,2.491,2.491,0,0,0,.977.194,2.591,2.591,0,0,0,.719-.1,2.241,2.241,0,0,0,.656-.31l-3.461-3.439a2.334,2.334,0,0,0-.3.652A2.76,2.76,0,0,0,10,512.508Zm4.586,1.366a2.333,2.333,0,0,0,.3-.652,2.759,2.759,0,0,0,.109-.714,2.393,2.393,0,0,0-.2-.963,2.428,2.428,0,0,0-.539-.784,2.725,2.725,0,0,0-.8-.536,2.353,2.353,0,0,0-.969-.2,2.593,2.593,0,0,0-.719.1,2.245,2.245,0,0,0-.656.311ZM16,504v5.326a4.453,4.453,0,0,0-1-.823v-2.9l-3,1.5v.714a4.157,4.157,0,0,0-.508.078,4.1,4.1,0,0,0-.492.14v-2.981H1v5.962H8a4.038,4.038,0,0,0-.219.994H0v-7.95H12v1.925Z" transform="translate(171 -486)" fill="#585858"/> <path id="Camera_disabled_icon" data-name="Camera disabled icon" d="M12.5,509.031a3.408,3.408,0,0,1,1.359.272,3.634,3.634,0,0,1,1.117.745,3.348,3.348,0,0,1,.75,1.1A3.555,3.555,0,0,1,16,512.508a3.35,3.35,0,0,1-.273,1.351,3.608,3.608,0,0,1-.75,1.11,3.371,3.371,0,0,1-1.109.745,3.617,3.617,0,0,1-1.367.272,3.407,3.407,0,0,1-1.359-.272,3.634,3.634,0,0,1-1.117-.745,3.347,3.347,0,0,1-.75-1.1A3.555,3.555,0,0,1,9,512.508a3.351,3.351,0,0,1,.273-1.351,3.608,3.608,0,0,1,.75-1.11,3.371,3.371,0,0,1,1.109-.745A3.616,3.616,0,0,1,12.5,509.031ZM10,512.508a2.393,2.393,0,0,0,.2.963,2.585,2.585,0,0,0,.531.792,2.423,2.423,0,0,0,.8.536,2.491,2.491,0,0,0,.977.194,2.591,2.591,0,0,0,.719-.1,2.241,2.241,0,0,0,.656-.31l-3.461-3.439a2.334,2.334,0,0,0-.3.652A2.76,2.76,0,0,0,10,512.508Zm4.586,1.366a2.333,2.333,0,0,0,.3-.652,2.759,2.759,0,0,0,.109-.714,2.393,2.393,0,0,0-.2-.963,2.428,2.428,0,0,0-.539-.784,2.725,2.725,0,0,0-.8-.536,2.353,2.353,0,0,0-.969-.2,2.593,2.593,0,0,0-.719.1,2.245,2.245,0,0,0-.656.311ZM16,504v5.326a4.453,4.453,0,0,0-1-.823v-2.9l-3,1.5v.714a4.157,4.157,0,0,0-.508.078,4.1,4.1,0,0,0-.492.14v-2.981H1v5.962H8a4.038,4.038,0,0,0-.219.994H0v-7.95H12v1.925Z" transform="translate(171 -486)" fill="#585858"/>
<text id="Mic_label" data-name="Mic label" transform="translate(38 13)" fill="#fff" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Microphone on</tspan></text> <text id="Mic_label" data-name="Mic label" transform="translate(38 13)" fill="#fff" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Microphone on</tspan></text>
<path id="Mic_on_icon" data-name="Mic on icon" d="M259.518,12.092a1.476,1.476,0,0,1-.589-.118,1.5,1.5,0,0,1-.8-.8,1.486,1.486,0,0,1-.118-.59V1.511a1.486,1.486,0,0,1,.118-.59,1.5,1.5,0,0,1,.8-.8A1.476,1.476,0,0,1,259.518,0h4.02a1.476,1.476,0,0,1,.589.118,1.5,1.5,0,0,1,.8.8,1.487,1.487,0,0,1,.118.59V10.58a1.487,1.487,0,0,1-.118.59,1.5,1.5,0,0,1-.8.8,1.476,1.476,0,0,1-.589.118Zm-.5-1.511a.51.51,0,0,0,.5.5h4.02a.51.51,0,0,0,.5-.5V1.511a.485.485,0,0,0-.149-.354.482.482,0,0,0-.353-.15h-4.02a.482.482,0,0,0-.353.15.485.485,0,0,0-.149.354Zm8.04-2.519v2.85a3.106,3.106,0,0,1-.251,1.244,3.2,3.2,0,0,1-1.7,1.7,3.085,3.085,0,0,1-1.241.252H262.03v1.008h2.01v1.008h-5.025V15.115h2.01V14.107h-1.837a3.085,3.085,0,0,1-1.241-.252,3.2,3.2,0,0,1-1.7-1.7A3.107,3.107,0,0,1,256,10.911V8.061h1.005v2.85a2.128,2.128,0,0,0,.173.85,2.2,2.2,0,0,0,.463.693,2.281,2.281,0,0,0,.7.472,1.981,1.981,0,0,0,.848.173h4.68a2.113,2.113,0,0,0,.848-.173,2.195,2.195,0,0,0,.691-.464,2.288,2.288,0,0,0,.471-.7,2,2,0,0,0,.173-.85V8.061Z" transform="translate(-244.073 14)" fill="#fff"/> <path id="Mic_on_icon" data-name="Mic on icon" d="M259.518,12.092a1.476,1.476,0,0,1-.589-.118,1.5,1.5,0,0,1-.8-.8,1.486,1.486,0,0,1-.118-.59V1.511a1.486,1.486,0,0,1,.118-.59,1.5,1.5,0,0,1,.8-.8A1.476,1.476,0,0,1,259.518,0h4.02a1.476,1.476,0,0,1,.589.118,1.5,1.5,0,0,1,.8.8,1.487,1.487,0,0,1,.118.59V10.58a1.487,1.487,0,0,1-.118.59,1.5,1.5,0,0,1-.8.8,1.476,1.476,0,0,1-.589.118Zm-.5-1.511a.51.51,0,0,0,.5.5h4.02a.51.51,0,0,0,.5-.5V1.511a.485.485,0,0,0-.149-.354.482.482,0,0,0-.353-.15h-4.02a.482.482,0,0,0-.353.15.485.485,0,0,0-.149.354Zm8.04-2.519v2.85a3.106,3.106,0,0,1-.251,1.244,3.2,3.2,0,0,1-1.7,1.7,3.085,3.085,0,0,1-1.241.252H262.03v1.008h2.01v1.008h-5.025V15.115h2.01V14.107h-1.837a3.085,3.085,0,0,1-1.241-.252,3.2,3.2,0,0,1-1.7-1.7A3.107,3.107,0,0,1,256,10.911V8.061h1.005v2.85a2.128,2.128,0,0,0,.173.85,2.2,2.2,0,0,0,.463.693,2.281,2.281,0,0,0,.7.472,1.981,1.981,0,0,0,.848.173h4.68a2.113,2.113,0,0,0,.848-.173,2.195,2.195,0,0,0,.691-.464,2.288,2.288,0,0,0,.471-.7,2,2,0,0,0,.173-.85V8.061Z" transform="translate(-244.073 14)" fill="#fff"/>
</g> </g>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -12,7 +12,7 @@
</g> </g>
<rect id="Divider" width="1" height="24" transform="translate(161 10)" fill="#dbdbdb"/> <rect id="Divider" width="1" height="24" transform="translate(161 10)" fill="#dbdbdb"/>
<text id="Camera_label" data-name="Camera label" transform="translate(200 13)" fill="#c1c1c1" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Camera not in use</tspan></text> <text id="Camera_label" data-name="Camera label" transform="translate(200 13)" fill="#c1c1c1" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Camera not in use</tspan></text>
<path id="Camer_disabled_icon" data-name="Camer disabled icon" d="M12.5,509.031a3.408,3.408,0,0,1,1.359.272,3.634,3.634,0,0,1,1.117.745,3.348,3.348,0,0,1,.75,1.1A3.555,3.555,0,0,1,16,512.508a3.35,3.35,0,0,1-.273,1.351,3.608,3.608,0,0,1-.75,1.11,3.371,3.371,0,0,1-1.109.745,3.617,3.617,0,0,1-1.367.272,3.407,3.407,0,0,1-1.359-.272,3.634,3.634,0,0,1-1.117-.745,3.347,3.347,0,0,1-.75-1.1A3.555,3.555,0,0,1,9,512.508a3.351,3.351,0,0,1,.273-1.351,3.608,3.608,0,0,1,.75-1.11,3.371,3.371,0,0,1,1.109-.745A3.616,3.616,0,0,1,12.5,509.031ZM10,512.508a2.393,2.393,0,0,0,.2.963,2.585,2.585,0,0,0,.531.792,2.423,2.423,0,0,0,.8.536,2.491,2.491,0,0,0,.977.194,2.591,2.591,0,0,0,.719-.1,2.241,2.241,0,0,0,.656-.31l-3.461-3.439a2.334,2.334,0,0,0-.3.652A2.76,2.76,0,0,0,10,512.508Zm4.586,1.366a2.333,2.333,0,0,0,.3-.652,2.759,2.759,0,0,0,.109-.714,2.393,2.393,0,0,0-.2-.963,2.428,2.428,0,0,0-.539-.784,2.725,2.725,0,0,0-.8-.536,2.353,2.353,0,0,0-.969-.2,2.593,2.593,0,0,0-.719.1,2.245,2.245,0,0,0-.656.311ZM16,504v5.326a4.453,4.453,0,0,0-1-.823v-2.9l-3,1.5v.714a4.157,4.157,0,0,0-.508.078,4.1,4.1,0,0,0-.492.14v-2.981H1v5.962H8a4.038,4.038,0,0,0-.219.994H0v-7.95H12v1.925Z" transform="translate(171 -486)" fill="#c1c1c1"/> <path id="Camera_disabled_icon" data-name="Camera disabled icon" d="M12.5,509.031a3.408,3.408,0,0,1,1.359.272,3.634,3.634,0,0,1,1.117.745,3.348,3.348,0,0,1,.75,1.1A3.555,3.555,0,0,1,16,512.508a3.35,3.35,0,0,1-.273,1.351,3.608,3.608,0,0,1-.75,1.11,3.371,3.371,0,0,1-1.109.745,3.617,3.617,0,0,1-1.367.272,3.407,3.407,0,0,1-1.359-.272,3.634,3.634,0,0,1-1.117-.745,3.347,3.347,0,0,1-.75-1.1A3.555,3.555,0,0,1,9,512.508a3.351,3.351,0,0,1,.273-1.351,3.608,3.608,0,0,1,.75-1.11,3.371,3.371,0,0,1,1.109-.745A3.616,3.616,0,0,1,12.5,509.031ZM10,512.508a2.393,2.393,0,0,0,.2.963,2.585,2.585,0,0,0,.531.792,2.423,2.423,0,0,0,.8.536,2.491,2.491,0,0,0,.977.194,2.591,2.591,0,0,0,.719-.1,2.241,2.241,0,0,0,.656-.31l-3.461-3.439a2.334,2.334,0,0,0-.3.652A2.76,2.76,0,0,0,10,512.508Zm4.586,1.366a2.333,2.333,0,0,0,.3-.652,2.759,2.759,0,0,0,.109-.714,2.393,2.393,0,0,0-.2-.963,2.428,2.428,0,0,0-.539-.784,2.725,2.725,0,0,0-.8-.536,2.353,2.353,0,0,0-.969-.2,2.593,2.593,0,0,0-.719.1,2.245,2.245,0,0,0-.656.311ZM16,504v5.326a4.453,4.453,0,0,0-1-.823v-2.9l-3,1.5v.714a4.157,4.157,0,0,0-.508.078,4.1,4.1,0,0,0-.492.14v-2.981H1v5.962H8a4.038,4.038,0,0,0-.219.994H0v-7.95H12v1.925Z" transform="translate(171 -486)" fill="#c1c1c1"/>
<text id="Mic_label" data-name="Mic label" transform="translate(38 13)" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Microphone on</tspan></text> <text id="Mic_label" data-name="Mic label" transform="translate(38 13)" font-size="12" font-family="SegoeUI, Segoe UI"><tspan x="0" y="13">Microphone on</tspan></text>
<path id="Mic_on_icon" data-name="Mic on icon" d="M259.518,12.092a1.476,1.476,0,0,1-.589-.118,1.5,1.5,0,0,1-.8-.8,1.486,1.486,0,0,1-.118-.59V1.511a1.486,1.486,0,0,1,.118-.59,1.5,1.5,0,0,1,.8-.8A1.476,1.476,0,0,1,259.518,0h4.02a1.476,1.476,0,0,1,.589.118,1.5,1.5,0,0,1,.8.8,1.487,1.487,0,0,1,.118.59V10.58a1.487,1.487,0,0,1-.118.59,1.5,1.5,0,0,1-.8.8,1.476,1.476,0,0,1-.589.118Zm-.5-1.511a.51.51,0,0,0,.5.5h4.02a.51.51,0,0,0,.5-.5V1.511a.485.485,0,0,0-.149-.354.482.482,0,0,0-.353-.15h-4.02a.482.482,0,0,0-.353.15.485.485,0,0,0-.149.354Zm8.04-2.519v2.85a3.106,3.106,0,0,1-.251,1.244,3.2,3.2,0,0,1-1.7,1.7,3.085,3.085,0,0,1-1.241.252H262.03v1.008h2.01v1.008h-5.025V15.115h2.01V14.107h-1.837a3.085,3.085,0,0,1-1.241-.252,3.2,3.2,0,0,1-1.7-1.7A3.107,3.107,0,0,1,256,10.911V8.061h1.005v2.85a2.128,2.128,0,0,0,.173.85,2.2,2.2,0,0,0,.463.693,2.281,2.281,0,0,0,.7.472,1.981,1.981,0,0,0,.848.173h4.68a2.113,2.113,0,0,0,.848-.173,2.195,2.195,0,0,0,.691-.464,2.288,2.288,0,0,0,.471-.7,2,2,0,0,0,.173-.85V8.061Z" transform="translate(-244.073 14)"/> <path id="Mic_on_icon" data-name="Mic on icon" d="M259.518,12.092a1.476,1.476,0,0,1-.589-.118,1.5,1.5,0,0,1-.8-.8,1.486,1.486,0,0,1-.118-.59V1.511a1.486,1.486,0,0,1,.118-.59,1.5,1.5,0,0,1,.8-.8A1.476,1.476,0,0,1,259.518,0h4.02a1.476,1.476,0,0,1,.589.118,1.5,1.5,0,0,1,.8.8,1.487,1.487,0,0,1,.118.59V10.58a1.487,1.487,0,0,1-.118.59,1.5,1.5,0,0,1-.8.8,1.476,1.476,0,0,1-.589.118Zm-.5-1.511a.51.51,0,0,0,.5.5h4.02a.51.51,0,0,0,.5-.5V1.511a.485.485,0,0,0-.149-.354.482.482,0,0,0-.353-.15h-4.02a.482.482,0,0,0-.353.15.485.485,0,0,0-.149.354Zm8.04-2.519v2.85a3.106,3.106,0,0,1-.251,1.244,3.2,3.2,0,0,1-1.7,1.7,3.085,3.085,0,0,1-1.241.252H262.03v1.008h2.01v1.008h-5.025V15.115h2.01V14.107h-1.837a3.085,3.085,0,0,1-1.241-.252,3.2,3.2,0,0,1-1.7-1.7A3.107,3.107,0,0,1,256,10.911V8.061h1.005v2.85a2.128,2.128,0,0,0,.173.85,2.2,2.2,0,0,0,.463.693,2.281,2.281,0,0,0,.7.472,1.981,1.981,0,0,0,.848.173h4.68a2.113,2.113,0,0,0,.848-.173,2.195,2.195,0,0,0,.691-.464,2.288,2.288,0,0,0,.471-.7,2,2,0,0,0,.173-.85V8.061Z" transform="translate(-244.073 14)"/>
</g> </g>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -275,11 +275,11 @@ void Toolbar::show(std::wstring position, std::wstring monitorString)
GetModuleHandleW(nullptr), GetModuleHandleW(nullptr),
nullptr); nullptr);
auto transparrentColorKey = RGB(0, 0, 255); auto transparentColorKey = RGB(0, 0, 255);
HBRUSH brush = CreateSolidBrush(transparrentColorKey); HBRUSH brush = CreateSolidBrush(transparentColorKey);
SetClassLongPtr(hwnd, GCLP_HBRBACKGROUND, (LONG_PTR)brush); SetClassLongPtr(hwnd, GCLP_HBRBACKGROUND, (LONG_PTR)brush);
SetLayeredWindowAttributes(hwnd, transparrentColorKey, 0, LWA_COLORKEY); SetLayeredWindowAttributes(hwnd, transparentColorKey, 0, LWA_COLORKEY);
SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);