facebook

Unable to bind to key Ctrl+R

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #286342 Reply

    Abby
    Member

    In Preferences->General->Keys, I have bound the command Incremental Find Reverse to Ctrl+R when Editing Text.

    However, when I click Ctrl+R while editing text, Eclipse does not invoke the command.

    Instead as you can see in the screenshot below, 2 things happen:
    1. In the status bar, where the command name should display if it were invoked, it simply displays “Ctrl+R” (as if nothing were bound to it)
    2. After a short (1 second?) pause, a small window popups up in the lower-right corner that says Create Crosstab Ctrl+R, C

    (if I wait for that little crosstab window to popup and then click “C” – nothing happens. However, if I then press Ctrl+R immediately after, the Eclipse Preferences window pops up. I don’t know why that is)

    I suspect that this Crosstab thing (or perhaps a hotkey to open the preferences window?) is interfering with my ability to map Ctrl+R. However, I cannot find any bindings or commands for Ctrl+R,C or Create Crosstab under Preferences->General->Keys.

    How can I get Ctrl+R to invoke the command I’ve mapped it to?

    Thanks!
    Abby

    #286428 Reply

    Loyal Water
    Member

    Abby,
    Can you re -paste the image for me. You can hit the post reply button at the bottom and upload the image.

    #286490 Reply

    Abby
    Member

    Sorry about that – I think it should display now, but just in case, here it is again:

    #286604 Reply

    Abby
    Member

    It did not work, the bug is still there. Can you help me with it?

    #286874 Reply

    Loyal Water
    Member

    afichtner,
    This looks like a bug and I’m looking into it. I’m sorry you ran into this.

    #286875 Reply

    Ton Huisman
    Member

    Ctrl-R is, according to the message in the lower right corner, a sequence key, expecting another key to be pressed to complete the sequence, just like Alt-Shift-X, Q executes a configured Ant build.xml file. It seems to be bound to Create Crosstab for the sequence Ctrl-R, C. That is not the Default configuration (at least not with my default install of ME 6.5), which only lists Ctrl-R for ‘Run to Line’ when ‘Debugging’ is active.
    OTOH, the Emacs binding lists Ctrl-R also as the Incremental Find Reverse binding…
    You have to un-define all sequences of a key before you can bind a new function to it like the OP is trying. An alternative would be to bind the function to Ctrl-R,Ctrl-R or Ctrl-R,R
    That is not a bug, it’s a feature! (I always wanted to say that, and now I found a good reason 😀 )
    Original Eclipse docs: http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/accessibility/keyboardshortcuts.htm

    Maybe a ‘bug’ could be the OP is using some plugin (Jasper Reports?) that redefines the key without a proper notofication to the settings panel, but that is most unlikely.

    Could a -clean on the Workspace or a really clean Workspace clear this issue up?

    HTH
    Ton

    #286885 Reply

    Abby
    Member

    Maybe a ‘bug’ could be the OP is using some plugin (Jasper Reports?) that redefines the key without a proper notofication to the settings panel

    Thank you, yes, that is precisely the problem. And because of it, I can’t find a way to remap the key.

    #286889 Reply

    Ton Huisman
    Member

    Best bet would be to report the bug to that plugin-project, it’s nothing either Eclipse or MyEclipse can do about it, IMHO.

    HTH
    Ton

    #286896 Reply

    Abby
    Member

    @support-nipun wrote:

    afichtner,
    This looks like a bug and I’m looking into it. I’m sorry you ran into this.

    Thanks for looking into this. Any luck finding a way to rebind that key?

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Unable to bind to key Ctrl+R

You must be logged in to post in the forum log in