IDE: hint timer interval from editor options, bug #14382

git-svn-id: trunk@21308 -
This commit is contained in:
mattias 2009-08-19 08:28:27 +00:00
parent 3d56d5887b
commit 5522d6012c

View File

@ -3411,7 +3411,7 @@ begin
FHintTimer := TTimer.Create(Self); FHintTimer := TTimer.Create(Self);
with FHintTimer do begin with FHintTimer do begin
Name:=Self.Name+'_HintTimer'; Name:=Self.Name+'_HintTimer';
Interval := 1000; Interval := EditorOpts.AutoDelayInMSec;
Enabled := False; Enabled := False;
OnTimer := @HintTimer; OnTimer := @HintTimer;
end; end;
@ -6543,6 +6543,7 @@ Begin
end; end;
SourceCompletionTimer.Interval:=EditorOpts.AutoDelayInMSec; SourceCompletionTimer.Interval:=EditorOpts.AutoDelayInMSec;
FHintTimer.Interval:=EditorOpts.AutoDelayInMSec;
Exclude(States,snWarnedFont); Exclude(States,snWarnedFont);
CheckFont; CheckFont;