Hello all
I made a quick plugin below but in looking through some of the updates made, it may no longer be necessary. My goal was to create a minimum search length, but I think as of
2.9.4 , search requires minimum 2 characters before it activates.
//{{{
config.macros.search.doSearch = function(txt)
{
if(txt.value.length > 2) {
story.search(txt.value,config.options.chkCaseSensitiveSearch,config.options.chkRegExpSearch);
txt.setAttribute("lastSearchText",txt.value);
}
};
//}}}
Thanks
Mark Kerrigan