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:
@@ -1135,7 +1135,7 @@ BTextView::Insert(int32 startOffset, const char *inText, int32 inLength,
|
|||||||
fSelEnd += inLength;
|
fSelEnd += inLength;
|
||||||
|
|
||||||
// recalc line breaks and draw the text
|
// recalc line breaks and draw the text
|
||||||
Refresh(saveStart, fSelEnd, true, true);
|
Refresh(saveStart, fSelEnd, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user