summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/apps/ide/src/fpg_textedit.pas1
1 files changed, 1 insertions, 0 deletions
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;