You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eXeMeL already allows auto-loading content from the clipboard, and saving the contents to an XML file. However, it does not allow deliberate opening of a file.
This can be easily implemented by adding a command extremely similar to SaveCommand_Execute, but using OpenFileDialog instead of the save. Additionally, the OpenFileAsync method already exists and can be called from within. However, that method cannot be awaited because it returns void.
Things to consider:
Is it worth creating a new non-async method for OpenFile? The code would be nearly identical, so I don't think it makes sense.
What icon should be used for the open command? The appbar.folder.open icon from the source of the rest doesn't look great because of how small it is. This assumes no additional resizing happens.
Where does the icon fall in the toolbar? Open is traditionally to the left of Save, but all the buttons are placed on the right side.
I've already got a working version of this, but I want to refine it some more. And finalize the items listed above.
The text was updated successfully, but these errors were encountered:
eXeMeL already allows auto-loading content from the clipboard, and saving the contents to an XML file. However, it does not allow deliberate opening of a file.
This can be easily implemented by adding a command extremely similar to
SaveCommand_Execute
, but usingOpenFileDialog
instead of the save. Additionally, theOpenFileAsync
method already exists and can be called from within. However, that method cannot be awaited because it returnsvoid
.Things to consider:
OpenFile
? The code would be nearly identical, so I don't think it makes sense.appbar.folder.open
icon from the source of the rest doesn't look great because of how small it is. This assumes no additional resizing happens.I've already got a working version of this, but I want to refine it some more. And finalize the items listed above.
The text was updated successfully, but these errors were encountered: