you could use something like context I would assume. Its a text editor
www.context.cx
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
SQL
FoxPro
80x86 assembler
Python
PHP
Tcl/Tk
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
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
install and uninstall
minimize to system tray
it's FREE!