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