[Solved] Grey space after word

Discuss the word processor
Locked
Philowen
Posts: 1
Joined: Mon Oct 19, 2015 7:43 am

[Solved] Grey space after word

Post by Philowen »

Morning all
Sorry if this has been dealt with but I cannot find it. I'm not sure of how to describe it in the help section
When I type a combination of letters and numbers as a reference, eg 1 John 5:7, 8 I get a grey space showing after the 1 and after the comma.
I assume it's telling me that the spacing is incorrect. I want it to stay as I type it.
I've looked but cannot find the way to turn off this 'error report'?
Can you assist me please?
Thanks
Phil
Last edited by MrProgrammer on Sun Jul 23, 2023 2:55 pm, edited 6 times in total.
Windows 10, Open Office 4.1
User avatar
RoryOF
Moderator
Posts: 35251
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Spacing after word

Post by RoryOF »

These grey spaces are non-breaking spaces and suggest you pasted the reference rather than typed it as they often are used on HTML pages. They do not print and their display can be turned off by toggling /View /field shadings. If you are in fact typing them, you may be using the key combination Ctrl Shift Space or /Insert /Formatting character /non-breaking space. If pasting them, you can stop them transferring by /Edit /Paste special and selecting "unformatted text" from the popup.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
User avatar
RoryOF
Moderator
Posts: 35251
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [SOLVED] Spacing after word

Post by RoryOF »

Note that such non-breaking spacing can be useful to prevent inappropriate breaks at the end of lines. In the cited case 1 John 5:7, 8 one might not wish that broken at line-end as it easily becomes less intelligible if that happens.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
John_Ha
Volunteer
Posts: 9605
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [SOLVED] Spacing after word

Post by John_Ha »

They often come with text copied from emails. If you want to get rid of them

1 Copy one of them
2 Edit > Find and Replace - the Find field is pre-filled with the non-breaking space you copied
3 Type a normal space in the Replace field
3 Click Replace All
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Locked