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: Other Features Wishlist and/or Bugs » Very first impressions and.... [FEATURE REQUESTS]
Re: Very first impressions and.... [FEATURE REQUESTS] [message #11808 is a reply to message #11800] Wed, 26 September 2007 14:30 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
mdelfede wrote on Wed, 26 September 2007 04:17

luzr wrote on Wed, 26 September 2007 00:24



Ah, I see. You plan to store parse context for all lines.


Not exactly, I'd store the parse context for all definitions, quite less amount of data.

Quote:


OK, that would work to some degree... Would be pretty unreliable for fast typers, but yes, not entirely insane.



Well, if you find a programmer that is so fast typing to overcome the speed of a well done background parser, please send him to me, I've got some job for him Very Happy



He does not need to type that much fast to get false result. And the full parsing can take up to seconds.

Quote:


I understand this, but then you MUST do it in real time.
From my point of view, all you need is a data structure storing the function-classes-macro-ecc definitions along with line numbers where they're defined.



Not enough. You need to know in what function you are too and to have all local variables info. In fact, knowing in what expression and perhaps even statement you are is quite important too.

Quote:


You keep 2 such structures, and swap them when the background task is done, an so forth.



Hehe, sounds as seductive as all bad ideas in programming:)

Quote:


That's all. Then, all what you need to do in real time is to do a fast lookup in that data structure to find what you're typing.



Well, that is not enough. The more important is to find the context WHERE YOU ARE. In what method, what locals are currently defined.

Quote:


Quite simple and quick job, if data structure is well indexed.... much faster than to call the parser for each keypress and wait for him do complete the job.
BTW, the 'speed feeling' of users would be higher of an order of magnitude than full real-time approaches.



Well, do you feel that it is slow now?! What I am up to will be as fast...

Quote:


p.s. The ctrl+ doesn't work for me.... do I miss something ?



Ctrl+, - i mean key with comma... I mean, hold Ctrl and press comma key Wink

Mirek

[Updated on: Wed, 26 September 2007 14:31]

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
Read Message
Read Message
Previous Topic: Escaped backslash in string confuse editor [bug]
Next Topic: Strange behaviour of the query option of TheIDE
Goto Forum:
  


Current Time: Mon Aug 04 13:39:15 CEST 2025

Total time taken to generate the page: 0.08278 seconds