resolve https://github.com/openfl/openfl/issues/2498 caret index value incorrect
resolve https://github.com/openfl/openfl/issues/2498 caret index value incorrect

resets the caret index to 0 after setting htmlText solving issue https://github.com/openfl/openfl/issues/2498

openfl/openfl,openfl/openfl,openfl/openfl