added function to find resource directives

git-svn-id: trunk@8692 -
This commit is contained in:
mattias 2006-02-03 17:35:36 +00:00
parent 8ff7a29054
commit 1030c5e2fd

View File

@ -2027,8 +2027,8 @@ begin
DebugLn('TCodeToolManager.FindResourceDirective A ',Code.Filename);
{$ENDIF}
if not InitCurCodeTool(Code) then exit;
CursorPos.X:=X;
CursorPos.Y:=Y;
CursorPos.X:=StartX;
CursorPos.Y:=StartY;
CursorPos.Code:=Code;
try
Result:=FCurCodeTool.FindResourceDirective(CursorPos,NewPos,NewTopLine);