mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 18:20:00 +02:00
codetools: support helpers for array types
git-svn-id: trunk@51107 -
This commit is contained in:
parent
aff098bce4
commit
491df20f71
@ -197,7 +197,9 @@ const
|
||||
ctnInitialization,ctnFinalization];
|
||||
AllFindContextDescs = AllIdentifierDefinitions + AllCodeSections + AllClasses +
|
||||
[ctnProcedure];
|
||||
AllPointContexts = AllClasses+AllSourceTypes+[ctnEnumerationType,ctnInterface,ctnImplementation,ctnTypeType,ctnUseUnitNamespace,ctnUseUnitClearName];
|
||||
AllPointContexts = AllClasses+AllSourceTypes+
|
||||
[ctnEnumerationType,ctnInterface,ctnImplementation,ctnTypeType,
|
||||
ctnUseUnitNamespace,ctnUseUnitClearName,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])
|
||||
and (ContextNode.Desc in [ctnClass,ctnRecordType,ctnTypeType,ctnObjCClass,ctnEnumerationType,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