EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Paste slow

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
hyperspeed



Joined: 28 Sep 2006
Posts: 16

PostPosted: Tue Dec 19, 2006 4:20 am    Post subject: Paste slow Reply with quote

Hi
Syntax Editor paste operation is so slow even there is not assigned syntax anlayzer.
If assign syntax analyzer and paste about 1000 lines text...
waiting time will be 5~10 secs.
I use now Syntax Editor v2.25 but v2.27 demo application also.
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Wed Dec 20, 2006 2:31 am    Post subject: Reply with quote

I can not repeate this situation. I've pasted about 5 Mb text and this was without any delay.
Please, send me text sample that is inserted slowly.

There is only one possible situation when pasted text contains many TAB characters and editor's "Tab mode" <> "Use tab character". In this case tab characters in pasted text are replaced with spaces, that may take some time (esspecially if in this text many tab characters).

Michael.
Back to top
View user's profile Send private message Send e-mail
hyperspeed



Joined: 28 Sep 2006
Posts: 16

PostPosted: Wed Dec 20, 2006 6:34 am    Post subject: Um..you are right but.. Reply with quote

First Thanks...

We use Insert spaces mode...

As your speech, when I changed "Use Tab Character" mode.

paste operation more fastened. but still little slow.

Your situation (about 5Mb text pasted) set syntax analyzer?

I'll send my sql text sample to your email addresss.

Watch this please...

thanks and merry christmas.
Back to top
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Wed Dec 20, 2006 11:56 am    Post subject: Reply with quote

After inserting big text block caret is moved to the end of the inserted text.
When analyzer is turned on, editor analyzes all inserted text before painting, otherwise highlighting may be incorrect.
The same (a little delay) may be when you immediatly after loading big text press Ctrl+End. Painting requires all text before to be analyzed for correct ranges highlighting.

Michael.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group