Page 1 of 1

Define class member using variable feature

Posted: 22 Aug 2010 19:48
by Marcus
Using RjTextEd 6.60 running on Windows Vista Home Basic.

I'm trying to use the variable definition syntax editor ferature to define and use a common list of members.

For example, i try to define a @foo variable, contains three member as in the picture below:

Image

then I define a class "foo", put the variable @foo in the member list and adding a member named "top" (figure as class icon), as show in the picture below:
Image

finally, I define a class "top" and put the variable @foo in the member list, like in the picture below:
Image

When I try to obtain the popup autocompletion list for the the foo class I could see only the top element (I expeted to see the "element1", "element2" and "element3" members too!).
Image

And when I try to obtain the popup autocompletion list for the foo.top class, I see no autocompletion popup.
Image

Where is my mistake?

Thankyou in advance.
Waiting for your reply.

Best regards

Posted: 22 Aug 2010 22:13
by Rickard Johansson
I don´t know what the "@@foo|+@" is. It should be just "@foo".

Posted: 23 Aug 2010 08:04
by Marcus
OK Rickard, that may be a bug during the saving of variables created by the class list.
I'll post in the bug section the procedure which the @foo variable was created by.
Thankyou

Regards

Posted: 23 Aug 2010 10:18
by Rickard Johansson
I've fixed both the issue in the syntax editor and with auto completion in the editor. Variables should work properly in the next release.

Thanks!

Posted: 26 Aug 2010 22:47
by Marcus
Thank you Rickard! Now it works perfect in 6.7 beta 1!!