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