Author Topic: Problem using references tab, with workaround  (Read 1459 times)

slickUser99

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Problem using references tab, with workaround
« on: August 01, 2018, 05:40:17 PM »
SlickEdit Pro 2017 (v22.0.2.1 64-bit)

OS: Linux
OS Version: Red Hat Enterprise Linux Server release 6.6 (Santiago)
Kernel Level: 2.6.32-504.el6.x86_64
Build Version: #1 SMP Tue Sep 16 01:56:35 EDT 2014
Processor Architecture: x86_64

I'm having a problem using the References window.  I'm working with a C project, and when I try typing in the name of a macro that is defined in multiple places, e.g.:
#ifdef LOG_TO_FILE
#define LOG_MSG(...)    LogToFile(...)
#else
#define LOG_MSG(...)    LogToScreen(...)
#endif

it first pops up a "Select Symbol" window and switch to the Preview tab so that I can select which symbol I want to find references for.  But when I select one and hit OK, rather than switching to the References tab and listing the references, it remains in the Preview tab and seems to show old Preview results from prior to my attempt to search references.

Interestingly, if I do the same thing, but when the "Select Symbol" window pops up I choose Cancel rather than OK, it closes and then immediately re-opens the same "Select Symbol" window.  If hit hit Cancel again, it closes it for good, but if I hit OK this time, it finally shows the references as expected.

I don't have any issues if I use Ctrl+/ to find the same symbols.