Skip to content

Commit

Permalink
fix: Regression with RichTextFX causing errors in log when decompilin…
Browse files Browse the repository at this point in the history
…g classes
  • Loading branch information
Col-E committed Apr 10, 2021
1 parent a8c1ba0 commit 4654185
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ protected void setupBottomContent() {
private void setupCodeArea(Language language) {
codeArea.setEditable(false);
codeArea.getStyleClass().add("monospaced");
IntFunction<Node> lineFactory = LineNumberFactory.get(codeArea);
IntFunction<Node> lineFactory = LineNumberFactory.get(codeArea,
digits -> "%1$" + digits + "s", null, null);

IntFunction<Node> errorFactory = new ErrorIndicatorFactory();
IntFunction<Node> decorationFactory = line -> {
HBox hbox = new HBox(
Expand Down

0 comments on commit 4654185

Please sign in to comment.