Set TextWrangler to Always Display Line Numbers
Want to always show line numbers in TextWrangler documents? Of course you do! Pull down the Edit menu and scroll to “Text Options” where you’ll see the preference panel that lets you set line numbers to be displayed with a checkbox. Alternatively, you can hit Command+Option+, from within the app to bring up the view settings.
TextWrangler is without a doubt the best free text editor for Mac OS X (if you don’t have it yet, you can get it free from BareBones), but why isn’t this enabled by default? This drove me absolutely nuts and I’m probably not the only one, thankfully it’s a simple fix once you find the setting.
Update: Some users seem to be having an issue with getting line numbers to persist after quitting TextWrangler. I can’t reproduce that problem, but apparently another option is to go to Preferences > Text Status Display and check the “Show line numbers” check box there too. I also just discovered that we covered exactly that here before, so that could be a solution if they keep disappearing after relaunch.