|
|
@ -293,6 +293,7 @@ bool ProjectPanel::openWorkSpace(const TCHAR *projectFileName)
|
|
|
|
if (!::PathFileExists(projectFileName))
|
|
|
|
if (!::PathFileExists(projectFileName))
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_treeView.removeAllItems();
|
|
|
|
_workSpaceFilePath = projectFileName;
|
|
|
|
_workSpaceFilePath = projectFileName;
|
|
|
|
|
|
|
|
|
|
|
|
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance())->getNativeLangSpeaker();
|
|
|
|
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance())->getNativeLangSpeaker();
|
|
|
@ -316,8 +317,8 @@ void ProjectPanel::newWorkSpace()
|
|
|
|
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance())->getNativeLangSpeaker();
|
|
|
|
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance())->getNativeLangSpeaker();
|
|
|
|
generic_string workspace = pNativeSpeaker->getProjectPanelLangStr("WorkspaceRootName", PM_WORKSPACEROOTNAME);
|
|
|
|
generic_string workspace = pNativeSpeaker->getProjectPanelLangStr("WorkspaceRootName", PM_WORKSPACEROOTNAME);
|
|
|
|
_treeView.addItem(workspace.c_str(), TVI_ROOT, INDEX_CLEAN_ROOT);
|
|
|
|
_treeView.addItem(workspace.c_str(), TVI_ROOT, INDEX_CLEAN_ROOT);
|
|
|
|
setWorkSpaceDirty(false);
|
|
|
|
setWorkSpaceDirty(false);
|
|
|
|
_workSpaceFilePath = TEXT("");
|
|
|
|
_workSpaceFilePath = TEXT("");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool ProjectPanel::saveWorkSpace()
|
|
|
|
bool ProjectPanel::saveWorkSpace()
|
|
|
|