14 writes to cpMin
System.Windows.Forms (14)
winforms\Managed\System\WinForms\RichTextBox.cs (14)
1989
ft.chrg.
cpMin
= start;
1995
ft.chrg.
cpMin
= end;
2002
ft.chrg.
cpMin
= 0;
2006
ft.chrg.
cpMin
= textLen;
2035
chrg.
cpMin
= position;
2123
chrg.cpMax = chrg.
cpMin
= start;
2130
txrg.chrg.
cpMin
= chrg.cpMin;
2149
txrg.chrg.
cpMin
= chrg.cpMax;
2157
txrg.chrg.
cpMin
-= CHAR_BUFFER_LEN;
2162
txrg.chrg.
cpMin
= 0;
2172
chrg.cpMax = chrg.
cpMin
= -1; // Hit end of control without finding what we wanted
2208
chrg.
cpMin
--;
3565
es.chrg.
cpMin
= Marshal.ReadInt32((IntPtr)(es64p + 44));
3585
es.charrange.
cpMin
= Marshal.ReadInt32((IntPtr)(es64p + 44));
9 references to cpMin
System.Windows.Forms (9)
winforms\Managed\System\WinForms\RichTextBox.cs (9)
2000
if (ft.chrg.
cpMin
== ft.chrg.cpMax) {
2130
txrg.chrg.cpMin = chrg.
cpMin
;
2156
txrg.chrg.cpMax = chrg.
cpMin
;
2161
if (txrg.chrg.
cpMin
< 0)
2218
int index = (forward) ? chrg.cpMax : chrg.
cpMin
;
3368
Debug.Assert((c.cpMax-c.
cpMin
)>0, "CHARRANGE was null or negative - can't do it!");
3372
if (c.cpMax > Text.Length || c.cpMax-c.
cpMin
<= 0) {
3376
int characters = (c.cpMax-c.
cpMin
) + 1; // +1 for null termination
3597
int selStart = selChange.chrg.
cpMin
;