Commit 2983cb95 authored by Axel Rasmussen's avatar Axel Rasmussen Committed by The Qt Project
Browse files

Fix broken QPlainTextDocumentLayout after removing chars


This fixes an issue where, if characters were removed from several
blocks in a single edit, the document layout would end up being
corrupted since the document layout manager wouldn't re-layout the
proper number of text blocks.

Task-number: QTBUG-30051
Change-Id: Idf3a6f567120e6a5dbebf1f65f685d374219328a
Reviewed-by: default avatarKonstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
parent ff31090d
Showing with 48 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment