Hi
I am experimenting with QTextEdit and frames.
I have a small app in which I insert frames in response to a menu action.
The frame gets inserted correctly but when I delete text using the backspace key I can only delete to the beginning of the frame.

Does anyone know the reason for this?

the code that inserts the frame –

Qt Code:
  1. void MainWindow::on_actionFrame_triggered()
  2. {
  3. QTextCharFormat charFormat;
  4. charFormat.setFontPointSize(20);
  5. ui->textEdit->textCursor().mergeCharFormat(charFormat);
  6. ui->textEdit->textCursor().insertText(QString::number(m_frameNumber++) + "Frame");
  7. QTextFrameFormat frameFormat;
  8. ui->textEdit->textCursor().insertFrame(frameFormat);
  9. }
To copy to clipboard, switch view to plain text mode 
Thanks

Graham