[TextMate] ActionScript for TextMate

Hans Petter Eikemo hpeikemo at gmail.com
Sat Oct 9 12:53:16 UTC 2004


>> [...] Unfortunately, at the moment, .fla files (and all other binary
>> files I guess) display as text, but you guys will fix that soon, yes?

> the best fix is, there are (at least) 3 solutions:
> 
>   1) only open files declared in the Info.plist
>      disadvantage: what about .htaccess, .bashrc, etc.
>   2) give a regex for known good types
>      disadvantages: similar to #1, but may be easier to change
>   3) give a regex for known bad types
>      disadvantages: many files can still be opened as text, since this
> list can't be exhaustive
> 

is it not possible to do a file test operation, to check if it is binary?
it could still show in the list, perhaps possible to view with external
editor, and/or with "File appears to be binary, open anyway?" warning

hp.



More information about the textmate mailing list