4coder » Forums » (4.0.30): get_active_view() in an open_file_hook callback crashes.
rationalcoder
Blake Martin
11 posts
#17098 (4.0.30): get_active_view() in an open_file_hook callback crashes.
2 weeks, 1 day ago Edited by Blake Martin on Jan. 1, 2019, 4:05 a.m. Reason: Initial post

All the view functions crash when called from a procedure set as the open file hook. It might not make sense to use those functions there, but they still shouldn't crash. Mine was calling a helper function that was using views.

Is there a place to post zipped crash examples? I am running across quite a few.