Page 1 of 1

Emacs binding not available on Text View ?

Posted: Fri Mar 09, 2012 5:46 pm
by john99
Hello,

After getting the result from my XSLT transformation, I can't seem to use Emacs key binding to do a search ?. Maybe I'm missing a preference setup somewhere ?.

TIA,

John

Re: Emacs binding not available on Text View ?

Posted: Fri Mar 09, 2012 5:58 pm
by adrian
Hello,

Note that Oxygen does not implement Emacs key bindings.
Are you using the Oxygen Eclipse plugin?

Regards,
Adrian

Re: Emacs binding not available on Text View ?

Posted: Fri Mar 09, 2012 6:10 pm
by john99
Yes.

John
adrian wrote:Hello,

Note that Oxygen does not implement Emacs key bindings.
Are you using the Oxygen Eclipse plugin?

Regards,
Adrian

Re: Emacs binding not available on Text View ?

Posted: Fri Mar 09, 2012 6:20 pm
by adrian
Have you set the Emacs key binding Scheme in Eclipse: Window -> Preferences, Keys?

What version of Oxygen and what version of Eclipse are you using(Help -> About)?

Regards,
Adrian

Re: Emacs binding not available on Text View ?

Posted: Fri Mar 09, 2012 6:45 pm
by john99
Yes, Scheme is Emacs, it works on other View but not Text View.

Eclipse SDK Version: 3.7.2
Oxygen XML 13.2

John
adrian wrote:Have you set the Emacs key binding Scheme in Eclipse: Window -> Preferences, Keys?

What version of Oxygen and what version of Eclipse are you using(Help -> About)?

Regards,
Adrian

Re: Emacs binding not available on Text View ?

Posted: Mon Mar 12, 2012 6:26 pm
by adrian
OK, I see, so it's only in the Text view. Oxygen does not implement the Emacs key binding for its editors or views. In the editors(XML, XSL , etc) the key bindings are inherited from Eclipse. However, some of the views are implemented from scratch, so they do not have that support.

I have logged this as a request to our issue tracking tool and it will be analyzed and if found appropriate, it will be resolved in a future version of Oxygen.

Later Edit: Actually, I see that the actions themselves are not available in some of the views, it does not matter what key bindings are set.

Regards,
Adrian

Re: Emacs binding not available on Text View ?

Posted: Fri Mar 30, 2012 9:09 am
by Radu
Hi John,

Two quick questions:

What exact Emacs keybindings for searching do you want to work also in the Oxygen results Text view? For example do you want Find, Find Next, Find Previous?
In what other Eclipse view did the key bindings work?

Regards,
Radu

Re: Emacs binding not available on Text View ?

Posted: Wed May 09, 2012 1:00 am
by john99
Hey Radu,

Sorry I didn't check back until recently.

These are what I commonly use:

Search - Ctrl-S
Reverse Search - Ctrl-R
Delete line - Ctrl-W
Copy - Ctrl-Y

On Eclipse views I believe it works on all of them except the Result view.

John

Radu wrote:Hi John,

Two quick questions:

What exact Emacs keybindings for searching do you want to work also in the Oxygen results Text view? For example do you want Find, Find Next, Find Previous?
In what other Eclipse view did the key bindings work?

Regards,
Radu

Re: Emacs binding not available on Text View ?

Posted: Wed May 09, 2012 9:25 am
by Radu
Hi John,

Thanks for getting back on this, I updated the improvement request with this information.

I tried changing to the EMACS key binding and working in a number of standard Eclipse views and none of the views supported the EMACS key bindings.
So besides the editing area, if you can name a specific Eclipse view which supports these shortcuts it would give us a better idea on how such shortcuts are implemented in an Eclipse view.

A temporary workaround for you would be to edit the XSLT transformation scenario and in the Output tab choose to open the output in a separate editor.

Regards,
Radu

Re: Emacs binding not available on Text View ?

Posted: Wed May 09, 2012 12:18 pm
by john99
Hi Radu,

There is an option in its Preference menu. Here is the FAQ:

http://wiki.eclipse.org/FAQ_How_do_I_sw ... indings%3F

Eclipse has somewhat complete Emacs bindings (blocks aren't supported though).

John.
Radu wrote:Hi John,

Thanks for getting back on this, I updated the improvement request with this information.

I tried changing to the EMACS key binding and working in a number of standard Eclipse views and none of the views supported the EMACS key bindings.
So besides the editing area, if you can name a specific Eclipse view which supports these shortcuts it would give us a better idea on how such shortcuts are implemented in an Eclipse view.

A temporary workaround for you would be to edit the XSLT transformation scenario and in the Output tab choose to open the output in a separate editor.

Regards,
Radu

Re: Emacs binding not available on Text View ?

Posted: Wed May 09, 2012 12:33 pm
by Radu
Hi John,

I know how to enable Emacs key binding in Eclipse and the shortcuts indeed work in any opened editor.

Quoting from one of your earlier replies:
Scheme is Emacs, it works on other View but not Text View.
My question was if you noticed those shortcuts work in any other Eclipse view (like for example the "Console" view or the "Project" view).

Regards,
Radu

Re: Emacs binding not available on Text View ?

Posted: Wed May 09, 2012 12:53 pm
by john99
Not on Console for sure.

John
Radu wrote:Hi John,

I know how to enable Emacs key binding in Eclipse and the shortcuts indeed work in any opened editor.

Quoting from one of your earlier replies:
Scheme is Emacs, it works on other View but not Text View.
My question was if you noticed those shortcuts work in any other Eclipse view (like for example the "Console" view or the "Project" view).

Regards,
Radu