This is strange. It still does not work for me. I even restarted textmate<br>
after adding the indentation rule but it does not work.<br><br>I dont have any specific example. It fails all the time. All I do is select and copy a comment line; if I paste it somewhere else, it is still indented.<br><br>
There is already some preferences regarding comments indentation under<br>
"Comments - Punchcard" but that too does not seem to have any effect.<br><br>praveen<br><br><div class="gmail_quote">On Thu, Jun 12, 2008 at 12:37 AM, Allan Odgaard <<a href="mailto:mailinglist@textmate.org">mailinglist@textmate.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On 7 Jun 2008, at 09:11, Praveen C wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In punchcard fortran, comments begin on first column with "c" or "C".<br>
Textmate does not indent them correctly. If I cut and paste some existing<br>
comments, these get indented. I tried using<br>
<br>
unIndentedLinePattern = '^\s*[cC]\s*.*$';<br>
<br>
in "Indentation Rules" but it does not work. Can somebody help me with this<br>
?<br>
</blockquote>
<br></div>
I added your line to the Fortran indentation rules, then copied a commented line and pasted it where it would prior to adding your pattern, be indented, and it was no longer indented.<br>
<br>
Perhaps you can include an example of what breaks for you?<br>
<br>
<br>
______________________________________________________________________<br>
For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
(threading gets destroyed and the universe will collapse if you don't)<br>
<a href="http://lists.macromates.com/mailman/listinfo/textmate" target="_blank">http://lists.macromates.com/mailman/listinfo/textmate</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://pc.freeshell.org">http://pc.freeshell.org</a>