Skip to content

Commit 39c9bc2

Browse files
committed
corrected errors alvinashcraft caught, thanks
1 parent 997a706 commit 39c9bc2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

hub/powertoys/command-palette/command-results.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ An [IInvokableCommand](./microsoft-commandpalette-extensions/iinvokablecommand.m
1515

1616
The toolkit provides a number of helper methods to create command results. These are all static methods on the **CommandResult** class. Calling these methods on their own won't do anything. You must return those objects as the result of a **Invoke** method, for Command Palette to handle them.
1717

18-
> [!Note]
18+
> [!NOTE]
1919
> There are code examples for the various CommandResult methods listed on this page.
2020
2121
<!-- GoToPage currently omitted from these docs, because it's not remotely implemented -->
@@ -41,7 +41,7 @@ This result takes the user back to the main page of the Command Palette. It will
4141

4242
## Dismiss command result
4343

44-
This result hides the Command Palette after the action is executed, and takes it back to the hme page. On the next launch, the Command Palette will start from the main page with a blank query. This is useful for commands that are one-off actions, or that don't need to keep the Command Palette open.
44+
This result hides the Command Palette after the action is executed, and takes it back to the home page. On the next launch, the Command Palette will start from the main page with a blank query. This is useful for commands that are one-off actions, or that don't need to keep the Command Palette open.
4545

4646
If you don't know what else to use, this should be your default. Ideally, users should come into the palette, find what they need, and be done with it.
4747

@@ -63,7 +63,7 @@ This is useful for commands that might have destructive actions, or that need to
6363

6464
As an example, here's a page with one command for each kind of command result:
6565

66-
> [!Note]
66+
> [!NOTE]
6767
> If working from prior section, modify the code below from `CommandResultsPage` to `<ExtensionName>Page`.
6868
6969
```csharp

hub/powertoys/command-palette/creating-an-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ From here, you can immediately build the project and run it. Once your package i
5757
> Make sure you _deploy_ your app! Just **build**ing your application won't update the package in the same way that deploying it will.
5858
5959
> [!WARNING]
60-
> Running "<ExtensionName> (Unpackaged)" from Visual Studio will not **deploy** your app package.
60+
> Running "\<ExtensionName\> (Unpackaged)" from Visual Studio will not **deploy** your app package.
6161
>
6262
> If you're using `git` for source control, and you used the standard `.gitignore` file for C#, you'll want to remove the following two lines from your `.gitignore` file:
6363
> ```

hub/powertoys/command-palette/update-a-list-of-commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ So far we've shown how to return a list of static items in your extension. Howev
1515

1616
## Updating a command
1717

18-
Almost all extension objects in the Command Palette implement the **IPropChanged** interface. This allows them to notify the Command Palette when they've changed, and the Command Palette will update the UI to reflect those changes. If you're using the [toolkit](https://learn.microsoft.com/en-us/windows/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/microsoft-commandpalette-extensions-toolkit) implementations, this interface has already been implemented for you for properties that support it.
18+
Almost all extension objects in the Command Palette implement the **IPropChanged** interface. This allows them to notify the Command Palette when they've changed, and the Command Palette will update the UI to reflect those changes. If you're using the [toolkit](/windows/powertoys/command-palette/microsoft-commandpalette-extensions-toolkit/microsoft-commandpalette-extensions-toolkit) implementations, this interface has already been implemented for you for properties that support it.
1919

2020
As a simple example, you can update the title of the page. To do this, you can add a command which will simply update the title of the page.
2121

@@ -128,7 +128,7 @@ Now, every time you perform one of the **IncrementingListItem** commands, the li
128128

129129
Everything so far has been pretty instantaneous. Many extensions however may need to do some work that takes a lot longer. In that case, you can set **Page.IsLoading** to `true` to show a loading spinner. This will help indicate that the extension is doing something in the background.
130130

131-
> [!Note]
131+
> [!NOTE]
132132
> If working from prior section, modify the code below from `Page.IsLoading` to `this.IsLoading`.
133133
134134
```csharp

hub/powertoys/command-palette/using-markdown-content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ So far, we've only shown how to display a list of commands in a **ListPage**. Ho
1919

2020
As a simple example, we can create the following page:
2121

22-
> [!Note]
22+
> [!NOTE]
2323
> If working from prior sections, modify the code below from `MarkdownPage` to `<ExtensionName>Page`.
2424
2525
```csharp

0 commit comments

Comments
 (0)