mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 09:59:09 +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];
|
[ctnProcedure];
|
||||||
AllPointContexts = AllClasses+AllSourceTypes+
|
AllPointContexts = AllClasses+AllSourceTypes+
|
||||||
[ctnEnumerationType,ctnInterface,ctnImplementation,ctnTypeType,
|
[ctnEnumerationType,ctnInterface,ctnImplementation,ctnTypeType,
|
||||||
ctnUseUnitNamespace,ctnUseUnitClearName,ctnOpenArrayType];
|
ctnUseUnitNamespace,ctnUseUnitClearName,ctnRangedArrayType,ctnOpenArrayType];
|
||||||
|
|
||||||
|
|
||||||
// CodeTreeNodeSubDescriptors
|
// CodeTreeNodeSubDescriptors
|
||||||
|
@ -4331,7 +4331,7 @@ begin
|
|||||||
// find class helper functions
|
// find class helper functions
|
||||||
SearchInHelpersInTheEnd := False;
|
SearchInHelpersInTheEnd := False;
|
||||||
if (fdfSearchInHelpers in Flags)
|
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)
|
and (ContextNode.Parent<>nil) and (ContextNode.Parent.Desc = ctnTypeDefinition)
|
||||||
then begin
|
then begin
|
||||||
if (fdfSearchInHelpersInTheEnd in Flags) then
|
if (fdfSearchInHelpersInTheEnd in Flags) then
|
||||||
|
Loading…
Reference in New Issue
Block a user