delete_chars


Description:

public void delete_chars (uint n_chars)

Deletes n_chars inside a Text actor, starting from the current cursor position.

Somewhat awkwardly, the cursor position is decremented by the same number of characters you've deleted.

Parameters:

this

a Text

n_chars

the number of characters to delete