summaryrefslogtreecommitdiff
path: root/examples/apps/ide
diff options
context:
space:
mode:
Diffstat (limited to 'examples/apps/ide')
-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 06345b46..c63bd3a8 100644
--- a/examples/apps/ide/src/fpg_textedit.pas
+++ b/examples/apps/ide/src/fpg_textedit.pas
@@ -1893,6 +1893,7 @@ procedure TfpgBaseTextEdit.ScrollTo(X, Y: Integer);
begin
SetVPos(Y div FChrH);
SetHPos(X div FChrW);
+ UpdateScrollBars;
end;
procedure TfpgBaseTextEdit.GotoLine(ALine: integer);