Ejemplo n.º 1
0
        public Dictionary <string, Action <dynamic> > GetClientHandlers()
        {
            var handlers = new Dictionary <string, Action <dynamic> >();

            handlers.Add("goto", (msg) => {
                _launcher.LaunchEditor(msg.file.ToString(), (int)msg.line, (int)msg.column);
            });

            return(handlers);
        }
Ejemplo n.º 2
0
 private void runFeedback_GoToReference(object sender, UI.GoToReferenceArgs e)
 {
     _launcher.LaunchEditor(e.Position.File, e.Position.LineNumber, e.Position.Column);
 }