Author Topic: minor (visual) issue with 'References TB'  (Read 4250 times)

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
minor (visual) issue with 'References TB'
« on: December 13, 2007, 03:52:22 PM »
@SlickTeam:
Seems that:
tagrefs.e - next_prev_ref_in_tree() [line 1557]: v12.0.3 r24
Code: [Select]
   // HS2-ADD: refresh is needed in case the tree is scrolled
   _TreeRefresh();
   return index;
solves a minor visual issue with the References TB (works for me at least).

HS2

Edit: The prev. selected tree node is not visually deselected when the tree is scrolled.
« Last Edit: December 13, 2007, 03:57:43 PM by hs2 »

evanratt

  • Senior Community Member
  • Posts: 300
  • Hero Points: 23
Re: minor (visual) issue with 'References TB'
« Reply #1 on: December 13, 2007, 06:38:34 PM »
Thanks hs2! I've noticed that before and it's irked me, but I never remembered it when I came on the forums.

evanratt

  • Senior Community Member
  • Posts: 300
  • Hero Points: 23
Re: minor (visual) issue with 'References TB'
« Reply #2 on: June 23, 2008, 11:44:13 PM »
@SlickTeam:
This still hasn't been updated in the 13.0.1 release. Could you add this change to the official release/hotfixes? It would be one less patch to make when upgrading versions...

Thanks!
Evan

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: minor (visual) issue with 'References TB'
« Reply #3 on: June 24, 2008, 08:59:00 PM »
Is this refresh only required when you get the "no more references" message box.  I ask because the calling function does a _TreeRefresh(), except for the "no more references" case.  It shouldn't be necessary to do it in next_prev_ref_in_tree().

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: minor (visual) issue with 'References TB'
« Reply #4 on: June 24, 2008, 09:13:56 PM »
Hi Dennis, please try:
- find refs of a symbol with a large number of occurences so that the list/tree in the refs tb is larger than the (docked) window (scrollbar visible).
- do find-next until the tree is scrolled (edit win focused)
HS2

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: minor (visual) issue with 'References TB'
« Reply #5 on: June 24, 2008, 09:56:24 PM »
@HS2:  Thanks.  The bugs are always in the features I keep turned off. ;-]  In this case it was due to the preview in the References tool window.