IDE: codeexplorer: empty asm blocks

git-svn-id: trunk@19523 -
This commit is contained in:
mattias 2009-04-20 13:26:38 +00:00
parent 76f345e29e
commit 21b15fd2c8

View File

@ -891,6 +891,17 @@ begin
end;
end;
ctnAsmBlock:
begin
DebugLn(['TCodeExplorerView.CreateFigures ',Tool.ExtractNode(CodeNode,[])]);
if (cefcEmptyBlocks in Figures)
and CodeIsOnlySpace(Tool.Src,CodeNode.StartPos+length('asm'),
CodeNode.EndPos-length('end')-1)
then begin
AddCodeNode(cefcEmptyBlocks,CodeNode);
end;
end;
ctnProcedure:
begin
if (cefcNestedProcs in Figures) then