<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Are you able to open the file with TM normally? </div> <br> <div id="bloop_sign_1465158303958078976" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Josh Bernitt<br>Sent with Airmail</div></div> <br><p class="airmail_on">On June 5, 2016 at 4:24:08 PM, Walter Lee Davis (<a href="mailto:waltd@wdstudio.com">waltd@wdstudio.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div><br>> On Jun 5, 2016, at 4:19 PM, Allan Odgaard <<a href="mailto:mailinglist@textmate.org">mailinglist@textmate.org</a>> wrote:<br>> <br>> On 5 Jun 2016, at 22:09, Walter Lee Davis wrote:<br>> <br>>> Never mind, I didn't get it all the way into the root of the folder. This gives me some ideas about restricting search within logs, or the asset pipeline detritus.<br>> <br>> For changing what to search (for a given project) I suggest editing the “matching” text field in the search window. You can prefix with ~ to exclude items and use ** to match everything below a certain folder.<br>> <br>> For example to exclude all your log files use: ~logs/**<br>> <br>> Hint: When you search a project and you get a match from a file that you want to exclude, simply hold ‘option’ and click the remove button for this match, then the path of that file will be added to the current “matching glob” (you can edit it afterward if you want to generalize it).<br><br>These are great tips, thanks!<br><br>> <br>> As for your 1MB JSON file, if I need to look into this, you need to provide the file and what you searched for.<br><br>Sure, I can do that if you need me to.<br><br>> <br>> I did a quick test by generating a 1 MB file and appended a special string, then searched for this string, and while there were delays, they were sub-second delays. I think they are mainly related to generating the 1 MB text string to show in the search window, which I could probably limit to +/- 500 bytes from where the match was found.<br><br>My search string was `title`, which occurs hundreds of times within the file (although I wasn't actually looking for it within that file). <br><br>Walter<br><br>> <br>> _______________________________________________<br>> textmate mailing list<br>> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>> <a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a><br><br><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></div></div></span></blockquote></body></html>