Thanks marajin.
I successfully marked the text from startPosition to EndPosition with the markText() as per your advice.
Now I want for the marked text to change the font size (only for this characters).
Is it possible? What function should I use?