[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: menu accelerator question

Pls see "MultpageEditor Accelerator problem" later in the message listing
(4/15).

To your additional point, in our app, where the TextEditor's page is index
1, the clipboard and undo/redo items are enabled as appropriate.  However,
if I Cut some text and then Undo the operation, the file remains
'modified' (i.e., the Cut doesn't look undone, even though the text
reappears)...  We haven't modified the basic TextEditor functionality, so
I'm not sure what would be causing this.  It was also happening before I
implemented Tobias' workaround.

cheers,

Ron


Greg wrote:

> I don't have an answer to this question, but I can confirm that the
> problem is not unique to your environment.  Just a couple of days ago I
> encountered the same situation.  I have a multi-page editor with a
> "custom" editor on one page (a mix of different widgets) and a
> TextEditor-based component (Colorer plugin editor) on another page.  When
> I invoke Ctrl-C, it always dispatches to the TextEditor, even if I am in a
> text widget on a different page of the multi-page editor.

> Additionally, I have noticed that the Cut/Copy/Paste/Undo/Redo actions for
> the TextEditor are not enabled in the Edit menu, despite the fact that the
> actions exist and are bound to accelerators.  I don't know if you ran into
> this or not.

> I'll be investigating this off and on over the next couple of weeks, so
> I'll let you know if I find anything.  I hope you'll do the same if you
> are able to make any progress.

> Good luck,
> -Greg