|Key binding in a multi page editor [message #214724]
||Mon, 02 June 2008 14:20
Originally posted by: vasanthv16.yahoo.com|
I have a multi page editor, in which, one of the pages is a Structured
Text Editor. I have a separate MultiPageEditorSite for the source page
which uses the id "org.eclipse.core.runtime.xml.source", and my multi
page editor's action bar contributor delegates to
(yes, its internal) for the source page.
So, my source page behaves like an xml editor and, since I delegate to
the SourcePageActionContributor, I get all menu contributions for an XML
editor whenever I move into the source page. So far so good.
The one problem I face is, key bindings don't seem to work correctly
when I am in the source page. For example, Edit --> Content Assist works
and brings up content assist. But Ctrl+Space doesn't work. I see that
the menu item in the Edit menu does show "Content Assist Ctrl+Space". I
also see that Help --> Key Assist shows "Content Assist Ctrl+Space" as
one of the listing.
Since I see that there is indeed an active key binding, and also that
the global menu item action works fine, I am not sure what the problem is.
Does this ring a bell? Or atleast, can someone point me to where to look?
In an earlier thread ("XML Editor - Key binding for Expand Selection
To") I have stated a similar issue with the XML Editor which seems to
face a similar problem with some other key bindings. Are these issues
|Re: Key binding in a multi page editor [message #214808 is a reply to message #214724]
||Wed, 04 June 2008 06:51
| Nitin Dahyabhai
Registered: July 2009
Vasanth Velusamy wrote:|
> Does this ring a bell? Or atleast, can someone point me to where to look?
> In an earlier thread ("XML Editor - Key binding for Expand Selection
> To") I have stated a similar issue with the XML Editor which seems to
> face a similar problem with some other key bindings. Are these issues
I remember this being an ugly issue around 2.0's release, bad enough
that it prompted us to redo a lot of our contributions in 3.0.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=185475#c7 is, I think,
the last comment in a long series of bugs about keybindings for
contributions not using the command/binding/handler mechanisms in
Eclipse WTP Source Editing
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.08109 seconds