Author Topic: 23.0.2 with hotfix 2 Defs window issue on MAC  (Read 2602 times)

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
23.0.2 with hotfix 2 Defs window issue on MAC
« on: June 21, 2019, 10:15:36 PM »
I'm running 23.0.2 on MAC with hotfix 2 although this error occurred without any hotfixes as well.

I use the defs window in C++ mode to show me what method my cursor is currently in. I have several cases now where my file has many methods and the Defs window will show that my cursor is in the previous method in the list while my cursor is within a comment (C++ '//' or C '/*..*/'). If I move my cursor to a line of code outside of the comment then the Defs window updates properly to show the actual method it is inside of. I have not yet been able to produce this with a smaller, sample file, I can reproduce it with several of my source code files however.

For instance, say I have three class methods in my .cpp file

MethodA()
MethodB()
MethodC()

If my cursor is within MethodC() but inside of a comment "/* ... */" then Defs will highlight the MethodB().

Any suggestions for helping track this down?


SlickEdit Pro 2018 (v23.0.2.0)

Serial number:
Licensed number of users: Single user
License file: /Library/Application Support/SlickEdit/23/slickedit.lic

Build Date: June 13, 2019
Emulation: CUA

OS: macOS
OS Version: 10.14.5
Processor Architecture: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz 64 bit (8 cores)

Memory: 98% Load, 16190MB/16384MB Virtual
Shell Information: /Applications/SlickEditPro2018.app/Contents/MacOS/secsh -i
Screen Size: 2560 x 1440

Project Type: Cpp
Language: .cpp (C/C++)
Encoding: Automatic

Installation Directory: /Applications/SlickEditPro2018.app/Contents/
Configuration Directory: /Users/x/Library/Application Support/SlickEdit/23.0.2/
Migrated from: /Users/x/Library/Application Support/SlickEdit/23.0.1/
Spill File: /tmp/$slk.x.80984

Hotfixes:
/Users/x/Library/Application Support/SlickEdit/23.0.2/hotfixes/hotfix_se2302_2_cumulative.zip (Revision: 2)



Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #1 on: June 22, 2019, 01:24:00 AM »
Can you post a sample file?

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #2 on: June 22, 2019, 05:35:03 PM »
I am unable to produce with an example file. Can you provide me a link to upload some code without making it public?

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #3 on: June 23, 2019, 08:29:08 PM »
PM sent.

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 384
  • Hero Points: 29
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #4 on: June 24, 2019, 03:00:13 PM »
Let us know when you upload.

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #5 on: June 24, 2019, 07:11:14 PM »
File uploaded.

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #6 on: June 24, 2019, 07:12:44 PM »
Make a C++/Other project. Add the three source files. Go to the xxTx.cpp file line 1066 and it will show the proper routine in the defs file. Then go to line 1067 inside the comment and it shows the previous routine.

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #7 on: June 25, 2019, 09:56:53 PM »
This will be fixed in the next hot fix for 23.0.2.

rajkej

  • Senior Community Member
  • Posts: 344
  • Hero Points: 14
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #8 on: June 25, 2019, 10:02:10 PM »
Thank you!