diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-26 09:47:52 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-26 09:47:52 +0200 |
commit | ea03bc7e739813c7a859a8d044239dacec1c75da (patch) | |
tree | 77a35611fc489172e82526fd20b6663518388f3d /examples | |
parent | b1cb2d2856533ed014aa69b6796b9dfe99a2c712 (diff) | |
download | fpGUI-ea03bc7e739813c7a859a8d044239dacec1c75da.tar.xz |
textedit: scrollbar position wasn't updated when GotoLine() was used.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/apps/ide/src/fpg_textedit.pas | 1 |
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; |