Hi,
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]<?php
echo ‘hello’;[/code]
…results in no change to the Plain Text syntax selection, but the colors are properly applied.
[code]<?php
class MyClass {
}[/code]
Syntax = HTML
[code]<?php
class MyClass {
}
?>[/code]
Syntax = Plain Text
[code]<?php
function poop() { return null; }[/code]
Syntax = Plain Text
[code]<?php
namespace \myns;
use \Exception;
try {
throw new Exception('ಠ_ಠ');
}
catch (Exception $e) {
throw $e;
}[/code]
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!