|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
Powered by FUDForum
. Page generated in 0.04106 seconds