5 implementations of CreatePointer
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
311
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
166
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\FixedTextPointer.cs (1)
235
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\NullTextNavigator.cs (1)
160
ITextPointer ITextPointer.
CreatePointer
()
System\Windows\Documents\TextPointer.cs (1)
2557
ITextPointer ITextPointer.
CreatePointer
()
162 references to CreatePointer
PresentationFramework (162)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
125
TextPointer current = (TextPointer)start.
CreatePointer
();
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
230
elementEnd.
CreatePointer
() : //new TextPointer((TextPointer)elementEnd) :
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
986
ITextPointer cursor = _segment.Start.
CreatePointer
();
MS\Internal\Documents\TextContainerHelper.cs (4)
314
start = start.
CreatePointer
();
397
ITextPointer position = elementStart.
CreatePointer
();
440
position = start.
CreatePointer
();
456
position = end.
CreatePointer
();
MS\Internal\PtsHost\ListParagraph.cs (3)
100
textPointer = textPointer.
CreatePointer
();
115
textPointer = textPointer.
CreatePointer
();
125
textPointer = textPointer.
CreatePointer
();
System\Windows\Annotations\AnnotationHelper.cs (2)
671
ITextPointer start = selection.Start.
CreatePointer
();
672
ITextPointer end = selection.End.
CreatePointer
();
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
204
_childrenStart = start.
CreatePointer
();
205
_childrenEnd = end.
CreatePointer
();
System\Windows\Controls\PasswordBox.cs (2)
1067
selectionStart = this.TextContainer.Start.
CreatePointer
();
1073
selectionEnd = selectionStart.
CreatePointer
();
System\Windows\Controls\PasswordTextNavigator.cs (5)
320
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
538
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
553
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
562
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
579
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Controls\TextAdaptor.cs (6)
103
start = textSegments[0].Start.
CreatePointer
();
107
end = textSegments[textSegments.Count - 1].End.
CreatePointer
();
130
ITextPointer position = start.
CreatePointer
();
274
ITextPointer pointer = alignToTop ? start.
CreatePointer
() : end.
CreatePointer
();
612
ITextPointer position = _textContainer.Start.
CreatePointer
();
System\Windows\Controls\TextRangeAdaptor.cs (28)
465
_start = start.
CreatePointer
();
466
_end = end.
CreatePointer
();
608
_start = lineRange.Start.
CreatePointer
();
617
_end = lineRange.End.
CreatePointer
();
630
_end = lineRange.End.
CreatePointer
();
643
_start = textRange.Start.
CreatePointer
();
653
_end = textRange.End.
CreatePointer
();
681
_start = textSegments[0].Start.
CreatePointer
();
698
_end = textSegments[textSegments.Count - 1].End.
CreatePointer
();
708
_start = _start.TextContainer.Start.
CreatePointer
();
712
_end = _start.TextContainer.End.
CreatePointer
();
860
nextParagraphStart = nextParagraphStart.
CreatePointer
();
881
previousParagraphEnd = previousParagraphEnd.
CreatePointer
();
1027
ITextPointer positionOrig = position.
CreatePointer
();
1154
ITextPointer positionTemp = position.
CreatePointer
();
1204
ITextPointer start = _start.
CreatePointer
();
1205
ITextPointer end = _end.
CreatePointer
();
1457
ITextPointer startPosition = position.
CreatePointer
();
1507
position = position.
CreatePointer
();
1893
ITextPointer position = _start.
CreatePointer
();
1906
_end = position.
CreatePointer
();
1946
ITextPointer position = positionRef.
CreatePointer
();
1986
_end = _start.
CreatePointer
();
1990
_start = _end.
CreatePointer
();
2010
_start = targetPointer.
CreatePointer
();
2014
_end = _start.
CreatePointer
();
2019
_end = targetPointer.
CreatePointer
();
2023
_start = _end.
CreatePointer
();
System\Windows\Documents\CompositionAdorner.cs (1)
601
endLinePointer = end.
CreatePointer
();
System\Windows\Documents\DocumentSequenceTextPointer.cs (9)
164
/// <see cref="ITextPointer.
CreatePointer
()"/>
178
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
245
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
260
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
271
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
280
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
483
this.ChildPointer = tp.ChildPointer.
CreatePointer
();
1027
childTn = thisTp.ChildPointer.
CreatePointer
();
1096
thisTp.ChildPointer = childTn.
CreatePointer
();
System\Windows\Documents\FixedElement.cs (1)
263
ITextPointer pos = ((ITextPointer)_start).
CreatePointer
();
System\Windows\Documents\FixedTextPointer.cs (6)
233
/// <see cref="ITextPointer.
CreatePointer
()"/>
247
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
304
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
322
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
336
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
348
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Documents\FixedTextView.cs (2)
392
pos = position.
CreatePointer
();
537
ITextPointer pointer = position.
CreatePointer
();
System\Windows\Documents\ImmComposition.cs (8)
607
startNavigator = _startComposition.
CreatePointer
();
611
startNavigator = _editor.Selection.Start.
CreatePointer
();
616
endNavigator = _endComposition.
CreatePointer
();
620
endNavigator = _editor.Selection.End.
CreatePointer
();
629
caretNavigator = _editor.Selection.End.
CreatePointer
();
1393
navigator = range.Start.
CreatePointer
();
1445
navigator = range.End.
CreatePointer
();
1644
positionNext = positionCurrent.
CreatePointer
();
System\Windows\Documents\NullTextNavigator.cs (6)
158
/// <see cref="ITextPointer.
CreatePointer
()"/>
169
return new StaticTextPointer(((ITextPointer)this).TextContainer, ((ITextPointer)this).
CreatePointer
());
328
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
346
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
360
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
372
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Documents\Speller.cs (3)
1325
searchPosition = position.
CreatePointer
();
1389
ITextPointer navigator = position.
CreatePointer
();
1660
position = contextStart.
CreatePointer
();
System\windows\Documents\TextEditorSelection.cs (9)
459
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
510
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
1316
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
1357
ITextPointer movingPointer = This.Selection.MovingPosition.
CreatePointer
();
2021
ITextPointer position = textEditor.Selection.MovingPosition.
CreatePointer
();
2127
ITextPointer wordBoundary = textEditor.Selection.End.
CreatePointer
();
2147
ITextPointer wordBoundary = textEditor.Selection.Start.
CreatePointer
();
2191
ITextPointer wordBoundary = textEditor.Selection.MovingPosition.
CreatePointer
();
2425
ITextPointer navigator = position.
CreatePointer
();
System\windows\Documents\TextEditorSpelling.cs (1)
190
textEnd = spellingError.End.
CreatePointer
();
System\windows\Documents\TextEditorTyping.cs (3)
854
ITextPointer navigator = position.
CreatePointer
();
905
ITextPointer wordBoundary = This.Selection.End.
CreatePointer
();
964
ITextPointer wordBoundary = This.Selection.Start.
CreatePointer
();
System\Windows\Documents\TextFindEngine.cs (6)
209
navigator = navigator.
CreatePointer
();
213
ITextPointer startFindTextPosition = navigator.
CreatePointer
();
268
ITextPointer startMatchPosition = startFindTextPosition.
CreatePointer
();
271
ITextPointer endMatchPosition = startFindTextPosition.
CreatePointer
();
283
navigator = startFindTextPosition.
CreatePointer
();
339
position.
CreatePointer
() /* need unfrozen pointer */,
System\Windows\Documents\TextPointer.cs (4)
2448
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
2463
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
2474
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
2483
ITextPointer pointer = ((ITextPointer)this).
CreatePointer
();
System\Windows\Documents\TextPointerBase.cs (10)
282
ITextPointer navigator = position.
CreatePointer
();
315
ITextPointer navigator = position.
CreatePointer
();
430
position = position.
CreatePointer
();
470
ITextPointer navigator = thisPosition.
CreatePointer
();
538
ITextPointer navigator = thisPosition.
CreatePointer
();
551
navigator = thisPosition.
CreatePointer
();
965
ITextPointer initialPosition = thisNavigator.
CreatePointer
();
1070
ITextPointer startPosition = thisNavigator.
CreatePointer
();
1419
navigator = pointer.
CreatePointer
();
1473
ITextPointer navigator = position.
CreatePointer
();
System\Windows\Documents\TextRangeBase.cs (11)
191
ITextPointer normalizedPosition = position.
CreatePointer
();
288
ITextPointer nextPosition = thisRange.End.
CreatePointer
();
331
start = position.
CreatePointer
();
332
end = position.
CreatePointer
();
399
ITextPointer position = textSegment.Start.
CreatePointer
();
468
ITextPointer position = textSegment.Start.
CreatePointer
();
511
ITextPointer startNavigator = thisRange.Start.
CreatePointer
();
512
ITextPointer endNavigator = thisRange.End.
CreatePointer
();
670
ITextPointer navigator = startPosition.
CreatePointer
();
1616
ITextPointer start = range.Start.
CreatePointer
();
1625
ITextPointer end = range.End.
CreatePointer
();
System\Windows\Documents\TextRangeSerialization.cs (17)
199
ITextPointer textReader = rangeStart.
CreatePointer
();
243
ITextPointer ptr = textReader.
CreatePointer
();
277
ITextPointer endPointer = textReader.
CreatePointer
();
353
ITextPointer pointer = textSegment.Start.
CreatePointer
();
427
ITextPointer previousLevel = thisElement.
CreatePointer
();
445
ITextPointer position = thisElement.
CreatePointer
();
464
ITextPointer position = thisElement.
CreatePointer
();
488
ITextPointer position = thisElement.
CreatePointer
();
770
outerContext = context.
CreatePointer
();
834
ITextPointer parentContext = onlyAffected ? null : context.
CreatePointer
();
1669
ITextPointer commonAncestor = range.Start.
CreatePointer
();
1670
ITextPointer runningEnd = range.End.
CreatePointer
();
1735
ITextPointer navigator = commonAncestor.
CreatePointer
();
1849
ITextPointer elementNavigation = textReader.
CreatePointer
();
1850
ITextPointer elementEnd = textReader.
CreatePointer
();
1882
ITextPointer hyperlinkNavigation = textReader.
CreatePointer
();
1883
ITextPointer hyperlinkEnd = textReader.
CreatePointer
();
System\windows\Documents\TextSelection.cs (5)
855
_previousCursorPosition = cursorPosition.
CreatePointer
();
885
_previousCursorPosition = cursorPosition.
CreatePointer
();
935
_reenterPosition = cursorPosition.
CreatePointer
();
2185
caretPosition = caretPosition.
CreatePointer
();
2200
caretPosition = caretPosition.
CreatePointer
();
System\Windows\Documents\TextStore.cs (5)
684
startNavigator = start.
CreatePointer
();
686
endNavigator = end.
CreatePointer
();
1068
ITextPointer navigator = startPointer.
CreatePointer
();
1485
navigator = TextSelection.End.
CreatePointer
();
3024
positionNext = positionCurrent.
CreatePointer
();