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

Method CopyKey

src/NppJsonViewer/JsonViewDlg.cpp:834–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834auto JsonViewDlg::CopyKey() const -> std::wstring
835{
836 HTREEITEM selectedNode = m_pTreeView->GetSelection();
837 if (selectedNode)
838 {
839 return m_pTreeView->GetNodeKey(selectedNode);
840 }
841 return std::wstring();
842}
843
844auto JsonViewDlg::CopyValue() const -> std::wstring
845{

Callers

nothing calls this directly

Calls 2

GetSelectionMethod · 0.80
GetNodeKeyMethod · 0.80

Tested by

no test coverage detected