Emacs binding not available on Text View ?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
john99
Posts: 15
Joined: Fri Mar 09, 2012 2:42 pm

Emacs binding not available on Text View ?

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Emacs binding not available on Text View ?

Post by adrian »

Hello,

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

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
john99
Posts: 15
Joined: Fri Mar 09, 2012 2:42 pm

Re: Emacs binding not available on Text View ?

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Emacs binding not available on Text View ?

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
john99
Posts: 15
Joined: Fri Mar 09, 2012 2:42 pm

Re: Emacs binding not available on Text View ?

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Emacs binding not available on Text View ?

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Emacs binding not available on Text View ?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
john99
Posts: 15
Joined: Fri Mar 09, 2012 2:42 pm

Re: Emacs binding not available on Text View ?

Post 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
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Emacs binding not available on Text View ?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
john99
Posts: 15
Joined: Fri Mar 09, 2012 2:42 pm

Re: Emacs binding not available on Text View ?

Post 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
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Emacs binding not available on Text View ?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
john99
Posts: 15
Joined: Fri Mar 09, 2012 2:42 pm

Re: Emacs binding not available on Text View ?

Post 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
Post Reply