Move editor dependent lines out of docsparser