Sublime Forum

ST2 crashed when reading fortran comments

#1

Hello, I am using following fortran.tmbundle for modern fortran syntax

github.com/textmate/fortran.tmbundle

However, when I type the code from this link(gist.github.com/4206528), ST2 Crashed(v2.0.1, Windows 7 64bit).

Important things of that code are

  1. Comment(!) with leading spaces.
  2. With two more lines with comments.

I think there is some problem with parsing xml of ! as tmbundle syntax highlighting on ST2. it is a some kind of bug, isn’t it?

0 Likes

#2

[quote=“appleparan”]Hello, I am using following fortran.tmbundle for modern fortran syntax

github.com/textmate/fortran.tmbundle

However, when I type the code from this link(gist.github.com/4206528), ST2 Crashed(v2.0.1, Windows 7 64bit).

Important things of that code are

  1. Comment(!) with leading spaces.
  2. With two more lines with comments.

I think there is some problem with parsing xml of ! as tmbundle syntax highlighting on ST2. it is a some kind of bug, isn’t it?[/quote]

Hi ! Up to this one.

I am facing the very same problem here. Two consecutive comment lines makes sublime freeze… =/
It would be nice if some developer take a minute to look at it…

and yes, there are still many FORTRAN programers around the world, mainly in physics, numerical analysis, fluid dynamics, etc… So why not building in some FORTRAN in the next version right?! =P

]'s

0 Likes

#3

This is fixed in Sublime Text 3, build 3011

0 Likes