Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Automatic indentation

This is the behaviour I see :-). If I see other strange things, I will post them ASAP.

Miguel

nicholas.chen@xxxxxxx wrote:

On Nov 30, 2005, at 12:42 PM, nicholas.chen@xxxxxxx wrote:


!-------------------------------------------------------------------- --! ! Initialize_Problem ! ! ! !-------------------------------------------Miguel Hermanns-2005.11.28-!
subroutine Initialize_Problem(Initial_Time, Nodal_Values)
real, intent(out) :: Initial_Time
real, pointer     :: Nodal_Values(:)

The problem with this is that if I place myself at the beginning of the line starting with "subroutine" and press enter to add new empty lines, the line is indented with each enter I press.


Never mind. I think I understand what you mean now.

1) [cursor position] subroutine Initialize_Problem (Initial_Time, Nodal_Values) [hit enter]

2) [cursor position] subroutine Initialize_Problem (Initial_Time, Nodal_Values)[hit enter]

3) [cursor position] subroutine Initialize_Problem (Initial_Time, Nodal_Values)[hit enter]

It gets indented even when the cursor is NOT at the end of the line. In fact, as long as its sees the word "subroutine" on the line it will indent it. This definitely is a bug that needs fixing.

--Nicholas Chen
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



Back to the top