Demo of solution of a problem with ordered lists in QTextEdit: when you delete one item in the middle, the list won't split itself into two. This demo shows how to achieve this behaviour.