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

Method convertEOLs

src/dialogs/MainWindow.cpp:1551–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1549}
1550
1551void MainWindow::convertEOLs(int eolMode)
1552{
1553 ScintillaNext *editor = currentEditor();
1554
1555 // TODO: does convertEOLs trigger SCN_MODIFIED notifications? If so can these be turned off to increase performance?
1556 editor->convertEOLs(eolMode);
1557 editor->setEOLMode(eolMode);
1558
1559 updateEOLBasedUi(editor);
1560
1561 // There's no simple Scintilla notification that the EOL mode has changed
1562 // So tell the status bar to refresh its info
1563 ui->statusBar->refresh(editor);
1564}
1565
1566void MainWindow::showFindReplaceDialog(int index)
1567{

Callers

nothing calls this directly

Calls 1

refreshMethod · 0.80

Tested by

no test coverage detected