Wow, that's interesting. No idea what you did. Perhaps a Find & Replace? However, I don't know how you could easily do a Replace All, replacing all spaces with more spaces, without making at least a couple concurrent mistakes -- which might be the case if it was late at night.
Anyway, for #2: what is supposed to be between the words? Is it normal text, with one space between each word? And, as the other responses have asked, is the new whitespace really just a bunch of spaces, as opposed to spaces and/or tabs and/or newlines? For that matter, what kind of document is it? Normal text or HTML or what? If all of the additional crud is spaces, then fix it with a find & replace. Work on a duplicate in case we manage to make it worse. :-) find: " +" (a space followed by a plus) replace: " " (a single space) or find "[ \t]" (space & \t) if you need to get rid of both spaces and tabs, but of course that would kill indentation for sure. ... Google Kreme's response seems cheeky, but he's right. If you haven't closed the document since last night, undo! keep undoing until you get past that point. If it ever happens again, leap for the undo key! I've run multiple find & replaces by mistake; undoing repeatedly does solve the problem! As for solving it after the fact: I think find & replace, coupled with the Format command (at least, for HTML) will become your friends. For #4: Being a web developer, I'm rendering the code in my head better and better every day. I don't see multiple spaces as ugly; they all render as a single space. Beauty is in the overly-geeky eye of the beholder. On 7/10/07, Joe Walters <[EMAIL PROTECTED]> wrote:
Folks, Last night I was typing in BBEdit and I managed to fumble finger some key press that caused my entire file to have various numbers of spaces inserted between words. Naturally, I hadn't saved for about 20 minutes worth of typing. Four things: 1. What did I do? 2. How can I undo it? 3. Can I set a preference to disallow it? 4. What use is such a god-awful looking document? Kind Regards, -- Joe Walters: To know, and not to do, is not yet to know -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
-- --> CC <--- -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
