This is strange. It still does not work for me. I even restarted textmate after adding the indentation rule but it does not work.
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.
There is already some preferences regarding comments indentation under "Comments - Punchcard" but that too does not seem to have any effect.
praveen
On Thu, Jun 12, 2008 at 12:37 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 7 Jun 2008, at 09:11, Praveen C wrote:
In punchcard fortran, comments begin on first column with "c" or "C".
Textmate does not indent them correctly. If I cut and paste some existing comments, these get indented. I tried using
unIndentedLinePattern = '^\s*[cC]\s*.*$';
in "Indentation Rules" but it does not work. Can somebody help me with this ?
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.
Perhaps you can include an example of what breaks for you?
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate