Home Download Buy Blog Forum Support

C# (C-Sharp) using block not correctly highlighted

C# (C-Sharp) using block not correctly highlighted

Postby richardcox13 on Sat Oct 06, 2012 3:15 pm

In a C# using block, eg.

Code: Select all
static void Main(string[] args) {
  using (var x = new FileStream("Foo.txt", FileMode.Open, FileAccess.Read)) {
    var b = x.ReadByte();

using the default (as installed) C# language file (...\Sublime Text 2\Packages\C#\C#.tmLanguage) the using keyword is not highlighted as such. It should be treated as the "lock" in a lock statement block.

ST-csharp-Keywords.png (7.5 KiB) Viewed 523 times
Posts: 3
Joined: Sat Oct 06, 2012 2:49 pm
Location: UK

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 15 guests