From: Sean P. <sea...@ma...> - 2005-12-29 06:44:04
|
The parsers are all line ending agnostic. For the Begin app - I'd assume (I haven't looked at that part of the code) it converts into platform line endings on the way in - and probably leaves them that way. On Windows this would convert /n to /r/n - which may be what you are seeing? I _really_ dislike any iostream libraries which try to auto-convert line endings - Often these will just do things like convert /r to /n... which would double your line endings. We'll look into it. I did fix some code related to line endings awhile ago - are you running the 1.0.11 release? Sean On Dec 28, 2005, at 7:03 PM, Thomas Witt wrote: > > Hi, > > what's the rationale for Begin to deal with the different plattform > specific line endings? In my understanding iostreams handle this > transparently by default. Whatever the rationale is the current > windows logic seems broken as it doubles the newlines on save. > > Regards > > Thomas > > -- > Thomas Witt > wi...@ac... > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel |