Skip to content

Commit 35193cb

Browse files
Merge pull request #13358 from tinaschrepfer/dev/tinali/fix-missing-links
Fix missing and incorrect links
2 parents e6f5936 + 18652b6 commit 35193cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/extensibility/visualstudio.extensibility/editor/editor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ To avoid misplaced edits, edits from editor extensions are applied as follows:
225225
226226
## Changing caret position or selecting text from an extension
227227
228-
Editing text document from an extension implicitly affects caret position. For example, inserting some text at the caret will move the caret to the end of the inserted text. Extensions can also use [`ITextViewSnapshot.AsEditable().SetSelections()`](/dotnet/api/microsoft.visualstudio.text.itextvieweditor.setselections) to set the caret explicitly to a different position or make text selections. To illustrate, the following code would insert some text, but keep the caret at the original position:
228+
Editing text document from an extension implicitly affects caret position. For example, inserting some text at the caret will move the caret to the end of the inserted text. Extensions can also use [`ITextViewSnapshot.AsEditable().SetSelections()`](/dotnet/api/microsoft.visualstudio.extensibility.editor.itextvieweditor.setselections) to set the caret explicitly to a different position or make text selections. To illustrate, the following code would insert some text, but keep the caret at the original position:
229229
230230
```csharp
231231
await this.Extensibility.Editor().EditAsync(batch =>
@@ -264,7 +264,7 @@ Text view margins are placed into a margin container (see [ContainerMarginPlacem
264264
265265
Text view margin providers implement [ITextViewMarginProvider](/dotnet/api/microsoft.visualstudio.extensibility.editor.itextviewmarginprovider) interface, configure the margin they provide by implementing [TextViewMarginProviderConfiguration](/dotnet/api/microsoft.visualstudio.extensibility.editor.itextviewmarginprovider.textviewmarginproviderconfiguration) and when activated, provide UI control to be hosted in the margin via [CreateVisualElementAsync](/dotnet/api/microsoft.visualstudio.extensibility.editor.itextviewmarginprovider.createvisualelementasync).
266266
267-
Because extensions in VisualStudio.Extensibility might be out-of-process from the Visual Studio, we can't directly use WPF as a presentation layer for content of text view margins. Instead, providing a content to a text view margin requires creating a [RemoteUserControl](./../inside-the-sdk/remote-ui.md) and the corresponding data template for that control. While there are some simple examples below, we recommend reading the [Remote UI documentation](./../inside-the-sdk/remote-ui.md) when creating text view margin UI content.
267+
Because extensions in VisualStudio.Extensibility might be out-of-process from the Visual Studio, we can't directly use WPF as a presentation layer for content of text view margins. Instead, providing a content to a text view margin requires creating a [RemoteUserControl](./../inside-the-sdk/remote-ui.md#create-the-remote-user-control) and the corresponding data template for that control. While there are some simple examples below, we recommend reading the [Remote UI documentation](./../inside-the-sdk/remote-ui.md) when creating text view margin UI content.
268268
269269
```csharp
270270
/// <summary>

docs/extensibility/visualstudio.extensibility/output-window/output-window.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The Output window in the Visual Studio IDE is a [Tool Window](./../tool-window/t
1919
> [!IMPORTANT]
2020
> The VisualStudio.Extensibility Output window APIs are currently in preview and are subject to change. Any extension that leverages these APIs may fail to work in future versions of Visual Studio and will need to be updated when a newer version of the APIs is released.
2121
22-
To get started, follow the [create the project](./../get-started/create-your-first-extension.md) section in Getting Started section.
22+
To get started, follow the [create the project](./../get-started/create-your-first-extension.md#create-the-extension-project) section in Getting Started section.
2323

2424
## Work with the Output window
2525

0 commit comments

Comments
 (0)