

opening and saving text files located on remote FTP servers (perfect for real-time template files and CSS adjustments). Recently, however, I discovered it’s also capable of comparing text files and highlighting the differences between them, plus it’s super easy to do it. In my early WordPress days I started out by simply modifying existing themes (editing files such as style.css, header.php, footer.php, single.php, functions.php etc.).

This prevented being able to update those themes as I would inevitably lose all changes. This is why I started working with child themes (more on those in my Learn page) and I finally decided to upgrade all of my older sites by building a child theme for each one of them. Simply browsing through all the files would’ve taken ages, so this is where TextWrangler came in – this is how I did it at least:ġ. To add a color scheme to BBEdit, copy it into the Color Schemes support folder. It can be used to edit text files on your computer or on a server.
TEXTWRANGLER THEME FOR MAC OS
Open two documents (in my case, style.css in both the original and modified parent theme) that you’d like to compareĢ. TextWrangler Previous page Table of content Next page Bare Bones Softwares TextWrangler is a popular text editing application for Mac OS users. Since I’ve been doing a lot (OK, 400 lines) of Perl scripting this week, I’ve spent quite a lot of time in TextWrangler from Bare Bones Software. (You can get to the correct folder by choosing Color Schemes from the. It was originally a commercial product, but (beginning with version 2.0) has become the. One of them, find and replace, is very convenient to edit data files stored in plain text. It offers different functions based on regular expressions.
TEXTWRANGLER THEME FOR MAC OS X
I do have a license for TextMate (from MacHeist) and have used it a little in the past, but I’d heard that TextWrangler had built-in FTP/SFTP support this week and, since it’s free, I thought I’d give a go. TextWrangler is a text editor for Mac OS X from Bare Bones Software. Specifically, TextWrangler provides syntax coloring for HTML/XHTML, XML, PHP, JavaScript, Perl, Python, Ruby, Lua, Java, ANSI C, C++ and Objective-C. This will open a sidebar with all opened documents.ģ.

Highlight the 2 files you want to compare in the Documents drawer, right click on them and select the option ‘ Compare‘. That’s it, TextWrangler will show you exactly which lines were modifed so you can easily copy them into your child theme’s style.css file.
