Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

end of line conventions.... #798

Open
Ducasse opened this issue Jul 22, 2024 · 1 comment
Open

end of line conventions.... #798

Ducasse opened this issue Jul 22, 2024 · 1 comment
Assignees
Labels

Comments

@Ducasse
Copy link
Contributor

Ducasse commented Jul 22, 2024

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
Copy link
Contributor Author

Ducasse commented Aug 5, 2024

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

@Ducasse Ducasse self-assigned this Aug 5, 2024
@Ducasse Ducasse added the ForStef label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant