Auto enable Cut, Copy, Paste menu items
sarah.reichelt at gmail.com
Wed Sep 13 21:34:58 EDT 2006
On 9/14/06, Bill Vlahos <bvlahos at mac.com> wrote:
> Does Rev have an automated way to manage the Edit menu items Cut,
> Copy, and Paste?
> For example, it only makes sense for Cut or Copy to be enabled if
> there is any text that is hilited. Another example, if there isn't
> anything in the clipboard then there is nothing to paste. Even if
> there is something on the clipboard there would have to be a match
> for where it would be pasted. For example, if there is text in the
> clipboard there would have to be an insertion point in a text field
> for the paste to make sense.
> On a stack with lots of fields and cards it seems tedious to try to
> manage all of the situations.
> I was hoping that this would be a common enough feature of every
> program that Rev could manage it for me but I don't see it described
I don't think there is any automated way to do this, but managing it
yourself is not too tedious if you just have a single routine for
doing it that gets called from a mouseDown handler in the menubar
More information about the Use-livecode