I am getting Parser Exception Line Numbers wrongly.
'use strict';
var mainScript = {
whileApplicationRunTimer: 1000
whileApplicationRun: function () {
},
onApplicationUnload: function () {
}
};
, is missing in Line 3 but Exception gives the line no as Line 4 Column 1.
My C# code
try
{
var ctx = new IronJS.Hosting.CSharp.Context();
ctx.Execute(richTextBox1.Text);
}
catch (Exception ex)
{
}
Please let me know is their any issue with my implementation.
Hi,
I am getting Parser Exception Line Numbers wrongly.
'use strict'; var mainScript = { whileApplicationRunTimer: 1000 whileApplicationRun: function () { }, onApplicationUnload: function () { } };
, is missing in Line 3 but Exception gives the line no as Line 4 Column 1. My C# code try { var ctx = new IronJS.Hosting.CSharp.Context(); ctx.Execute(richTextBox1.Text); } catch (Exception ex) { }
Please let me know is their any issue with my implementation.