Paul,
I opened another .f90 file and it did highlight the IF, THEN and END IF and also a DO END DO loop and matching brackets.
However the short code example below does not highlight the IF block.
It also sometimes does not highlight the DO block, although I can't confirm this response sequence.
It does highlight the matching brackets. (uninitialised variables warning on Compile (Ctrl+F7))
It is a nonsense code, that was testing statement functions. Not sure if this is a problem here.
I have two files open, with the file below as tab 1.
I am selecting Release Win32.
subroutine extsub
implicit none
integer ij(5), kk
!
call intsub(ij, kk)
print *,kk
return
contains
subroutine intsub(i, j)
implicit none
integer, intent(in) :: i(5)
integer, intent(out) :: j
integer i1,i2,i3,i4,i5,mean,k
real a0, a1, a2, a3, a4, aa, x
mean(i1,i2,i3,i4,i5) = (i1+i2+i3+i4+i5)/5 ! statement function
if ( i(1) == 0 ) then ! if statement
j = 0
do k = 1, size(i)
j = j + i(k)
end do
j = j / size(i)
else
j = mean(i(1),i(2),i(3),i(4),i(5))
end if
aa = ( ( (a4 *x &
+ a3)*x &
+ a2)*x &
+ a1)*x &
+ a0
return
end subroutine intsub
end subroutine extsub
! program test
! call extsub
! end program test
Can you reproduce my response ?