editor: move line-specific code to module line from module st