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

Method CopyPath

src/NppJsonViewer/JsonViewDlg.cpp:854–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852}
853
854auto JsonViewDlg::CopyPath() const -> std::wstring
855{
856 HTREEITEM selectedNode = m_pTreeView->GetSelection();
857 if (selectedNode)
858 {
859 return m_pTreeView->GetNodePath(selectedNode);
860 }
861 return std::wstring();
862}
863
864int JsonViewDlg::ShowMessage(const std::wstring& title, const std::wstring& msg, int flag, bool bDonotShow)
865{

Callers

nothing calls this directly

Calls 2

GetSelectionMethod · 0.80
GetNodePathMethod · 0.80

Tested by

no test coverage detected