Can you explain why you're manually editing the linebreaks?
TextWrangler has smarts that it works out the linebreaks for a
document when you open it and always respects them after that (when
creating new lines and saving the document).
The current linebreak type is shown at the bottom of the open
document: e.g. 'Unix (LF)'
If you want to change from the current linebreak type to another just
adjust the type in the pop-up menu (per previous paragraph) and save
the document.
Cheers
> I have a single string of data procured from a database. Each
> significant piece of data is enclosed in parentheses. I want to set a
> line-break after each right (closing) parenthesis for readability. The
> command I use in the search-replace window is (with grep turned on)
> that I search for this:
>
> \)
>
> but replace it with
>
> \)\n
>
> I'm not clear on your comment below. How should I change my replace
> string?
You're doing fine, now you need to tell TextWrangler what linebreaks
to save the document with, using the pop-up menu at the bottom of the
window.
TextWrangler will then translate its internal \n breaks to the ones
specified when you hit save.
Cheers