Hi,

On Sun, Sep 10, 2017 at 08:07:12PM +0100, Chris West wrote:
> getPeer() has been removed. The use here looks horrible, and exactly why
> getPeer() was removed:
> 
> /* 
>     Here's the really disguisting hack.
>     We have to get to the peer because TextComponent will refuse to
>     let us set us set a caret position greater than the text length.
>     Great.  What a piece of crap.
> */
> public void setCaretPosition( int pos ) {
>     ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( 
>         pos + countNLs() );
> }
> 

JFTR, LO did just remove it

https://cgit.freedesktop.org/libreoffice/core/commit/?id=f20810a1318a8dd55cb01e42a0fde7f0e1b36623

Regards,

Rene

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to