Difference between revisions of "love.textedited"

m
m (Synopsis)
Line 6: Line 6:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.textedited( text, start, length )
+
love.textedited( text, start, length )
 
</source>
 
</source>
 +
 
=== Arguments ===
 
=== Arguments ===
 
{{param|string|text|The UTF-8 encoded unicode candidate text.}}
 
{{param|string|text|The UTF-8 encoded unicode candidate text.}}

Revision as of 05:30, 12 December 2015

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

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

love.textedited( text, start, length )

Arguments

string text
The UTF-8 encoded unicode candidate text.
number start
The start cursor of the selected candidate text.
number length
The length of the selected candidate text. May be 0.

Returns

Nothing.

Notes

See Also


Other Languages