summaryrefslogtreecommitdiff
path: root/examples/apps/ide
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-30 21:25:44 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-30 21:25:44 +0200
commit605767127e8770d54766f051559b4a43ac9d06e6 (patch)
tree41dc301b9343a4373011c91e0c49208116a5ab4e /examples/apps/ide
parent89aabaace7ebd7dd0519529d23bbcc776833a526 (diff)
downloadfpGUI-605767127e8770d54766f051559b4a43ac9d06e6.tar.xz
textedit: ScrollTo() never updated the scrollbar positions
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);