| 288 | } |
| 289 | |
| 290 | void BasicCodeViewerWindow::toggleWrap() { |
| 291 | m_showingWrapped = !m_showingWrapped; |
| 292 | ui->basicEdit->setWordWrapMode(m_showingWrapped ? QTextOption::WrapAtWordBoundaryOrAnywhere : QTextOption::NoWrap); |
| 293 | showCode(); |
| 294 | } |
| 295 | |
| 296 | void BasicCodeViewerWindow::toggleFormat() { |
| 297 | m_showingFormatted = !m_showingFormatted; |
nothing calls this directly
no outgoing calls
no test coverage detected