You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setInputMethodRequests( new InputMethodRequests()
{
@Override public Point2D getTextLocation(int offset ) {
Bounds charBounds = getCaretBounds().get(); //here it the crash point
return new Point2D( charBounds.getMaxX() - 5, charBounds.getMaxY() );
}
@Override public int getLocationOffset( int x, int y ) {
return 0;
}
@Override public void cancelLatestCommittedText() {}
@Override public String getSelectedText() {
return getSelectedText();
}
});
Copy this code , IDEA will auto warn that "getCaretBounds().get();" does not check ifPresent;
Please check it.
The text was updated successfully, but these errors were encountered:
0.10.7 richtextfx, mac os.
This crash photo from my user.
Code is below in GenericStyledArea.java
Copy this code , IDEA will auto warn that "getCaretBounds().get();" does not check
ifPresent
;Please check it.
The text was updated successfully, but these errors were encountered: