MCPcopy Create free account
hub / github.com/NPP-JSONViewer/JSON-Viewer / CopyName

Method CopyName

src/NppJsonViewer/JsonViewDlg.cpp:824–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

822}
823
824auto JsonViewDlg::CopyName() const -> std::wstring
825{
826 HTREEITEM selectedNode = m_pTreeView->GetSelection();
827 if (selectedNode)
828 {
829 return m_pTreeView->GetNodeName(selectedNode, true);
830 }
831 return std::wstring();
832}
833
834auto JsonViewDlg::CopyKey() const -> std::wstring
835{

Callers

nothing calls this directly

Calls 2

GetSelectionMethod · 0.80
GetNodeNameMethod · 0.80

Tested by

no test coverage detected