Sure. In 4coder_default_bindings.cpp there is this piece of code
1
2
3
4
5
6
7
8
9
10
11
12
13 | #ifndef NO_BINDING
extern "C" int32_t
get_bindings(void *data, int32_t size){
Bind_Helper context_ = begin_bind_helper(data, size);
Bind_Helper *context = &context_;
set_all_default_hooks(context);
default_keys(context);
int32_t result = end_bind_helper(context);
return(result);
}
#endif //NO_BINDING
|
.
I added this line of code
| set_hook(context, hook_start, my_start);
|
on the line right before the call to set_all_default_hooks, so the call to set_all_default_hooks overwrote my start hook (I think). This was fixed by just swapping the order of these two lines.
I then ran into another issue where 4coder started crashing when it called write_and_auto_tab. I fixed this by adding
| default_4coder_initialize(app);
default_4coder_side_by_side_panels(app);
|
in my start hook.
Thanks!