{{newin|[[0.10.0]]|100|type=function}}
Called when the candidate text for an IME (Input Method Editor) has changed.

The candidate text is not the final text that the user will eventually choose. Use [[love.textinput]] for that.
== Function ==
=== Synopsis ===
<source lang="lua">
love.textedited( text, start, length )
</source>

=== Arguments ===
{{param|string|text|The UTF-8 encoded unicode candidate text.}}
{{param|number|start|The start cursor of the selected candidate text.}}
{{param|number|length|The length of the selected candidate text. May be 0.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::love]]
* [[love.textinput]]
* [[love.keyboard.setTextInput]]
* [[love.keyboard.hasTextInput]]
* [[utf8]]
[[Category:Callbacks]]
{{#set:Description=Called when the candidate text for an IME has changed.}}
{{#set:Subcategory=Keyboard}}

== Other Languages ==
{{i18n|love.textedited}}