Can I define one fragment or just part of text in QTextBlock that can not be selected, and if cursor is positioned just on the end of it then Backspace would delete whole fragment. Is there a functionality in QTextDocumentrelated clases for that or I must define all cases in mouse and key event functions to do that?