ST2 asked me to update a few days ago, which I have done. Now I no longer see the character encoding or line termination type in the status bar. I swear this was there before the update (or am I crazy and it wasn't?), but now all I see is line and column numbers on the left hand side.
Also, when I start a new document and paste in some PHP the syntax highlighting is correct but the selected syntax in the View->Syntax menu is wrong. It will either remain Plain Text or become HTML (??), for example:
- Code: Select all
<?php
echo 'hello';
...results in no change to the Plain Text syntax selection, but the colors are properly applied.
- Code: Select all
<?php
class MyClass {
}
Syntax = HTML
- Code: Select all
<?php
class MyClass {
}
?>
Syntax = Plain Text
- Code: Select all
<?php
function poop() { return null; }
Syntax = Plain Text
- Code: Select all
<?php
namespace \myns;
use \Exception;
try {
throw new Exception('ಠ_ಠ');
}
catch (Exception $e) {
throw $e;
}
Syntax = Plain Text
Actually, it almost seems to depend on the source of the paste? Even though the syntax highlighting always works properly, I can never get it to identify the syntax type as PHP.
Thanks!
