<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi there -<div><br></div><div>loving TextMate in general, but really want one feature I've had from several editors in the past (e.g. Scintilla, Eclipse):</div>
<div><br></div><div>For indenting/dedenting, commenting/uncommenting, duplicating, deleting with a selection, I'd like TextMate to work on the full lines rather than the exact selection.</div><div><br></div><div>So if you make a selection of several lines starting from the middle of one and finishing in the middle of one, and then do an operation like commenting</div><div><img alt="sthg.rb.png" title="sthg.rb.png" id="00696954-7e70-41dd-962d-6b92d4e2559f" height="198" width="506" apple-width="yes" apple-height="yes" src="cid:ii_12c1b8e777083551"></div><div><a href="http://img.skitch.com/20101105-c3t72pnsp98jp71d6xfkxjwfnq.png">http://img.skitch.com/20101105-c3t72pnsp98jp71d6xfkxjwfnq.png</a></div><div><br></div><div>Then the result wouldn't be as currently (that the comment delimiter is placed in the middle of the line, generating syntactically incorrect code)</div><div><img id="255cd736-f361-4589-8165-795fb65f0e63" height="198" width="506" apple-width="yes" apple-height="yes" src="cid:FCFEA394-E85E-449D-ACEC-D82615973FD6@config"></div><div><a href="http://img.skitch.com/20101105-r4u82qkcxr4germwqkcjgp9wa1.png">http://img.skitch.com/20101105-r4u82qkcxr4germwqkcjgp9wa1.png</a></div><div><br></div><div>But instead comment as if I had selected the whole lines.</div><div><img id="2b18b313-9952-4421-bc45-ab5c20887531" height="198" width="506" apple-width="yes" apple-height="yes" src="cid:F5A1C7E1-B06B-480C-ADC4-D5D3838B7298@config"></div><div><a href="http://img.skitch.com/20101105-djej4cyhrkkckp2jjq1jeaeu38.png">http://img.skitch.com/20101105-djej4cyhrkkckp2jjq1jeaeu38.png</a></div><div><br></div><div>I'd like indent/dedent, duplicate and delete to work similarly. </div><div><br></div><div>Is there a way to make this happen? Can I "decorate' those commands somehow to select the relevant lines first... Or would I just have to rewrite those particular features (for each bundle I want them to happen in? )</div><div><br></div><div>(Hoping the screenshots I took make it into the mail).</div><div><br></div><div>thanks in advance</div><div><br></div><div>Tim</div><div><br></div><div><a href="http://red56.co.uk" target="_blank">http://red56.co.uk</a><br><a href="http://tim.teamportfolios.com/" target="_blank">http://tim.teamportfolios.com/</a><br>
<a href="mailto:tim@red56.co.uk" target="_blank">tim@red56.co.uk</a><br><br>
</div>
</body></html>