private static void Navigate(FunctionStackInfo function) { if (function == null) return; // The SU file uses line 1 indexed line and column, Atmel Studio uses 0 index Atmel.Studio.Framework.FileOpenHelper.OpenFile(function.FullPath, function.Line == 0 ? 0 : function.Line - 1, function.Column == 0 ? 0 : function.Column - 1); }
private static void Navigate(FunctionStackInfo function) { if (function == null) { return; } // The SU file uses line 1 indexed line and column, Atmel Studio uses 0 index Atmel.Studio.Framework.FileOpenHelper.OpenFile(function.FullPath, function.Line == 0 ? 0 : function.Line - 1, function.Column == 0 ? 0 : function.Column - 1); }