> On 14 Sep 2017, at 2:47 pm, Monte Goulding via use-livecode > <use-livecode@lists.runrev.com> wrote: > > For your idea it may be quite simple to add collect all the variants of a > command and give them a priority weighting based on their length (shorter = > higher priority)
Actually it was even easier than that… just sorting the parsed variants by length before adding to the completions array means they are in a much more sensible way. Cheers Monte _______________________________________________ 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