9 writes to _range
UIAutomationClientSideProviders (9)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (9)
31
_range
= range;
1133
_range
= charRange;
1138
_range
= paraRange;
1162
_range
= charRange;
1167
_range
= paraRange;
1191
_range
= charRange;
1196
_range
= paraRange;
1220
_range
= charRange;
1225
_range
= paraRange;
48 references to _range
UIAutomationClientSideProviders (48)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (48)
46
ITextRange range =
_range
.GetDuplicate();
54
return
_range
.IsEqual(otherRange.
_range
)==TomBool.tomTrue;
62
int e1 = (endpoint == TextPatternRangeEndpoint.Start) ?
_range
.Start :
_range
.End;
63
int e2 = (targetEndpoint == TextPatternRangeEndpoint.Start) ? otherRange.
_range
.Start : otherRange.
_range
.End;
76
ITextRange charRange =
_range
.GetDuplicate();
79
ITextRange paraRange =
_range
.GetDuplicate();
82
_range
.SetRange(Math.Max(charRange.Start, paraRange.Start), Math.Min(charRange.End, paraRange.End));
87
_range
.Expand(TomUnitFromTextUnit(unit, "unit"));
132
ITextRange range =
_range
.GetDuplicate();
158
return GetAttributeValueForRange(
_range
, attribute);
165
int start = Math.Max(
_range
.Start, visibleRange.Start);
166
int end = Math.Min(
_range
.End, visibleRange.End);
225
text =
_range
.Text;
231
int start =
_range
.Start;
232
int end =
_range
.End;
235
text =
_range
.Text;
241
ITextRange range =
_range
.GetDuplicate();
268
moved =
_range
.Move(TomUnitFromTextUnit(unit, "unit"), count);
295
moved =
_range
.MoveStart(TomUnitFromTextUnit(unit, "unit"), count);
299
moved =
_range
.MoveEnd(TomUnitFromTextUnit(unit, "unit"), count);
311
ITextRange range = ((WindowsRichEditRange)targetRange).
_range
;
319
int storyLength =
_range
.StoryLength;
320
_range
.Start = cp<storyLength ? cp : storyLength-1;
324
_range
.End = cp;
332
_range
.Select();
358
_range
.ScrollIntoView(TomStartEnd.tomStart);
364
ITextRange range =
_range
.GetDuplicate();
463
int limit =
_range
.End; // cache the limit of our search range.
464
ITextRange subrange = FirstUnit(
_range
);
516
int limit =
_range
.Start; // cache the limit of our search range.
517
ITextRange subrange = LastUnit(
_range
);
1013
if (
_range
.Start <
_range
.End)
1015
_range
.Collapse(TomStartEnd.tomEnd);
1024
if (
_range
.Start <
_range
.End)
1026
_range
.Collapse(TomStartEnd.tomStart);
1122
ITextRange charRange =
_range
.GetDuplicate();
1125
ITextRange paraRange =
_range
.GetDuplicate();
1151
ITextRange charRange =
_range
.GetDuplicate();
1154
ITextRange paraRange =
_range
.GetDuplicate();
1180
ITextRange charRange =
_range
.GetDuplicate();
1183
ITextRange paraRange =
_range
.GetDuplicate();
1209
ITextRange charRange =
_range
.GetDuplicate();
1212
ITextRange paraRange =
_range
.GetDuplicate();