| 3075 | } |
| 3076 | |
| 3077 | void TeXDocumentWindow::acceptInputLine() |
| 3078 | { |
| 3079 | if (process) { |
| 3080 | const QString str = inputLine->text() + QStringLiteral("\n"); |
| 3081 | textEdit_console->echo(str, inputLine->palette().text().color()); |
| 3082 | process->write(str.toUtf8()); |
| 3083 | inputLine->clear(); |
| 3084 | } |
| 3085 | } |
| 3086 | |
| 3087 | void TeXDocumentWindow::goToPreview() |
| 3088 | { |