diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-06-12 13:36:23 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-06-12 13:36:23 +0200 |
commit | 1031017c9e8e569cc51f5f385b1bd230b823efe5 (patch) | |
tree | 649852f2433c6ea4d861f7f1fa7d25c8ca393a0c /prototypes/textedit | |
parent | 53e63bc51dd0fa76fc919d1f82d3c78fcd57eaad (diff) | |
download | fpGUI-1031017c9e8e569cc51f5f385b1bd230b823efe5.tar.xz |
TextEdit: Fixed confusion between X, Y values for text selection handling.
Diffstat (limited to 'prototypes/textedit')
-rw-r--r-- | prototypes/textedit/fpg_textedit.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/textedit/fpg_textedit.pas b/prototypes/textedit/fpg_textedit.pas index f17c79c4..4a9994d8 100644 --- a/prototypes/textedit/fpg_textedit.pas +++ b/prototypes/textedit/fpg_textedit.pas @@ -1510,8 +1510,8 @@ begin if not FSelected then begin - FSelStartNo := CaretPos.x; - FSelStartOffs := CaretPos.y; + FSelStartNo := CaretPos.Y; + FSelStartOffs := CaretPos.X; end; end; |