mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 00:02:03 +02:00
codetools: support static array helpers
git-svn-id: trunk@51216 -
This commit is contained in:
parent
ea60c10a12
commit
16925fa4b4
@ -199,7 +199,7 @@ const
|
||||
[ctnProcedure];
|
||||
AllPointContexts = AllClasses+AllSourceTypes+
|
||||
[ctnEnumerationType,ctnInterface,ctnImplementation,ctnTypeType,
|
||||
ctnUseUnitNamespace,ctnUseUnitClearName,ctnOpenArrayType];
|
||||
ctnUseUnitNamespace,ctnUseUnitClearName,ctnRangedArrayType,ctnOpenArrayType];
|
||||
|
||||
|
||||
// CodeTreeNodeSubDescriptors
|
||||
|
@ -4331,7 +4331,7 @@ begin
|
||||
// find class helper functions
|
||||
SearchInHelpersInTheEnd := False;
|
||||
if (fdfSearchInHelpers in Flags)
|
||||
and (ContextNode.Desc in [ctnClass,ctnRecordType,ctnTypeType,ctnObjCClass,ctnEnumerationType,ctnOpenArrayType])
|
||||
and (ContextNode.Desc in [ctnClass,ctnRecordType,ctnTypeType,ctnObjCClass,ctnEnumerationType,ctnRangedArrayType,ctnOpenArrayType])
|
||||
and (ContextNode.Parent<>nil) and (ContextNode.Parent.Desc = ctnTypeDefinition)
|
||||
then begin
|
||||
if (fdfSearchInHelpersInTheEnd in Flags) then
|
||||
|
Loading…
Reference in New Issue
Block a user