I use a simple text editor with syntax highlighting, TextPad (textpad.com).