Or is it that it's editing the object script? I rewrote that code to follow any number of behavior links until it finds one with a script (or runs out) and edit the script of that. But I started from the object script, so if the object has a script and a behavior, it will edit the object script. I can fix that. The next step is to make it a submenu if there are more than one behavior, with all of them listed so you can edit any you like.
I can fix it so it starts from the behavior, if that's what you're running into. gc On Mon, Feb 5, 2018 at 10:52 PM, Geoff Canyon <gcan...@gmail.com> wrote: > What are you seeing happen when you do this? One thing I've noticed is > that the script editor window doesn't come to the foreground by itself if > the script is already open in any tab of the editor. So using something > like Edit Behaviors will cause the editor to show that script, but still be > sitting behind whatever other windows are open. > > Or maybe you're seeing something else? What LC version and platform? > > gc > > On Mon, Feb 5, 2018 at 9:46 AM, Mark Talluto via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi Geoff, >> >> I am super excited to see you working on Navigator. >> >> I have one little issue with it as it stands. I can not edit behaviors >> any longer. I am sure I am doing something wrong. I did the right click -> >> “Edit Behavior Scripts” on a card that has a behavior associated with it. >> The line is blue in color indicating that it has a behavior. >> >> I will go back to an older version for now. >> >> Best regards, >> >> Mark Talluto >> livecloud.io <http://livecloud.io/> >> nursenotes.net <http://nursenotes.net/> >> canelasoftware.com <http://www.canelasoftware.com/> >> >> >> > On Feb 3, 2018, at 10:52 PM, Geoff Canyon via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> > >> > The update is now available here >> > <https://www.dropbox.com/s/bcqxxriwzzjcm45/navigator_5.zip?dl=1>. I >> haven't >> > updated the documentation yet. The main changes are: >> > >> > 1. The whole convert-to-behaviors and restore-from-behaviors bit has >> been >> > moved to its own custom palette, opened from Navigator. This makes the >> > whole process much clearer, and setting the options is easier and more >> > forgiving. >> > 2. There's a preview for the naming template process -- again, easier >> and >> > more foolproof, and a dropdown offers some pre-made options. >> > 3. The dialog's working list is derived from the selection in Navigator >> > when the command is issued, but it's text -- anything can be modified, >> > deleted, or added before processing. >> > 4. There is a button to add enclosed objects. So it's possible to >> select a >> > group, card, or stack in Navigator, select the command, and then add >> > enclosed objects to include all the controls in that container -- or >> > containers, it processes everything in the list. >> > 5. There is a button to add behavior chains, so it's possible to select >> one >> > control that has a chain of fifty behaviors, and click the button to add >> > them all to the list to be processed. >> > 6. Both Convert and Restore have a preview option -- use it and the >> > resulting log will show exactly what will be done, without actually >> doing >> > any of it. >> > >> > gc >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode@lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode