Don't know if this is any help to you but, this script errors on the line...
set the tKey of field 1 to tProps[tKey] ...when tKey = "padding" This happens in LC6.1 Commercial but not in LC5.5.4 or LC5.5.5 for my tests. If I add the trap... if tKey = "padding" then next repeat ...it runs fine in LC6.1. I don't see how padding is related to hilitedLines, but could it cause a command to fail silently? Paul On 2013-07-18, at 4:39 PM, Monte Goulding wrote: > > On 19/07/2013, at 9:29 AM, Mark Wieder <mwie...@ahsoftware.net> wrote: > >>> Can anyone think of any other properties that either must be set >>> before hilitedLines is set or when setting them the hilitedLines are >>> lost? >> >> Do a binary search. Set the hilitedLines last, if that works then >> start bisecting the list until you find the one that munges the >> setting. > > I ran this and it only came up with listBehavior and htmlText... so I'm a bit > stumped. > > on mouseUp > put the properties of field 1 into tProps > repeat for each key tKey in tProps > if the hilitedLines of field 1 is empty then > put tOldKey&cr after tList > set the hilitedLines of field 1 to tProps["hilitedLines"] > end if > set the tKey of field 1 to tProps[tKey] > put tKey into tOldKey > end repeat > put tList > end mouseUp > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > 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