Last Updated:
25 Dec 2025 16:34
by Martin Ivanov
RichTextBox: The caret is not positioned at the end of the next line when moving from longer to shorter text line using the down arrow key
The caret position is wrong on down arrow key press when moving between two lines separated by a line break. This happens when you type longer text in the first line and then press the down arrow key to move to the next line, which is shorter. The caret should be placed at the end of the second line, but instead it is positioned few characters before the end of the line.