I\'m working on a kind of code editor. To dot it, I\'m using a QPlainTextEdit, as this example shows, to be able to display the line numbers for example. But I also
QPlainTextEdit