MCPcopy Create free account
hub / github.com/TeXworks/texworks / acceptInputLine

Method acceptInputLine

src/TeXDocumentWindow.cpp:3077–3085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3075}
3076
3077void 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
3087void TeXDocumentWindow::goToPreview()
3088{

Callers

nothing calls this directly

Calls 4

echoMethod · 0.80
textMethod · 0.45
colorMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected