mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 15:21:48 +02:00
IDE: codeexplorer: nicer node names
git-svn-id: trunk@31193 -
This commit is contained in:
parent
f79f75c16c
commit
c57d5ad7ae
@ -709,6 +709,21 @@ begin
|
|||||||
ctnUnit, ctnProgram, ctnLibrary, ctnPackage:
|
ctnUnit, ctnProgram, ctnLibrary, ctnPackage:
|
||||||
Result:=CodeNode.DescAsString+' '+ACodeTool.ExtractSourceName;
|
Result:=CodeNode.DescAsString+' '+ACodeTool.ExtractSourceName;
|
||||||
|
|
||||||
|
ctnTypeSection:
|
||||||
|
Result:='Type';
|
||||||
|
|
||||||
|
ctnVarSection:
|
||||||
|
Result:='Var';
|
||||||
|
|
||||||
|
ctnConstSection:
|
||||||
|
Result:='Const';
|
||||||
|
|
||||||
|
ctnLabelSection:
|
||||||
|
Result:='Label';
|
||||||
|
|
||||||
|
ctnResStrSection:
|
||||||
|
Result:='Resourcestring';
|
||||||
|
|
||||||
ctnTypeDefinition,ctnVarDefinition,ctnConstDefinition,ctnUseUnit:
|
ctnTypeDefinition,ctnVarDefinition,ctnConstDefinition,ctnUseUnit:
|
||||||
Result:=ACodeTool.ExtractIdentifier(CodeNode.StartPos);
|
Result:=ACodeTool.ExtractIdentifier(CodeNode.StartPos);
|
||||||
|
|
||||||
@ -729,9 +744,21 @@ begin
|
|||||||
phpWithParameterNames,phpWithDefaultValues,phpWithResultType,
|
phpWithParameterNames,phpWithDefaultValues,phpWithResultType,
|
||||||
phpWithOfObject,phpWithCallingSpecs,phpWithProcModifiers]);
|
phpWithOfObject,phpWithCallingSpecs,phpWithProcModifiers]);
|
||||||
|
|
||||||
|
ctnProcedureHead:
|
||||||
|
Result:='Procedure Header';
|
||||||
|
|
||||||
ctnProperty:
|
ctnProperty:
|
||||||
Result:=ACodeTool.ExtractPropName(CodeNode,false); // property keyword is not needed because there are icons
|
Result:=ACodeTool.ExtractPropName(CodeNode,false); // property keyword is not needed because there are icons
|
||||||
|
|
||||||
|
ctnInterface:
|
||||||
|
Result:='Interface';
|
||||||
|
|
||||||
|
ctnBeginBlock:
|
||||||
|
Result:='Begin block';
|
||||||
|
|
||||||
|
ctnAsmBlock:
|
||||||
|
Result:='Asm block';
|
||||||
|
|
||||||
else
|
else
|
||||||
Result:=CodeNode.DescAsString;
|
Result:=CodeNode.DescAsString;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user