5 implementations of CreateStaticPointer
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
324
StaticTextPointer ITextPointer.
CreateStaticPointer
()
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
188
StaticTextPointer ITextPointer.
CreateStaticPointer
()
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
267
StaticTextPointer ITextPointer.
CreateStaticPointer
()
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
174
StaticTextPointer ITextPointer.
CreateStaticPointer
()
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2593
StaticTextPointer ITextPointer.
CreateStaticPointer
()
28 references to CreateStaticPointer
PresentationFramework (28)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
299
return dynamicPosition == null ? StaticTextPointer.Null : dynamicPosition.
CreateStaticPointer
();
src\Framework\MS\Internal\PtsHost\Line.cs (1)
223
StaticTextPointer pointer = position.
CreateStaticPointer
();
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
174
StaticTextPointer pointer = position.
CreateStaticPointer
();
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
111
StaticTextPointer pointer = position.
CreateStaticPointer
();
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
1016
parentPosition = parentTextPointer.
CreateStaticPointer
();
1053
parentTextPointer = childTp.
CreateStaticPointer
();
1062
parentTextPointer = childTp.
CreateStaticPointer
();
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
186
/// <see cref="ITextPointer.
CreateStaticPointer
"/>
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
265
/// <see cref="ITextPointer.
CreateStaticPointer
"/>
src\Framework\System\Windows\Documents\Speller.cs (5)
125
_statusTable.IsRunType(position.
CreateStaticPointer
(), direction, SpellerStatusTable.RunType.Dirty))
132
_statusTable.GetError(position.
CreateStaticPointer
(), direction, out start, out end))
158
while (_statusTable.GetRun(position.
CreateStaticPointer
(), direction, out runType, out endPosition))
167
_statusTable.GetRun(position.
CreateStaticPointer
(), direction, out runType, out endPosition);
1414
nextErrorTransition = _statusTable.GetNextErrorTransition(position.
CreateStaticPointer
(), direction);
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (10)
93
for (index = FindIndex(searchStart.
CreateStaticPointer
(), LogicalDirection.Forward); index >= 0 && index < _runList.Count; index++)
129
runIndex = FindIndex(start.
CreateStaticPointer
(), LogicalDirection.Forward);
207
transitionPosition = GetRun(i).Position.
CreateStaticPointer
();
217
transitionPosition = GetRun(index).Position.
CreateStaticPointer
();
280
end = (direction == LogicalDirection.Forward) ? GetRunEndPosition(index) : run.Position.
CreateStaticPointer
();
393
startIndex = FindIndex(start.
CreateStaticPointer
(), LogicalDirection.Forward);
394
endIndex = FindIndex(end.
CreateStaticPointer
(), LogicalDirection.Backward);
429
endIndex = FindIndex(end.
CreateStaticPointer
(), LogicalDirection.Backward);
594
index = FindIndex(position.
CreateStaticPointer
(), LogicalDirection.Backward);
764
position = GetRun(index + 1).Position.
CreateStaticPointer
();
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (4)
147
transitionPosition = textSegment.Start.
CreateStaticPointer
();
152
transitionPosition = textSegment.End.
CreateStaticPointer
();
168
transitionPosition = textSegment.End.
CreateStaticPointer
();
173
transitionPosition = textSegment.Start.
CreateStaticPointer
();