Ejemplo n.º 1
0
 private static TextPointer GetPointerFromCharOffset(AnchoredBlock anchoredBlock, ref int charOffset)
 {
     return GetPointerFromCharOffset(anchoredBlock.ElementEnd, anchoredBlock.Blocks, ref charOffset);
 }
Ejemplo n.º 2
0
 private static int GetCharOffsetToPosition(AnchoredBlock anchoredBlock, TextPointer position, out TextPointer result)
 {
     return GetCharOffsetToPosition(anchoredBlock.Blocks, position, out result);
 }