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

Method newFile

src/TeXDocumentWindow.cpp:563–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563void TeXDocumentWindow::newFile()
564{
565 TeXDocumentWindow *doc = new TeXDocumentWindow;
566 doc->selectWindow();
567 doc->textEdit->updateLineNumberAreaWidth(0);
568 doc->runHooks(QString::fromLatin1("NewFile"));
569}
570
571void TeXDocumentWindow::newFromTemplate()
572{

Callers

nothing calls this directly

Calls 3

selectWindowMethod · 0.80
runHooksMethod · 0.45

Tested by

no test coverage detected