function cleanClassName(className) {
        return className.replace(/[^a-z0-9\-]/gi, ' ');
    }
Handle changed markers (i.e. update decorations ranges and return the changed decorations, unique and sorted by id)