
Hi,
I have been getting this exception a couple of time now, but I can't reproduce it on demand, so making a demo app showing it is probably out of the question, I'm afraid. However, here is the stacktrace:
" at bf.b(Int32 A_0, Byte A_1)\r\n at ActiproSoftware.SyntaxEditor.DisplayLineCollection.a(Int32 A_0, Int32 A_1)\r\n at ActiproSoftware.SyntaxEditor.DisplayLineCollection.c()\r\n at ActiproSoftware.SyntaxEditor.SyntaxEditor.a(cn A_0)\r\n at ActiproSoftware.SyntaxEditor.SyntaxEditor.a(Document A_0)\r\n at ActiproSoftware.SyntaxEditor.SyntaxEditor.set_Document(Document value)\r\n at TSW.WebCoder.MainForm.DocumentTabStrip_SelectionChanged(Object sender, TabStripPageEventArgs e) in MainForm.cs:line 3098\r\n......
and a couple of lines more, that relates to my GUI. It should be irrelevant. The line that seems to be causing the problem is as simple as this:
Editor.Document = activeDoc.SyntaxDocument;
I simply assign a stored copy of a Document instance to Editor which is an instance of SyntaxEditor.
I hope this helps you, and that the bug can be fixed.
I have been getting this exception a couple of time now, but I can't reproduce it on demand, so making a demo app showing it is probably out of the question, I'm afraid. However, here is the stacktrace:
" at bf.b(Int32 A_0, Byte A_1)\r\n at ActiproSoftware.SyntaxEditor.DisplayLineCollection.a(Int32 A_0, Int32 A_1)\r\n at ActiproSoftware.SyntaxEditor.DisplayLineCollection.c()\r\n at ActiproSoftware.SyntaxEditor.SyntaxEditor.a(cn A_0)\r\n at ActiproSoftware.SyntaxEditor.SyntaxEditor.a(Document A_0)\r\n at ActiproSoftware.SyntaxEditor.SyntaxEditor.set_Document(Document value)\r\n at TSW.WebCoder.MainForm.DocumentTabStrip_SelectionChanged(Object sender, TabStripPageEventArgs e) in MainForm.cs:line 3098\r\n......
and a couple of lines more, that relates to my GUI. It should be irrelevant. The line that seems to be causing the problem is as simple as this:
Editor.Document = activeDoc.SyntaxDocument;
I simply assign a stored copy of a Document instance to Editor which is an instance of SyntaxEditor.
I hope this helps you, and that the bug can be fixed.