Microdown icon indicating copy to clipboard operation
Microdown copied to clipboard

end of line conventions....

Open Ducasse opened this issue 1 year ago • 1 comments

MicDocumentWriter >> usedNewLine
	"Return the encoded new line. Useful for tests."
	^ canvas stream usedNewLine
MicOutputStream >> usedNewLine
	^ self configuration newLine

So the convention is based on the configuration.

In particular it means that it is unclear how we can use

MicDocumentWriter >> crlfAsNewLine

	canvas crlfAsNewLine

Ducasse avatar Jul 22 '24 15:07 Ducasse

OK so this means that crlfAsNewLine is needed in case we want to really use crlf. I will update the comment.

Ducasse avatar Aug 05 '24 20:08 Ducasse