asking for NSAccessibilityRangeForLineParameterizedAttribute from a textarea always give a zero range back
It looks like doing this call to find the end of the line
selection.modify(SelectionController::AlterationExtend, SelectionController::DirectionRight, LineBoundary);
does not do what's expected. I suspect it thinks the end of the line is the same position as the start of the line.
I think the better solution is to just use the existing
endOfLine() method that already exists.
Created attachment 69667 [details]