Respect repeated spaces and tabs and LF when displaying editors, but not CR :(
Emit metadata for factories.