Bug: TextEditor caret position doesn't respect last password character

Resulting cursor position when at the end of the editor:
result

Password code I’m using:

myEditor.setPasswordCharacter ('*');

I realise the forum has been quite busy this week, but friendly bump.

This should sort things out, thanks for reporting.

Thank you sir!