Author Topic: Slick stack on symbol lookup (gui-push-tag)  (Read 322 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2158
  • Hero Points: 191
  • Text
Slick stack on symbol lookup (gui-push-tag)
« on: July 21, 2020, 10:44:39 pm »
stack[2020-07-21T12:57:23Z] Slick-C STACK TRACE ******************************
stack[2020-07-21T12:57:23Z] Created on 7/21/2020 at 12:57:23 (690 ms)
stack[2020-07-21T12:57:23Z] SlickEdit Pro Version 25.0.0.1 Copyright 1988-2020 SlickEdit Inc.
stack[2020-07-21T12:57:23Z] Edit module and type "st -f <offset>" to get the
stack[2020-07-21T12:57:23Z] run-time error position
stack[2020-07-21T12:57:23Z]
stack[2020-07-21T12:57:23Z] error code=-3045
stack[2020-07-21T12:57:23Z] Control ctl-lookin referenced but does not exist
stack[2020-07-21T12:57:23Z]
stack[2020-07-21T12:57:23Z]tagfind.ex 3957 _tbfind_symbol_form.on_got_focus()   p_window_id: 788   p_object: OI_EDITOR   p_name:
stack[2020-07-21T12:57:23Z]toolwindow.ex 3748 tw_show_tabgroup(_tbfind_symbol_form,1)   p_window_id: 788   p_object: OI_EDITOR   p_name:
stack[2020-07-21T12:57:23Z]toolwindow.ex 9991 activate_tool_window(_tbfind_symbol_form,1,ctl_search_for,1)   p_window_id: 788   p_object: OI_EDITOR   p_name:
stack[2020-07-21T12:57:23Z]tbcmds.ex 727 activate_find_symbol()   p_window_id: 788   p_object: OI_EDITOR   p_name:
stack[2020-07-21T12:57:23Z]pushtag.ex 5981 gui_push_tag()   p_window_id: 788   p_object: OI_EDITOR   p_name:

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3212
  • Hero Points: 459
Re: Slick stack on symbol lookup (gui-push-tag)
« Reply #1 on: July 22, 2020, 01:32:01 am »
Good catch, will fix for the next beta tomorrow morning.

at5dapa1

  • Senior Community Member
  • Posts: 213
  • Hero Points: 19
Re: Slick stack on symbol lookup (gui-push-tag)
« Reply #2 on: July 22, 2020, 05:38:20 pm »
I also got it!  :)
Temp fix in \SLICKE~3\core\250~1.0\macros\tagfind.e, lines 838-855:
Code: [Select]
void _tbfind_symbol_form.on_got_focus()
{
   //p_active_form.ctl_lookin.updateLookinOptions();
   wid := _tbGetActiveFindSymbolForm();
   if (wid != 0) {
      wid.ctl_lookin.updateLookinOptions();
   }
}

void _tbfind_symbol_form.on_change(int reason)
{
   if (reason == CHANGE_AUTO_SHOW) {
      //p_active_form.ctl_lookin.updateLookinOptions();
      wid := _tbGetActiveFindSymbolForm();
      if (wid != 0) {
         wid.ctl_lookin.updateLookinOptions();
      }
   }
}