Thank you very much!
I've made some modifications so it erases all the mark's inside if you select multiple mark's and you can now edit them.
It's probably not the most efficient way to go but I'm still learning the editors API.
With kind regards,
Marvin Brouwer.