ide: Fixed problem with UppHub spaces in path

This commit is contained in:
Mirek Fidler 2024-10-10 11:25:48 +02:00
parent a6d98f9cb4
commit 0c375ba143
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ AnnotationItem AssistEditor::FindCurrentAnnotation(bool allow_define)
void Navigator::SyncCursor()
{
String k = "(" + GetKeyDesc(IdeKeys::AK_GOTO().key[0]) + ") ";
search.NullText("Symbol/lineno " + k);
search.NullText("Symbol/lineno/file " + k);
search.Tip(IsNull(search) ? String() : "Clear " + k);
if(!navigating && theide && !theide->replace_in_files) {

View file

@ -552,7 +552,7 @@ void UppHubDlg::Install(const Index<String>& ii_)
if(n->branch.GetCount())
cmd << "-b " + n->branch << ' ';
cmd << n->repo;
cmd << ' ' << dir;
cmd << " \"" << dir << "\"";
console.System(cmd);
for(String p : FindAllPaths(dir, "*.upp")) {
Package pkg;