This started from the Uten's Scintilla example, but I added some functionality to it. Now it looks like Notepad. And the most important - it has SYNTAX HIGHLIGHTING for: *.au3,*.bat;*.cmd;*.html;*.htm;*.php;*.properties;*.ini;*.inf;*.reg;*.url;*.cfg;*.cnf;*.aut.... more are comming.... - you can define your own styles for the highlighter - shows Line numbers - has Code folding - find/replace with regular expressions The SciLexer.dll MUST be in the PATH or in the script dir. You can download