Apply nowrap to a string?

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
Martin Wynne
Posts: 2656
Joined: Mon May 12, 2003 3:21 pm
Location: West of the Severn, UK

Apply nowrap to a string?

Unread post by Martin Wynne »

I'm looking for an easy way to select a short string and apply nowrap to it? i.e. change all spaces to non-breaking spaces, or CSS white-space:nowrap;

It's tedious to change all the spaces manually. I have a lot to do. Ideally such a function could be assigned to a shortcut, or maybe included in the text styles?

There is a word-wrap option in the paragraph style settings, but these are short strings within the text, not whole sentences or paragraphs.

Am I missing the obvious? (for Webhelp)

cheers,

Martin.
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Apply nowrap to a string?

Unread post by Tim Green »

Sorry, that function doesn't exist. You might want to try a keyboard macro program like PhraseExpress or AutoHotKey. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Martin Wynne
Posts: 2656
Joined: Mon May 12, 2003 3:21 pm
Location: West of the Severn, UK

Re: Apply nowrap to a string?

Unread post by Martin Wynne »

Thanks Tim.

I have now created duplicates of my body styles, and added white-space:nowrap to their CSS in my page template.

It's working fine, the only downside being that unlike non-breaking spaces it doesn't show in the text in the editor as a reminder.

cheers,

Martin.
Post Reply