There is a form on it QTextEdit (ui-> textEdit); You need to make a frame around the current line (as in Visual Studio)
I do not understand how
There is such an option, but it does not work
void MainWindow::paintEvent ( QPaintEvent * event ) { QPainter painter; painter.begin( ui->textEdit->viewport() ); QRect r = ui->textEdit->cursorRect(); r.setX( 0 ); r.setWidth( ui->textEdit->viewport()->width() ); painter.fillRect( r, QBrush( Qt::blue ) ); } 
hover? - Jonathan_CageQTextEditorQTextBlock?QTextEdithas StyleSheet - ixSci pm