MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / setEditorWordWrap

Method setEditorWordWrap

MiniZincIDE/ide.cpp:463–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463void IDE::setEditorWordWrap(QTextOption::WrapMode mode)
464{
465 for (auto* mw : qAsConst(mainWindows)) {
466 mw->setEditorWordWrap(mode);
467 }
468 static_cast<CodeEditor*>(cheatSheet->centralWidget())->setWordWrapMode(mode);
469}
470
471void IDE::openFile(const QString& fileName0)
472{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected