Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » A little proposal on code analysis
A little proposal on code analysis [message #21041] Tue, 28 April 2009 10:40 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 916
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

It looks like code analysis (or some kind of processing) is made each time key is pressed in the code editor. This makes TheIDE lagging on slower machines (even on my /rather old/ AMD 2GHz) when I type quickly enough. It looks like this: when I type a number of symbols quickly, they are not shown. They are drawn (all at once) after a period of about 0.5 seconds after last symbol was typed. This makes little discomfort as you can`t immediately observe text typed, and one have to wait for this lag each time he types anything.
I suppose this lag is caused by TheIDE calls code processing every time user changes the text. My proposal is to call code processing after symbols were drawn in the window and also if I type symbols one by one without stop, the code processing should be called after some timeout to minimize it`s call count.

[Updated on: Tue, 28 April 2009 10:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Parser error sensitivity
Next Topic: Code assist default selection
Goto Forum:
  


Current Time: Tue Dec 10 18:01:48 CET 2019

Total time taken to generate the page: 0.01011 seconds