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
 Bug: highlighting references
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alexo
Ketchup Master

Canada
81 Posts

Posted - Feb 17 2009 :  5:07:46 PM  Show Profile  Reply with Quote
Setup:
- WinXP SP3
- Mouse wheel set to scroll "one page" at a time (important?)
- VS2005 SP2
- VAX 1715
- Options | Advanced | Refactoring - all options checked

Test case:

void f()
{
    int idx;

    // insert about 20 blank lines here

    idx = 5;
}


1) Scroll the code so that the "idx = 5" line is near the top of the screen.

2) Put the cursor on the "idx" variable.
It is correctly highlighted:



3) Move the mouse wheel up 1 "click".
Notice that the variable definition is not highlighted:



Update:
This also happens if I drag the vertical scrollbar to scroll the window.

Edited by - Alexo on Feb 17 2009 5:08:24 PM

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Feb 18 2009 :  11:21:06 AM  Show Profile  Reply with Quote
We are making some changes to how highlighting works for Find References in the next build, which should make the highlighting more reliable. Hopefully this will help with this problem.

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

uraura00
New Member

2 Posts

Posted - Feb 26 2009 :  08:47:11 AM  Show Profile  Reply with Quote
Hint while waiting for the next build:
...
4) click somewhere on an empty place in the editor window and the variable definition will be highlighted.

Or, use the find references menu manually, this one works correctly. (the automatic one doesn't yet)
Go to Top of Page

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 05 2009 :  08:19:07 AM  Show Profile  Reply with Quote
One more bug with highlighting of the symbol under cursor: when the symbol is highlighted, and you reposition horizontal scroll bar from its leftmost position, than highlighting disappears(that's the bug). When you move the horizontal scrollbar back, the highlighting is back too.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 05 2009 :  11:53:37 AM  Show Profile  Reply with Quote
Which IDE and version of VA are you using?
Which programming language are you working in?

Highlighting remains visible for me when I scroll the editor sideways, using VS2005 and VA 1715.

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

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 07 2009 :  1:01:15 PM  Show Profile  Reply with Quote
I use VS2005, VA1715, C#. Also I have ReSharper4 installed and enabled.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 09 2009 :  11:09:12 AM  Show Profile  Reply with Quote
I am not seeing any problem in C#. Do you still have this problem if you disable ReSharper 4?

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

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 10 2009 :  3:41:16 PM  Show Profile  Reply with Quote
When I disable ReSharper4, the problem is same.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 10 2009 :  7:08:33 PM  Show Profile  Reply with Quote
Are you seeing this in every file?

I have just installed ReSharper 4.1, the current version on their website. Using a default install along side VA 1715 I am not seeing any problems.

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

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 18 2009 :  07:14:50 AM  Show Profile  Reply with Quote
feline, I have vs6, vs8 and vs9 installed.

Vs6 doesn't have this error.

Vs8 and vs9 do have at least for every file of these types: .cpp, .h, .cs.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 18 2009 :  11:07:55 AM  Show Profile  Reply with Quote
I am surprised this effect shows up in C++, ReSharper does not seem to be active in C++ for me.

Is there an option to export your ReSharper settings? I don't really know how to use this program. I am wondering if your settings are a factor.

Is there some specific setting in ReSharper that I have to change in order to trigger this?

How far sideways do you have to scroll the editor to trigger this problem?

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

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 19 2009 :  07:45:36 AM  Show Profile  Reply with Quote
I am not sure that this problem is caused by ReSharper, because as I wrote before, the problem persists even when I disable ReSharper and its startup, and restart the VS.

I do not see how to export ReSharper settings, but mine are very close to default.

The highlighting disappears when you move the scroll bar to any position different from the leftmost, even the smallest shift triggers the problem.

If this problem is very rare, I don't insist on urgent fix, because it is not so critical to me. Hopefully it will be fixed in new versions somehow?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 19 2009 :  10:05:26 AM  Show Profile  Reply with Quote
A fix may be difficult if we cannot reproduce the problem.

Can you please export your VA and IDE settings and send them to me:

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

I can then import them 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

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 20 2009 :  09:59:33 AM  Show Profile  Reply with Quote
Files were submitted to the form from user Sergey, email: yes***@gmail.com
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 20 2009 :  4:12:13 PM  Show Profile  Reply with Quote
I have the settings files, thank you for these. I am still unable to reproduce the problem, even after multiple IDE restarts.

The closest I have been able to get is that a highlighted symbol stops being highlighted when most of it has been scrolled off the left hand edge of the screen, by scrolling sideways.

Can you reproduce this in a new, default solution?

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

Esone
Tomato Guru

Russia
115 Posts

Posted - Mar 23 2009 :  11:19:10 AM  Show Profile  Reply with Quote
> Can you reproduce this in a new, default solution?
Yes, when I create default Win32 Console application, the problem is exactly same as originally described by me.

> The closest I have been able to get is that a highlighted symbol stops being highlighted when most of it has been scrolled off the left hand edge of the screen, by scrolling sideways.
Though this is not exactly same situation as mine, maybe they are of same nature. And fixing your case will implicitly fix my problem.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 25 2009 :  10:21:15 AM  Show Profile  Reply with Quote
The highlighting problem I am seeing in VA 1715 has been fixed in the next build, which we are hoping to post in the next few days.

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

Esone
Tomato Guru

Russia
115 Posts

Posted - Apr 09 2009 :  10:01:47 AM  Show Profile  Reply with Quote
I confirm, that this problem is fixed in VA 1522.
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