<div style="font-family: Helvetica; font-size: 13px; "><div>In a personal bundle, create a new 'Settings' in the bundle editor. Add </div><div><br></div><div> { disableIndentCorrections = '1'; }</div><div><br></div><div>to the settings and save it. Set the scope selector if you would like it</div><div>to only apply to a certain scope, or leave it blank to allow it to affect</div><div>all scopes.</div></div>
<div><div><br></div><div>-- </div><div>Brandon Fryslie</div><div>http://www.MateWiki.com - A TextMate 2 Wiki</div><div><br></div></div>
<p style="color: #A0A0A8;">On Tuesday, February 28, 2012 at 10:01 AM, PowerPod wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div><br></div><div>I am experiencing something similar here and would be more than happy to work</div><div>through a solution for other readers.</div><div><br></div><div>This is my .haml snippet:</div><div><br></div><div>- if result_type_field</div><div> = render '/sub_forms/result_type_field', :f => f, :record => record,</div><div>:field_name => field_name</div><div>- else</div><div> %td{:class => :form_field, :colspan => 1, :style => "text-align: center"}</div><div> .label.top </div><div> = same_value_button(record_name, field_name)</div><div><br></div><div>if I delete a character at the end of the 2nd line, let's say the 'e' in</div><div>'field_name' it removes the indent - very annoying.</div><div><br></div><div>Let me know how I can help resolve this.</div><div><br></div><div>Thanks,</div><div><br></div><div>Ed.</div><div><br></div><div><br></div><div>Allan Odgaard-4 wrote:</div><blockquote type="cite"><div><div><br></div><div>On 17/02/2012, at 23.40, River Brandon wrote:</div><div><br></div><blockquote type="cite"><div><div>yes, that describes the problem. the new line doesn't always need extra</div><div>indent, though, and since it's classic sass syntax (indent-based) i don't</div><div>know if there's a way to have it detected. i'd be happy with it just</div><div>respecting my indent (or out-dent) when starting a new line.</div></div></blockquote><div><br></div><div>The thread I linked to¹ describes how to disable these indent corrects “as</div><div>you type”.</div><div><br></div><div>As for adjusting the patterns, is there any indication on line n that line</div><div>n+1 should be indented? If so, TextMate can be taught about it.</div><div><br></div><div><br></div><div>¹ <a href="http://lists.macromates.com/textmate/2012-January/034042.html">http://lists.macromates.com/textmate/2012-January/034042.html</a></div><div><br></div><div>_______________________________________________</div><div>textmate mailing list</div><div><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a></div><div><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></div></div></blockquote><div><br></div><div>-- </div><div>View this message in context: <a href="http://old.nabble.com/sass-indenting-tp33343212p33408135.html">http://old.nabble.com/sass-indenting-tp33343212p33408135.html</a></div><div>Sent from the textmate users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.</div><div><br></div><div><br></div><div>_______________________________________________</div><div>textmate mailing list</div><div><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a></div><div><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>