JEdit

JEdit is an excellent, free, cross-platform code editor, especially when working with remote files via SFTP (using the FTP plugin).