summaryrefslogtreecommitdiff
path: root/prototypes
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes')
-rw-r--r--prototypes/textedit/fpg_textedit.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/prototypes/textedit/fpg_textedit.pas b/prototypes/textedit/fpg_textedit.pas
index 9fe33bcb..fcc14626 100644
--- a/prototypes/textedit/fpg_textedit.pas
+++ b/prototypes/textedit/fpg_textedit.pas
@@ -636,7 +636,8 @@ procedure TfpgBaseTextEdit.KeyboardCaretNav(const ShiftState: TShiftState; const
else
begin
CaretPos.Y := CaretPos.Y + 1;
- CaretPos.X := 1;
+ CaretPos.X := 0;
+ NotFindIt := False;
end;
if CaretPos.Y > pred(FLines.Count) then
begin