Skip to content

buffer: Remove m_invalidCursors

Waqar Ahmed requested to merge work/remove-invalid-cursors into master

The field serves no real purpose, but it adds extra complexity and slows things down for every call to TextCursor::setPosition.

The worst that can happen by removing this is memory leaks but that is easily fixable on the client side. In kate, for e.g., there are no leaks at all.

Merge request reports