<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 1 Nov 2016, at 17:08, René Schwaiger wrote:</p>
<p dir="auto"></p></div>
<div style="white-space:pre-wrap"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div dir="auto">[…] Maybe I am doing something wrong here?
</div></blockquote></div>
<div style="white-space:normal">
<p dir="auto">This is definitely a regression and should be fixed in v2.0-beta.12.29 (hold option down when selecting Check for Updates from the TextMate menu).</p>
<p dir="auto">As for doing a scope specific setting, what you can do is use .tm_properties and have something like:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">[ source.abnf ]
lineEndings = "\r\n"
</code></pre>
<p dir="auto">I assume you would prefer the scope setting so that you can include it in the bundle.</p>
<p dir="auto">I think it would be better to “rethink” the settings system a little, I’d like to consolidate scope settings and .tm_properties as the former is less friendly for the user but more powerful. This is a long-term goal.</p>
<p dir="auto">If you think it is appropriate to default all <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">source.abnf</code> files to use <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">\r\n</code> then I would accept a PR for this addition to <a href="https://github.com/textmate/textmate/blob/master/Applications/TextMate/resources/Default.tmProperties" style="color:#3983C4">https://github.com/textmate/textmate/blob/master/Applications/TextMate/resources/Default.tmProperties</a> — as you can see in this file, we already have a few “defaults” for various languages (mainly about soft tabs and tab size).</p>
</div>
</div>
</body>
</html>