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. Image for the cookie policy date

Crash if you collapse a code snipet

Hi,

To reproduce the bug, open your sample application "Syntax Coloring Demo"
Enter "for"
Press Tab
Press Control+M+M

The following exception is raised :

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à Syncfusion.Windows.Forms.Edit.StreamEditControl.GetTextDrawPath(CoordinatePoint startPoint, CoordinatePoint endPoint, Boolean bInfinityRightLimit)
à Syncfusion.Windows.Forms.Edit.StreamEditControl.GetTextDrawPath(CoordinatePoint startPoint, CoordinatePoint endPoint)
à Syncfusion.Windows.Forms.Edit.Utils.CodeSnippets.CodeSnippetsManager.MarkCodeSnippet(Graphics g)
à Syncfusion.Windows.Forms.Edit.StreamEditControl.DrawArea(Graphics g, RectangleF rect, Single xScroll, Single& iMaxLineWidthInArea, Boolean drawDynamicFormatting, Boolean drawIncompleteLines, Boolean bForPrint, Int32 autoScrollY, Single scale, Size margins)
à 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)

1 Reply

J. J.Nagarajan Syncfusion Team October 5, 2007 11:28 PM UTC

Hi Stephane,

Thank you for your interest in Syncfusion products. The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. We will update you once we get back from our development team.

Thank you for your patience.

Regards,
Nagaraj

Loader.
Live Chat Icon For mobile
Up arrow icon