<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br><br>Hi Adrian,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I think having the closing """ on a line by itself activates the indentation stripping feature. So if it was to change as you suggest then h<span style="background-color: rgba(255, 255, 255, 0);">ow would you turn off indentation stripping?</span></div><div id="AppleMailSignature"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div id="AppleMailSignature"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div><br>On Apr 11, 2017, at 11:08 AM, Adrian Zubarev via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br><br></div><blockquote type="cite"><div><p>This would be consistent and less confusing to learn.</p>
<ul>
<li>Can’t we make the indent algorithm work like this instead?</li>
</ul>
<pre><code>let string = """\↵
····<tag>↵
······content text↵
····</tag>""" // Indent starts with the first non space character
// result
<tag>↵
··content text↵
</tag>
</code></pre>
<p>The line where the closing delimiter is trims all space chapters and the indent for the whole multi-line string is starting at the point where the first non-space chapters is in that line.</p>
<p>What do you think?</p></div></blockquote></body></html>