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.
Unfortunately, activation email could not send to your email. Please try again.

Crash if you collapse a code snipet

Thread ID:

Created:

Updated:

Platform:

Replies:

68837 Oct 3,2007 03:03 AM Oct 5,2007 07:28 PM Windows Forms 1
loading
Tags: EditControl
Stéphane BLANC
Asked On October 3, 2007 03:03 AM

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)

J.Nagarajan [Syncfusion]
Replied On October 5, 2007 07:28 PM

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

CONFIRMATION

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.

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.

;