12 writes to cpMin
System.Windows.Forms (12)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (12)
1830
cpMin
= position
1896
ft.chrg.
cpMin
= start;
1902
ft.chrg.
cpMin
= end;
1911
ft.chrg.
cpMin
= 0;
1916
ft.chrg.
cpMin
= textLen;
2008
chrg.cpMax = chrg.
cpMin
= start;
2016
cpMin
= chrg.cpMin,
2042
txrg.chrg.
cpMin
= chrg.cpMax;
2051
txrg.chrg.
cpMin
-= CHAR_BUFFER_LEN;
2057
txrg.chrg.
cpMin
= 0;
2071
chrg.cpMax = chrg.
cpMin
= -1; // Hit end of control without finding what we wanted
2113
chrg.
cpMin
--;
11 references to cpMin
System.Windows.Forms (11)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (11)
1907
if (ft.chrg.
cpMin
== ft.chrg.cpMax)
2016
cpMin = chrg.
cpMin
,
2050
txrg.chrg.cpMax = chrg.
cpMin
;
2055
if (txrg.chrg.
cpMin
< 0)
2127
int index = (forward) ? chrg.cpMax : chrg.
cpMin
;
3247
OnLinkClicked(new LinkClickedEventArgs(linktext, enlink.charrange.
cpMin
, enlink.charrange.cpMax - enlink.charrange.
cpMin
));
3275
Debug.Assert((c.cpMax - c.
cpMin
) > 0, "CHARRANGE was null or negative - can't do it!");
3276
if (c.cpMax - c.
cpMin
<= 0)
3281
int characters = (c.cpMax - c.
cpMin
) + 1; // +1 for null termination
3465
int selStart = selChange.chrg.
cpMin
;