User forums > Nightly builds
The 11 october 2006 build is out.
mandrav:
--- Quote ---will this be committed ?
--- End quote ---
Allow me to check this issue first myself...
thomas:
If it works... feel free to commit it. :)
I don't know what the function in question is actually doing, but I stepped through it in the debugger until the assert() fired off (which is in the line after my patch).
The watches window shows that blockEnd is at the last character of the file, and blockStart points beyond the end of the file. That doesn't make sense to me, and it is what triggers the assert(), too. So, no idea whether it is a good solution for the actual problem, but it avoids the assert error ;)
mandrav:
I committed the fix.
--- Quote ---If it works... feel free to commit it.
--- End quote ---
Well, excuse me but I can't trust "it works" from you since you admittedly never use this functionality ;).
As a matter of fact, your patch fixed the assert but disabled code-completion (for these cases), lol.
So, the patch to your patch :P is this:
--- Code: ---- if(blockStart >= blockEnd)
- return false;
+ if (blockStart >= blockEnd)
+ blockStart = blockEnd;
--- End code ---
killerbot:
aaaaaaaaaaah : excellent teamwork :lol: :lol: :lol: :lol:
thomas:
--- Quote from: mandrav on October 13, 2006, 03:06:33 pm ---Well, excuse me but I can't trust "it works" from you since you admittedly never use this functionality ;).
--- End quote ---
As it happens, I did, in order to pinpoint the location of the problem. And yes, I immediately regretted enabling CC again. :)
Oh yes, and I did not say "it works". I said "I don't know what that function is supposed to do, but I got rid of the assert error" :D That's why I did not commit it right away, but left for someone else to test.
I really wish one could actually use code completion. Believe me, I would use it if it was possible. However, turning on code completion practically makes the IDE unusable. :lol:
It's not only about an occasional crash or an assertion, the annoying "freeze after save" and "freeze as you type" problems are back again, too. :(
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version