For editing php, css, mysql, etc. files I normally use
ConTEXT.
Main ConTEXT features includes:
- unlimited open files
- unlimited editing file size, 4kB line length
- powerful syntax highlighting for:
- C/C++
- Delphi/Pascal
- Java
- Java Script
- Visual Basic
- Perl/CGI
- HTML
- CSS
- SQL
- FoxPro
- 80x86 assembler
- Python
- PHP
- Tcl/Tk
- XML
- Fortran
- Foxpro
- InnoSetup scripts
- powerful custom defined syntax highlighter
multilanguage support (supported languages: English, German, French, Croatian, Chinese, Czech, Danish, Dutch, Estonian, Esperanto, Spanish, Galego, Italian, Hungarian, Portuguese (Brazil), Russian, Slovakian, Polish, Lithuanian, Latvian, Slovenian, Turkish...)
- project workspaces support
- unicode UTF8 support
- code templates
- customizable help files for each file type
- file explorer with favorites list
- file compare
- export to HTML/RTF
- conversion DOS->UNIX->Macintosh file formats
- editing position remembering across files
- macro recorder
- commenting/uncommenting code
- text sort
- normal and columnar text selection
- bookmarks
- search and replace with regular expressions
- search and replace text in all open files
- incremental search with text emphasizing
- C/Java-style block auto indent/outdent
- customizable color printing with print preview
- exporting configuration stored in registry
- customizable syntax highlighting colors, cursor shapes, - right margin, gutter, line spacing...
- user definable execution keys, depending on file type
- capturing console applications standard output
- compiler output parser for positioning on error line
- powerful command line handler
- minimize to system tray
- install and uninstall
- it's FREE!