Don't scroll to the selection when calling BTextView::Insert(). This fixes bug 506

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18547 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2006-08-21 12:42:01 +00:00
parent c33ac538c4
commit e8db36f1d2

View File

@ -1135,7 +1135,7 @@ BTextView::Insert(int32 startOffset, const char *inText, int32 inLength,
fSelEnd += inLength;
// recalc line breaks and draw the text
Refresh(saveStart, fSelEnd, true, true);
Refresh(saveStart, fSelEnd, true, false);
}