SlickEdit Community

Archived Read Only Forums => SlickEdit 2018 v23 Beta Discussion => Topic started by: at5dapa1 on October 04, 2018, 09:51:51 pm

Title: slick-c stack after failed replace
Post by: at5dapa1 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...
Title: Re: slick-c stack after failed replace
Post by: at5dapa1 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...
Title: Re: slick-c stack after failed replace
Post by: at5dapa1 on October 04, 2018, 10:09:58 pm
If helps I attached My SlickEdit Config.7z to "CAS-71128-SNKS"
Title: Re: slick-c stack after failed replace
Post by: at5dapa1 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.
Title: Re: slick-c stack after failed replace
Post by: at5dapa1 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.
Title: Re: slick-c stack after failed replace
Post by: SlickEdit Support on October 05, 2018, 01:02:52 pm
Got your config.

Thanks,
SlickEdit Support