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
close icon

Crash if you try to indent a collapsed text

Hi,

if you try to indent a selection with collapsed text, the Edit control raises the following exception :

System.InvalidOperationException: La collection a été modifiée ; l'opération d'énumération peut ne pas s'exécuter.
à System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
à Syncfusion.Windows.Forms.Edit.StreamEditControl.AddTabsToSelection(Boolean bForce)
à Syncfusion.Windows.Forms.Edit.StreamEditControl.MenuHandlerIndentSelection(Object sender, EventArgs e)
à Syncfusion.Windows.Forms.StandardMenusProvider.ContextMenuCommandHandler(Object sender, EventArgs args)
à System.Windows.Forms.MenuItem.OnClick(EventArgs e)
à System.Windows.Forms.MenuItem.MenuItemData.Execute()
à System.Windows.Forms.Command.Invoke()
à System.Windows.Forms.Command.DispatchID(Int32 id)
à System.Windows.Forms.Control.WmCommand(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, open your sample "Syntax Coloring Demo"

- Collapse all
- Select {...} under 'public class CSSParser'
- Indent selection

Regards

Stéphane

1 Reply

JS Jeba S Syncfusion Team October 3, 2007 11:54 AM UTC

Hi Stephane,

Thank you for posting query to us.

Please refer the Incident 37881 to follow this query.

Regards,
Jeba.

Loader.
Live Chat Icon For mobile
Up arrow icon