Bug #205


Added by Matt Jones over 21 years ago. Updated almost 18 years ago.

In Progress
morpho - general
Target version:
Start date:
Due date:
% Done:


Estimated time:


Integrate cut/copy/paste into appropriate functional areas of morpho.


#1 Updated by James Brunt almost 21 years ago

Matt/Dan -

I think this should be moved up in priority - the ability to document data is
greatly hindered by not having this capability - I don't think it should be
considered an enhancement.


#2 Updated by Matt Jones about 20 years ago

Enable the Cut/Copy/Paste menus when their functionality is available. The
editor makes these functions available, but because the menus are greyed out
this is not at all obvious to users. Need to actively manage the
enabled/diabled state of these menus to show when users can use them and when
they can't.

#3 Updated by Dan Higgins almost 20 years ago

Cut/Copy/Paste menus are now enabled/disabled properly in the new DataPackage
view. Actually, the only items that can currently be Cut/Copy/Pasted in this
view are the data cell in the data table. At least one cell should always be
selected, so Cut/Copy should always be enabled in this window.

Paste should be enabled whenever there is text data in the clipboard. Code has
been added to DataPackagePlugin so that whenever the DataPackage window is
'activated' the clipboard is checked to aee if it contains text (perhaps copied
from Excel, etc.) If it does, the Paste menu is enable; if not, disabled. Cut
and Copy commands withn the window also enable the Paste menu.

It appears that a general purpose Cut/Copy/Paste handler would require that a
CaretListener be added to all TextComponents. Thus, whenever any part of a text
string was selected, the Cut/Copy/Paste menus could be appropriately handled.
This is thought to require a substantial code change, so that it is being
postpned to Target Milestone 1.3

#4 Updated by Redmine Admin over 9 years ago

Original Bugzilla ID was 205

Also available in: Atom PDF