14 writes to cpMin
System.Windows.Forms (12)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (12)
1794cpMin = position 1860ft.chrg.cpMin = start; 1866ft.chrg.cpMin = end; 1875ft.chrg.cpMin = 0; 1880ft.chrg.cpMin = textLen; 1972chrg.cpMax = chrg.cpMin = start; 1980cpMin = chrg.cpMin, 2006txrg.chrg.cpMin = chrg.cpMax; 2015txrg.chrg.cpMin -= CHAR_BUFFER_LEN; 2021txrg.chrg.cpMin = 0; 2035chrg.cpMax = chrg.cpMin = -1; // Hit end of control without finding what we wanted 2077chrg.cpMin--;
System.Windows.Forms.Tests (2)
System\Windows\Forms\RichTextBoxTests.cs (2)
10180cpMin = min, 10414cpMin = min,
17 references to cpMin
System.Windows.Forms (11)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (11)
1871if (ft.chrg.cpMin == ft.chrg.cpMax) 1980cpMin = chrg.cpMin, 2014txrg.chrg.cpMax = chrg.cpMin; 2019if (txrg.chrg.cpMin < 0) 2091int index = (forward) ? chrg.cpMax : chrg.cpMin; 3144OnLinkClicked(new LinkClickedEventArgs(linktext, enlink.charrange.cpMin, enlink.charrange.cpMax - enlink.charrange.cpMin)); 3172Debug.Assert((c.cpMax - c.cpMin) > 0, "CHARRANGE was null or negative - can't do it!"); 3173if (c.cpMax - c.cpMin <= 0) 3178int characters = (c.cpMax - c.cpMin) + 1; // +1 for null termination 3362int selStart = selChange.chrg.cpMin;
System.Windows.Forms.Interop.Tests (6)
RichTextBoxTests.cs (6)
27Assert.Equal(109, value.charrange.cpMin); 42Assert.Equal(109, value.chrg.cpMin); 64Assert.Equal(109, value.cpMin); 84Assert.Equal(109, value.chrg.cpMin); 150Assert.Equal(109, value.chrg.cpMin); 160Assert.Equal(109, value.chrg.cpMin);