fixed bugg with last newline not counted in scrollable textarea