Also I can recommend you free PSPad editor which have PHP, SQL and Smarty multihighlighter. Also PSPad has FTP client which allows to download, edit and automatical upload files to server (as from local machine) and many other useful features. It's very convenient editor for X-Cart developer
