On 04/19/2018 03:03 PM, Niggemann, Bernd via use-livecode wrote:

actually the problem was that if you use the number of lines of the behaviors and you have a couple 
of behaviors stacked then the space needed for the behaviors would run into the text. The current 
solution was the one which used the least space. If you look in the Project Browser at 
"Message Box" or "revIDEProjectBrowser" that have two behaviors that the 
spacing for between the behaviors is minimal to save space, also that is the reason why they are 
oval so you can reduce the spacing between behaviors.

Sorry, I'm missing something in that explanation.
Yes, what I see for the messagebox is 2,1,9 meaning that there are nine lines in the object script and two stacked behaviors. The first behavior has 839 lines and the second one has 805 lines. I fail to see why it would be a problem if the displayed numbers were 805,839,9.

I agree that counting from 1 to 10 is not really a big help, could have been 
greek letters instead, but what you gather from the number of lines of the 
behavior script escapes me.

Well, for one thing, it gives me an idea of how much effort I'm about to get into when looking at modifying a behavior script. And gives me some direction as to whether I'd want to add more code to an already-overloaded behavior or spawn a second one or put code in a main script.

--
 Mark Wieder
 ahsoftw...@gmail.com


_______________________________________________
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

Reply via email to