We are developing basic autocomplete feature for a custom language plugin.
The problem we are facing is that when user presses cmd+space, the autocompletion suggestions are displayed at the wrong caret position. (Refer attached screenshots).
Could you guys give any pointers on how to debug and fix this issue?
1. User presses cmd + space after the word "\"hi\"", where the dark black bar could be seen.
2. The autocomplete suggestions are shown one line above.