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

Method doComment

src/cceditor/ccnotepad.cpp:1636–1644  ·  view source on GitHub ↗

注释问题。

Source from the content-addressed store, hash-verified

1634
1635//注释问题。
1636void CCNotePad::doComment(int type)
1637{
1638 QWidget* pw = ui.editTabWidget->currentWidget();
1639 ScintillaEditView* pEdit = dynamic_cast<ScintillaEditView*>(pw);
1640 if (pEdit != nullptr && !pEdit->isReadOnly())
1641 {
1642 pEdit->comment(type);
1643 }
1644}
1645
1646void CCNotePad::doFold(int type, bool mode)
1647{

Callers

nothing calls this directly

Calls 2

isReadOnlyMethod · 0.80
commentMethod · 0.80

Tested by

no test coverage detected