Сообщение от Dark Dragon
Спасибо за помощь.
Однако все равно не понимаю почему оператор "+=" создает такие ошибки.
|
Не знаю. Хочешь, пошарься в сорсах. Вот AppendText, к примеру:
if (text.Length <= 0)
return;
int start;
int length;
this.GetSelectionStartAndLength(out start, out length);
try
{
int endPosition = this.GetEndPosition();
this.SelectInternal(endPosition, endPosition, endPosition);
this.SelectedText = text;
}
finally
{
if (this.Width == 0 || this.Height == 0)
this.Select(start, length);
}
По-моему вполне удовлетворительно, что оно и так работает