Quote:
Originally Posted by jackie_w
Something to be careful of with your regex is that you might end up replacing consecutive non-breaking-spaces with a plain space. That might be important if nbsps have been used to create vertical whitespace scenebreaks. E.g.
Before: <p>*nbsp**nbsp*</p>
After: <p>*plainspace*</p>
The 'Before' paragraph will look like a blank line. The 'After' will be completely invisible.
|
Consecutive non-breaking-spaces do not have a syntax?
The meaning of *nbsp* (non blanc spaces) is not clear to me. A *nbsp* must be syntactically somehow recognizable and different from the *plainspace* - or?
Quote:
Originally Posted by BetterRed
I think the pink blobs in the third shot probably indicate the presence of a 'special' space character. In codeview window, position the cursor immediately after a blob and the character details will be displayed at the right end of the status line.
|
Differences between books (excerpt) (Image with pink blobs)
Never mind which white or blanc spaces or plainspaces, the regular ones, the ones in some words or the double ones between the words: all called
SPACE (in status line).
EDIT Soon my head is also an empty space - yet it hums.
There
are NO-BREAK SPACES, colored yellow.
Code View (Yellow space)
NO-BREAK SPACE (Cursor behind yellow space)
Quote:
What does the fourth shot look like in Preview - it appears to have a space between almost every character - but if that's what you want I guess it's OK.
|
No! What I want is: One (normal) white space between words, none in the words.
without correction of double white spaces
with correction of double white spaces Looks exactly the same.
Quote:
To address the issue jackie-w raises you could try replacing the nbsp at line beginnings with a marker, do the global replace, and then replace the markers with nbsp.
|
??? Further explanations desired.