diff options
-rw-r--r-- | examples/apps/ide/src/fpg_textedit.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/apps/ide/src/fpg_textedit.pas b/examples/apps/ide/src/fpg_textedit.pas index e54a7a20..456ae75f 100644 --- a/examples/apps/ide/src/fpg_textedit.pas +++ b/examples/apps/ide/src/fpg_textedit.pas @@ -873,7 +873,7 @@ begin begin if CaretPos.Y >= FLines.Count then Exit; - if not (ssShift in ShiftState) and not (ssCtrl in ShiftState) then + if ShiftState = [] then begin CaretPos.Y := CaretPos.Y + 1; // scroll text |