simple codemirror contextless mode for mscgen