Updated the custom layer to support 4coder 4.0.27, adding the steps that I needed for the upgrade:
| replaced `Range get_range(View_Summary *view)` with `Range get_view_range(View_Summary *view)`
|
| replaced `clipboard_copy(Application_Links *app, int32_t start, int32_t end, Buffer_Summary *buffer_out, uint32_t access)` with `bool32 post_buffer_range_to_clipboard(Application_Links *app, Partition *scratch, int32_t clipboard_index, Buffer_Summary *buffer, int32_t first, int32_t one_past_last)`
|
| replaced `bool32 get_current_name(char **name_out, int32_t *len_out)` with `global_config.user_name`
Note that the way to get the config variables changed - now you can access the global_config struct directly.
|
| replaced `default_4coder_initialize(Application_Links *app)` with `default_4coder_initialize(Application_Links *app, int32_t override_font_size, bool32 override_hinting)`
|
Notes for Allen:
The meta generators tends to add undefined garbage to the meta tables from the example files. On Linux the linker fails silently, and the error message does not make sense. On Windows the situation is better as the linker gives meaningful error messages.