I suspect may of us on this list have coded their own Find and Find Again (or Find Next) commands.

Some may use the Livecode "find" command (find [form] textToFind [in field]), but I suspect most (as even the Dictionary entry for Find recommends this) use offset or matchText.. Either approach, using "Find"or using "offset: (or equivalent) let you do Forward searches without jumping through hoops.

Many typical applications (MS-Word for example) support searching in either direction, forward or backwards. It appears Livecode's language has no support for Backwards searching. I found this positively ancient enhancement request:

https://quality.livecode.com/show_bug.cgi?id=946 (from 2003!!!)

So, I have the following questions:

1) Has anyone scripted  text search (of a field or variable content)  that support forward and backwards searching?

1.1) As the equivalent of Find and Find Again

1.2) With hints, so it shows you snippets of the matches for you to jump to one rather then advancing sequentially through them?

2) I know the mother ship does not generally comment about future features, bit is any enhancement to scripted searching planned for LiveCode 10 or soon after?


_______________________________________________
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