We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Comment/Uncomment selection crash

Thread ID:





68749 Oct 1,2007 09:00 AM UTC Oct 3,2007 11:52 AM UTC WinForms 1
Tags: EditControl
Stéphane BLANC
Asked On October 1, 2007 09:00 AM UTC


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)



Crash Comment.zip

Jeba S [Syncfusion]
Replied On October 3, 2007 11:52 AM UTC

Hi Stephane,

Thank you for posting query to us.

Please refer the Incident 37874 to follow this query.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon