Problem with binary files

Hi,

When I open a binary file(*.zip) with a size over 1 Mb in the EditControl, the control loads the file extreamly slow and scrolling is also very slow.

When I select text an exception occures:
Additional information: Index was out of range. Must be non-negative and less than the size of the collection. ParamName: startIndex
bei System.String.ToCharArray(Int32 startIndex, Int32 length)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.IO.StreamsWrapper.GetParsePoint(Int32 line, Int32 column, IParsePoint& leftNearest, IParsePoint& rightNearest, Boolean create)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.IO.StreamsWrapper.GetParsePoint(Int32 Line, Int32 Column, Boolean Create)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetParsePoint(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetCoordinatePoint(Int32 iLine, Int32 iColumn, Boolean bTrackPosition)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetCoordinatePoint(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.Implementation.Parser.LexemParser.GetNearestParsePointLeft(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.GetNearestParsePointLeft(Int32 iLine, Int32 iColumn)\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.StartSelection()\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.OnMouseDown(MouseEventArgs e)\r\n bei System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)\r\n bei System.Windows.Forms.Control.WndProc(Message& m)\r\n bei Syncfusion.Windows.Forms.Edit.ScrollControl.WndProc(Message& msg)\r\n bei Syncfusion.Windows.Forms.Edit.IntelliScrollableControl.WndProc(Message& m)\r\n bei Syncfusion.Windows.Forms.Edit.StreamEditControl.WndProc(Message& m)\r\n bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)\r\n bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)\r\n bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)\r\n bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n bei System.Windows.Forms.Application.Run(ApplicationContext context)\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n bei SyncfusionEditTest.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81."

I use Syncfusion Essential Studio 4.2.0.37. A text file works fine. What can I do to increase Speed of the EditControl when binary files are displayed?

Greets, Michael


2 Replies

AD Administrator Syncfusion Team August 10, 2006 02:42 PM UTC

Hi Michael,

Our apologies for the delayed response. These issues have been fixed internally. However when I was testing for these issues using the latest assemblies I was able to see a problem. I have notified the development team regarding the new problem and have logged a bug report Defect #2526 on this, and will try our very best to address the same at the earliest. You could track the progress of this bug fix at this link below :

Defect #2526 - System.Exception is thrown when binary file is loaded in EditControl. 


Thanks for your patience.

Regards,
Manohari.R.


MI Michael August 18, 2006 04:11 AM UTC

Hi Manohari.R,

Thanks for your help!

Regards,
Michael

Loader.
Up arrow icon