Ability to rename scripts and expressions
Posted: 08 Dec 2012 19:29
Unless I'm missing something (quite possible), scripts and expressions can't be renamed in the editor. This would be a very welcome addition.
Liine: Redefining the way people interact with sound.
http://forum.liine.net/
\dBlicious wrote:This, plus automatically update references to the changes throughout the project. Kind of like a global find/replace.
It's actually not too bad, you just have to make sure the next character after your search string is a non-word character. I had to do a bunch of regex for a project so I learned a lot more than I ever wanted toTraxus wrote: say we've got an expression, fade=1
then we've got an expression, fadeOut=4
and we want to rename fade to fooBar...
some hefty regex work (hefty for me atleast becuase I hate/am terrible with regex) has to be done to prevent fadeOut from becoming fooBarOut...
I do this with the Lemur XML-files in Notepad++, in this case it's a simple search/replace with the "only whole word" option checked. I agree there may be cases where a search item is not unique, if this is the case the automic reference update could simply exit or provide a dialog to choose a unique item.Traxus wrote:\dBlicious wrote:This, plus automatically update references to the changes throughout the project. Kind of like a global find/replace.
Agreed this would be awesome but I've been fooling a bit with the raw jzml files latley (its basically an xml), and I have to say that request is easier said than done...
say we've got an expression, fade=1
then we've got an expression, fadeOut=4
and we want to rename fade to fooBar...
some hefty regex work (hefty for me atleast becuase I hate/am terrible with regex) has to be done to prevent fadeOut from becoming fooBarOut...