Editable - in-place text modification

from the CommonsWare Community archives

At May 16, 2018, 5:59am, Shahood asked:

Hi,
Pl see the pink highland text in image below.
Can u pl explain what in-place text modification means? Is it to have the text formatted right in the EditText?
If yes, how to achieve that?

Thanks


At May 16, 2018, 11:23am, mmurphy replied:

Can u pl explain what in-place text modification means?

It means to have the text be modified in the actual Editable itself. String, for example, is immutable: you cannot modify its instances. Any class that implements Editable, though, needs to support methods like append(), insert(), replace(), and the others that are shown in the documentation for Editable.