Re: [Lazarus] Nested Classes used as Namespace Issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Nested Classes used as Namespace Issue

Mattias Gaertner
On Sun, 9 Jan 2011 22:43:23 -0600
Andrew Brunner <[hidden email]> wrote:

> type
>   ns=class
>   Type
>      Vendor=class
>      Const
>        id    = "ITMID';
>        Size = 'ITMSIZE';
>      Type
>         PVendor=^TVendor;
>         TVendor=record
>           ID : Int64;
>           Size : Integer;
>         end;
>         class procedure Foo();
>      end;
>      Supplier=class
>          // example
>         class procedure Foo();
>      end;
>   end;
> end;
>
> Neither ns.Supplier.Foo() nor ns.Vendor.Foo() will not jump to the
> actual code in Lazarus IDE.  It kind of muddles nested classes (as
> namespaces) that FPC supports.  Is this on someones list of todos?

Should work now.

Mattias

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Nested Classes used as Namespace Issue

Andrew Brunner
Hi Mattias,

It sure did!  Thanks resolving this issue that fast.  It was a major
problem for me.  Code navigation is important and it was well worth
the time.  I don't think enough pascal developers realize the
"awesomeness" of organizing methods, vars, structs within the context
of a class.  Thanks again!

Keep up the great work guys!

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus