vindexesClear/Set() functions.
Not currently using codemirror so removing it.
TODO tweak.
PrepareViewMapFunction() function.