[fpc-pascal] Pascal Language Server
Ryan Joseph
genericptr at gmail.com
Wed Apr 29 16:18:02 CEST 2020
Testing this more I'm having a problem getting overwhelmed by completions for classes because of methods from TObject (and other parents) so I'd like to add some information about this.
Using this method:
if CodeToolBoss.GatherIdentifiers(Code,X + 1,Y + 1) then
begin
Count := CodeToolBoss.IdentifierList.GetFilteredCount;
for I := 0 to Count - 1 do
begin
Identifier := CodeToolBoss.IdentifierList.FilteredItems[I];
can I find the parent class of "Identifier"(TIdentifierListItem)? There's a TCodeTreeNode field that maybe I could walk up to find what I need?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list