failure to detect repeated word

For topics about current BETA or future releases, including feature requests.
User avatar
roedygr
Rank V - Professional
Posts: 367
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada

failure to detect repeated word

Post by roedygr »

I you repeat a word and do an F7 spell check it will detect it and complain.
However, if the repetitions are separated with a \n, it will miss it.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: failure to detect repeated word

Post by Albert Wiersch »

I think this is by design.

I tried this in Microsoft Word and it didn't complain either.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
User avatar
roedygr
Rank V - Professional
Posts: 367
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada

Re: failure to detect repeated word

Post by roedygr »

I consider it an error.
A repeated word separated by <br> <p> </p> <div> etc should not be considered a repeated word.
but \n in HTML is incidental and easily shifts based on tidy. It syntactically is supposed to be treated identically to space.

The proper analogy of \n in HTML is a reflow soft-return in MS Word, not a line or pargraph end.
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: failure to detect repeated word

Post by Albert Wiersch »

Hi Roedy,

I agree that in HTML a repeated word separated by a newline character is often an issue. Unfortunately the editor spell checker is not very context sensitive so it doesn't treat it as an issue.

However, if you validate the document, then by default there should be a repeated word warning message that does detect the repeated word when separated by a newline character.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial