feat: Added Paste all option to paste and resize file without checks

Closes #791
This commit is contained in:
WerWolv
2022-10-21 12:14:35 +02:00
parent 6a8611d98d
commit 139a379a09
10 changed files with 28 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <hex/providers/provider.hpp>
#include <hex/api/localization.hpp>
namespace hex::plugin::builtin::prv {
@@ -29,7 +30,7 @@ namespace hex::plugin::builtin::prv {
void save() override;
void saveAs(const std::fs::path &path) override;
[[nodiscard]] std::string getName() const override { return "hex.builtin.provider.mem_file.unsaved"; }
[[nodiscard]] std::string getName() const override { return LangEntry("hex.builtin.provider.mem_file.unsaved"); }
[[nodiscard]] std::vector<std::pair<std::string, std::string>> getDataInformation() const override { return { }; }
[[nodiscard]] std::string getTypeName() const override {