public Select ( |
||
anchorPosition | ||
movingPosition | ||
return | void |
public void Select (TextPointer anchorPosition, TextPointer movingPosition)
{
if (anchorPosition == null)
throw new ArgumentNullException ("anchorPosition");
if (movingPosition == null)
throw new ArgumentNullException ("movingPosition");
NativeMethods.text_selection_select (native, anchorPosition.NativeHandle, movingPosition.NativeHandle);
}
// Token: 0x06003879 RID: 14457 RVA: 0x000FD0D4 File Offset: 0x000FB2D4 private static void CreateImplicitParagraphIfNeededAndUpdateSelection(TextSelection thisSelection) { TextPointer textPointer = thisSelection.Start; if (TextPointerBase.IsAtPotentialParagraphPosition(textPointer)) { textPointer = TextRangeEditTables.EnsureInsertionPosition(textPointer); thisSelection.Select(textPointer, textPointer); } }