Example #1
0
 /// <summary>
 ///  When implemented in a derived class, gets the <see cref="DisplayTextRange"/> that has this point and <paramref name="otherPoint"/>
 /// as its start and end points.
 /// </summary>
 /// <returns>The <see cref="DisplayTextRange"/> that starts at this point and ends at <paramref name="otherPoint"/>.</returns>
 /// <exception cref="InvalidOperationException"><paramref name="otherPoint"/> does not belong to the same buffer as this point, or
 /// <paramref name="otherPoint"/> does not belong to the same view as this point.</exception>
 public abstract DisplayTextRange GetDisplayTextRange(DisplayTextPoint otherPoint);
Example #2
0
 /// <summary>
 /// When implemented in a derived class, shows the <paramref name="point"/> in the view.
 /// </summary>
 /// <param name="point">The point to  display.</param>
 /// <param name="howToShow">How the point should be displayed on the screen.</param>
 /// <returns><c>true</c> if the point was actually displayed, otherwise <c>false</c>.</returns>
 public abstract bool Show(DisplayTextPoint point, HowToShow howToShow);