SqueakByExample-english icon indicating copy to clipboard operation
SqueakByExample-english copied to clipboard

Code generation indents multiline strings

Open LinqLover opened this issue 4 years ago • 0 comments

Given the following SmalltalkInTex syntax:

\begin{ExecuteSmalltalkScript}
Transcript showln: 'foo
ba'
\end{ExecuteSmalltalkScript}

The compiled builder method will look like the following

foo
	<generated>
	
	Transcript showln: 'foo
	ba'

However, the expected code rather should be:

foo
	<generated>
	
	Transcript showln: 'foo
ba'

How can we avoid indenting lines that begin with a string in a simple convenient way?

LinqLover avatar Dec 05 '19 09:12 LinqLover