Textadept
Fast, and remarkably extensible cross-platform text editor
... sacrificing speed or succumbing to code bloat and featuritis. The editor gives you complete control over the entire application using the Lua programming language. Everything from moving the caret to changing menus and key bindings on the fly to handling core events is possible. Its potential is vast.