- #594322 by TwoD: Fixed caret position after inserting content in NicEdit.