inline markup a highlighted word(s)

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mdamkier
Posts: 10
Joined: Mon Mar 05, 2007 5:25 pm
Location: Hamburg

inline markup a highlighted word(s)

Post by mdamkier »

Hallo all, I have a quick question.
In the editor, is there a way to highlight a word and then wrap it from a list of allowed tags? I am using DocBook. I like to write a few paragraphs and then go back and do the inline markup. I would like to be able to highlight a word and then apply a markup, e.g., <literal>selected text</literal>, from a list of allowed tags.
Thanks for your help.
-- Michael
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Post by Radu »

Dear Michael,

You can select the desired text(or word), right click, in the contextual menu go to Refactoring->Surround with tag. A dialog will appear allowing you to select any allowed tag in that context. There are also keyboard shortcuts available for the Surround actions which can also be customized. For example pressing "Ctrl SLASH" surrounds the selected text using the tag you chose in the last Surround with operation.

See more here:
http://www.oxygenxml.com/doc/ug-oxygen/ ... tions.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mdamkier
Posts: 10
Joined: Mon Mar 05, 2007 5:25 pm
Location: Hamburg

Post by mdamkier »

Thank you for your answer. I would never have guessed that this what was meant by "refactoring". I had tried the online help with keywords like "markup", "adding markup", etc. Searching for "refactor" or "surround" took me right there. Like I said in another post I have a lot to learn, including a new way of describing things.
Thanks for the guidance!
-- Michael
Post Reply