In YCM we absolutely need byte offsets but we do end up doing a fair amount of shenanigans the convert between bytes and characters depending on encodings and things.
LSP for example regrettably uses UTF16 code units. Counting characters is made tricky by things like combining marks IIRC -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/3bffc72a-6a67-4909-8f2e-d744fd524191o%40googlegroups.com.