Keyboard shortcut to apply an element to highlighted/selecte

Oxygen general issues.
David Artman
Posts: 2
Joined: Fri Nov 22, 2013 7:12 pm

Keyboard shortcut to apply an element to highlighted/selecte

Post by David Artman »

Hi, all--first time poster, first time user; be gentle! :)

I have tried without success to find a way to apply an element to highlighted (selected) text using the keyboard.

Sure, I could double-click the element in the Element View, but I do not like to have to use a mouse when I am writing, when I can avoid it. I am aware that, when typing, I can type < to open the element pop-up (auto-completion); but I'm asking about content that's already in place (say, from pasting) to which I use the arrows keys to move and on which I use Shift + arrow keys to highlight. (A parallel would be the F8/F9 keys in FrameMaker, which allow you to type partial style names and then press Enter, to apply a character style to selected content or a paragraph style at the cursor location.)

Thanks in advance for any help or advice!
David
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Keyboard shortcut to apply an element to highlighted/sel

Post by adrian »

Hi,

The action you are looking for is named in Oxygen Surround with Tags (Ctrl+E). A dialog pops up and allows you to type or choose from a list the name of the element. The selected content will be found inside the newly inserted element. This works in Text and Author modes.

In Author mode you can simply press ENTER for the same action.

Regards,
Adrian

Later Edit: Made a small typo, it's Surround with Tags, plural.
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
David Artman
Posts: 2
Joined: Fri Nov 22, 2013 7:12 pm

Re: Keyboard shortcut to apply an element to highlighted/sel

Post by David Artman »

THANK you! I would never have come up with "surround with tag" as the search term to use in the Menu Shortcut Keys interface or online. I hunted on "apply" and "element", never thinking "tag" would be the term used.

A quick search on "difference between tag and element" has taught me that they are far from interchangeable terms, as the former is but a component of the latter.

Thanks again!
David
Post Reply