<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
When trying to search a folder of .nib-files, I ran into a few
problems. The files are nicely displayed in TextMate, but I cannot
search the contents of the files. Whilst trying to work around it, I
ran into two problems:<br>
<ol>
<li><b>Find > In > Open Files not available</b><br>
I opened the lot to use Find > In > Open Files, but this
option is unavailable. Screenshot below. I tried opening
.txt-files, and I tried creating new files, but it remains
unavailable.<br>
<br>
Is this function available to anybody?<br>
<br clear="all">
</li>
<li><b>Add file-type to TextMate</b><br>
To facilitate the opening of said files in Finder's context menu
(open with), and to encourage TextMate to search their contents,
I tried to associate them with TextMate. I failed.<br>
<br>
First I tried to add them via TextMate.app\Contents\Info.plist.
This invalidated TextMate's code signing, and thus broke its
connection with <i>Keychain Access</i>. Nor did it have the
desired effect.<br>
<br>
Thus I reverted my actions, and tried to associate the file type
via the bundle editor. I added "nib" to the Property List
bundle, old style language grammar file types, reset the launch
services database regarding TextMate and killed Finder.<br>
<font color="#666666"><tt>/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
-f /Applications/TextMate.app/;killall Finder;</tt></font><br>
<br>
No luck. TextMate still does not appear in "open with", and
TextMate still refuses to search their contents.<br>
<br>
Does anyone have a tip on how to achieve this?<br>
</li>
</ol>
<br>
By the way, to search the .nib-files, I renamed them to .txt, and
chose Find in Folder. That worked. But it's a long way round.<br>
<br>
Thanks,<br>
Rasmus Malver<br>
<br>
<br>
<img alt="TextMate Find in Open Files not available"
src="cid:part1.01050503.02010108@malver.dk" height="475"
width="603"><br>
</body>
</html>