Since version 0.7-M3 moveTo() does not scroll the text to the caret position anymore.
How to reproduce:
- Create a CodeArea - for example
- Set text that exceeds one page
- scroll to the top of the area
- call
codeArea.moveTo(codeArea.getText().length() - 1)
Result: the caret ist placed at the end of the text but the scroll position does not change / tha caret is outside of the text-viewport
Expected Result: The text viewport changes so that the caret is visible (as in 0.7-M2)
Since version 0.7-M3 moveTo() does not scroll the text to the caret position anymore.
How to reproduce:
codeArea.moveTo(codeArea.getText().length() - 1)Result: the caret ist placed at the end of the text but the scroll position does not change / tha caret is outside of the text-viewport
Expected Result: The text viewport changes so that the caret is visible (as in 0.7-M2)