Exemplo n.º 1
0
        public void EhView_GotoCompilerError(string message)
        {
            try
            {
                Match  match = _compilerErrorRegex.Match(message);
                string sline = match.Result("${line}");
                string scol  = match.Result("${column}");
                int    line  = int.Parse(sline);
                int    col   = int.Parse(scol);

                _view.SetScriptCursorLocation(line, col);
            }
            catch (Exception)
            {
            }
        }