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

Method CopyValue

src/NppJsonViewer/JsonViewDlg.cpp:844–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844auto JsonViewDlg::CopyValue() const -> std::wstring
845{
846 HTREEITEM selectedNode = m_pTreeView->GetSelection();
847 if (selectedNode)
848 {
849 return m_pTreeView->GetNodeValue(selectedNode);
850 }
851 return std::wstring();
852}
853
854auto JsonViewDlg::CopyPath() const -> std::wstring
855{

Callers

nothing calls this directly

Calls 2

GetSelectionMethod · 0.80
GetNodeValueMethod · 0.80

Tested by

no test coverage detected