Textpad is a very slim and efficient text editor for Windows.

My default file name filter:

*.txt; *.cpp; *.c; *.htm*; *.java; *.properties; *.xml; *.css; *.js; *.php; *.conf; *.ini; *.sql; *.log; *.yml; *.yaml