"Steffen Märcker"<
[hidden email]> wrote:
> I've noticed that the Workspace encodes a line end with "cr lf" on
> Windows. Reopening the image on Mac OS lets the Workspace shows this as
> two seperate lines. Is there a way to get the Workspace behaviour
> consistent over the different platforms?
There doesn't seem to be an easy way to get that. You could change WorkspacePage>>readText, to replace the:
self filenameWithEncoding contentsOfEntireFile
with something like
| stream |
stream := self filenameWithEncoding readStream.
[ stream lineEndAuto; contents ] ensure: [ stream close ]
HTH,
Martin
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc