Updated for newer textadept
Fixed compile error