mirror of
https://github.com/haven1433/HexManiacAdvance.git
synced 2026-10-04 22:26:34 -05:00
adding cut/copy/paste/delete
adding 'help' to menu, with links to GitHub and credit to Solarized.
This commit is contained in:
@@ -6,6 +6,11 @@ using System.Windows;
|
||||
|
||||
namespace HavenSoft.Gen3Hex.View {
|
||||
public class WindowsFileSystem : IFileSystem {
|
||||
public string CopyText {
|
||||
get => Clipboard.ContainsText() ? Clipboard.GetText() : string.Empty;
|
||||
set => Clipboard.SetText(value);
|
||||
}
|
||||
|
||||
public LoadedFile OpenFile(params string[] extensionOptions) {
|
||||
var dialog = new OpenFileDialog { Filter = CreateFilterFromOptions(extensionOptions) };
|
||||
var result = dialog.ShowDialog();
|
||||
|
||||
Reference in New Issue
Block a user