|
|
|
@ -175,9 +175,13 @@ Rectangle { |
|
|
|
|
popup.close(); |
|
|
|
|
|
|
|
|
|
if (popup.opened) |
|
|
|
|
completer.completer.setSearchString(messageInput.getText(completerTriggeredAt, cursorPosition)); |
|
|
|
|
completer.completer.setSearchString(messageInput.getText(completerTriggeredAt, cursorPosition)+messageInput.preeditText); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
onPreeditTextChanged: { |
|
|
|
|
if (popup.opened) |
|
|
|
|
completer.completer.setSearchString(messageInput.getText(completerTriggeredAt, cursorPosition)+messageInput.preeditText); |
|
|
|
|
} |
|
|
|
|
onSelectionStartChanged: room.input.updateState(selectionStart, selectionEnd, cursorPosition, text) |
|
|
|
|
onSelectionEndChanged: room.input.updateState(selectionStart, selectionEnd, cursorPosition, text) |
|
|
|
|
// Ensure that we get escape key press events first. |
|
|
|
|