diff --git a/ui/shared/status/StatusChatInput.qml b/ui/shared/status/StatusChatInput.qml index 1aa0bf6007..fbd5924425 100644 --- a/ui/shared/status/StatusChatInput.qml +++ b/ui/shared/status/StatusChatInput.qml @@ -834,9 +834,6 @@ Rectangle { anchors.right: actions.left anchors.rightMargin: Style.current.halfPadding ScrollBar.horizontal.policy: ScrollBar.AlwaysOff - StatusSyntaxHighlighter { - quickTextDocument: messageInputField.textDocument - } TextArea { id: messageInputField @@ -886,6 +883,10 @@ Rectangle { lastClick = now } + StatusSyntaxHighlighter { + quickTextDocument: messageInputField.textDocument + } + StatusTextFormatMenu { readonly property var formationChars: (["*", "`", "~"]) property string selectedTextWithFormationChars: {