MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / toggleWrap

Method toggleWrap

gui/qt/basiccodeviewerwindow.cpp:290–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void BasicCodeViewerWindow::toggleWrap() {
291 m_showingWrapped = !m_showingWrapped;
292 ui->basicEdit->setWordWrapMode(m_showingWrapped ? QTextOption::WrapAtWordBoundaryOrAnywhere : QTextOption::NoWrap);
293 showCode();
294}
295
296void BasicCodeViewerWindow::toggleFormat() {
297 m_showingFormatted = !m_showingFormatted;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected