Curl Global Community
TextSearchPattern - Printable Version

+- Curl Global Community (https://communities.curl.com)
+-- Forum: Blogs (https://communities.curl.com/forumdisplay.php?fid=17)
+--- Forum: Tech blog (https://communities.curl.com/forumdisplay.php?fid=18)
+---- Forum: Robert blog (https://communities.curl.com/forumdisplay.php?fid=20)
+---- Thread: TextSearchPattern (/showthread.php?tid=566)



TextSearchPattern - RobertShiplett - 07-17-2012

The use of TextSearchPattern in the context of a {search-next } in a table may seem obvious - but an effective rolling-search can be subtle.

At a Kanji List page I am using

{kanji-table.search-next {TextSearchPattern pattern=str}, gm=topGuiMark}

which may return a pair of GuiMark instances.

While the search is rolling, it is searching from the top on a change to the search value, rather than searching from in place. Hmmm.

There is probably search code for Find in the IDE editor code in your Curl install.