7.2.1rc1 is available There is now a checkbox in the prefs to fold dataGrids by default. Also, I fixed the custom property editor to work even if custom properties have the same name as built-in properties, updated the display of folded controls, and updated Navigator's property editor to do a soft display update when setting values, so changing the name of controls will be reflected when the editor is closed.
Fixes: https://github.com/gcanyon/navigator/issues/27 https://github.com/gcanyon/navigator/issues/26 https://github.com/gcanyon/navigator/issues/24 Updates: https://github.com/gcanyon/navigator/issues/19 On Fri, Jan 25, 2019 at 9:13 PM Geoff Canyon <gcan...@gmail.com> wrote: > The fold control bar uses this stack as its behavior: stack > "rev_g_groupFoldBar" > > That script is: > > on mouseUp > put getID(barClickLine()) into CL > if the number of lines of CL > 1 or word 1 of CL is not "group" then > exit mouseUp > setFolded CL > doUpdateDisplay true > end mouseUp > > So it's pretty much down to three things: > > 1.a. Does barClickLine() return the proper line? > 1.b. Does getID() return the right ID? And is it the long ID? > 2. Does setFolded work? > 3. Does doUpdateDisplay do something to reset the folds before displaying? > (This is what was wrong the last time). > > One thing to try would be this: > > dispatch "setFolded" to stack "revNavigator" with (the long id of <some > group navigator is displaying>),true > > Navigator won't immediately update its display, but clicking in > Navigator's list or selecting Update List Now on the Action menu should do > it, and then that group should be displayed folded. I just did this and it > worked for me. If this works for you then we've narrowed the problem down > to 1. If it doesn't work, then 2 or 3. > > gc > > On Fri, Jan 25, 2019 at 3:11 PM Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Nope. Running LC 9.0.2 Community, MacOS 10.14.2, Navigator 7.2 RC1. If >> you point me to where the folding code actually happens, I can turn on rev >> development and trace it. >> >> Bob S >> >> >> > On Jan 25, 2019, at 14:16 , Geoff Canyon via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> > >> > I'm not seeing this? I tried both with a specific stack and (what I >> > remember from the last time) "this card of the topstack". Folding is >> > working for me, both by clicking in the margin, and by selecting a fold >> > level on the popup menu for a card or group. >> > >> > Any specific recipe? >> > >> > 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