hi, i need get CharFormat () from each char in QTextEdit, but i dont know how.

If i will know method who selectChar(int Char), then will by lock some like that:
Qt Code:
  1. for(int i=0; i<ui->TextEdit->toPlaintext.lenght(); i++)
  2. {
  3. selectChar(i);
  4. currentCharFormat ()// and here return charFormat()
  5. }
To copy to clipboard, switch view to plain text mode