It's because of the somewhat weird internal model of TextArea. The ENTER key terminates a paragraph but is not logically part of the paragraph.
2012/2/20 Rafał Gierusz <[email protected]>: > Hi Sandro, > > please just remember that my question is different than the problem > described in 838 bug, it is somehow connected but it's not the same. This > time I was asking about "count" equal 0 which creates a problems for me. Bug > 838 is about removed text and listeners. > > Best regards, > Rafal > > W dniu 2012-02-20 14:35, Sandro Martini pisze: > >> Hi Rafal, >> thank you for the example (minimal like this is perfect :-) ), I'll >> create a Pivot838.java test for this issue, under tests and the usual >> package, but we have to look better at it, Noel is our expert in Text >> Components and not only ... >> >> Let's update. >> >> Bye
