> Kaveh wrote: > I am looking to hide any line that contains no textcolor anywhere.
I already gave you one that hides *exactly* these lines (as you already wished in your first post). > Hermann wrote: > Here yet another fast method. > > on mouseUp > put the millisecs into m1 > lock screen; lock messages > put the htmltext of fld 1 into ht > set linedelimiter to "<p" > put the htmltext of fld 1 into ht > replace " hidden" with empty in ht > repeat for each line L in ht > if offset("color=",L)>0 then put "<p" & L after s > else put "<p hidden" & L after s > end repeat > set htmltext of fld 1 to s > put the millisecs-m1 into fld "timing" > end mouseUp _______________________________________________ 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