How do you type a non-breaking space in the Editor?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DanTemple
Posts: 26
Joined: Tue Oct 28, 2014 1:19 pm

How do you type a non-breaking space in the Editor?

Post by DanTemple »

Is there some shortcut? I've tried Shift-Space, Ctrl-Space... ?

best regards,
Costin
Posts: 828
Joined: Mon Dec 05, 2011 6:04 pm

Re: How do you type a non-breaking space in the Editor?

Post by Costin »

Hello,

As the no-break space entity is not available in all of the XML document types, but for the common ones, in order to see if a shortcut key combination can be assigned to such entity, could you please let us know what document type are you using? Is it a general XML file, or is it a DITA/DocBook/XHTML document?

Also, where exactly do you need to insert " " entities - do you need that in "Text", or in the "Author" (visual) editing mode?

By default there is no key-combination assigned for adding this entity, but, if you need to add the non-breaking space in one of the above mentioned common document types mentioned in the Author editing mode, this could be most probably done by defining a custom action in the Document Type Association (from oXygen menu Options > Preferences > Document Type Association) appropriate to your document type (DITA/DocBook/XHTML).
Basically this could be done by defining a new Action in the Author section of the appropriate document type, which would use the "InsertFragmentOperation" default operation with the " " set as the value.

In the configuration window for your custom action, you should be able to choose a key-combination, but this should be choose wisely, to not interfere with other combinations already bound to other actions which could be performed in a same given context.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
DanTemple
Posts: 26
Joined: Tue Oct 28, 2014 1:19 pm

Re: How do you type a non-breaking space in the Editor?

Post by DanTemple »

Thanks - I seem to have got it working, by duplicating one that existed already and modifying it.

Ctrl-Shift-Space is now the non-breaking space.
Sathya
Posts: 4
Joined: Mon Oct 03, 2016 6:29 am

Re: How do you type a non-breaking space in the Editor?

Post by Sathya »

Hi, We can also use the following options:

For Nonbreaking space:
Edit > Insert from Character Map > select No-break Space

For Nonbreaking Hyphen:
Edit > Insert from Character Map > select Non-breaking Hyphen

Hope this helps.
Post Reply