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 #11793 is a reply to message #11790] Wed, 26 September 2007 00:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
mdelfede wrote on Tue, 25 September 2007 17:59

luzr wrote on Tue, 25 September 2007 23:01



OK, stop right there.

How does background scan know where is your cursor?




He could know, but it isn't necessary.
He could know where the cursor is when you start the background scan... no problem. But for what ? When you store the parse context



Ah, I see. You plan to store parse context for all lines. OK, that would work to some degree... Would be pretty unreliable for fast typers, but yes, not entirely insane.

Just for the record, current (and future) parser does not work this way. In fact, a pretty bad trick is used - the file is "ended" at the position of cursor and parser fails on "unexpected end of file" error, which is in fact expect behaviour Smile Then the context is simply read from the parser. As simple as that:)

Mirek
 
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 15:54:47 CEST 2025

Total time taken to generate the page: 0.07154 seconds