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

rajkej

  • Senior Community Member
  • Posts: 281
  • Hero Points: 12
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: 4743
  • Hero Points: 383
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: 281
  • Hero Points: 12
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: 288
  • Hero Points: 26
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: 288
  • Hero Points: 26
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: 281
  • Hero Points: 12
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: 281
  • Hero Points: 12
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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
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: 281
  • Hero Points: 12
Re: 23.0.2 with hotfix 2 Defs window issue on MAC
« Reply #8 on: June 25, 2019, 10:02:10 pm »
Thank you!