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.

slow update for CurrentLine in big file

Thread ID:

Created:

Updated:

Platform:

Replies:

54103 Dec 29,2006 02:07 PM Jan 3,2007 09:31 AM Windows Forms 1
loading
Tags: EditControl
Roman
Asked On December 29, 2006 02:07 PM

I am using essential edit to show progress of the processed lines in the big file. File is very big. About 500,000 lines, we have file up to 100MB


The objective is to show which line is currently being processed
I use: edit.CurrentLine to set the editor to the line being processed
And then: edit.Goto to position this line at the top

Line= object.lineProcessing
edit.CurrentLine =line
edit.Goto(line, 4)

I also use highlighting
edit.SetBackColor( line, true, colorFormat)

It starts up ok, but after a while gets very slow. It looks line edit using absolute position and every time stats from line 1 to get down to the current line.

What other methods can I use to quickly position display on the line being processed?

Tnank you

Roman

Administrator [Syncfusion]
Replied On January 3, 2007 09:31 AM

Hi Roman,

Your Direct-Trac incident 30793 in this regard has been updated. Please refer to my response there and let me know if you need any other information.

Thanks for your patience.

Regards,
Ebenezer.P

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.

;