View previous topic :: View next topic |
Author |
Message |
hyperspeed
Joined: 28 Sep 2006 Posts: 16
|
Posted: Tue Dec 19, 2006 4:20 am Post subject: Paste slow |
|
|
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 |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Wed Dec 20, 2006 2:31 am Post subject: |
|
|
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 |
|
|
hyperspeed
Joined: 28 Sep 2006 Posts: 16
|
Posted: Wed Dec 20, 2006 6:34 am Post subject: Um..you are right but.. |
|
|
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 |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Wed Dec 20, 2006 11:56 am Post subject: |
|
|
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 |
|
|
|