Describe the bug
When you type a full command and then press enter to autocomplete it in LaTeX, your cursor jumps back to the start of the editor
To Reproduce
Steps to reproduce the behavior:
- Create a LaTeX block
- Type some text
- Type
\mathbb
, you need to type the full command without using the autocomplete - Hit enter to select the completion
Expected behavior
The completion box closes and the cursor stays at the end of the text
System Information:
- OS: Linux python 5.10.90 #1-NixOS SMP Wed Jan 5 11:40:34 UTC 2022 x86_64 GNU/Linux
- Device Manufacturer/Model: Dell G3 15 3590
- Anytype Version: 0.23.5
Additional context
The text also seems to change from being LaTeX text to just red error text, it’s unlikely that this is linked to the bug here given that when a fully typed command is completed the cursor always jumps back, even if the command is syntactically correct