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:
parent
c33ac538c4
commit
e8db36f1d2
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user