5 implementations of CreatePointer
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
315
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
174
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\FixedTextPointer.cs (1)
242
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\NullTextNavigator.cs (1)
165
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\TextPointer.cs (1)
2562
ITextPointer ITextPointer.
CreatePointer
()
162 references to CreatePointer
PresentationFramework (162)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
134
TextPointer current = (TextPointer)start.
CreatePointer
();
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
240
elementEnd.
CreatePointer
() : //new TextPointer((TextPointer)elementEnd) :
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
993
ITextPointer cursor = _segment.Start.
CreatePointer
();
MS\Internal\Documents\TextContainerHelper.cs (4)
317
start = start.
CreatePointer
();
400
ITextPointer position = elementStart.
CreatePointer
();
443
position = start.
CreatePointer
();
459
position = end.
CreatePointer
();
MS\Internal\PtsHost\ListParagraph.cs (3)
112
textPointer = textPointer.
CreatePointer
();
127
textPointer = textPointer.
CreatePointer
();
137
textPointer = textPointer.
CreatePointer
();
System\Windows\Annotations\AnnotationHelper.cs (2)
685
ITextPointer start = selection.Start.
CreatePointer
();
686
ITextPointer end = selection.End.
CreatePointer
();
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
206
_childrenStart = start.
CreatePointer
();
207
_childrenEnd = end.
CreatePointer
();
System\Windows\Controls\PasswordBox.cs (2)
1084
selectionStart = this.TextContainer.Start.
CreatePointer
();
1090
selectionEnd = selectionStart.
CreatePointer
();
System\Windows\Controls\PasswordTextNavigator.cs (5)
324
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
542
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
557
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
566
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
583
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Controls\TextAdaptor.cs (6)
106
start = textSegments[0].Start.
CreatePointer
();
110
end = textSegments[textSegments.Count - 1].End.
CreatePointer
();
133
ITextPointer position = start.
CreatePointer
();
277
ITextPointer pointer = alignToTop ? start.
CreatePointer
() : end.
CreatePointer
();
615
ITextPointer position = _textContainer.Start.
CreatePointer
();
System\Windows\Controls\TextRangeAdaptor.cs (28)
467
_start = start.
CreatePointer
();
468
_end = end.
CreatePointer
();
610
_start = lineRange.Start.
CreatePointer
();
619
_end = lineRange.End.
CreatePointer
();
632
_end = lineRange.End.
CreatePointer
();
645
_start = textRange.Start.
CreatePointer
();
655
_end = textRange.End.
CreatePointer
();
683
_start = textSegments[0].Start.
CreatePointer
();
700
_end = textSegments[textSegments.Count - 1].End.
CreatePointer
();
710
_start = _start.TextContainer.Start.
CreatePointer
();
714
_end = _start.TextContainer.End.
CreatePointer
();
862
nextParagraphStart = nextParagraphStart.
CreatePointer
();
883
previousParagraphEnd = previousParagraphEnd.
CreatePointer
();
1029
ITextPointer positionOrig = position.
CreatePointer
();
1156
ITextPointer positionTemp = position.
CreatePointer
();
1206
ITextPointer start = _start.
CreatePointer
();
1207
ITextPointer end = _end.
CreatePointer
();
1459
ITextPointer startPosition = position.
CreatePointer
();
1509
position = position.
CreatePointer
();
1895
ITextPointer position = _start.
CreatePointer
();
1908
_end = position.
CreatePointer
();
1948
ITextPointer position = positionRef.
CreatePointer
();
1988
_end = _start.
CreatePointer
();
1992
_start = _end.
CreatePointer
();
2012
_start = targetPointer.
CreatePointer
();
2016
_end = _start.
CreatePointer
();
2021
_end = targetPointer.
CreatePointer
();
2025
_start = _end.
CreatePointer
();
System\Windows\Documents\CompositionAdorner.cs (1)
602
endLinePointer = end.
CreatePointer
();
System\Windows\Documents\DocumentSequenceTextPointer.cs (9)
172
/// <see cref="ITextPointer.
CreatePointer
()"/>
186
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
253
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
268
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
279
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
288
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
492
this.ChildPointer = tp.ChildPointer.
CreatePointer
();
1036
childTn = thisTp.ChildPointer.
CreatePointer
();
1105
thisTp.ChildPointer = childTn.
CreatePointer
();
System\Windows\Documents\FixedElement.cs (1)
267
ITextPointer pos = ((ITextPointer)_start).
CreatePointer
();
System\Windows\Documents\FixedTextPointer.cs (6)
240
/// <see cref="ITextPointer.
CreatePointer
()"/>
254
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
311
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
329
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
343
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
355
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Documents\FixedTextView.cs (2)
403
pos = position.
CreatePointer
();
550
ITextPointer pointer = position.
CreatePointer
();
System\Windows\Documents\ImmComposition.cs (8)
630
startNavigator = _startComposition.
CreatePointer
();
634
startNavigator = _editor.Selection.Start.
CreatePointer
();
639
endNavigator = _endComposition.
CreatePointer
();
643
endNavigator = _editor.Selection.End.
CreatePointer
();
652
caretNavigator = _editor.Selection.End.
CreatePointer
();
1414
navigator = range.Start.
CreatePointer
();
1466
navigator = range.End.
CreatePointer
();
1665
positionNext = positionCurrent.
CreatePointer
();
System\Windows\Documents\NullTextNavigator.cs (6)
163
/// <see cref="ITextPointer.
CreatePointer
()"/>
174
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
333
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
351
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
365
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
377
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Documents\Speller.cs (3)
1329
searchPosition = position.
CreatePointer
();
1393
ITextPointer navigator = position.
CreatePointer
();
1664
position = contextStart.
CreatePointer
();
System\windows\Documents\TextEditorSelection.cs (9)
474
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
525
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
1331
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
1372
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
2036
ITextPointer position = textEditor.Selection.MovingPosition.
CreatePointer
();
2142
ITextPointer wordBoundary = textEditor.Selection.End.
CreatePointer
();
2162
ITextPointer wordBoundary = textEditor.Selection.Start.
CreatePointer
();
2206
ITextPointer wordBoundary = textEditor.Selection.MovingPosition.
CreatePointer
();
2440
ITextPointer navigator = position.
CreatePointer
();
System\windows\Documents\TextEditorSpelling.cs (1)
191
textEnd = spellingError.End.
CreatePointer
();
System\windows\Documents\TextEditorTyping.cs (3)
863
ITextPointer navigator = position.
CreatePointer
();
914
ITextPointer wordBoundary = This.Selection.End.
CreatePointer
();
973
ITextPointer wordBoundary = This.Selection.Start.
CreatePointer
();
System\Windows\Documents\TextFindEngine.cs (6)
218
navigator = navigator.
CreatePointer
();
222
ITextPointer startFindTextPosition = navigator.
CreatePointer
();
277
ITextPointer startMatchPosition = startFindTextPosition.
CreatePointer
();
280
ITextPointer endMatchPosition = startFindTextPosition.
CreatePointer
();
292
navigator = startFindTextPosition.
CreatePointer
();
348
position.
CreatePointer
() /* need unfrozen pointer */,
System\Windows\Documents\TextPointer.cs (4)
2453
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
2468
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
2479
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
2488
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Documents\TextPointerBase.cs (10)
284
ITextPointer navigator = position.
CreatePointer
();
317
ITextPointer navigator = position.
CreatePointer
();
432
position = position.
CreatePointer
();
472
ITextPointer navigator = thisPosition.
CreatePointer
();
540
ITextPointer navigator = thisPosition.
CreatePointer
();
553
navigator = thisPosition.
CreatePointer
();
967
ITextPointer initialPosition = thisNavigator.
CreatePointer
();
1072
ITextPointer startPosition = thisNavigator.
CreatePointer
();
1421
navigator = pointer.
CreatePointer
();
1475
ITextPointer navigator = position.
CreatePointer
();
System\Windows\Documents\TextRangeBase.cs (11)
194
ITextPointer normalizedPosition = position.
CreatePointer
();
291
ITextPointer nextPosition = thisRange.End.
CreatePointer
();
334
start = position.
CreatePointer
();
335
end = position.
CreatePointer
();
402
ITextPointer position = textSegment.Start.
CreatePointer
();
471
ITextPointer position = textSegment.Start.
CreatePointer
();
514
ITextPointer startNavigator = thisRange.Start.
CreatePointer
();
515
ITextPointer endNavigator = thisRange.End.
CreatePointer
();
673
ITextPointer navigator = startPosition.
CreatePointer
();
1619
ITextPointer start = range.Start.
CreatePointer
();
1628
ITextPointer end = range.End.
CreatePointer
();
System\Windows\Documents\TextRangeSerialization.cs (17)
205
ITextPointer textReader = rangeStart.
CreatePointer
();
249
ITextPointer ptr = textReader.
CreatePointer
();
283
ITextPointer endPointer = textReader.
CreatePointer
();
359
ITextPointer pointer = textSegment.Start.
CreatePointer
();
433
ITextPointer previousLevel = thisElement.
CreatePointer
();
451
ITextPointer position = thisElement.
CreatePointer
();
470
ITextPointer position = thisElement.
CreatePointer
();
494
ITextPointer position = thisElement.
CreatePointer
();
776
outerContext = context.
CreatePointer
();
840
ITextPointer parentContext = onlyAffected ? null : context.
CreatePointer
();
1675
ITextPointer commonAncestor = range.Start.
CreatePointer
();
1676
ITextPointer runningEnd = range.End.
CreatePointer
();
1741
ITextPointer navigator = commonAncestor.
CreatePointer
();
1855
ITextPointer elementNavigation = textReader.
CreatePointer
();
1856
ITextPointer elementEnd = textReader.
CreatePointer
();
1888
ITextPointer hyperlinkNavigation = textReader.
CreatePointer
();
1889
ITextPointer hyperlinkEnd = textReader.
CreatePointer
();
System\windows\Documents\TextSelection.cs (5)
858
_previousCursorPosition = cursorPosition.
CreatePointer
();
888
_previousCursorPosition = cursorPosition.
CreatePointer
();
938
_reenterPosition = cursorPosition.
CreatePointer
();
2188
caretPosition = caretPosition.
CreatePointer
();
2203
caretPosition = caretPosition.
CreatePointer
();
System\Windows\Documents\TextStore.cs (5)
695
startNavigator = start.
CreatePointer
();
697
endNavigator = end.
CreatePointer
();
1079
ITextPointer navigator = startPointer.
CreatePointer
();
1496
navigator = TextSelection.End.
CreatePointer
();
3033
positionNext = positionCurrent.
CreatePointer
();