<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Allan, thank-you for looking at this<div class=""><br class=""></div><div class="">link to my latest .as file</div><div class=""><br class=""></div><div class=""><a href="https://we.tl/t-PDGIGWcQN6" class="">https://we.tl/t-PDGIGWcQN6</a></div><div class=""><br class=""><div>I tried to add the .<span style="background-color: rgb(247, 247, 247); font-family: sans-serif;" class="">tm_properties file to the ~ folder, but the indents are still operating.</span></div><div><font face="sans-serif" class=""><span style="background-color: rgb(247, 247, 247);" class=""><br class=""></span></font><blockquote type="cite" class=""><div class="">On 16 May 2020, at 03:18, Allan Odgaard <<a href="mailto:mailinglist@textmate.org" class="">mailinglist@textmate.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" class="">
<div class="">
<div style="font-family:sans-serif" class=""><div style="white-space:normal" class=""><p dir="auto" class="">On 12 May 2020, at 21:37, Simon Lucas wrote:</p>
</div>
<div style="white-space:normal" class=""><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px" class=""><p dir="auto" class="">Why is it different, or rather how can I fix it, please?</p>
</blockquote></div>
<div style="white-space:normal" class=""><p dir="auto" class="">The change is that TextMate 1.x only used the rules after you press return (to estimate indent of the new line), where 2.x also does it when you make an edit to a line, that makes the rules think it should now be indented differently.</p><p dir="auto" class="">Can you provide a sample AS3 file in your style? Then we should be able to update the rules to support this.</p><p dir="auto" class="">As a temporary workaround, in <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">~/.tm_properties</code> you can add this section:</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" class=""><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7" class="">[ source.actionscript ]
disableIndentCorrections = true
</code></pre><p dir="auto" class="">This will disable indent corrections for AS3 files.</p><p dir="auto" class="">You can also set it to <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">emptyLines</code> instead of <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">true</code>. Then it is only when you type on an empty line, that it disables the corrections.</p>
</div>
</div>
</div>
<br class="">_______________________________________________<br class="">TextMate mailing list<br class=""><a href="mailto:TextMate@lists.macromates.com" class="">TextMate@lists.macromates.com</a><br class="">https://lists.macromates.com/listinfo/textmate</div></blockquote></div><br class=""></div></body></html>