MCPcopy Create free account
hub / github.com/cxasm/notepad-- / setNoteWidget

Method setNoteWidget

src/scintillaeditview.cpp:301–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void ScintillaEditView::setNoteWidget(QWidget * win)
302{
303 CCNotePad* pv = dynamic_cast<CCNotePad*>(win);
304 if (pv != nullptr)
305 {
306 m_NoteWin = pv;
307
308 if (m_styleColorMenu != nullptr)
309 {
310 m_styleColorMenu->addAction(tr("Clear Select"), m_NoteWin, &CCNotePad::slot_clearWordHighlight);
311 m_styleColorMenu->addAction(tr("Clear All"), m_NoteWin, &CCNotePad::slot_clearMark);
312}
313}
314}
315
316
317void ScintillaEditView::updateLineNumbersMargin(bool forcedToHide) {

Callers 7

newTxtFileMethod · 0.45
openBigTextRoFileMethod · 0.45
openSuperBigTextFileMethod · 0.45
openTextFileMethod · 0.45
openHexFileMethod · 0.45
tryRestoreFileMethod · 0.45
restoreDirtyExistFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected