Fix performance with many cursors in a large line

We end up tagging as many times as there are cursors which results in extremely slow cursor creation

Merge request reports

Loading