Text Editor with GREAT macro support

Discussion in 'Mac Apps and Mac App Store' started by Getwild2, Jul 7, 2009.

  1. Getwild2 macrumors newbie


    Nov 2, 2007
    I'm looking for a text editor that provides great macro support. I often export raw data files from a database that need cleaning up. I used to use an ollllllld Windoesn't program called "Programmer's File Editor" (PFE) as its macro recording and looping ability was second to none. The LOOPING functionality is the single most important feature of my next text editor as the actions I must perform to clean up a file need to occur sometimes thousands of times. PFE could scrub a 100K line file in a couple of minutes with a few short commands such as *Loop, *EndLoop, EditRepeatLastFind, etc. I typically focused in on a consistent item such as a page break, record ID, and the like, and I use the "Find" feature in conjunction with the "EditRepeatLastFind" switch in my macro. This commanded the macro to keep performing the above actions on every one of the "last find" until the end.

    So given my above macro requirements, what do you guys recommend? Right now I'm playing with two, EditRocket and TextMate. So far I've not determined how to use either in the above fashion. I also played with BBEdit and Tex Edit Plus. Again, the key is with the macro looping, that's been the failing point of all of these editors so far.

    Thanks in advance!!
  2. fearlessfool macrumors newbie

    Jun 28, 2009
    a second vote for emacs.

    emacs is like a a seven horsepower chainsaw: it's not for novices, but it will always get the job done.
  3. mysterytramp macrumors 65816


    Jul 17, 2008
    If by macros, you include AppleScript, my vote's for Tex-Edit. (which is not what arrived with OS X). It does a lot of the cleanup right out of the box, its search handles grep and wildcardsm, and it acts like a real Mac app.


  4. old-wiz macrumors G3

    Mar 26, 2008
    West Suburban Boston Ma
    a novice with emacs can do dreadful damage! Glad I'm not the only one who used emacs.
  5. angelwatt Moderator emeritus


    Aug 16, 2005
    You can use TextWrangler. It's scriptable through AppleScript and also has Text Factories, though I've never used that feature so not sure how powerful it is. Best of all, TextWrangler is free.

Share This Page