|
|
|
@ -1388,8 +1388,7 @@ void Window::set_menu_actions() { |
|
|
|
run_arguments.second, [run_arguments_first = std::move(run_arguments.first)](const std::string &content) { |
|
|
|
run_arguments.second, [run_arguments_first = std::move(run_arguments.first)](const std::string &content) { |
|
|
|
Project::run_arguments[run_arguments_first] = content; |
|
|
|
Project::run_arguments[run_arguments_first] = content; |
|
|
|
EntryBox::get().hide(); |
|
|
|
EntryBox::get().hide(); |
|
|
|
}, |
|
|
|
}); |
|
|
|
50); |
|
|
|
|
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
entry_it->set_placeholder_text("Run Arguments"); |
|
|
|
entry_it->set_placeholder_text("Run Arguments"); |
|
|
|
EntryBox::get().buttons.emplace_back("Set Run Arguments", [entry_it]() { |
|
|
|
EntryBox::get().buttons.emplace_back("Set Run Arguments", [entry_it]() { |
|
|
|
@ -1459,8 +1458,7 @@ void Window::set_menu_actions() { |
|
|
|
EntryBox::get().hide(); |
|
|
|
EntryBox::get().hide(); |
|
|
|
else |
|
|
|
else |
|
|
|
EntryBox::get().entries.front().select_region(0, -1); |
|
|
|
EntryBox::get().entries.front().select_region(0, -1); |
|
|
|
}, |
|
|
|
}); |
|
|
|
30); |
|
|
|
|
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
entry_it->set_placeholder_text("Command"); |
|
|
|
entry_it->set_placeholder_text("Command"); |
|
|
|
EntryBox::get().buttons.emplace_back("Run Command", [entry_it]() { |
|
|
|
EntryBox::get().buttons.emplace_back("Run Command", [entry_it]() { |
|
|
|
@ -1494,8 +1492,7 @@ void Window::set_menu_actions() { |
|
|
|
run_arguments.second, [run_arguments_first = std::move(run_arguments.first)](const std::string &content) { |
|
|
|
run_arguments.second, [run_arguments_first = std::move(run_arguments.first)](const std::string &content) { |
|
|
|
Project::debug_run_arguments[run_arguments_first].arguments = content; |
|
|
|
Project::debug_run_arguments[run_arguments_first].arguments = content; |
|
|
|
EntryBox::get().hide(); |
|
|
|
EntryBox::get().hide(); |
|
|
|
}, |
|
|
|
}); |
|
|
|
50); |
|
|
|
|
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
entry_it->set_placeholder_text("Debug Run Arguments"); |
|
|
|
entry_it->set_placeholder_text("Debug Run Arguments"); |
|
|
|
|
|
|
|
|
|
|
|
@ -1572,8 +1569,7 @@ void Window::set_menu_actions() { |
|
|
|
last_run_debug_command = content; |
|
|
|
last_run_debug_command = content; |
|
|
|
} |
|
|
|
} |
|
|
|
EntryBox::get().hide(); |
|
|
|
EntryBox::get().hide(); |
|
|
|
}, |
|
|
|
}); |
|
|
|
30); |
|
|
|
|
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
auto entry_it = EntryBox::get().entries.begin(); |
|
|
|
entry_it->set_placeholder_text("Debug Command"); |
|
|
|
entry_it->set_placeholder_text("Debug Command"); |
|
|
|
EntryBox::get().buttons.emplace_back("Run Debug Command", [entry_it]() { |
|
|
|
EntryBox::get().buttons.emplace_back("Run Debug Command", [entry_it]() { |
|
|
|
|