Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 HTML and link tags
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Dec 05 2010 :  3:43:53 PM  Show Profile  Reply with Quote
I am using the following in a HTML (.htm) file:
<link rel="stylesheet" type="text/css" href="hfrhlp.css">


stylesheet and css are underlined with the red line which indicates that something is wrong ...

I only get a Refactoring not available on symbol. The CSS file is available and works fine.

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 06 2010 :  3:34:25 PM  Show Profile  Reply with Quote
Which Visual Studio and Visual Assist are you using? It seems that the underlines are caused by the spell checker. I got the following using VA1837 and VS2010:

Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Dec 07 2010 :  07:24:05 AM  Show Profile  Reply with Quote
Using VS2005 and VS2008 with VA 1837.

"action menu":



Also "normal" Context menu looks different:



When starting spell check (through menu or toolbar): Absolutely nothing happens.

See also: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=9886#38605

PS: it makes no sense to put <link> tag within <body>; should be within <head> but same behavior: Spell checker not works

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java

Edited by - hfrmobile on Dec 07 2010 07:35:40 AM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 08 2010 :  4:09:07 PM  Show Profile  Reply with Quote
I am seeing the same effect here. It only works with VS2010.

case=53080
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Dec 09 2010 :  03:47:37 AM  Show Profile  Reply with Quote
Thank you!
Looking forward to see a fix for VS2008 and VS2005 ;-)

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 24 2011 :  4:08:04 PM  Show Profile  Reply with Quote
case=53080 is fixed in build 1840

Whole Tomato Software, Inc.
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Feb 14 2011 :  1:40:09 PM  Show Profile  Reply with Quote
Spell checker was improved in build 1840 (using 1842 at the moment) but it has still some strange/funny bugs:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head>
    <title>This is not recognized with build 1842 uoiuzoiuzoiu</title>
    <link rel="stylesheet" href="Test.css" />
</head>

<body>
	<h1>Spellllll checker tests for VAX sdfasfd</h1>
	<p>Thissss is a spell-checker test and build 1842 works here.</p>
	<ul>
		<li>Thissss is a testtttt</li>
		<li>This is a test</li>
	</ul>
</body>

</html>


This are just examples. I assume that for h2, ol etc. tags there will be the same issues:

title: Last word not checked (but first!)
h1: first and last word not checked
p: first word not checked (but last!)
li: first and last word not checked

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java

Edited by - hfrmobile on Feb 14 2011 1:44:51 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Feb 15 2011 :  1:15:07 PM  Show Profile  Reply with Quote
I am confused. Which IDE are you using? What file type / extension is this sample code in?

I cannot get VA to underline any of these spelling errors in VS2005, VS2008 or VS2010, with VA 1842, using a .html file. The earlier screen shots in this thread were about actual strings, wrapped in double quotes, and I am seeing underlining for spelling errors in strings.

zen is the art of being at one with the two'ness
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Feb 16 2011 :  10:07:59 AM  Show Profile  Reply with Quote
Sorry for the confusion. As visible at the screen-shots I am using HTML file (extension .htm - tested also with .html extension with same behavior).

Tested using Visual Studio 2005.

You're correct about underlining. Only text within quotes will be underlined. Text between tags are not underlined even there are typos.

Generally: It is nice that VA spell checker checks the text within quotes in HTML files too even often this is not needed or often not makes sense (e.g. Workaround for this is to add words to the user dictionary e.g. "stylesheet").

For HTML files it makes more sense to spell check text within tags. VAX already does this but, like I described in my last post, the first word and last words "may" not be checked which seems to be bug:

<p>Thiiiis is the first woooord and this the laaaast</p>

VAX will find only the "woooord" typo.

See screen-shot:


Maybe this explains the issue in detail ;-)

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Feb 16 2011 :  9:35:21 PM  Show Profile  Reply with Quote
The screen shot is very clear, thank you for this. I am getting a different effect here, but I am not sure why. Can you please export your VA and IDE settings and send them to me, along with your test htm file:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import the settings and use the same file here and see if I can reproduce the problem.

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.

zen is the art of being at one with the two'ness
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Feb 19 2011 :  5:29:29 PM  Show Profile  Reply with Quote
Just sent you the files.

Fyi:
Visual Studio 2005
ReSharper 5.1
VAX build 1842

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Feb 21 2011 :  7:10:23 PM  Show Profile  Reply with Quote
I have the files, thank you for these. I have just realised / spotted the silly mistake I made with my test file, which is why I was seeing different results to you. The sample code you posted, which I used, does not have a spelling error where VA will pick it up, but the screen shot does have this extra spelling error. So obvious when you see it

I have put in a bug report for this:

case=55409

zen is the art of being at one with the two'ness
Go to Top of Page

hfrmobile
Ketchup Master

Austria
79 Posts

Posted - Feb 22 2011 :  5:57:23 PM  Show Profile  Reply with Quote
Ups ... ;-)

Thank you for reporting the bug.

Visual Assist X for C/C++ and ReSharper, FxCop and StyleCop for C#, Eclipse Ganymede for Java
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 17 2011 :  11:52:31 PM  Show Profile  Reply with Quote
case=55409 is fixed in build 1845

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000