Skip to content

Commit 663946b

Browse files
Merged PR 20691: Corrected syntax blocks
2 parents 867e8ef + 2b449c3 commit 663946b

6 files changed

+24
-72
lines changed

sdk-api-src/content/uiautomationclient/nf-uiautomationclient-iuiautomation6-get_coalesceevents.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ api_name:
4949

5050
# IUIAutomation6::get_CoalesceEvents
5151

52-
5352
## -description
5453

5554
Gets or sets whether an accessible technology client receives all events, or a subset where duplicate events are detected and filtered.
@@ -58,17 +57,14 @@ This property is read/write.
5857

5958
## -parameters
6059

61-
## -remarks
60+
### -param coalesceEventsOptions [in]
61+
62+
Type: [**CoalesceEventsOptions**](ne-uiautomationclient-coalesceeventsoptions.md)
6263

63-
> ### Parameters
64-
>
65-
> `coalesceEventsOptions` [in]
66-
>
67-
> Type: **CoalesceEventsOptions**
68-
>
69-
> Value indicating whether events are filtered. The default is [CoalesceEventsOptions_Disabled](ne-uiautomationclient-coalesceeventsoptions.md).
64+
Value indicating whether events are filtered. The default is [CoalesceEventsOptions_Disabled](ne-uiautomationclient-coalesceeventsoptions.md).
65+
66+
## -remarks
7067

7168
## -see-also
7269

7370
[IUIAutomation6 interface](nn-uiautomationclient-iuiautomation6.md)
74-

sdk-api-src/content/uiautomationclient/nf-uiautomationclient-iuiautomation6-get_connectionrecoverybehavior.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ api_name:
4949

5050
# IUIAutomation6::get_ConnectionRecoveryBehavior
5151

52-
5352
## -description
5453

5554
Indicates whether an accessible technology client adjusts provider request timeouts when the provider is non-responsive.
@@ -58,17 +57,14 @@ This property is read/write.
5857

5958
## -parameters
6059

61-
## -remarks
60+
### -param connectionRecoveryBehaviorOptions [in]
61+
62+
Type: [**ConnectionRecoveryBehaviorOptions**](ne-uiautomationclient-connectionrecoverybehavioroptions.md)
6263

63-
> ### Parameters
64-
>
65-
> `connectionRecoveryBehaviorOptions` [in]
66-
>
67-
> Type: **ConnectionRecoveryBehaviorOptions**
68-
>
69-
> Value indicating whether provider request timeouts are adjusted. The default is [ConnectionRecoveryBehaviorOptions_Disabled](ne-uiautomationclient-connectionrecoverybehavioroptions.md).
64+
Value indicating whether provider request timeouts are adjusted. The default is [ConnectionRecoveryBehaviorOptions_Disabled](ne-uiautomationclient-connectionrecoverybehavioroptions.md).
65+
66+
## -remarks
7067

7168
## -see-also
7269

7370
[IUIAutomation6 interface](nn-uiautomationclient-iuiautomation6.md)
74-

sdk-api-src/content/uiautomationclient/nf-uiautomationclient-iuiautomation6-put_coalesceevents.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ api_name:
4949

5050
# IUIAutomation6::put_CoalesceEvents
5151

52-
5352
## -description
5453

5554
Gets or sets whether an accessible technology client receives all events, or a subset where duplicate events are detected and filtered.
@@ -58,17 +57,14 @@ This property is read/write.
5857

5958
## -parameters
6059

61-
## -remarks
60+
### -param coalesceEventsOptions [out]
61+
62+
Type: [**CoalesceEventsOptions**](ne-uiautomationclient-coalesceeventsoptions.md)
6263

63-
> ### Parameters
64-
>
65-
> `coalesceEventsOptions` [out]
66-
>
67-
> Type: **CoalesceEventsOptions**
68-
>
69-
> Value indicating whether events are filtered. The default is [CoalesceEventsOptions_Disabled](ne-uiautomationclient-coalesceeventsoptions.md).
64+
Value indicating whether events are filtered. The default is [CoalesceEventsOptions_Disabled](ne-uiautomationclient-coalesceeventsoptions.md).
65+
66+
## -remarks
7067

7168
## -see-also
7269

7370
[IUIAutomation6 interface](nn-uiautomationclient-iuiautomation6.md)
74-

sdk-api-src/content/uiautomationclient/nf-uiautomationclient-iuiautomation6-put_connectionrecoverybehavior.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ api_name:
4949

5050
# IUIAutomation6::put_ConnectionRecoveryBehavior
5151

52-
5352
## -description
5453

5554
Indicates whether an accessible technology client adjusts provider request timeouts when the provider is non-responsive.
@@ -58,19 +57,14 @@ This property is read/write.
5857

5958
## -parameters
6059

61-
See remarks.
60+
### -param connectionRecoveryBehaviorOptions [out]
6261

63-
## -remarks
62+
Type: [**ConnectionRecoveryBehaviorOptions**](ne-uiautomationclient-connectionrecoverybehavioroptions.md)
6463

65-
> ### Parameters
66-
>
67-
> `connectionRecoveryBehaviorOptions` [out]
68-
>
69-
> Type: **ConnectionRecoveryBehaviorOptions**
70-
>
71-
> Value indicating whether provider request timeouts are adjusted. The default is [ConnectionRecoveryBehaviorOptions_Disabled](ne-uiautomationclient-connectionrecoverybehavioroptions.md).
64+
Value indicating whether provider request timeouts are adjusted. The default is [ConnectionRecoveryBehaviorOptions_Disabled](ne-uiautomationclient-connectionrecoverybehavioroptions.md).
65+
66+
## -remarks
7267

7368
## -see-also
7469

7570
[IUIAutomation6 interface](nn-uiautomationclient-iuiautomation6.md)
76-

sdk-api-src/content/uiautomationclient/nf-uiautomationclient-iuiautomationtextpattern-get_supportedtextselection.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ helpviewer_keywords: ["IUIAutomationTextPattern interface [Windows Accessibility
66
old-location: winauto\uiauto_IUIAutomationTextPattern_SupportedTextSelection.htm
77
tech.root: WinAuto
88
ms.assetid: 794c08d4-9305-4fdd-8ca0-188e1e9b6547
9-
ms.date: 01/30/2020
9+
ms.date: 08/22/2023
1010
ms.keywords: IUIAutomationTextPattern interface [Windows Accessibility],SupportedTextSelection property, IUIAutomationTextPattern.SupportedTextSelection, IUIAutomationTextPattern.get_SupportedTextSelection, IUIAutomationTextPattern::SupportedTextSelection, IUIAutomationTextPattern::get_SupportedTextSelection, SupportedTextSelection property [Windows Accessibility], SupportedTextSelection property [Windows Accessibility],IUIAutomationTextPattern interface, get_SupportedTextSelection, uiauto.uiauto_IUIAutomationTextPattern_SupportedTextSelection, uiauto_IUIAutomationTextPattern_SupportedTextSelection, uiautomationclient/IUIAutomationTextPattern::SupportedTextSelection, uiautomationclient/IUIAutomationTextPattern::get_SupportedTextSelection, winauto.uiauto_IUIAutomationTextPattern_SupportedTextSelection
1111
req.header: uiautomationclient.h
1212
req.include-header: UIAutomation.h
@@ -48,7 +48,6 @@ api_name:
4848

4949
# IUIAutomationTextPattern::get_SupportedTextSelection
5050

51-
5251
## -description
5352

5453
Retrieves a value that specifies the type of text selection that is supported by the control.
@@ -69,23 +68,8 @@ Type: **[HRESULT](/windows/desktop/WinProg/windows-data-types)**
6968

7069
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
7170

72-
## -syntax
73-
74-
```cpp
75-
HRESULT get_SupportedTextSelection
76-
[out, retval] (SupportedTextSelection *supportedTextSelection);
77-
```
78-
7971
## -remarks
8072

81-
> ### Parameters
82-
>
83-
> `supportedTextSelection` [out]
84-
>
85-
> Type: **[SupportedTextSelection](../uiautomationcore/ne-uiautomationcore-supportedtextselection.md)\***
86-
>
87-
> When this function returns, contains a pointer to the [SupportedTextSelection](../uiautomationcore/ne-uiautomationcore-supportedtextselection.md) object.
88-
8973
## -see-also
9074

9175
[IUIAutomationTextPattern interface](nn-uiautomationclient-iuiautomationtextpattern.md), [UI Automation Support for Textual Content](/windows/desktop/WinAuto/uiauto-ui-automation-textpattern-overview)

sdk-api-src/content/uiautomationclient/nf-uiautomationclient-iuiautomationtextrange-expandtoenclosingunit.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,8 @@ Type: **[HRESULT](/windows/desktop/WinProg/windows-data-types)**
6666

6767
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
6868

69-
## -syntax
70-
71-
```cpp
72-
HRESULT ExpandToEnclosingUnit (TextUnit unit);
73-
```
74-
7569
## -remarks
7670

77-
> ### Parameters
78-
>
79-
> `unit` [in]
80-
>
81-
> Type: **[TextUnit](../uiautomationcore/ne-uiautomationcore-textunit.md)**
82-
>
83-
> The text unit, such as line or paragraph.
84-
8571
Client applications such as screen readers use this method to retrieve the full word, sentence, or paragraph that exists at the insertion point or caret position.
8672

8773
Despite its name, the ExpandToEnclosingUnit method does not necessarily expand a text range. Instead, it "normalizes" a text range by moving the endpoints so that the range encompasses the specified text unit. The range is expanded if it is smaller than the specified unit, or shortened if it is longer than the specified unit. If the range is already an exact quantity of the specified units, it remains unchanged. The following diagram shows how ExpandToEnclosingUnit normalizes a text range by moving the endpoints of the range.

0 commit comments

Comments
 (0)