Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 spell check accidentally off?

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Toni Schilling Posted - Mar 03 2010 : 09:20:13 AM
Hello folks!
Is this a bug or a feature?
Writing the following in my source ...

/*
* The class decclares template < int N > void foo().
* The class decclares template < int N> void foo().
* The class decclares template < int N > void foo().
*/
/*
* The class decclares template < int N > void foo().
* The class decclares template< int N > void foo().
* The class decclares template < int N > void foo().
*/


... VA shows spelling errors only in the 1st and 2nd line of the comment but _not_ in the 3rd.
Spell check seems to be off for the remaining comment when '>' or '<' appears directly after a word ("template<" or "N>").

Does anybody know ...?
Toni Schilling

(I'm using VA 10.5.1722.0 and VS2008)
9   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 04 2010 : 5:49:59 PM
case=29867 and case=41543 are fixed in build 1829
feline Posted - Mar 29 2010 : 5:07:22 PM
Agreed, my mistake. This also looks like it is covered by the new bug report:

case=41543
Habi Posted - Mar 16 2010 : 06:34:46 AM

This problem seems to be similar to what is discussed in that thread:
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=9126&SearchTerms=spell
feline Posted - Mar 15 2010 : 3:24:42 PM
AdrianS this looks like it is by design. With the dot on the line, the first like looks more like code. Having VA underline every "spelling error" in commented out code is going to get quite wearing quite fast.
Toni Schilling Posted - Mar 15 2010 : 05:51:52 AM
> Hopefully you don't have to many problem comment blocks like this ...

No problem! Sometimes I use VA spell checker for quick lookup.
To safe the time to change to http://leo or so, I type right in the source I've currently open
... and oops!
I thought somebody could be interested.
AdrianS Posted - Mar 13 2010 : 09:42:11 AM
I'm not sure if this is related. If I have the following in a CPP file, it underlines correctly.

/*
sdfjksdf

adshjkjh
*/

However, if the first line contains a period and following text, the underlines don't work, e.g.

/*
sdfjksdf.sdakj

adshjkjh
*/

Also, scrolling down slightly will make the underline on the second line appear.

VA 1814, VS2005 on Vista
feline Posted - Mar 12 2010 : 12:59:09 PM
I am seeing the same effect here. Thank you for the clear description.

case=40874

This looks like a separate problem, so I have put in a separate bug report for this. Hopefully you don't have to many problem comment blocks like this in your code base.
Toni Schilling Posted - Mar 11 2010 : 04:44:44 AM
Hi, seems the tokenizer/parser has some more problems.
Try this ...

OK:

/* public: void test_nr<N >(); using the current source line number.
*//*
* Implement your test case imediately after thhe macro.
*/


NOT OK:

/*
* public: void test_nr<N >(); using the current source line number.
*//*
* Implement your test case imediately after thhe macro.
*/


OK:

/*
* public: void test_nr<N >(); using the current source line number.
*/ /*
* Implement your test case imediately after thhe macro.
*/


OK:

/*
* public: void test_nr<N >(); using the current source line number.
*/ //
/* Implement your test case imediately after thhe macro.
*/


NOT OK:

/*
* public: void test_nr<N >(); using the current source line number.
*///
/* Implement your test case imediately after thhe macro.
*/
feline Posted - Mar 04 2010 : 10:15:44 AM
I am seeing the same effect here. Thank you for the clear description.

case=29867

Sometimes XML tags in comments can confuse our spell checker, so I am wondering if the same problem is taking place here. The first and second lines of the comment might be seen as opening and closing tags. Definitely a bug and not a feature.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000