Author Topic: slick-c stack after failed replace  (Read 1068 times)

at5dapa1

  • Senior Community Member
  • Posts: 180
  • Hero Points: 18
slick-c stack after failed replace
« on: October 04, 2018, 09:51:51 pm »
Did a beautify in a Ansi-C file (first selected C/C++ document mode). Then tried to do a replace all "\n\r" with "\n" and it just didn't work: the Replace and Replace All looked like enabled but not responding. Then tried to close SE and got this stack:
Code: [Select]
Invalid object handle
tbfind.ex 37418 tbfind:_get_search_range(0)   p_window_id: 159   p_object: OI_FORM   p_name: _tbfind_form
tbfind.ex 14424 _tbfind_form.on_destroy()   p_window_id: 159   p_object: OI_FORM   p_name: _tbfind_form
twevent.ex 2258 _tw_exiting_editor()   p_window_id: 497   p_object: OI_EDITOR   p_name:
restore.ex 8831 save_window_config(0,0,1,<empty>,0,0,0)   p_window_id: 5   p_object: OI_FORM   p_name:
window.ex 6066 window:_safe_exit(1,1)   p_window_id: 5   p_object: OI_FORM   p_name:
window.ex 5472 safe_exit(1,1)   p_window_id: 366   p_object: OI_IMAGE   p_name:
window.ex 10008 _on_exit(1)   p_window_id: 366   p_object: OI_IMAGE   p_name:
And it's just doing this endlessly whenever I try to close it: have to kill it from task manager...

at5dapa1

  • Senior Community Member
  • Posts: 180
  • Hero Points: 18
Re: slick-c stack after failed replace
« Reply #1 on: October 04, 2018, 10:02:37 pm »
Strange, I got in a situation where Replace is not working anymore even after SE restart.
I'll post my config to a case and post the number here...

at5dapa1

  • Senior Community Member
  • Posts: 180
  • Hero Points: 18
Re: slick-c stack after failed replace
« Reply #2 on: October 04, 2018, 10:09:58 pm »
If helps I attached My SlickEdit Config.7z to "CAS-71128-SNKS"

at5dapa1

  • Senior Community Member
  • Posts: 180
  • Hero Points: 18
Re: slick-c stack after failed replace
« Reply #3 on: October 04, 2018, 10:21:52 pm »
Extra scenario:
1. Open SE.
2. Create new unamed file.
3. Press (Ctrl+R, maybe you have another shortcut) to call gui-replace.
4. Press Esc, so that focus goes back to the buffer.
5. With the mouse select Find, Find in Files, or other tab in the Find and Replace tool window: the tab changes but the content remains stuck, see picture.

at5dapa1

  • Senior Community Member
  • Posts: 180
  • Hero Points: 18
Re: slick-c stack after failed replace
« Reply #4 on: October 04, 2018, 11:32:29 pm »
All issues disappeared after loading a backup config, hope you can see why the "bad" one got corrupted.

SlickEdit Support

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 307
  • Hero Points: 26
Re: slick-c stack after failed replace
« Reply #5 on: October 05, 2018, 01:02:52 pm »
Got your config.

Thanks,
SlickEdit Support