public TextChangeEventArgs ( int offset, ITextSource removedText, ITextSource insertedText ) : System | ||
offset | int | |
removedText | ITextSource | |
insertedText | ITextSource | |
return | System |
public TextChangeEventArgs(int offset, ITextSource removedText, ITextSource insertedText)
{
if (offset < 0)
throw new ArgumentOutOfRangeException("offset", offset, "offset must not be negative");
this.offset = offset;
this.removedText = removedText ?? StringTextSource.Empty;
this.insertedText = insertedText ?? StringTextSource.Empty;
}
TextChangeEventArgs::TextChangeEventArgs ( int offset, string removedText, string insertedText ) : System |