On 12/28/08 11:07 PM, "dda" <headspin@gmail.com> wrote:
> However, on a display level, crlf is a 'doze thing, and means ONE line
> break. So technically, there shouldn't be the need for two line
> breaks. That's the reason the EditField converts crlf to cr on the
> Mac.
Yes, I understand why that would be the preferred behavior in most cases. In
mine, it's getting in the way.
OK, here's the deal: I'm creating a RegEx development app, one whose
features go beyond what I've found on other Mac apps. As such, a user may
have a legitimate reason to write a RegEx to, for example, replace all cr
with crlf, or vice-versa, and I want my app to faithfully display the sample
text and results. What's more, since I want the user to test for anomalies
too, so they may want to mix cr and lf and crlf in their sample text just to
make sure that their RegEx pattern gets it right, and I wouldn't want my app
to stand in their way.
So, now that you know the background and my "deeper motives" (:->), am I
doing it the only way possible? Based on the discussion so far, I think I
am, but I'm always open to ideas.
__________________________________________________________________________
Kem Tekinay (212) 201-1465
MacTechnologies Consulting Fax (914) 242-7294
http://www.mactechnologies.com Pager (917) 491-5546
To join the MacTechnologies Consulting mailing list, send an e-mail to:
mactechnologies_consulting-subscribe@yahoogroups.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|