Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Customized editor very slow, what's wrong
Customized editor very slow, what's wrong [message #300334] Tue, 07 March 2006 19:45
Eclipse UserFriend
Originally posted by: zhiyong.guo.gmail.com

hi all,
I asked this question in SWT group a couple of days ago, but nobody
answers.
I am trying to develop a customized text editor with syntax
highlighting and context proposals. It's very similar with the JavaEditor
example in the plug-ins example package, and it much simpler than the JDT
editor. So far everything is working very well, but only one issue on
performance:
When I edit a big source file (e.g. > 10000 lines), when I type new
code to the document, it's no problem when I was in the top or bottom part
of the editor, but it's very slow (e.g., obvious delays after you type in
a character) in the middle of the document. I could not figure out what's
going on, seems like it's trying to process the whole document from either
top down or bottom up, so that when I was in the middle, it's the worst
case. Could someone give me some suggestions on where I should start
to solve this problem?
Thanks a lot!
John
Previous Topic:Wizard not going away
Next Topic:popup help
Goto Forum:
  


Current Time: Thu Jul 25 22:24:15 GMT 2024

Powered by FUDForum. Page generated in 0.03096 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top