Skip to content

Commit

Permalink
sakura-editor#658: 開いているファイル名をクリップボードにコピーする機能をデフォルトでメニューに追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Jan 2, 2019
1 parent 04d35ed commit 2276eae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sakura_core/env/CShareData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,9 @@ void CShareData::InitPopupMenu(DLLSHAREDATA* pShareData)
rMenu.m_nCustMenuItemFuncArr[0][n] = F_0;
rMenu.m_nCustMenuItemKeyArr [0][n] = '\0';
n++;
rMenu.m_nCustMenuItemFuncArr[0][n] = F_COPYFNAME;
rMenu.m_nCustMenuItemKeyArr [0][n] = 'F';
n++;
rMenu.m_nCustMenuItemFuncArr[0][n] = F_COPYPATH;
rMenu.m_nCustMenuItemKeyArr [0][n] = '\\';
n++;
Expand Down Expand Up @@ -1417,6 +1420,9 @@ void CShareData::InitPopupMenu(DLLSHAREDATA* pShareData)
rMenu.m_nCustMenuItemFuncArr[CUSTMENU_INDEX_FOR_TABWND][n] = F_0;
rMenu.m_nCustMenuItemKeyArr [CUSTMENU_INDEX_FOR_TABWND][n] = '\0';
n++;
rMenu.m_nCustMenuItemFuncArr[CUSTMENU_INDEX_FOR_TABWND][n] = F_COPYFNAME;
rMenu.m_nCustMenuItemKeyArr [CUSTMENU_INDEX_FOR_TABWND][n] = 'F';
n++;
rMenu.m_nCustMenuItemFuncArr[CUSTMENU_INDEX_FOR_TABWND][n] = F_COPYPATH;
rMenu.m_nCustMenuItemKeyArr [CUSTMENU_INDEX_FOR_TABWND][n] = '\0';
n++;
Expand Down

0 comments on commit 2276eae

Please sign in to comment.