Fix update issues when removing last line

Since the line is gone, we miss redrawing it correctly if we remove the KateTextLayouts. Instead of removing the layouts, just invalidate it. Invalidation will mark it as dirty and batch it for redrawing

Merge request reports

Loading