mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 19:35:57 +02:00
IDE: codeexplorer: empty asm blocks
git-svn-id: trunk@19523 -
This commit is contained in:
parent
76f345e29e
commit
21b15fd2c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user