Rename macro local vars does not update references

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Rename macro local vars does not update references

Post by kersing »

When renaming local variables/parameters in a macro the references in the macro itself are not updated to reflect the new name. As renaming global variables renames all occurrences it would be nice if this worked for local variables/parameters as well.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Rename macro local vars does not update references

Post by Benj »

Hi Jac,

How are you renaming the variables. I believe it works via the project explorer interface but if you are using another method then there could be a bug.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Rename macro local vars does not update references

Post by kersing »

Hi Ben,

Renaming by opening the macro with 'Macro->Edit Details...', edit the parameter/local variable by choosing 'edit' from the drop down menu (arrow next to the name), enter a new name and save with 'OK', next use 'OK' to close the 'Edit Macro Details' dialog.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Rename macro local vars does not update references

Post by Benj »

Thanks Jac, It's now on the to do list.

Post Reply