9 writes to _range
UIAutomationClientsideProviders (9)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (9)
38
_range
= range;
1152
_range
= charRange;
1157
_range
= paraRange;
1181
_range
= charRange;
1186
_range
= paraRange;
1210
_range
= charRange;
1215
_range
= paraRange;
1239
_range
= charRange;
1244
_range
= paraRange;
48 references to _range
UIAutomationClientsideProviders (48)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (48)
53
ITextRange range =
_range
.GetDuplicate();
61
return
_range
.IsEqual(otherRange.
_range
)==TomBool.tomTrue;
69
int e1 = (endpoint == TextPatternRangeEndpoint.Start) ?
_range
.Start :
_range
.End;
70
int e2 = (targetEndpoint == TextPatternRangeEndpoint.Start) ? otherRange.
_range
.Start : otherRange.
_range
.End;
83
ITextRange charRange =
_range
.GetDuplicate();
86
ITextRange paraRange =
_range
.GetDuplicate();
89
_range
.SetRange(Math.Max(charRange.Start, paraRange.Start), Math.Min(charRange.End, paraRange.End));
94
_range
.Expand(TomUnitFromTextUnit(unit, "unit"));
151
ITextRange range =
_range
.GetDuplicate();
177
return GetAttributeValueForRange(
_range
, attribute);
184
int start = Math.Max(
_range
.Start, visibleRange.Start);
185
int end = Math.Min(
_range
.End, visibleRange.End);
244
text =
_range
.Text;
250
int start =
_range
.Start;
251
int end =
_range
.End;
254
text =
_range
.Text;
260
ITextRange range =
_range
.GetDuplicate();
287
moved =
_range
.Move(TomUnitFromTextUnit(unit, "unit"), count);
314
moved =
_range
.MoveStart(TomUnitFromTextUnit(unit, "unit"), count);
318
moved =
_range
.MoveEnd(TomUnitFromTextUnit(unit, "unit"), count);
330
ITextRange range = ((WindowsRichEditRange)targetRange).
_range
;
338
int storyLength =
_range
.StoryLength;
339
_range
.Start = cp<storyLength ? cp : storyLength-1;
343
_range
.End = cp;
351
_range
.Select();
377
_range
.ScrollIntoView(TomStartEnd.tomStart);
383
ITextRange range =
_range
.GetDuplicate();
482
int limit =
_range
.End; // cache the limit of our search range.
483
ITextRange subrange = FirstUnit(
_range
);
535
int limit =
_range
.Start; // cache the limit of our search range.
536
ITextRange subrange = LastUnit(
_range
);
1032
if (
_range
.Start <
_range
.End)
1034
_range
.Collapse(TomStartEnd.tomEnd);
1043
if (
_range
.Start <
_range
.End)
1045
_range
.Collapse(TomStartEnd.tomStart);
1141
ITextRange charRange =
_range
.GetDuplicate();
1144
ITextRange paraRange =
_range
.GetDuplicate();
1170
ITextRange charRange =
_range
.GetDuplicate();
1173
ITextRange paraRange =
_range
.GetDuplicate();
1199
ITextRange charRange =
_range
.GetDuplicate();
1202
ITextRange paraRange =
_range
.GetDuplicate();
1228
ITextRange charRange =
_range
.GetDuplicate();
1231
ITextRange paraRange =
_range
.GetDuplicate();