diff --git a/code/custom/4coder_helper.cpp b/code/custom/4coder_helper.cpp index c2ebb19d..a139976a 100644 --- a/code/custom/4coder_helper.cpp +++ b/code/custom/4coder_helper.cpp @@ -61,21 +61,6 @@ get_token_array_from_buffer(Application_Links *app, Buffer_ID buffer){ return(result); } -function Token_Array -get_token_array_from_buffer_no_wait(Application_Links *app, Buffer_ID buffer) -{ - Token_Array result = {}; - Managed_Scope scope = buffer_get_managed_scope(app, buffer); - Async_Task *lex_task_ptr = scope_attachment(app, scope, buffer_lex_task, Async_Task); - if (lex_task_ptr == 0){ - Token_Array *ptr = scope_attachment(app, scope, attachment_tokens, Token_Array); - if (ptr != 0){ - result = *ptr; - } - } - return(result); -} - //////////////////////////////// function Buffer_Seek