VincentPestana/WpfFileditor

Edit menu copy paste disabling

Opened this issue · 1 comments

On opening the edit menu, I should check the below in order to disable the menu options

Copy

Check if there is selected text to copy to the clipboard

Paste

Check if there is text in the clipboard

On opening the edit menu, I should check the below in order to disable the menu options

Undo

Check the CanUndo()

Redo

Check the CanRedo()

Copy

Check if there is selected text to copy to the clipboard

Paste

Check if there is text in the clipboard