2 writes to chrg
System.Windows.Forms (2)
winforms\Managed\System\WinForms\RichTextBox.cs (2)
2128
txrg.
chrg
= new NativeMethods.CHARRANGE();
3367
txrg.
chrg
= c;
10 references to chrg
System.Windows.Forms (10)
winforms\Managed\System\WinForms\RichTextBox.cs (10)
2130
txrg.
chrg
.cpMin = chrg.cpMin;
2131
txrg.
chrg
.cpMax = chrg.cpMax;
2149
txrg.
chrg
.cpMin = chrg.cpMax;
2150
txrg.
chrg
.cpMax += CHAR_BUFFER_LEN;
2156
txrg.
chrg
.cpMax = chrg.cpMin;
2157
txrg.
chrg
.cpMin -= CHAR_BUFFER_LEN;
2161
if (txrg.
chrg
.cpMin < 0)
2162
txrg.
chrg
.cpMin = 0;
2166
txrg.
chrg
.cpMax = Math.Min(txrg.
chrg
.cpMax, end);