/// <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 one endpoint of a text range to the specified endpoint of a second text range. /// </summary> /// <param name="endpoint">The endpoint to move.</param> /// <param name="targetRange">Another range from the same text provider.</param> /// <param name="targetEndpoint">An endpoint on the other range.</param> public void MoveEndpointByRange(System.Windows.Automation.Text.TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, System.Windows.Automation.Text.TextPatternRangeEndpoint targetEndpoint) { throw new NotImplementedException(); }