aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/TextHostControlService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/TextHostControlService.cpp')
-rw-r--r--src/ui/controls/TextHostControlService.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/controls/TextHostControlService.cpp b/src/ui/controls/TextHostControlService.cpp
index c537a86e..81365a8b 100644
--- a/src/ui/controls/TextHostControlService.cpp
+++ b/src/ui/controls/TextHostControlService.cpp
@@ -220,6 +220,7 @@ void TextHostControlService::SetText(String text, bool stop_composition) {
CancelComposition();
}
SyncTextRenderObject();
+ text_change_event_.Raise(nullptr);
}
void TextHostControlService::InsertText(gsl::index position, StringView text,
@@ -233,6 +234,7 @@ void TextHostControlService::InsertText(gsl::index position, StringView text,
CancelComposition();
}
SyncTextRenderObject();
+ text_change_event_.Raise(nullptr);
}
void TextHostControlService::DeleteChar(gsl::index position,
@@ -281,6 +283,7 @@ void TextHostControlService::DeleteText(TextRange range,
CancelComposition();
}
this->SyncTextRenderObject();
+ text_change_event_.Raise(nullptr);
}
platform::gui::IInputMethodContext*