BBEdit is mentioned in best text editors for Mac
Create, edit, and search source code, HTML and text files on your Mac. Manage your projects, view the structure of your volumes and access related files. View and modify data on local and remote volumes via Disk Browsers and FTP Browsers, manipulate files on FTP and SFTP servers, and use the Unix command line.
You can download BBEdit 13.0 for Mac from our application library for free. The most popular versions of the application are 11.0, 10.5 and 10.1. The application belongs to Developer Tools. The latest installation package that can be downloaded is 13.9 MB in size.
The program's installation files are generally known as bbedit_11.0.1.dmg, bbedit_11.0.2.dmg, bbedit_10.5.dmg, bbedit_10.5.1.dmg or bbedit_10.5.2.dmg etc. This software for Mac OS X is a product of Bare Bones Software. The unique ID for this app's bundle is com.barebones.bbedit. Our built-in antivirus checked this Mac download and rated it as 100% safe. BBEdit is suitable for Mac OS X 10.8.5 or later.
From the developer:
BBEdit is the leading professional HTML and text editor for the Mac.
You may want to check out more software for Mac, such as Perl Critic, TextWrangler or Cornerstone, which might be similar to BBEdit.