atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
180 stars 4 forks source link

Color highlighting breaks sometime #1691

Open ujvaljoshi opened 9 years ago

ujvaljoshi commented 9 years ago

Using 3.1.2.

When color highlighting gets brocken, delete key seems to stop responding.

screenshot 2014-12-28 11 29 02

ujvaljoshi commented 9 years ago

I have line spacing of 6. You can also notice that its not maintained when its get broken.

atg commented 9 years ago

Oh really? That's interesting

It's almost impossible to fix these kinds of bugs without being able to reproduce it

ujvaljoshi commented 9 years ago

I agree. its annoying that it happens rarely. I also cant figure out what caused it. But i noticed quite often that last sentences of file dont get color highlighted. you can see it last two 'end' in the screenshot. This thing happen quite often. But once I modify anything in the syntax it start working fine.

ujvaljoshi commented 9 years ago

See the last line screenshot 2014-12-29 12 40 43

atg commented 9 years ago

My bet is that this is some kind of race condition. I've been over the highlighting invalidation code countless times and I can't see anything wrong with it.

ujvaljoshi commented 9 years ago

I think this thing doesnt happen often. And it seems right now only happening with me. I think it might be I installed a custom theme from outside. I think you can close this topic. Open it if more people having same problem.

kevteljeur commented 9 years ago

I get this quite a bit too, the syntax highlighting breaks (that happens quite a bit) and then sometimes the delete key doesn't work (just in particular areas). I work with JavaScript mostly.

I'm using a variant of the 'Tomorrow' theme.