I just tried this in BBEdit Light's successor, Texwrangler. There is a command for this in the Text menu, called Add/Remove line numbers., so you don't even need a macro.
Textwrangler can be downloaded for free on http://www.barebones.com/products/textwrangler/ . I love that program, because it has syntax colouring, something that BBedit Light didn't have. Of course it's OSX only so a bit off topic here but I like to do some propaganda for this wonderful program. If there is a macro for line numbering in the Classic version as well you could try and find it on some Info-Mac ftp site. The BBEdit directory on those sites contain many free BBEdit extensions. >Hey all. I am interested in using BBEdit (or an equivalent app) with a macro >to prepend sequential numbers to lines of text. > >Why? > >I am writing some NSBasic code for my Newton eMates and MessagePads, and >NSBasic requires line numbers. It is easy to create code on the Mac and >transfer it over, but my current pre-transfer-step is to add line numbers over >and overÅ If I could just "Command-L" somehow to automate that, it would help >a lot. > >All thoughts appreciated. > >Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Vintage Macs group. The list FAQ is at http://lowendmac.com/lists/vintagemacs.shtml and our netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/vintage-macs?hl=en Low End Mac RSS feed at feed://lowendmac.com/feed.xml -~----------~----~----~----~------~----~------~--~---
