/// <summary> /// Expands the text range to the specified text unit. /// </summary> /// <param name="unit">The textual unit.</param> public void ExpandToEnclosingUnit(System.Windows.Automation.Text.TextUnit unit) { //SelectionHelper helper = SelectionHelper.Create(this); //if (helper != null && helper.Selection != null) //{ // helper.Selection.ExtendToStringBoundaries(); // //EditingHelper.SetKeyboardForSelection(helper.Selection); //} throw new NotImplementedException(); }
/// <summary> /// Moves one endpoint of the text range the specified number of text units within the document range. /// </summary> /// <param name="endpoint">The endpoint to move.</param> /// <param name="unit">The textual unit for moving.</param> /// <param name="count">The number of units to move. A positive value moves the endpoint forward. A negative value moves backward. A value of 0 has no effect.</param> /// <returns> /// The number of units actually moved, which can be less than the number requested if moving the endpoint runs into the beginning or end of the document. /// </returns> public int MoveEndpointByUnit(System.Windows.Automation.Text.TextPatternRangeEndpoint endpoint, System.Windows.Automation.Text.TextUnit unit, int count) { throw new NotImplementedException(); }
/// <summary> /// Moves the text range the specified number of text units. /// </summary> /// <param name="unit">The text unit boundary.</param> /// <param name="count">The number of text units to move. /// A positive value moves the text range forward, a negative value moves the text range backward, and 0 has no effect.</param> /// <returns> /// The number of units actually moved. This can be less than the number requested if either of the new text range endpoints is greater than or less than the <see cref="P:System.Windows.Automation.Provider.ITextProvider.DocumentRange"/> endpoints. /// </returns> public int Move(System.Windows.Automation.Text.TextUnit unit, int count) { throw new NotImplementedException(); }
public void ExpandToEnclosingUnit(System.Windows.Automation.Text.TextUnit unit) { throw new NotImplementedException(); }