This is not intended to be a feature-complete editor - it is missing important functionality, doesn't handle non-BMP Unicode characters, combining diacritics, RTL/vertical text, etc., and has other strange behaviour.