MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / updateEOLBasedUi

Method updateEOLBasedUi

src/dialogs/MainWindow.cpp:1647–1662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1645}
1646
1647void MainWindow::updateEOLBasedUi(ScintillaNext *editor)
1648{
1649 qInfo(Q_FUNC_INFO);
1650
1651 switch(editor->eOLMode()) {
1652 case SC_EOL_CR:
1653 ui->actionMacintosh->setChecked(true);
1654 break;
1655 case SC_EOL_CRLF:
1656 ui->actionWindows->setChecked(true);
1657 break;
1658 case SC_EOL_LF:
1659 ui->actionUnix->setChecked(true);
1660 break;
1661 }
1662}
1663
1664void MainWindow::updateSaveStatusBasedUi(ScintillaNext *editor)
1665{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected