T O P I C R E V I E W |
beylevem |
Posted - May 04 2007 : 3:06:17 PM I get spelling errors on things that cannot possibly be spelling errors, like the this pointer. Here is an example of a local variable declaration generating a spelling error. (I also get a lot of incorrect spelling errors on class member functions - it's as if VA "forgets" things)
bool FeederBlock::DoCompCalcs() {
Stream* own = dynamic_cast<Stream*>(owner());
own is marked as a spelling error
VA_X.dll file version 10.3.1555.0 built 2007.04.26 VAOpsWin.dll version 1.3.2.0 VATE.dll version 1.0.5.4 MSDev.exe version 6.0.9782.1 Devshl.dll version 6.0.9782.0 Devedit.pkg version 6.0.9782.0 Font: Bitstream Vera Sans Mono 13(Pixels) Comctl32.dll version 5.82.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 2 processors
|
6 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - May 11 2007 : 08:25:33 AM *sigh* I saw something similar here during my testing. Briefly the variables were underlined on the line you mentioned, but then the underlining disappeared, never to reappear.
I have just had another go at this, editing the file a bit, adding and removing invalid variables, undoing my edits with Alt-Backspace, compiling, but these variables are not being underlined as mistyped.
Any clues you can pin down, from encountering this problem as you work, would be gratefully received. |
beylevem |
Posted - May 10 2007 : 1:15:45 PM It's a Heisenbug - trying to observe the state of the system disturbs the system.
I loaded the project, did what I described previously, and nothing happened. So I made some other changes, and then backed the changes out using Ctrl-Z. At some point, the spelling errors were back (even with the file reverted to the saved state). I closed the IDE, started it up again, hit enter as I described, and the spelling errors were back.
I'd also really like an ironclad way of reproducing the bug - but it does seem very path dependent. As I stated previously - it's as if VA at some point forgets or gets confused. The strange part is that if I click on the symbol which is underlined, VA can show me the definition in the status bar. |
feline |
Posted - May 10 2007 : 12:20:22 PM I have the files, thank you for this. So far I cannot reproduce the problem. I tried adding the blank line, as yo described, but nothing happened, so I added a pair of invalid variables, as shown:
The code compiles, but does not run for me, it fails on an assert, so I am not missing any include files.
How easily can you reproduce this problem? I am wondering if there is something I need to do that I have not done. |
feline |
Posted - May 10 2007 : 08:44:19 AM Please submit the files via the form:
http://www.wholetomato.com/support/contact.asp
including this thread ID or URL in the description, so we can match it up. |
beylevem |
Posted - May 10 2007 : 08:23:20 AM I've managed to reproduce the behavior on a smaller project. Could you provide me with an upload address?
|
feline |
Posted - May 07 2007 : 10:16:38 AM Can you try changing the colour for:
VA Options -> Advanced -> Correction -> underline mistyped symbols using
just to make sure that this is VA, and that VA thinks this is a mistyped symbol.
If you create a new cpp file, no need to save it, and copy / paste just this bit of code into it do you still see this underlining? I am wondering if something further up the same file is confusing VA. |
|
|