atom / one-dark-syntax

Atom One dark syntax theme
MIT License
443 stars 236 forks source link

Syntax color is mismatch for this PHP source (1.18.0) #97

Closed Daijobou closed 7 years ago

Daijobou commented 7 years ago

Atom : 1.18.0 Electron: 1.3.15 Chrome : 52.0.2743.82 Node : 6.5.0

See this mismatch syntax color in image grafik

In this version I remove only the empty comment line and its fine grafik

Here with empty comment line and I remove instead in SQL code "a" (red rectangle) grafik

What happen here? Here the code for testing `<?php // $select = DB::query('SELECT FROM table a INNER JOIN table2 b ON a.fieldA=b.fieldA WHERE a.fieldB>:var1 AND a.fieldC=:var2 AND a.fieldD IN (1,2) AND NOT EXISTS (SELECT FROM table3 c WHERE c.fieldA=:var3 AND c.fieldB=a.fieldC AND c.fieldC IN (1,2,6) LIMIT 1)') ->bind(':var1', $var1) ->bind(':var2', $var2) ->bind(':var3', $var3);

$value1 = 1; $value2 = 'text';`

P.S. That issue is with all themes installed in atom. I'm not sure where report this issue :)

timwangdev commented 7 years ago

https://github.com/atom/language-php/issues Here please.