I would suggest looking at TextWrangler (little brother of BBEdit) a free, more capable text editor.
If you are doing catalog work in Indesign and want to merge Filemaker databases, I would suggest looking at some of these links
Google "indesign filemaker merge"
Adobe InDesign & FileMaker Tips & Tricks
How to automatically update data in InDesign? Use a FileMaker Database!
Automatically update data of your catalogs, books or any other documents: use the InDesign data merge feature combine with a FileMaker database.