[TxMt] ascii/binary
Jay Soffian
jay-txmt at soffian.org
Mon Nov 13 20:58:29 UTC 2006
On Nov 13, 2006, at 2:32 PM, Chad Dombrova wrote:
> would it be possible to write a module that would allow textMate to
> ignore data between a given delimiter ( in this case ` ), treating
> it as binary instead of ascii?
You could write a module with two commands:
- Open Binary
- Save Binary
You'd open a blank document, select that module, choose Open Binary.
It would prompt you for a file name and run the file through your pre-
filter of choice (perl, ruby, python, ...) escaping the binary bytes
into a standard format such as \xNN. The filtered output would
replace the currently open and blank document.
Edit, edit edit.
Then select Save Binary which would reverse the operation.
j.
More information about the textmate
mailing list