Extract code from tedit-app