From ea03bc7e739813c7a859a8d044239dacec1c75da Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 26 Aug 2011 09:47:52 +0200 Subject: textedit: scrollbar position wasn't updated when GotoLine() was used. --- examples/apps/ide/src/fpg_textedit.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/apps/ide/src/fpg_textedit.pas b/examples/apps/ide/src/fpg_textedit.pas index 02aa5285..1406b3d1 100644 --- a/examples/apps/ide/src/fpg_textedit.pas +++ b/examples/apps/ide/src/fpg_textedit.pas @@ -1828,6 +1828,7 @@ begin CaretPos.X := 0; CaretPos.Y := ALine; ScrollPos_V := ALine-5; // scrolling a few lines short so cursor is not on top line + UpdateScrollBars; end; procedure TfpgBaseTextEdit.DeleteSelection; -- cgit v1.2.3-70-g09d2