diff --git a/lib/services/text_autocompletion.dart b/lib/services/text_autocompletion.dart index 2626ec8a..595193d0 100644 --- a/lib/services/text_autocompletion.dart +++ b/lib/services/text_autocompletion.dart @@ -95,7 +95,7 @@ class TextAutocompletionService { 'c/$communityName ' + text.substring(cursorPosition); var newSelection = TextSelection.collapsed( - offset: cursorPosition - lastWord.length + communityName.length + 4); + offset: cursorPosition - lastWord.length + communityName.length + 3); textController.value = TextEditingValue(text: newText, selection: newSelection);