Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:E
bsh2
beanshell-2.0b6-getpeer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File beanshell-2.0b6-getpeer.patch of Package bsh2
--- beanshell-2.0b6/src/bsh/util/AWTConsole.java 2017-09-20 10:34:59.026403121 +0200 +++ beanshell-2.0b6/src/bsh/util/AWTConsole.java 2017-09-20 10:36:05.353110242 +0200 @@ -214,8 +214,11 @@ Great. What a piece of crap. */ public void setCaretPosition( int pos ) { - ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( + try { + ((java.awt.peer.TextComponentPeer)getClass().getMethod("getPeer").invoke(this, null)).setCaretPosition( pos + countNLs() ); + } catch (Exception e) { + } } /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor