File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
rta/src/main/java/com/gluonhq/richtextarea Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -989,21 +989,7 @@ void keyTypedListener(KeyEvent e) {
989989 }
990990
991991 private void computeFullHeight () {
992- RichListCell cell = new RichListCell (RichTextAreaSkin .this );
993- double rtaWidth = getSkinnable ().prefWidth (-1 );
994- Scene scene = new Scene (cell , rtaWidth , 1000 );
995- if (getSkinnable ().getScene () != null ) {
996- scene .getStylesheets ().setAll (getSkinnable ().getScene ().getStylesheets ());
997- }
998- double fullHeight = paragraphListView .getItems ().stream ()
999- .mapToDouble (item -> {
1000- cell .updateItem (item , false );
1001- cell .applyCss ();
1002- cell .layout ();
1003- return cell .prefHeight (rtaWidth );
1004- })
1005- .sum ();
1006- fullHeightProperty .set (fullHeight );
992+ // TODO
1007993 }
1008994
1009995 private void populateContextMenu (boolean isEditable ) {
You can’t perform that action at this time.
0 commit comments