Hi,
When using the "Comment/Uncomment selection" an exception is raised :
System.ArgumentException: Line has invalid index
Nom du paramètre : line
à Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.InsertLexemLineIntoList(ILexemLine line, Int32 index)
à Syncfusion.Windows.Forms.Edit.Implementation.Parser.RenderableLexemParser.GetLineByY(Single y, Int32 iMaxLines)
à Syncfusion.Windows.Forms.Edit.StreamEditControl.OnPaint(PaintEventArgs e)
à System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
à System.Windows.Forms.Control.WmPaint(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à Syncfusion.Windows.Forms.Edit.ScrollControl.WndProc(Message& msg)
à Syncfusion.Windows.Forms.Edit.IntelliScrollableControl.WndProc(Message& m)
à Syncfusion.Windows.Forms.Edit.StreamEditControl.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
To reproduce it, use the Syncfusion sample "Syntax Coloring Demo"
and play with "Ctrl+A and Comment selection"
(try to to it several time)
Regards
Stéphane
Crash Comment.zip