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