cancelling incremental find with escape

git-svn-id: trunk@6840 -
This commit is contained in:
mattias 2005-02-25 17:29:55 +00:00
parent 482745b0ef
commit ea81fad7e7

View File

@ -935,6 +935,9 @@ begin
case Command of
ecChar:
begin
if AChar=#27 then begin
FSourceNoteBook.IncrementalSearchStr:='';
end else
FSourceNoteBook.IncrementalSearchStr:=
FSourceNoteBook.IncrementalSearchStr+AChar;
Command:=ecNone;