Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Bug: highlighting references

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
Alexo Posted - Feb 17 2009 : 5:07:46 PM
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.
17   L A T E S T    R E P L I E S    (Newest First)
Esone Posted - Apr 09 2009 : 10:01:47 AM
I confirm, that this problem is fixed in VA 1522.
feline Posted - Mar 25 2009 : 10:21:15 AM
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.
Esone Posted - Mar 23 2009 : 11:19:10 AM
> 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.
feline Posted - Mar 20 2009 : 4:12:13 PM
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?
Esone Posted - Mar 20 2009 : 09:59:33 AM
Files were submitted to the form from user Sergey, email: yes***@gmail.com
feline Posted - Mar 19 2009 : 10:05:26 AM
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.
Esone Posted - Mar 19 2009 : 07:45:36 AM
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?
feline Posted - Mar 18 2009 : 11:07:55 AM
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?
Esone Posted - Mar 18 2009 : 07:14:50 AM
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.

feline Posted - Mar 10 2009 : 7:08:33 PM
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.
Esone Posted - Mar 10 2009 : 3:41:16 PM
When I disable ReSharper4, the problem is same.
feline Posted - Mar 09 2009 : 11:09:12 AM
I am not seeing any problem in C#. Do you still have this problem if you disable ReSharper 4?
Esone Posted - Mar 07 2009 : 1:01:15 PM
I use VS2005, VA1715, C#. Also I have ReSharper4 installed and enabled.
feline Posted - Mar 05 2009 : 11:53:37 AM
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.
Esone Posted - Mar 05 2009 : 08:19:07 AM
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.
uraura00 Posted - Feb 26 2009 : 08:47:11 AM
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)
feline Posted - Feb 18 2009 : 11:21:06 AM
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.

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