IDE: fpdoc editor: ignore spaces when searching elements

git-svn-id: trunk@36254 -
This commit is contained in:
mattias 2012-03-23 09:32:41 +00:00
parent b52417fbf8
commit 39b3b28657

View File

@ -692,7 +692,7 @@ begin
Result := Result.FirstChild;
while (Result <> nil) do begin
if (Result.NodeName = 'topic') and (Result is TDomElement) and
(SysUtils.CompareText(TDomElement(Result).GetAttribute('name'), Name) = 0)
(CompareTextIgnoringSpace(TDomElement(Result).GetAttribute('name'), Name,false) = 0)
then
exit;
Result := Result.NextSibling;