24 instantiations of DocumentSequenceTextPointer
PresentationFramework (24)
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
412
return new
DocumentSequenceTextPointer
(childBlock, (ITextPointer)cp);
1190
return new
DocumentSequenceTextPointer
(childBlock, childPosition);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (9)
393
return new
DocumentSequenceTextPointer
(cdb, tp);
543
_start = new
DocumentSequenceTextPointer
(_doclistHead.NextBlock, _doclistHead.NextBlock.ChildContainer.Start);
544
_end = new
DocumentSequenceTextPointer
(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.ChildContainer.End);
548
_start = new
DocumentSequenceTextPointer
(_doclistHead, _doclistHead.ChildContainer.Start);
549
_end = new
DocumentSequenceTextPointer
(_doclistTail, _doclistTail.ChildContainer.End);
637
new
DocumentSequenceTextPointer
(insertAfter, insertAfter.End);
640
_end = new
DocumentSequenceTextPointer
(newBlock, newBlock.ChildContainer.End);
645
_start = new
DocumentSequenceTextPointer
(newBlock, newBlock.ChildContainer.Start);
783
tsScan = new
DocumentSequenceTextPointer
(cdbScan, cdbScan.ChildContainer.Start);
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
803
DocumentSequenceTextPointer newTp = new
DocumentSequenceTextPointer
(thisTp.ChildBlock, thisTp.ChildPointer.CreatePointer(gravity));
925
return new
DocumentSequenceTextPointer
(block, pointer);
1022
DocumentSequenceTextPointer tpScan = new
DocumentSequenceTextPointer
(tp1.ChildBlock, tp1.ChildPointer);
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (4)
95
tp = new
DocumentSequenceTextPointer
(ChildBlock, childOTP);
236
newTp = new
DocumentSequenceTextPointer
(ChildBlock, childOTP);
391
tpStart = new
DocumentSequenceTextPointer
(ChildBlock, childTR.Start);
392
tpEnd = new
DocumentSequenceTextPointer
(ChildBlock, childTR.End);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (6)
157
end = new
DocumentSequenceTextPointer
(childBlock, new FixedTextPointer(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
158
start = new
DocumentSequenceTextPointer
(childBlock, new FixedTextPointer(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
162
start = new
DocumentSequenceTextPointer
(childBlock, new FixedTextPointer(false, LogicalDirection.Forward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageStartFlowPosition(translatedPageNumber)));
163
end = new
DocumentSequenceTextPointer
(childBlock, new FixedTextPointer(false, LogicalDirection.Backward, fixedDoc.FixedContainer.FixedTextBuilder.GetPageEndFlowPosition(translatedPageNumber)));
310
firstSearchPageStart = new
DocumentSequenceTextPointer
(endAsDSTP.ChildBlock,
330
firstSearchPageEnd = new
DocumentSequenceTextPointer
( startAsDSTP.ChildBlock,
98 references to DocumentSequenceTextPointer
PresentationFramework (98)
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
779
if (newPosition is
DocumentSequenceTextPointer
|| newPosition is FixedTextPointer)
src\Framework\System\Windows\Documents\DocumentSequence.cs (3)
347
if (contentPosition is
DocumentSequenceTextPointer
)
349
DocumentSequenceTextPointer
dsTextPointer = (
DocumentSequenceTextPointer
)contentPosition;
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (14)
362
internal
DocumentSequenceTextPointer
VerifyPosition(ITextPointer position)
374
DocumentSequenceTextPointer
tp = position as
DocumentSequenceTextPointer
;
386
internal
DocumentSequenceTextPointer
MapChildPositionToParent(ITextPointer tp)
579
_changes.AddChange(precursorTextChange,
DocumentSequenceTextPointer
.GetOffsetToPosition(_start, startPosition), symbolCount, false /* collectTextChanges */);
636
DocumentSequenceTextPointer
changeStart =
737
DocumentSequenceTextPointer
tsScan = null;
743
DocumentSequenceTextPointer
tsEnd = (
DocumentSequenceTextPointer
)ts.End;
753
tsScan = (
DocumentSequenceTextPointer
)ts.Start;
818
private
DocumentSequenceTextPointer
_start; // Start of the aggregated TextContainer
819
private
DocumentSequenceTextPointer
_end; // End of the aggregated TextContainer
1037
DocumentSequenceTextPointer
parentChangePosition = textPosition.CreateDynamicTextPointer(LogicalDirection.Forward) as
DocumentSequenceTextPointer
;
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (56)
70
return
DocumentSequenceTextPointer
.CompareTo(this, position);
86
return
DocumentSequenceTextPointer
.GetOffsetToPosition(this, position);
94
return
DocumentSequenceTextPointer
.GetPointerContext(this, direction);
103
return
DocumentSequenceTextPointer
.GetTextRunLength(this, direction);
118
return
DocumentSequenceTextPointer
.GetTextInRun(this, direction, textBuffer, startIndex, count);
127
return
DocumentSequenceTextPointer
.GetAdjacentElement(this, direction);
136
return
DocumentSequenceTextPointer
.GetElementType(this, direction);
144
return
DocumentSequenceTextPointer
.HasEqualScope(this, position);
154
return
DocumentSequenceTextPointer
.GetValue(this, property);
163
return
DocumentSequenceTextPointer
.ReadLocalValue(this, property);
172
return
DocumentSequenceTextPointer
.GetLocalValueEnumerator(this);
180
return
DocumentSequenceTextPointer
.CreatePointer(this);
198
return
DocumentSequenceTextPointer
.CreatePointer(this, distance);
206
return
DocumentSequenceTextPointer
.CreatePointer(this, gravity);
214
return
DocumentSequenceTextPointer
.CreatePointer(this, distance, gravity);
339
return
DocumentSequenceTextPointer
.GetElementType(this);
458
return
DocumentSequenceTextPointer
.iScan(this, direction);
469
if (
DocumentSequenceTextPointer
.iScan(this, offset))
484
DocumentSequenceTextPointer
tp = this.AggregatedContainer.VerifyPosition(position);
609
public static int CompareTo(
DocumentSequenceTextPointer
thisTp, ITextPointer position)
611
DocumentSequenceTextPointer
tp = thisTp.AggregatedContainer.VerifyPosition(position);
621
public static int GetOffsetToPosition(
DocumentSequenceTextPointer
thisTp, ITextPointer position)
623
DocumentSequenceTextPointer
tp = thisTp.AggregatedContainer.VerifyPosition(position);
643
public static TextPointerContext GetPointerContext(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
654
public static int GetTextRunLength(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
665
public static int GetTextInRun(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction, char[] textBuffer, int startIndex, int count)
697
public static object GetAdjacentElement(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
708
public static Type GetElementType(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
712
DocumentSequenceTextPointer
tp = xGetClingDSTP(thisTp, direction);
720
public static Type GetElementType(
DocumentSequenceTextPointer
thisTp)
728
public static bool HasEqualScope(
DocumentSequenceTextPointer
thisTp, ITextPointer position)
730
DocumentSequenceTextPointer
tp = thisTp.AggregatedContainer.VerifyPosition(position);
744
public static object GetValue(
DocumentSequenceTextPointer
thisTp, DependencyProperty property)
758
public static object ReadLocalValue(
DocumentSequenceTextPointer
thisTp, DependencyProperty property)
772
public static LocalValueEnumerator GetLocalValueEnumerator(
DocumentSequenceTextPointer
thisTp)
777
public static ITextPointer CreatePointer(
DocumentSequenceTextPointer
thisTp)
782
public static ITextPointer CreatePointer(
DocumentSequenceTextPointer
thisTp, int distance)
787
public static ITextPointer CreatePointer(
DocumentSequenceTextPointer
thisTp, LogicalDirection gravity)
795
public static ITextPointer CreatePointer(
DocumentSequenceTextPointer
thisTp, int distance, LogicalDirection gravity)
803
DocumentSequenceTextPointer
newTp = new DocumentSequenceTextPointer(thisTp.ChildBlock, thisTp.ChildPointer.CreatePointer(gravity));
840
internal static bool iScan(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
852
internal static bool iScan(
DocumentSequenceTextPointer
thisTp, int distance)
889
private static
DocumentSequenceTextPointer
xGetClingDSTP(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
939
private static TextPointerContext xGapAwareGetSymbolType(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
941
DocumentSequenceTextPointer
tp = xGetClingDSTP(thisTp, direction);
946
private static object xGapAwareGetEmbeddedElement(
DocumentSequenceTextPointer
thisTp, LogicalDirection direction)
948
DocumentSequenceTextPointer
tp = xGetClingDSTP(thisTp, direction);
957
private static int xGapAwareCompareTo(
DocumentSequenceTextPointer
thisTp,
DocumentSequenceTextPointer
tp)
986
private static bool xUnseparated(
DocumentSequenceTextPointer
tp1,
DocumentSequenceTextPointer
tp2)
1013
private static int xGapAwareGetDistance(
DocumentSequenceTextPointer
tp1,
DocumentSequenceTextPointer
tp2)
1022
DocumentSequenceTextPointer
tpScan = new DocumentSequenceTextPointer(tp1.ChildBlock, tp1.ChildPointer);
1039
private static bool xGapAwareScan(
DocumentSequenceTextPointer
thisTp, int distance)
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (16)
87
DocumentSequenceTextPointer
tp = null;
103
return tp == null ? null :
DocumentSequenceTextPointer
.CreatePointer(tp, edge);
134
DocumentSequenceTextPointer
tp = null;
164
DocumentSequenceTextPointer
startTp = null;
165
DocumentSequenceTextPointer
endTp = null;
218
DocumentSequenceTextPointer
newTp = null;
220
DocumentSequenceTextPointer
tp = null;
242
return
DocumentSequenceTextPointer
.CreatePointer(newTp, newEdge);
275
DocumentSequenceTextPointer
ftp = this.DocumentSequenceTextContainer.VerifyPosition(position);
325
DocumentSequenceTextPointer
ftp = this.DocumentSequenceTextContainer.VerifyPosition(position);
354
DocumentSequenceTextPointer
ftp = this.DocumentSequenceTextContainer.VerifyPosition(position);
376
DocumentSequenceTextPointer
tpStart = null;
377
DocumentSequenceTextPointer
tpEnd = null;
378
DocumentSequenceTextPointer
tpLine = null;
449
DocumentSequenceTextPointer
tp = null;
581
DocumentSequenceTextPointer
ptpStart, ptpEnd;
src\Framework\System\Windows\Documents\FixedFindEngine.cs (6)
43
Debug.Assert( ((start is
DocumentSequenceTextPointer
) && (end is
DocumentSequenceTextPointer
)) ||
306
DocumentSequenceTextPointer
endAsDSTP = end as
DocumentSequenceTextPointer
;
326
DocumentSequenceTextPointer
startAsDSTP = start as
DocumentSequenceTextPointer
;
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2329
if (!(movingPosition is
DocumentSequenceTextPointer
|| movingPosition is FixedTextPointer) &&
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
140
if (findContainerStartPosition is
DocumentSequenceTextPointer
||